[3] | 1 | MODULE zdf_oce |
---|
| 2 | !!====================================================================== |
---|
| 3 | !! *** MODULE zdf_oce *** |
---|
| 4 | !! Ocean physics : define vertical mixing variables |
---|
| 5 | !!===================================================================== |
---|
| 6 | !!---------------------------------------------------------------------- |
---|
[247] | 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 | !!---------------------------------------------------------------------- |
---|
[3] | 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 |
---|
[16] | 21 | LOGICAL, PARAMETER, PUBLIC :: & !: |
---|
[3] | 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 |
---|
[463] | 27 | LOGICAL, PUBLIC :: & !!! namzdf: vertical diffusion |
---|
| 28 | ln_zdfexp = .FALSE. , & !: explicit vertical diffusion scheme flag |
---|
[3] | 29 | ln_zdfevd = .TRUE. , & !: convection: enhanced vertical diffusion flag |
---|
| 30 | ln_zdfnpc = .FALSE. !: convection: non-penetrative convection flag |
---|
| 31 | |
---|
[16] | 32 | INTEGER, PUBLIC :: & !!: namzdf: vertical diffusion |
---|
[3] | 33 | n_zdfexp = 3 , & !: number of sub-time step (explicit time stepping) |
---|
[463] | 34 | n_evdm = 1 !: =0/1 flag to apply enhanced avm or not |
---|
[3] | 35 | |
---|
[16] | 36 | REAL(wp), PUBLIC :: & !!: namzdf vertical diffusion |
---|
[3] | 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 | |
---|
[16] | 41 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: |
---|
[3] | 42 | avmu, & !: vertical viscosity coeff. at uw-, vw-points |
---|
| 43 | avmv, & !: vertical viscosity coeff. at uw-, vw-points |
---|
[255] | 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 |
---|
[3] | 47 | |
---|
[16] | 48 | REAL(wp), PUBLIC, DIMENSION(jpk) :: & !: |
---|
[3] | 49 | avmb, avtb !: background profile of avm and avt |
---|
| 50 | |
---|
| 51 | !!====================================================================== |
---|
| 52 | END MODULE zdf_oce |
---|