This is a basic fluid simulation, incorporating multiple different gasses, pressure and temperature. It acts pretty viscous because no vorticity confinement has been implemented.
When the right ratio of gasses and the right temperature are present, the flamable gas will burn, creating heat and smoke. The smoke and heat slowly dissipate. Video: https://www.youtube.com/shorts/zSdnsop1JtM