Disclaimer: I don't think this is a duplicate of the existing questions on why air cools down when expanded.
I have recently been deflating my bike tyres from 2 bars to 1 atm. As the air exitted the nozzle, the metallic part substantially cooled down. I have also seen that this happens when a plastic bottle is filled with pressurized air ~2 bars, and condensation appears when presure is released.
I am familiar with the Joule-Thomson expansion which predicts that for most non-ideal gases, expansion implies they cool down. However, ideal gases should not cool down. However, I have been told that at ~2 bars and 20ºC the atmospheric air pretty much behaves like an ideal gas.
Consequently, I am finding it hard to figure out why the nozzle of the bike tyre cooled as much (about 2 degrees maybe?) when I released the air. Does it have to do with the water disolved on it?
PS: Wikipeda mentions that 3ºC are predicted for a gas at ~22 bars if I am not mistaken.