Changeset 14072 for NEMO/trunk/src/OCE/ZDF/zdfric.F90
- Timestamp:
- 2020-12-04T08:48:38+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/ZDF/zdfric.F90
r13970 r14072 12 12 !! 3.3 ! 2010-10 (C. Ethe, G. Madec) reorganisation of initialisation phase 13 13 !! 3.3.1! 2011-09 (P. Oddo) Mixed layer depth parameterization 14 !! 4.0 ! 2017-04 (G. Madec) remove CPP ddm key & avm at t-point only 14 !! 4.0 ! 2017-04 (G. Madec) remove CPP ddm key & avm at t-point only 15 15 !!---------------------------------------------------------------------- 16 16 … … 28 28 USE in_out_manager ! I/O manager 29 29 USE iom ! I/O manager library 30 USE lib_fortran ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 30 USE lib_fortran ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 31 31 32 32 … … 43 43 REAL(wp) :: rn_alp ! coefficient of the parameterization 44 44 REAL(wp) :: rn_ekmfc ! Ekman Factor Coeff 45 REAL(wp) :: rn_mldmin ! minimum mixed layer (ML) depth 45 REAL(wp) :: rn_mldmin ! minimum mixed layer (ML) depth 46 46 REAL(wp) :: rn_mldmax ! maximum mixed layer depth 47 47 REAL(wp) :: rn_wtmix ! Vertical eddy Diff. in the ML … … 61 61 !!---------------------------------------------------------------------- 62 62 !! *** ROUTINE zdf_ric_init *** 63 !! 63 !! 64 64 !! ** Purpose : Initialization of the vertical eddy diffusivity and 65 65 !! viscosity coef. for the Richardson number dependent formulation. … … 109 109 !!---------------------------------------------------------------------- 110 110 !! *** ROUTINE zdfric *** 111 !! 111 !! 112 112 !! ** Purpose : Compute the before eddy viscosity and diffusivity as 113 113 !! a function of the local richardson number. 114 114 !! 115 !! ** Method : Local richardson number dependent formulation of the 116 !! vertical eddy viscosity and diffusivity coefficients. 115 !! ** Method : Local richardson number dependent formulation of the 116 !! vertical eddy viscosity and diffusivity coefficients. 117 117 !! The eddy coefficients are given by: 118 118 !! avm = avm0 + avmb … … 122 122 !! avm0= rn_avmri / (1 + rn_alp*Ri)**nn_ric 123 123 !! where ri is the before local Richardson number, 124 !! rn_avmri is the maximum value reaches by avm and avt 124 !! rn_avmri is the maximum value reaches by avm and avt 125 125 !! and rn_alp, nn_ric are adjustable parameters. 126 126 !! Typical values : rn_alp=5. and nn_ric=2. … … 164 164 END_3D 165 165 ! 166 !!gm BUG <<<<==== This param can't work at low latitude 166 !!gm BUG <<<<==== This param can't work at low latitude 167 167 !!gm it provides there much to thick mixed layer ( summer 150m in GYRE configuration !!! ) 168 168 ! … … 188 188 !!--------------------------------------------------------------------- 189 189 !! *** ROUTINE ric_rst *** 190 !! 190 !! 191 191 !! ** Purpose : Read or write TKE file (en) in restart file 192 192 !! 193 193 !! ** Method : use of IOM library 194 !! if the restart does not contain TKE, en is either 195 !! set to rn_emin or recomputed 194 !! if the restart does not contain TKE, en is either 195 !! set to rn_emin or recomputed 196 196 !!---------------------------------------------------------------------- 197 197 INTEGER , INTENT(in) :: kt ! ocean time-step … … 202 202 !!---------------------------------------------------------------------- 203 203 ! 204 IF( TRIM(cdrw) == 'READ' ) THEN ! Read/initialise 204 IF( TRIM(cdrw) == 'READ' ) THEN ! Read/initialise 205 205 ! ! --------------- 206 206 ! !* Read the restart file
Note: See TracChangeset
for help on using the changeset viewer.