- 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/zdfgls.F90
r3798 r4147 51 51 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ustarb2 !: Squared bottom velocity scale at T-points 52 52 53 ! !!! ** Namelist namzdf_gls **54 LOGICAL :: ln_crban = .FALSE.! =T use Craig and Banner scheme55 LOGICAL :: ln_length_lim = .FALSE.! use limit on the dissipation rate under stable stratification (Galperin et al. 1988)56 LOGICAL :: ln_sigpsi = .FALSE.! Activate Burchard (2003) modification for k-eps closure & wave breaking mixing57 INTEGER :: nn_tkebc_surf = 0! TKE surface boundary condition (=0/1)58 INTEGER :: nn_tkebc_bot = 0! TKE bottom boundary condition (=0/1)59 INTEGER :: nn_psibc_surf = 0! PSI surface boundary condition (=0/1)60 INTEGER :: nn_psibc_bot = 0! PSI bottom boundary condition (=0/1)61 INTEGER :: nn_stab_func = 0! stability functions G88, KC or Canuto (=0/1/2)62 INTEGER :: nn_clos = 0! closure 0/1/2/3 MY82/k-eps/k-w/gen63 REAL(wp) :: rn_clim_galp = 0.53_wp! Holt 2008 value for k-eps: 0.26764 REAL(wp) :: rn_epsmin = 1.e-12_wp! minimum value of dissipation (m2/s3)65 REAL(wp) :: rn_emin = 1.e-6_wp! minimum value of TKE (m2/s2)66 REAL(wp) :: rn_charn = 2.e+5_wp! Charnock constant for surface breaking waves mixing : 1400. (standard) or 2.e5 (Stacey value)67 REAL(wp) :: rn_crban = 100._wp! Craig and Banner constant for surface breaking waves mixing53 ! !! ** Namelist namzdf_gls ** 54 LOGICAL :: ln_crban ! =T use Craig and Banner scheme 55 LOGICAL :: ln_length_lim ! use limit on the dissipation rate under stable stratification (Galperin et al. 1988) 56 LOGICAL :: ln_sigpsi ! Activate Burchard (2003) modification for k-eps closure & wave breaking mixing 57 INTEGER :: nn_tkebc_surf ! TKE surface boundary condition (=0/1) 58 INTEGER :: nn_tkebc_bot ! TKE bottom boundary condition (=0/1) 59 INTEGER :: nn_psibc_surf ! PSI surface boundary condition (=0/1) 60 INTEGER :: nn_psibc_bot ! PSI bottom boundary condition (=0/1) 61 INTEGER :: nn_stab_func ! stability functions G88, KC or Canuto (=0/1/2) 62 INTEGER :: nn_clos ! closure 0/1/2/3 MY82/k-eps/k-w/gen 63 REAL(wp) :: rn_clim_galp ! Holt 2008 value for k-eps: 0.267 64 REAL(wp) :: rn_epsmin ! minimum value of dissipation (m2/s3) 65 REAL(wp) :: rn_emin ! minimum value of TKE (m2/s2) 66 REAL(wp) :: rn_charn ! Charnock constant for surface breaking waves mixing : 1400. (standard) or 2.e5 (Stacey value) 67 REAL(wp) :: rn_crban ! Craig and Banner constant for surface breaking waves mixing 68 68 69 69 REAL(wp) :: hsro = 0.003_wp ! Minimum surface roughness … … 928 928 ! 929 929 INTEGER :: jk ! dummy loop indices 930 INTEGER :: ios ! Local integer output status for namelist read 930 931 REAL(wp):: zcr ! local scalar 931 932 !! … … 940 941 IF( nn_timing == 1 ) CALL timing_start('zdf_gls_init') 941 942 ! 942 REWIND( numnam ) !* Read Namelist namzdf_gls 943 READ ( numnam, namzdf_gls ) 943 REWIND( numnam_ref ) ! Namelist namzdf_gls in reference namelist : Vertical eddy diffivity and viscosity using gls turbulent closure scheme 944 READ ( numnam_ref, namzdf_gls, IOSTAT = ios, ERR = 901) 945 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_gls in reference namelist', lwp ) 946 947 REWIND( numnam_cfg ) ! Namelist namzdf_gls in configuration namelist : Vertical eddy diffivity and viscosity using gls turbulent closure scheme 948 READ ( numnam_cfg, namzdf_gls, IOSTAT = ios, ERR = 902 ) 949 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_gls in configuration namelist', lwp ) 950 WRITE ( numond, namzdf_gls ) 944 951 945 952 IF(lwp) THEN !* Control print
Note: See TracChangeset
for help on using the changeset viewer.