Generalized pyrolysis model for combustible solids