The set of time split dry-mass coordinate prognostic equations including moisture effects can be expressed as
The pressure gradient terms in Eq.s 209-210 are forward-weighted using the Adams-Bashforth explicit time differencing scheme(214) |
(215) |
is a single variable which
represents the sum of all water scalar variables
defined in Eq. 43: the prognostic updates for each
mixing ratio component is done after the call to the dynamic core.
Eq.s 213-215 correspond
to the non-hydrostatic add-on module and they are not evaluated if the
non-hydrostatic option is not activated (in this case, ,
,
is diagnosed from the hydrostatic relationship, and
corresponds to the current RK step value which is
constant over the time split).
When the non-hydrostatic option is activated,
these three equations
(together with the diagnostic relationships defined in
Eq.s 238-240)
are solved simultaneously
for
,
and
using the HEVI (horizontally-explicit, vertically-implicit) method
(i.e. simply using a tri-diagonal matrix approach each split time step).
Finally,
has a damping term evaluated at
which is defined from Eq. 120 as
(216) |
The terms on the
LHS of Eq.s 209-215
are evaluated for each split time step, , and
the forcing terms,
, on the RHS of these equations are held constant
over the time splitting interval. The
terms are updated at each
RK time step (horizontal advection, vertical wind
advection for the
,
equations and
equation, horizontal
and vertical advection for the
equation).
The forcing terms,
, are only updated once per large
(model) time step (horizontal diffusion, filters, physics lateral
boundary tendencies). Note that two physics tendencies are not
included in the time-split or RK forcings: they are evaluated
after the RK steps are done (large scale
precipitation as a super-saturation adjustment),
and vertical turbulent diffusion/surface interactions (fully
implicit solution in the vertical with dynamics and physics tendencies
as source terms). The
time-split averaged tendencies over the current RK step
are used to advance
,
,
,
, (
and
if the
non-hydrostatic option is activated, which are used to diagnose updated
values of
,
and
), respectively, for
each RK step.
The forcing functions in Eq.s 209-215 are defined as
Note that the scalar mass fluxes,Note that horizontal advection in Eq. 212 is computed at each split step owing to the strong dependence on the horizontal divergence. When running high resolution runs, the number of time splits can increase significantly depending on the time step size. Thus there is an option to save CPUs when using open lateral boundary conditions (such as in LAM mode): Eq. 212 can be expressed as
where the forcing function which is updated at each RK step is expressed as thus the flux form advection (first term on the RHS of Eq. 230) is only evaluated once per RK step (as is the case for all of the other variables). To maintain numerical stability, only the divergence component of the horizontal advection must be updated on the split step, thus it is removed at the RK step and added back at each split step. This form can save CPUs but is essentially only useful for very high (sub-kilometric) spatial resolutions since even for kilometric resolutions, the number of splits is generally at or close to the minimum (default 5 per large time step,
The following diagnostics at time
used for the solution of the above equations can
be defined:
The
mixing ratios of the different water species, , and other tracers
(such as the TKE,
), are
integrated using the RK tendencies.
Note that the use of
Eq. 215
implies that the total water mass scalar,
value is advanced
within the same RK time step before the dynamics call, so
it uses the same mass
fluxes (from the previous RK step) as for the
horizontal advection of
and both horizontal and vertical
mass fluxes as
,
and
.
Thus, Eq. 215 not only takes
into account water mass changes over the time split, but
also changes in hydrostatic pressure
to compute
so that it is more than just
a simple linear interpolation of
over the time split.
For large scale or even mesoscale
motions,
the pertberbation
of water vapor or total water scalars can likely be neglected
during the time splitting (it is sufficient to update
the moisture metrics at each RK step),
but for very
high resolution runs (such as large-eddy simulations: sub kilometric
scales), the integration of
or
within the time
splitting for computing
becomes more critical
(which is the justification for using a water vapor
dependent potential temperature,
, in WRF version 4
verses previous versions using
as the prognostic variable for
temperature).
Note that numerical tests with ASP have shown that computing the
water vapor scalar RK tendencies using fluxes from the start of the
current RK step (verses after the dynamics call, thus using fluxes at
the end of the current RK step), has virtually no impact on the
results for either hydrostatic or non-hydrostatic simulations, even
those at very high resolution. More importantly (to justify the use
of computing scalar updates during the time split), any impact has been found
to be quite small compared to the impact
of using Eq. 215, which is essential, for very high resolution runs.
When the model is run in hydrostatic mode, the overall governing
equations are similar except that
in
Eq.s 30-31,
and Eq.s 32
and Eq. 35 are no longer solved
(i.e.
and
are no
longer prognostic). In this case,
can be set to 0
or diagnosed from Eq. 35,
but this is of little importance since it is not
used in any of the dynamics computations in this case.
The pressure is simply diagnosed as
consistent with
,
where
is the moist
hydrostatic pressure (computed from the moist specific density,
Eq. 29).The dry inverse density (used to compute the
geopotentials) is then simply computed from the ideal gas law
(Eq. 37) as
Eq.s 213-239
can be manipulated in finite
difference form to yield a set of three equations with
three unknowns
(
,
and
):
The forcing functions Eq.s 219 -228 are expanded in terms of the vertical finite differencing as
(245) | |
(246) | |
(247) | |
(248) | |
(249) | |
(250) | |
(251) | |
(252) | |
(253) | |
(254) |
Eq.s 244-246 are solved simultaneously using a tri-diagonal approach. This is called the HEVI (horizontally explicit and vertically implicit) solution method for the non-hydrostatic dynamics. These three equations (Eq.s 244-246) can then be rewritten in a simplified manner in terms of three unknowns as
Eq.s 257-259 are solved from
To simultaneously solve
Eq.s 257-259,
we first derive an equation for .
First,
is eliminated from the
equation by
substitution of Eq. 259
into Eq. 257
yielding
Upper Boundary Conditions
and the corresponding
(the vertical pressure gradient)
are defined at levels.
At the upper boundary (
),
it is assumed that
where
is the non-hydrostatic pressure
at the top of the model domain (which is not explicitly
used by the model), thus,
is not
necessarily zero in ASP.
Assuming that the pressure at the top
of the model domain is equal to the
hydrostatic pressure
using a one-sided finite difference, one can write
Lower Boundary Conditions
The lower
boundary condition
for Eq. 268
is simply (
right at
the surface), which implies that
at the
bottom of the model domain.
The lower boundary condition for the tri-diagonal matrix
consists in simply
Once Eq. 268
has been solved for
, then
it can be substituted into Eq. 258
to obtain
, which
can then be substituted into Eq. 259
to obtain
.
Finally, the geopotential on levels can then be updated
from the hydrostatic equation, Eq. 239.
Time split steps
The split time step obeys the constraint
where