Notation

This appendix establishes a common notation across the documentation and source. Each entry lists a mathematical symbol, the Unicode form commonly used in the codebase, and a brief description. Mathematical symbols are shown with inline math, while the Unicode column shows the exact glyphs used in code.

mathematical symbolunicodedescription
$\rho$ρDensity
$\boldsymbol{u} = (u,v,w)$u, v, wVelocity components (x, y, z)
$ρ \, u,\; ρ \,v,\; ρ \, w$ρu, ρv, ρwMomentum components
$T$TTemperature
$\alpha$αSpecific volume, $α = 1/ρ$ or $α = R^{m} T / p_r$ in anelastic
$ρ e$ρeMoist static energy density (conservative variable)
$e$eMoist static energy per unit mass, $e = c^{pd} \, θ$
$ρ q^{t}$ρqᵗTotal moisture density (conservative water variable)
$q^{t}$qᵗTotal moisture mass fraction (vapor + liquid + ice)
$q^{v}$qᵛVapor specific humidity
$q^{\ell}$Liquid specific humidity
$q^{i}$qiIce specific humidity
$q^{v+}$qᵛ⁺Saturation specific humidity over liquid/ice (context-dependent)
$g$gGravitational acceleration
$\mathcal{R}$Universal (molar) gas constant
$R^{d}$RᵈDry air gas constant
$R^{v}$RᵛWater vapor gas constant
$R^{m}$RᵐMixture gas constant, function of $q$
$c^{pd}$cᵖᵈHeat capacity of dry air at constant pressure
$c^{pv}$cᵖᵛHeat capacity of vapor at constant pressure
$c^l$Heat capacity of the liquid phase (incompressible)
$c^i$cⁱHeat capacity of the ice phase (incompressible)
$c^{pm}$cᵖᵐMixture heat capacity at constant pressure
$\theta$θPotential temperature
$\theta_0$θ₀Reference potential temperature (constant)
$\Pi$ΠExner function, $\Pi = (p_r/p_0)^{R^{m}/c^{pm}}$
$p$pPressure
$p_0$p₀Base (surface) reference pressure
$\rho_r(z)$ρᵣDensity of a dry reference state at height $z$
$\alpha_{r}$αᵣSpecific volume of a dry reference state, $α_{r} = R^d θ_0 / p_r$
$p_r(z)$pᵣHydrostatic reference pressure at height $z$
$\mathcal{L}^{l}$ℒˡLatent heat of vaporization
$b$bBuoyancy
$p_h'$pₕ′Hydrostatic pressure anomaly, $∂_z p_h' = - ρ_r b$
$p_n$pₙNonhydrostatic pressure (projection/correction potential)
$\Delta t$ΔtTime step
$\Delta z$ΔzVertical grid spacing

Notes:

  • Reference-state quantities use a subscript $r$ (e.g., $p_r$, $\rho_r$), following the Thermodynamics docs and code.
  • Phase or mixture identifiers ($d$, $v$, $m$) appear as superscripts (e.g., $R^{d}$, $c^{pm}$), matching usage in the codebase (e.g., Rᵈ, cᵖᵐ).
  • Conservative variables are stored in ρᵣ-weighted form in the code (e.g., ρu, ρv, ρw, ρe, ρqᵗ).
  • Mapping to AtmosphereModel fields: ρe corresponds to model.energy_density, ρqᵗ to model.moisture_density, and qᵗ to model.moisture_mass_fraction.