The hybrid vertical coordinate that has been implemented in CAM 3.0 is
described in this section. The hybrid coordinate was developed by
Simmons and Strüfing [158] in order to provide a general framework for a
vertical coordinate which is terrain following at the Earth's surface,
but reduces to a pressure coordinate at some point above the
surface. The hybrid coordinate is more general in concept than the
modified
scheme of Sangster [155], which is used in the
GFDL SKYHI model. However, the hybrid coordinate is normally specified
in such a way that the two coordinates are identical.
The following description uses the same general development as Simmons and Strüfing [158], who based their development on the generalized vertical coordinate of Kasahara [84]. A specific form of the coordinate (the hybrid coordinate) is introduced at the latest possible point. The description here differs from Simmons and Strüfing [158] in allowing for an upper boundary at finite height (nonzero pressure), as in the original development by Kasahara. Such an upper boundary may be required when the equations are solved using vertical finite differences.
Deriving the primitive equations in a generalized terrain-following
vertical coordinate requires only that certain basic properties of the
coordinate be specified. If the surface pressure is
, then we
require the generalized coordinate
to satisfy:
Given the above description of the coordinate, the continuous system
of equations can be written following Kasahara [84] and
Simmons and Strüfing [158]. The prognostic equations are:
In addition to the prognostic equations, three diagnostic equations are required:
Equations (3.1)-(3.16) are the complete set which must
be solved by a GCM. However, in order to solve them, the function
must be specified. In advance of actually specifying
, the equations will be cast in a more convenient
form. Most of the changes to the equations involve simple applications
of the chain rule for derivatives, in order to obtain terms that will
be easy to evaluate using the predicted variables in the model. For
example, terms involving horizontal derivatives of
must be
converted to terms involving only
and
horizontal derivatives of
. The former can be evaluated once the
function
is specified.
The vertical advection terms in (3.5), (3.6), (3.8), and (3.9) may be rewritten as:
The integrals which appear in (3.7), (3.15), and (3.16) can be written more conveniently by expanding the kernel as
The original primitive equations (3.3)-(3.7), together
with (3.8), (3.9), and (3.14)-(3.16)
can now be rewritten with the aid of (3.17), (3.18),
and (3.22).
In the actual definition of the hybrid coordinate, it is not necessary
to specify
explicitly, since
(3.23)-(3.32) only requires that
and
be determined. It is sufficient to specify
and to let
be defined implicitly. This will be
done in section 3.1.7. In the case that
and
, (3.23)-(3.32)
can be reduced to the set of equations solved by CCM1.
In practice, the solutions generated by solving the above equations
are excessively noisy. This problem appears to arise from aliasing
problems in the hydrostatic equation (3.30). The
integral introduces a high order nonlinearity which enters directly
into the divergence equation (3.24). Large gravity waves are
generated in the vicinity of steep orography, such as in the Pacific
Ocean west of the Andes.
The noise problem is solved by converting the equations given above,
which use
as a prognostic variable, to equations using
. This results in the hydrostatic equation becoming
only quadratically nonlinear except for moisture contributions to
virtual temperature. Since the spectral transform method will be used
to solve the equations, gradients will be obtained during the
transform from wave to grid space. Outside of the prognostic equation
for
, all terms involving
will then appear as
.
Equations (3.23)-(3.32) become:
The model described by (3.33)-(3.42), without the horizontal diffusion terms, together with boundary conditions (3.1) and (3.2), is integrated in time using the semi-implicit leapfrog scheme described below. The semi-implicit form of the time differencing will be applied to (3.34) and (3.36) without the horizontal diffusion sources, and to (3.37). In order to derive the semi-implicit form, one must linearize these equations about a reference state. Isolating the terms that will have their linear parts treated implicitly, the prognostic equations (3.33), (3.34), and (3.37) may be rewritten as:
In order to linearize (3.46)-(3.48), one specifies a reference state for temperature and pressure, then expands the equations about the reference state:
Expanding (3.46)-(3.48) about the reference state (3.49)-(3.51) and retaining only the linear terms explicitly, one obtains:
We will assume that centered differences are to be used for the
nonlinear terms, and the linear terms are to be treated implicitly by
averaging the previous and next time steps. Finite differences are
used in the vertical, and are described in the following sections. At
this stage only some very general properties of the finite difference
representation must be specified. A layering structure is assumed in
which field values are predicted on
layer midpoints denoted by an
integer index,
(see Figure 3.1). The interface
between
and
is denoted by a half-integer index,
. The model top is at
, and the
Earth's surface is at
. It is further assumed that
vertical integrals may be written as a matrix (of order
) times a
column vector representing the values of a field at the
grid
points in the vertical. The column vectors representing a vertical
column of grid points will be denoted by underbars, the matrices will
be denoted by bold-faced capital letters, and superscript
will
denote the vector transpose.
We shall impose a requirement on the vertical finite differences of
the model that they conserve the global integral of total energy
in the absence of sources and sinks. We need to derive
equations for kinetic and internal energy in order to impose this
constraint. The momentum equations (more painfully, the vorticity and
divergence equations) without the
and
contributions, can be combined with the continuity
equation
The vertical integral of the second (vertical) transport term on the right-hand side of (3.60) should vanish. Since this term is obtained from the vertical advection terms for momentum, which will be finite differenced, we can construct a finite difference operator that will ensure that the vertical integral vanishes.
The vertical advection terms are the product of a vertical velocity
(
) and the vertical derivative of a
field (
). The vertical velocity is defined in
terms of vertical integrals of fields (3.42), which are
naturally taken to interfaces. The vertical derivatives are also
naturally taken to interfaces, so the product is formed there, and
then adjacent interface values of the products are averaged to give a
midpoint value. It is the definition of the average that must be
correct in order to conserve kinetic energy under vertical advection
in (3.60). The derivation will be omitted here, the resulting
vertical advection terms are of the form:
The last two terms in (3.60) contain the conversion between
kinetic and internal (potential) energy and the form drag. Neglecting
the transport terms, under assumption that global integrals will be
taken, noting that
, and substituting for the geopotential
using (3.40), (3.60) can be written as:
We now turn to the internal energy equation, obtained by combining the
thermodynamic equation (3.36), without the
,
, and
terms, and the continuity equation (3.59):
The rate of change of total energy due to internal processes is
obtained by adding (3.65) and (3.67) and must
vanish. The first terms on the right-hand side of (3.65) and
(3.67) obviously cancel in the continuous form. When the
equations are discretized in the vertical, the terms will still
cancel, providing that the same definition is used for
in the nonlinear terms of the
vorticity and divergence equations (3.38) and (3.39),
and in the
term of (3.36) and (3.42).
The second terms on the right-hand side of (3.65) and (3.67) must also cancel in the global mean. This cancellation is enforced locally in the horizontal on the column integrals of (3.65) and (3.67), so that we require:
| (3.73) |
Given the definitions of vertical integrals in (3.70) and
(3.71) and of vertical advection in (3.61) and
(3.62) the model will conserve energy as long as we require
that
and
satisfy (3.75). We are,
of course, still neglecting lack of conservation due to the truncation
of the horizontal spherical harmonic expansions.
CAM 3.0 contains a horizontal diffusion term for
, and
to prevent spectral blocking and to provide reasonable
kinetic energy spectra. The horizontal diffusion operator in CAM 3.0
is also used to ensure that the CFL condition is not violated in the
upper layers of the model. The horizontal diffusion is a linear
form on
surfaces in the top three levels of the
model and a linear
form with a partial correction to
pressure surfaces for temperature elsewhere. The
diffusion
near the model top is used as a simple sponge to absorb vertically
propagating planetary wave energy and also to control the strength of
the stratospheric winter jets. The
diffusion coefficient
has a vertical variation which has been tuned to give reasonable
Northern and Southern Hemisphere polar night jets.
In the top three model levels, the
form of the horizontal
diffusion is given by
The horizontal diffusion operator is better applied to pressure
surfaces than to terrain-following surfaces (applying the operator on
isentropic surfaces would be still better). Although the governing
system of equations derived above is designed to reduce to pressure
surfaces above some level, problems can still occur from diffusion
along the lower surfaces. Partial correction to pressure surfaces of
harmonic horizontal diffusion (
) can be included using the relations:
The following finite-difference description details only the forecast
given by (3.87) and (3.90). The finite-difference
form of the forecast equation for water vapor will be presented later
in Section 3c. The general structure of the complete finite
difference equations is determined by the semi-implicit time
differencing and the energy conservation properties described above.
In order to complete the specification of the finite differencing, we
require a definition of the vertical coordinate. The actual
specification of the generalized vertical coordinate takes advantage
of the structure of the equations (3.33)-(3.42). The
equations can be finite-differenced in the vertical and, in time,
without having to know the value of
anywhere. The quantities
that must be known are
and
at the grid
points. Therefore the coordinate is defined implicitly through the
relation:
The finite difference forms of the Dyn operator
(3.33)-(3.42), including semi-implicit time
integration are: