Thermodynamics · Mass and energy in control volumes

Filling a tank

Scuba tanks and gas cylinders warm up as they fill, even from a line at room temperature, and the energy balance says by how much.