https://www.comsol.com/multiphysics/joule-thomson-effect
…a temperature change can occur in a gas as a result of a sudden pressure change over a valve.
Summary of the Joule-Thomson Effect and Recommendations
Most gases at normal temperatures are slightly cooled at throttling, with the exception of hydrogen, helium, and neon. The internal cooling happens because heat is converted to work that is exerted to overcome intermolecular forces. Ideal gas relations disregard any intermolecular forces and thus miss out on the Joule-Thomson effect. As such, relying only on ideal gas law assumptions when doing flow calculations with computational tools can be risky…