Calculation of the vertical shear (Source File: shear.F90)
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 20050627 10:54:33 kbk
new files needed
Karsten Bolding
20120124