A granular-biomass high temperature pyrolysis model based on the Darcy flow