Numerical simulation of fl ame propagation and localized pre fl ame autoignition in enclosures