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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfkpp.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfkpp.F90

    r3792 r4147  
    5252   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   hkpp     !: boundary layer depth 
    5353 
    54    !                                        !!* Namelist namzdf_kpp * 
    55    REAL(wp) ::   rn_difmiw  =  1.2e-04_wp    ! constant internal wave viscosity (m2/s) 
    56    REAL(wp) ::   rn_difsiw  =  1.2e-05_wp    ! constant internal wave diffusivity (m2/s) 
    57    REAL(wp) ::   rn_riinfty =  0.8_wp        ! local Richardson Number limit for shear instability 
    58    REAL(wp) ::   rn_difri   =  5.e-03_wp     ! maximum shear mixing at Rig = 0    (m2/s) 
    59    REAL(wp) ::   rn_bvsqcon = -1.e-09_wp     ! Brunt-Vaisala squared (1/s**2) for maximum convection 
    60    REAL(wp) ::   rn_difcon  =  1._wp         ! maximum mixing in interior convection (m2/s) 
    61    INTEGER  ::   nn_ave     =  1             ! = 0/1 flag for horizontal average on avt, avmu, avmv 
     54   !                          !!* Namelist namzdf_kpp * 
     55   REAL(wp) ::   rn_difmiw     ! constant internal wave viscosity (m2/s) 
     56   REAL(wp) ::   rn_difsiw     ! constant internal wave diffusivity (m2/s) 
     57   REAL(wp) ::   rn_riinfty    ! local Richardson Number limit for shear instability 
     58   REAL(wp) ::   rn_difri      ! maximum shear mixing at Rig = 0    (m2/s) 
     59   REAL(wp) ::   rn_bvsqcon    ! Brunt-Vaisala squared (1/s**2) for maximum convection 
     60   REAL(wp) ::   rn_difcon     ! maximum mixing in interior convection (m2/s) 
     61   INTEGER  ::   nn_ave        ! = 0/1 flag for horizontal average on avt, avmu, avmv 
    6262 
    6363#if defined key_zdfddm 
     
    6767   REAL(wp) ::   difsdc  = 1.5e-06_wp        ! maximum diffusive convection mixing 
    6868#endif 
    69    LOGICAL  ::   ln_kpprimix  = .TRUE.       ! Shear instability mixing  
     69   LOGICAL  ::   ln_kpprimix       ! Shear instability mixing  
    7070 
    7171   !                                        !!! ** General constants  ** 
     
    13821382      REAL(wp) ::   zustar, zucube, zustvk, zeta, zehat   ! tempory scalars 
    13831383#endif 
     1384      INTEGER  ::   ios            ! Local integer output status for namelist read 
    13841385      REAL(wp) ::   zhbf           ! tempory scalars 
    13851386      LOGICAL  ::   ll_kppcustom   ! 1st ocean level taken as surface layer 
     
    13911392      IF( nn_timing == 1 )  CALL timing_start('zdf_kpp_init') 
    13921393      ! 
    1393       REWIND ( numnam )               ! Read Namelist namkpp : K-Profile Parameterisation 
    1394       READ   ( numnam, namzdf_kpp ) 
     1394      REWIND( numnam_ref )              ! Namelist namzdf_kpp in reference namelist : Vertical eddy diffivity and viscosity using kpp turbulent closure scheme 
     1395      READ  ( numnam_ref, namzdf_kpp, IOSTAT = ios, ERR = 901) 
     1396901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_kpp in reference namelist', lwp ) 
     1397 
     1398      REWIND( numnam_cfg )              ! Namelist namzdf_kpp in configuration namelist : Vertical eddy diffivity and viscosity using kpp turbulent closure scheme 
     1399      READ  ( numnam_cfg, namzdf_kpp, IOSTAT = ios, ERR = 902 ) 
     1400902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_kpp in configuration namelist', lwp ) 
     1401      WRITE ( numond, namzdf_kpp ) 
    13951402 
    13961403      IF(lwp) THEN                    ! Control print 
Note: See TracChangeset for help on using the changeset viewer.