New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
zdf_oce.F90 in trunk/NEMO/OPA_SRC/ZDF – NEMO

source: trunk/NEMO/OPA_SRC/ZDF/zdf_oce.F90 @ 16

Last change on this file since 16 was 16, checked in by opalod, 20 years ago

CT : UPDATE001 : First major NEMO update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1MODULE zdf_oce
2   !!======================================================================
3   !!              ***  MODULE  zdf_oce  ***
4   !! Ocean physics : define vertical mixing variables
5   !!=====================================================================
6
7   !!----------------------------------------------------------------------
8   !!   zdf_init    : initialization, namelist read, and parameters control
9   !!----------------------------------------------------------------------
10   !! * Modules used
11   USE par_oce         ! mesh and scale factors
12
13   IMPLICIT NONE
14   PRIVATE
15
16   !! * Share Module variables
17   LOGICAL, PARAMETER, PUBLIC ::    &   !:
18#if defined key_zdfcst   ||   defined key_esopa
19      lk_zdfcst        = .TRUE.         !: constant vertical mixing flag
20#else
21      lk_zdfcst        = .FALSE.        !: constant vertical mixing flag
22#endif
23   LOGICAL, PUBLIC ::    &   !:
24      ln_zdfevd        = .TRUE.  ,   &  !: convection: enhanced vertical diffusion flag
25      ln_zdfnpc        = .FALSE.        !: convection: non-penetrative convection flag
26
27   LOGICAL, PUBLIC ::    &   !:
28      l_trazdf_exp     = .FALSE. ,   &  !: ???
29      l_trazdf_imp     = .FALSE. ,   &  !:
30      l_dynzdf_exp     = .FALSE. ,   &  !:
31      l_dynzdf_imp     = .TRUE.  ,   &  !:
32      l_dynzdf_imp_tsk = .FALSE.        !:
33
34   INTEGER, PUBLIC ::    & !!: namzdf:  vertical diffusion
35      n_zdfexp = 3    ,  &  !: number of sub-time step (explicit time stepping)
36      nevdm    = 1          !: =0/1 flag to apply enhanced avm or not
37 
38   REAL(wp), PUBLIC ::   & !!: namzdf   vertical diffusion
39      avm0  = 1.e-4_wp,  &  !: vertical eddy viscosity (m2/s)
40      avt0  = 1.e-5_wp,  &  !: vertical eddy diffusivity (m2/s)
41      avevd = 1._wp         !: vertical eddy coeff. for enhanced vert. diff. (m2/s)
42
43   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !:
44      avmu,              &  !: vertical viscosity coeff. at uw-, vw-points
45      avmv,              &  !: vertical viscosity coeff. at uw-, vw-points
46      avt                   !: vertical diffusivity coeff. at w-point
47 
48   REAL(wp), PUBLIC, DIMENSION(jpk) ::   &   !:
49      avmb, avtb            !: background profile of avm and avt
50 
51   !!======================================================================
52END MODULE zdf_oce
Note: See TracBrowser for help on using the repository browser.