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 6101 for branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90 – NEMO

Ignore:
Timestamp:
2015-12-17T16:48:41+01:00 (8 years ago)
Author:
cbricaud
Message:

correction of bugs from last update and improvments for CRS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90

    r5602 r6101  
    6464 
    6565   !                      !!** Namelist  namzdf_tke  ** 
    66    LOGICAL  ::   ln_mxl0   ! mixing length scale surface value as function of wind stress or not 
    67    INTEGER  ::   nn_mxl    ! type of mixing length (=0/1/2/3) 
    68    REAL(wp) ::   rn_mxl0   ! surface  min value of mixing length (kappa*z_o=0.4*0.1 m)  [m] 
    69    INTEGER  ::   nn_pdl    ! Prandtl number or not (ratio avt/avm) (=0/1) 
    70    REAL(wp) ::   rn_ediff  ! coefficient for avt: avt=rn_ediff*mxl*sqrt(e) 
     66   LOGICAL  , PUBLIC  ::   ln_mxl0   ! mixing length scale surface value as function of wind stress or not 
     67   INTEGER  , PUBLIC  ::   nn_mxl    ! type of mixing length (=0/1/2/3) 
     68   REAL(wp) , PUBLIC  ::   rn_mxl0   ! surface  min value of mixing length (kappa*z_o=0.4*0.1 m)  [m] 
     69   INTEGER  , PUBLIC  ::   nn_pdl    ! Prandtl number or not (ratio avt/avm) (=0/1) 
     70   REAL(wp) , PUBLIC  ::   rn_ediff  ! coefficient for avt: avt=rn_ediff*mxl*sqrt(e) 
    7171   REAL(wp) ::   rn_ediss  ! coefficient of the Kolmogoroff dissipation  
    7272   REAL(wp) ::   rn_ebb    ! coefficient of the surface input of tke 
    7373   REAL(wp) ::   rn_emin   ! minimum value of tke           [m2/s2] 
    7474   REAL(wp) ::   rn_emin0  ! surface minimum value of tke   [m2/s2] 
    75    REAL(wp) ::   rn_bshear ! background shear (>0) currently a numerical threshold (do not change it) 
     75   REAL(wp) , PUBLIC  ::   rn_bshear ! background shear (>0) currently a numerical threshold (do not change it) 
    7676   INTEGER  ::   nn_etau   ! type of depth penetration of surface tke (=0/1/2/3) 
    7777   INTEGER  ::   nn_htau   ! type of tke profile of penetration (=0/1) 
     
    8181 
    8282   REAL(wp) ::   ri_cri    ! critic Richardson number (deduced from rn_ediff and rn_ediss values) 
    83    REAL(wp) ::   rmxl_min  ! minimum mixing length value (deduced from rn_ediff and rn_emin values)  [m] 
     83   REAL(wp) , PUBLIC  ::   rmxl_min  ! minimum mixing length value (deduced from rn_ediff and rn_emin values)  [m] 
    8484   REAL(wp) ::   rhftau_add = 1.e-3_wp     ! add offset   applied to HF part of taum  (nn_etau=3) 
    8585   REAL(wp) ::   rhftau_scl = 1.0_wp       ! scale factor applied to HF part of taum  (nn_etau=3) 
Note: See TracChangeset for help on using the changeset viewer.