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.
Changeset 14072 for NEMO/trunk/src/OCE/ZDF/zdfric.F90 – NEMO

Ignore:
Timestamp:
2020-12-04T08:48:38+01:00 (3 years ago)
Author:
laurent
Message:

Merging branch "2020/dev_r13648_ASINTER-04_laurent_bulk_ice", ticket #2369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/ZDF/zdfric.F90

    r13970 r14072  
    1212   !!            3.3  !  2010-10  (C. Ethe, G. Madec) reorganisation of initialisation phase 
    1313   !!            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 
    1515   !!---------------------------------------------------------------------- 
    1616 
     
    2828   USE in_out_manager ! I/O manager 
    2929   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) 
    3131 
    3232 
     
    4343   REAL(wp) ::   rn_alp      ! coefficient of the parameterization 
    4444   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 
    4646   REAL(wp) ::   rn_mldmax   ! maximum mixed layer depth 
    4747   REAL(wp) ::   rn_wtmix    ! Vertical eddy Diff. in the ML 
     
    6161      !!---------------------------------------------------------------------- 
    6262      !!                 ***  ROUTINE zdf_ric_init  *** 
    63       !!                     
     63      !! 
    6464      !! ** Purpose :   Initialization of the vertical eddy diffusivity and 
    6565      !!      viscosity coef. for the Richardson number dependent formulation. 
     
    109109      !!---------------------------------------------------------------------- 
    110110      !!                 ***  ROUTINE zdfric  *** 
    111       !!                     
     111      !! 
    112112      !! ** Purpose :   Compute the before eddy viscosity and diffusivity as 
    113113      !!                a function of the local richardson number. 
    114114      !! 
    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. 
    117117      !!                The eddy coefficients are given by: 
    118118      !!                    avm = avm0 + avmb 
     
    122122      !!                    avm0= rn_avmri / (1 + rn_alp*Ri)**nn_ric 
    123123      !!                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 
    125125      !!                and rn_alp, nn_ric are adjustable parameters. 
    126126      !!                Typical values : rn_alp=5. and nn_ric=2. 
     
    164164      END_3D 
    165165      ! 
    166 !!gm BUG <<<<====  This param can't work at low latitude  
     166!!gm BUG <<<<====  This param can't work at low latitude 
    167167!!gm               it provides there much to thick mixed layer ( summer 150m in GYRE configuration !!! ) 
    168168      ! 
     
    188188      !!--------------------------------------------------------------------- 
    189189      !!                   ***  ROUTINE ric_rst  *** 
    190       !!                      
     190      !! 
    191191      !! ** Purpose :   Read or write TKE file (en) in restart file 
    192192      !! 
    193193      !! ** 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 
    196196      !!---------------------------------------------------------------------- 
    197197      INTEGER         , INTENT(in) ::   kt     ! ocean time-step 
     
    202202      !!---------------------------------------------------------------------- 
    203203      ! 
    204       IF( TRIM(cdrw) == 'READ' ) THEN        ! Read/initialise  
     204      IF( TRIM(cdrw) == 'READ' ) THEN        ! Read/initialise 
    205205         !                                   ! --------------- 
    206206         !           !* Read the restart file 
Note: See TracChangeset for help on using the changeset viewer.