Cross-section: moist air lifted over a ridge (parcel colour = temperature)
Rain at the ground (blue) and air temperature at the lowest streamline (orange)

About this simulator

When wind pushes humid air up a mountain it cools until its vapour saturates at the lifting condensation level, roughly 125 m for each degree between temperature and dew point. Above that level the cloud keeps cooling more slowly because condensation releases heat, and part of the cloud water falls as rain on the windward side. The air that crosses the crest has lost much of its moisture and warms by 9.8 K per km as it sinks, which is why the lee side is warm and dry.

Made with 🟠 Blender