A filled dive cylinder is a store of energy. If it bursts, the gas expands almost at once and lets all of it go. The calculator works out how much that is from the cylinder’s size, the fill pressure and the gas, and sets it against TNT and a hand grenade, so the number means something.
Background
The stored energy
If a cylinder bursts, the gas expands so fast that it has no time to exchange heat. The energy it releases on the way down to atmospheric pressure is:
U = \frac{P_H \cdot V_H}{G - 1} \cdot \left[ 1 - \left( \frac{P_I}{P_H} \right)^{\frac{G - 1}{G}} \right]UStored energy in J (N·m)P_HPressure in the cylinder, absolute, in N/m²: the gauge reading plus atmospheric pressureV_HWater capacity of the cylinder in m³P_IPressure the gas drops to, absolute: atmospheric pressure, 101,325 N/m² at sea levelGHeat capacity ratio of the gas: 1.4 for air, oxygen and nitrogen, 1.67 for helium and argonFor a mixture the calculator works out G from the share of helium and argon in it.
Real gas
The formula assumes an ideal gas. At cylinder pressures real gases hold their energy differently: for air the formula overstates it by about a fifth at 200 bar and by more than a third at 300 bar. The calculator therefore takes the real properties from CoolProp and follows the same fast expansion to atmospheric pressure:
U = m \cdot (u_1 - u_2)UStored energy in JmMass of gas in the cylinder in kgu_1Internal energy of the gas in the cylinder, in J/kgu_2Internal energy after expanding to atmospheric pressure without heat exchange, in J/kgFor a mixture each gas is followed on its own and the results are added up; for air this agrees with CoolProp’s air model within 0.2 %. The ideal-gas value is shown as a second line.
In TNT and hand grenades
One gram of TNT releases 4,184 J:
m_\text{TNT} = \frac{U}{4{,}184\ \text{J/g}}m_\text{TNT}TNT equivalent in gUStored energy in J- WWII hand grenade (Mk2): 52 g of TNT, 0.22 MJ.
- Modern hand grenade (M67): 184 g of Composition B, which equals about 245 g of TNT, 1.03 MJ.