Thermodynamic and gas dynamic aspects of a BLEVE