A new method for modeling shrinkage of a biomass particle is presented with the unreacted-core-shrinking model and shrinking core model for coal combustion. 2D model of biomass pyrolysis in a moving bed was established. The simulation was carried out with open source code MFIX by using Eulerian-Eulerian multiphase model. The results show that shrinkage can reduce the pyrolysis time, promote heat transfer, increase the biomass conversion percent and tar yield and decrease the non-condensable gas and char yield.