Numerical investigation of a reaction in a batch reactor: Flammability limits