Next: Calculation of the stratification
Up: The mean flow model
Previous: The buoyancy equation
Calculation of the vertical shear
INTERFACE:
subroutine shear(nlev,cnpar)
DESCRIPTION:
The (square of the) shear frequency is defined as
 |
(36) |
It is an important parameter in almost all turbulence models.
The
- and
-contributions to
are computed using a new scheme
which guarantees conservation of kinetic energy for the convertion
from mean to turbulent kinetic energy, see Burchard (2002a). With this method,
the discretisation of the
-contribution can be written as
 |
(37) |
where
. The
-contribution is computed analogously.
The shear obtained from (37)
plus the
-contribution is then used for the computation of the turbulence
shear production, see equation (146).
USES:
use meanflow, only: h,u,v,uo,vo
use meanflow, only: SS,SSU,SSV
IMPLICIT NONE
INPUT PARAMETERS:
number of vertical layers
integer, intent(in) :: nlev
numerical "implicitness" parameter
REALTYPE, intent(in) :: cnpar
REVISION HISTORY:
Original author(s): Lars Umlauf
$Log: shear.F90,v $
Revision 1.1 2005-06-27 10:54:33 kbk
new files needed
Lars Umlauf
2007-12-11