Governing equations
GUST models the atmosphere as an incompressible fluid under the Boussinesq approximation. Density changes enter only through buoyancy. The unknowns are the mean velocity \(\mathbf u = (u, v, w)\), the kinematic perturbation pressure \(p\), the potential temperature \(\theta\) and the turbulent kinetic energy (TKE) \(k\). This page gives the equations in Cartesian form; Terrain-following coordinates gives their form on the terrain-following mesh.
Conservation equations
The steady RANS equations are
with the viscous and turbulent stress
\(p = (p_\mathrm{tot} - p_\mathrm{ref}(z))/\rho_0\): the total pressure \(p_\mathrm{tot}\) relative to a hydrostatic reference, divided by the constant reference density \(\rho_0\).
\(\nu_\mathrm{mol}\), \(\nu_t\): molecular and turbulent viscosity.
\(\gamma_\theta = \alpha_\mathrm{mol} + \nu_t'\): diffusivity of \(\theta\), with \(\alpha_\mathrm{mol}\) the molecular and \(\nu_t'\) the turbulent heat diffusivity.
\(\gamma_k = \nu_\mathrm{mol} + \nu_t/\sigma_k\): diffusivity of \(k\), with the Schmidt number \(\sigma_k\) (
turb.sigma_k, 1).\(S_i\): momentum sources (below).
\(P_s\), \(P_b\), \(\varepsilon\): shear production, buoyancy production and dissipation of \(k\) (Turbulence model).
Momentum sources
\(f_c = 4\pi/T\): twice the Earth’s rotation rate, with rotation period \(T\) (86 400 s).
\(\varphi\): latitude. The \(\cos\varphi\) terms can be switched off (
forcing.coriolis_3d).\((u_g, v_g)\): geostrophic wind. It requires Coriolis forcing and \(\varphi \ne 0\).
\(\mathbf F\): a constant pressure-gradient force, as ERF’s
abl_pressure_grad.\(g\): gravitational acceleration.
\(\theta_\mathrm{ref}(z)\): the reference sounding, a function of height only.
\(\theta_0\): the Boussinesq reference temperature (300 K).
The reference pressure \(p_\mathrm{ref}(z)\) balances gravity and the buoyancy of \(\theta_\mathrm{ref}\). A fluid at rest with \(\theta = \theta_\mathrm{ref}\) and \(p = 0\) is therefore in exact balance on any terrain.
The forcing inputs are in the forcing namespace (Input reference).
Steady-state problem
Each equation of (1) is written as a residual: the left side minus the right side, per unit volume. With the state \(q = (\mathbf u, p, \theta, k)\), a steady solution satisfies
The solver drives \(R\) to zero (Solution algorithm). The convergence criteria are given in Convergence criteria.