Presets
Playback
Atmosphere
Camera
Layers
Quality
Model check
The science
What is modelled
Clouds form when air is lifted and cooled until its water vapour condenses. A parcel of surface air rises dry-adiabatically until it reaches the lifting condensation level (the cloud base), then cools more slowly because condensation releases latent heat. Whether it keeps rising depends on whether it stays warmer than the surrounding air; the buoyancy integrated over height is CAPE, and the parcel stops where its kinetic energy runs out. A shallow result gives fair-weather cumulus, a deep one a towering cumulus or a cumulonimbus with an anvil at the tropopause. Gentle lifting of stable air over a front instead gives sheets of stratus, nimbostratus and altostratus, and high moist air gives cirrus.
Equations
- Saturation vapour pressure (Magnus):
es = 6.112 exp(17.62 T/(243.12 + T))hPa; pressurep = p0 exp(-z/H), H = 8 km. - Cloud base (Espy):
z_LCL = 0.125 km x (T - Td). - Moist-adiabatic lapse rate:
Gm = g (1 + Lv rs/(Rd T)) / (cp + Lv^2 rs eps/(Rd T^2)),rs = eps es/(p - es); the dry rate is 9.8 K/km. - Buoyancy
B = g (Tp - Te)/Te; energyE(z) = w0^2/2 + ∫ B dz;w = sqrt(2E);CAPE = ∫ B+ dz; CIN is the negative area below the level of free convection. - Cloud top is where
Ereturns to zero; the time to grow is aboutdepth / (w_max/2), shown sped up.
Checks run in the page
- The Espy cloud base agrees within 7 % with a numerical crossing of the Magnus saturation curve with pressure-scaled vapour (five cases).
- The moist-adiabatic lapse rate is close to the textbook 4.3 K/km at 20 C, 6.4 K/km at 0 C and approaches the dry value when cold.
- The CAPE integral reproduces the analytic value for a linear buoyancy profile within 1 %.
- Time-stepping the parcel motion dz/dt = w, dw/dt = B gives the same peak updraft as sqrt(2E) within 3 %.
Honest simplifications
A single lifted surface parcel with no entrainment, no precipitation drag, no ice-phase heating and a constant lapse rate above a mixed layer; entrainment makes real updrafts weaker and cloud tops lower. The environment profile, the inversion, the frontal lifting and the upper-air moisture are controlled by sliders rather than computed from a full weather model. Cloud shapes, sizes and the growth animation are illustrative and sped up. The cloud sprites were volume-rendered in Blender (Cycles) and the farm diorama was built and baked in Blender; the sounding physics and everything dynamic run in the page.
What to try
- Load the thunderstorm preset, then add a 6 K inversion: the cap stops the parcel and the tower never forms (CIN rises).
- Reduce the dew-point spread and watch the cloud base fall at 125 m per kelvin.
- Raise the lapse rate from 5 to 7 K/km: the cloud depth jumps once the environment cools faster than the moist adiabat.
- Use the warm-front preset and move the frontal lifting slider to see stratus thicken to nimbostratus.
- Use the From the farm camera for the view an observer on the ground has.