Subsections

# Sea surface height and diagnostic variables (, , , )

## Horizontal divergence and relative vorticity (divcur.F90)

The vorticity is defined at an -point ( corner point) as follows:

 (6.1)

The horizontal divergence is defined at a -point. It is given by:

 (6.2)

Note that although the vorticity has the same discrete expression in - and -coordinates, its physical meaning is not identical. is a pseudo vorticity along -surfaces (only pseudo because are still defined along geopotential surfaces, but are not necessarily defined at the same depth).

The vorticity and divergence at the before step are used in the computation of the horizontal diffusion of momentum. Note that because they have been calculated prior to the Asselin filtering of the before velocities, the before vorticity and divergence arrays must be included in the restart file to ensure perfect restartability. The vorticity and divergence at the now time step are used for the computation of the nonlinear advection and of the vertical velocity respectively.

## Horizontal divergence and relative vorticity (sshwzv.F90)

The sea surface height is given by :

where emp is the surface freshwater budget (evaporation minus precipitation), expressed in Kg/m/s (which is equal to mm/s), and =1,035 Kg/m is the reference density of sea water (Boussinesq approximation). If river runoff is expressed as a surface freshwater flux (see §7) then emp can be written as the evaporation minus precipitation, minus the river runoff. The sea-surface height is evaluated using exactly the same time stepping scheme as the tracer equation (5.24): a leapfrog scheme in combination with an Asselin time filter, the velocity appearing in (6.3) is centred in time (now velocity). This is of paramount importance. Replacing by the number in the tracer equation and summing over the water column must lead to the sea surface height equation otherwise tracer content will not be conserved [Griffies et al., 2001, Leclair and Madec, 2009].

The vertical velocity is computed by an upward integration of the horizontal divergence starting at the bottom, taking into account the change of the thickness of the levels :

In the case of a non-linear free surface (key_ vvl), the top vertical velocity is , as changes in the divergence of the barotropic transport are absorbed into the change of the level thicknesses, re-orientated downward. In the case of a linear free surface, the time derivative in (6.4) disappears. The upper boundary condition applies at a fixed level . The top vertical velocity is thus equal to the divergence of the barotropic transport ( the first term in the right-hand-side of (6.3)).

Note also that whereas the vertical velocity has the same discrete expression in - and -coordinates, its physical meaning is not the same: in the second case, is the velocity normal to the -surfaces. Note also that the -axis is re-orientated downwards in the FORTRAN code compared to the indexing used in the semi-discrete equations such as (6.4) (see §4.1.3).

Gurvan Madec and the NEMO Team
NEMO European Consortium2017-02-17