Simulation of hydrogen deflagration and detonation in a BWR reactor building