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 @ 719

Last change on this file since 719 was 719, checked in by ctlod, 17 years ago

get back to the nemo_v2_3 version for trunk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1MODULE zdf_oce
2   !!======================================================================
3   !!              ***  MODULE  zdf_oce  ***
4   !! Ocean physics : define vertical mixing variables
5   !!=====================================================================
6   !!----------------------------------------------------------------------
7   !!  OPA 9.0 , LOCEAN-IPSL (2005)
8   !! $Header$
9   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
10   !!----------------------------------------------------------------------
11   !!----------------------------------------------------------------------
12   !!   zdf_init    : initialization, namelist read, and parameters control
13   !!----------------------------------------------------------------------
14   !! * Modules used
15   USE par_oce         ! mesh and scale factors
16
17   IMPLICIT NONE
18   PRIVATE
19
20   !! * Share Module variables
21   LOGICAL, PARAMETER, PUBLIC ::    &   !:
22#if defined key_zdfcst   ||   defined key_esopa
23      lk_zdfcst        = .TRUE.         !: constant vertical mixing flag
24#else
25      lk_zdfcst        = .FALSE.        !: constant vertical mixing flag
26#endif
27   LOGICAL, PUBLIC ::                & !!! namzdf: vertical diffusion
28      ln_zdfexp        = .FALSE. ,   &  !: explicit vertical diffusion scheme flag
29      ln_zdfevd        = .TRUE.  ,   &  !: convection: enhanced vertical diffusion flag
30      ln_zdfnpc        = .FALSE.        !: convection: non-penetrative convection flag
31
32   INTEGER, PUBLIC ::    & !!: namzdf:  vertical diffusion
33      n_zdfexp = 3    ,  &  !: number of sub-time step (explicit time stepping)
34      n_evdm   = 1          !: =0/1 flag to apply enhanced avm or not
35 
36   REAL(wp), PUBLIC ::   & !!: namzdf   vertical diffusion
37      avm0  = 1.e-4_wp,  &  !: vertical eddy viscosity (m2/s)
38      avt0  = 1.e-5_wp,  &  !: vertical eddy diffusivity (m2/s)
39      avevd = 1._wp         !: vertical eddy coeff. for enhanced vert. diff. (m2/s)
40
41   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !:
42      avmu,              &  !: vertical viscosity coeff. at uw-, vw-points
43      avmv,              &  !: vertical viscosity coeff. at uw-, vw-points
44      avt ,              &  !: vertical diffusivity coeff. at w-point
45      avt_evd,           &  !: convection: enhanced vertical diffusivity coeff. at w-point
46      avmu_evd              !: convection: enhanced vertical viscosity   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.