Modeling ignition and extinction in condensed phase combustion