In this section, the layer-integrated equations from section 4 are transformed to horizontal orthogonal curvilinear coordinates. Similarly to general coordinates in the vertical, these allow for much more flexibility when optimising horizontal grids to coast-lines and bathymetry. Furthermore, this type of coordinates system includes spherical coordinates as a special case. The derivation of the transformed equations is carried out here according to Haidvogel and Beckmann (1999), see also Arakawa and Lamb (1977).
A rectangular domain with non-dimensional side lengths
and with local Cartesian coordinates and
is mapped to a physical domain with four corners in such a way
that the local coordinates of the physical space,
are orthogonal to each others everywhere:
The infinitesimal increments in the physical space,
and
are related to the
infinitesimal increments in the transformed space,
and
by so-called metric
coefficients
and
:
These metric coefficients have the physical unit of [m].
With
const, Cartesian coordinates are retained, and with
spherical coordinates with
and
are retained
(with the Earth's radius
, longitude
and
latitude
).
With these notations, the layer-integrated equations
(25), (26), and (27) given
in section 4 can be formulated as
follows:
Continuity equation:
Momentum in direction:
Momentum in direction:
In (38) and (39),
the velocity and momentum components and
are now pointing into the
-direction and
and
are pointing into the
-direction.
The stresses
and
are related to these directions as well.
In order to account for this rotation of the velocity and momentum vectors,
the rotational terms due to the Coriolis rotation are extended by
terms related to the gradients of the metric coefficients.
This rotation is here not considered for the horizontal diffusion terms in
order not to unnecessarily complicate the equations. Instead we
use the simplified formulation by Kantha and Clayson (2000b), who argue
that it does not make sense to use complex formulations for minor
processes with highly empirical parameterisations.
Finally, the tracer equation is of the following form after the transformation to curvilinear coordinates: