Nonhydrostatic

  • WRFVerticalMomentum model atmospheric_dynamics wrf_arw

    Vertical momentum and geopotential equations of a single WRF-ARW column with a fixed dry column mass (no horizontal divergence, so mu_t = 0 and the coordinate vertical velocity ww = 0), on the EarthSciDiscretizations column_nonuniform_1d grid. In the terrain-following dry-hydrostatic-pressure coordinate eta the vertical momentum equation in its perturbation (base-state split) form is mu_d dw/dt = g [ (1/(1+q_m)) dp'/deta - mu' - (q_m/(1+q_m)) mu_b ] (Skamarock et al. 2021, eqs. 2.18 and 2.33, the right-hand side of pg_buoy_w), and the geopotential equation reduces to dphi/dt = g w because every advective term carries u, v (horizontally uniform) or ww (zero). The base state mu_b, p_b is in exact hydrostatic balance, so only the perturbation pressure p' and the perturbation dry column mass mu' appear -- the split removes the O(g) cancellation of the full form. q_m is the total water mixing ratio on the interface (WRF cqw = 0.5 (q_t[k] + q_t[k-1]), the sum of every moist species). The column coordinate is s = 1 - eta (0 at the surface, 1 at the top, increasing with the lev index as the grid requires), so dp'/deta = -dp'/ds; the layer-to-interface difference on the interior interfaces 2..NLEV is the centred difference over the layer-centre spacing dzc (WRF rdn), and at the top interface the pressure lid p = p_top gives p' = 0 half a layer above the top layer centre (WRF's 2 rdnw(kde-1) (0 - p')). At the top interface WRF uses the moisture coefficient of the interface BELOW it (cqw(kde-1)); transcribed as is. The surface interface has no tendency (w is fixed by the flat lower boundary). NOT a D(p', lev) rule: EarthSciDiscretizations has no layer-to-interface gradient rule on column_nonuniform_1d yet, so the difference is written with the column_staggering neighbour templates, as the YSU component does for its interface density; a follow-up rule would let this read as D(p', wrt: lev). This is the continuous right-hand side the acoustic small step integrates (dyn_em/module_small_step_em.F advance_w); its instantaneous value is the large-step tendency rw_tend that pg_buoy_w computes at the time-level-n state, which is what the tests assert. Consumer-supplied column fields are rewrite-target ops input_<name>.