'Simulation of gas deflagration in multi-compartment environments with an ad hoc version of a commercial code