You might want to need the heat release before burning. Then take th einner restistance which depends on many boundary conditions. You might want to use thermal models. Some of them are open source. For this check Christian Reiter´s work from my department.