For many reasons, it may be desirable to stretch the computational grid. On the vertical, it is customary to have a better resolution in the planetary boundary layer than in the atmosphere. On the horizontal, the use of stretched coordinates may allow to study the interaction between larger-scale and smaller-scale processes, or simply avoid problems at the lateral boundary. However, if the stretching is not done properly, it may result in a loss of accuracy.
In order to stretch the coordinates, we introduce a new system
noted
, and related to
by
![]() |
(4.1) | ||
| (4.2) | |||
![]() |
(4.3) | ||
| (4.4) | |||
![]() |
(4.5) |
The stretching functions
are defined independently
in the three directions.
The new metric coefficients
can be computed as
| (4.6) | |||
| (4.7) |
| (4.8) |
In practice, the value of
is 1 on the first grid point,
2 to the second grid point, etc.. and
is equal to the local value of the grid distance on the surface of projection.
Therefore
and
are precisely the horizontal
and vertical grid distances in the physical space, and
is the volume
of the grid box in the physical space. Thus,
is the mass of
dry air within each grid box, for the reference state.
The model equations in this new system have exactly the same
expression as found in the previous chapter, substituting
(
,
,
by
.
This reads
![]() |
(4.9) |
![]() |
![]() |
||
![]() |
|||
![]() |
|||
| (4.10) | |||
![]() |
![]() |
||
![]() |
|||
![]() |
|||
| (4.11) | |||
![]() |
![]() |
||
![]() |
|||
| (4.12) |
![]() |
![]() |
||
![]() |
|||
![]() |
(4.13) |
We use a C-grid in the Arakawa and Mesinger (1976) terminology, both on the horizontal and on the vertical.
The horizontal grid is shown on Fig. 4.1.
The "mass" points, located at the center of each grid element, are noted
by
, the
points by
, and the
points
by
.
is the vertical component of the vorticity.
The corners of the shaded square all have the same integer coordinates
.
The vertical grid is shown on Fig. 4.2.
Again the mass points are noted by
, the
points by
, the
points
by
,
and the
points by
.
and
are the vorticity components
along x and y. The corners of the shaded square all
have the same integer coordinates.
and the metric coefficients
are
respectively located on
,
, and
points. On the other hand,
and
are located on the
and
vorticity points.
The Jacobian
is located on the mass points.
The orography
is defined on the lowest
point.
For instance,
or
, depending of the location of
the variable
,
or
, and
similarly for the other operators.
For the time evolution,
we use the classical leap-frog explicit scheme. The operator of time
derivation also follows Schuman notation:
| (4.14) |
The parameters needed to generate the grids are:
The following computations are performed:
1) The positions
,
,
of the mass points are deduced:
| (4.15) | |||
2) The latitude and longitude of each mass point is retrieved:
Case of the Polar stereographic or Lambert Projection
Applying the general equations to the point (1,1) of the grid, one gets
![]() |
|||
| (4.16) |
![]() |
(4.17) |
![]() |
(4.18) |
![]() |
|||
![]() |
|||
![]() |
(4.19) |
![]() |
(4.20) | ||
| (4.21) | |||
| (4.22) |
![]() |
(4.23) | ||
![]() |
(4.24) | ||
![]() |
(4.25) | ||
| (4.26) | |||
| (4.27) | |||
| (4.28) | |||
![]() |
(4.29) |
![]() |
(4.30) | ||
![]() |
(4.31) | ||
![]() |
(4.32) |
![]() |
![]() |
(4.33) | |
![]() |
![]() |
(4.34) | |
![]() |
![]() |
(4.35) |
![]() |
![]() |
(4.36) | |
![]() |
![]() |
(4.37) | |
![]() |
![]() |
(4.38) | |
![]() |
![]() |
(4.39) | |
![]() |
![]() |
(4.40) | |
![]() |
![]() |
(4.41) | |
![]() |
![]() |
(4.42) | |
![]() |
![]() |
(4.43) | |
![]() |
![]() |
(4.44) |
![]() |
![]() |
(4.45) | |
![]() |
![]() |
(4.46) | |
![]() |
![]() |
(4.47) | |
![]() |
![]() |
(4.48) | |
![]() |
![]() |
(4.49) | |
![]() |
![]() |
(4.50) | |
![]() |
![]() |
(4.51) |
| (4.52) | |||
| (4.53) | |||
| (4.54) | |||
| (4.55) | |||
| (4.56) |
![]() |
![]() |
(4.57) | |
![]() |
![]() |
(4.58) | |
![]() |
![]() |
(4.59) | |
![]() |
![]() |
(4.60) | |
![]() |
![]() |
(4.61) |
![]() |
(4.62) |
![]() |
|||
![]() |
(4.63) |
| (4.64) |
For convenience, the discretization of the pressure equation is described in Chapter 7.