Expand description
Moist air: saturation vapor pressure, and the density and speed of sound of humid air.
Air is treated as an ideal mixture of dry air (the 1976 standard’s M₀, γ = 1.4) and water
vapor (see docs/physics/atmosphere.md):
x_v = e / p vapor mole fraction (Dalton)
M = (1 − x_v) M₀ + x_v M_v mixture molar mass
ρ = p M / (R* T) = p / (R_d T_v) density
T_v = T / (1 − x_v (1 − M_v/M₀)) virtual temperature (WMO-No. 8 eq. 12.18)
γ = C_p / (C_p − R*), C_p = (1 − x_v) (7/2) R* + x_v 4 R*
a = (γ R* T / M)^½Water vapor’s molar heat capacity is taken as 4 R*, the rigid nonlinear molecule
(33.26 J/(mol·K)); the ideal-gas value near 300 K is about 1% higher, which moves a by 0.009%
at 30 °C and saturation. Viscosity stays dry air’s: by Wilke’s mixing rule, water vapor
lowers it by 2.1% at 30 °C and saturation, which changes turbulent skin friction by about
0.4%.
Saturation vapor pressure over liquid water follows WMO-No. 8, Guide to Instruments and Methods of Observation, Vol. I (2023), Annex 4.B, eq. 4.B.1, at every temperature: radiosonde relative humidity is always reported relative to water, even below 0 °C.
Constants§
- WATER_
VAPOR_ MOLECULAR_ WEIGHT_ KG_ PER_ KMOL - Molar mass of water vapor
M_v, kg/kmol (A. Picard et al., “Revised formula for the density of moist air (CIPM-2007)”, Metrologia 45, 149–155 (2008), section 2.1).
Functions§
- moist_
air - The state of moist air at
temperature_kandpressure_pawith water vapor at partial pressurevapor_pressure_pa. The vapor mole fraction is capped at 1. - saturation_
vapor_ pressure_ pa - Saturation vapor pressure of pure water vapor over a plane surface of liquid water, Pa, at
temperature
temperature_k. WMO-No. 8 (2023), Vol. I, Annex 4.B, eq. 4.B.1, withtin °C: - vapor_
pressure_ pa - The vapor pressure, Pa, of air at
temperature_kwith relative humidityrelative_humidity(a fraction, relative to liquid water):e = U e_w(T).