- Timestamp:
- 2013-11-04T12:51:55+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfkpp.F90
r3792 r4147 52 52 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hkpp !: boundary layer depth 53 53 54 ! 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 instability58 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 convection60 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, avmv54 ! !!* 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 62 62 63 63 #if defined key_zdfddm … … 67 67 REAL(wp) :: difsdc = 1.5e-06_wp ! maximum diffusive convection mixing 68 68 #endif 69 LOGICAL :: ln_kpprimix = .TRUE.! Shear instability mixing69 LOGICAL :: ln_kpprimix ! Shear instability mixing 70 70 71 71 ! !!! ** General constants ** … … 1382 1382 REAL(wp) :: zustar, zucube, zustvk, zeta, zehat ! tempory scalars 1383 1383 #endif 1384 INTEGER :: ios ! Local integer output status for namelist read 1384 1385 REAL(wp) :: zhbf ! tempory scalars 1385 1386 LOGICAL :: ll_kppcustom ! 1st ocean level taken as surface layer … … 1391 1392 IF( nn_timing == 1 ) CALL timing_start('zdf_kpp_init') 1392 1393 ! 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) 1396 901 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 ) 1400 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_kpp in configuration namelist', lwp ) 1401 WRITE ( numond, namzdf_kpp ) 1395 1402 1396 1403 IF(lwp) THEN ! Control print
Note: See TracChangeset
for help on using the changeset viewer.