- Timestamp:
- 2020-07-09T12:39:43+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/OCE/ZDF/zdftke.F90
r13249 r13279 28 28 !! 3.6 ! 2014-11 (P. Mathiot) add ice shelf capability 29 29 !! 4.0 ! 2017-04 (G. Madec) remove CPP ddm key & avm at t-point only 30 !! - ! 2017-05 (G. Madec) add top/bottom friction as boundary condition (ln_drg)30 !! - ! 2017-05 (G. Madec) add top/bottom friction as boundary condition 31 31 !!---------------------------------------------------------------------- 32 32 … … 79 79 REAL(wp) :: rn_emin0 ! surface minimum value of tke [m2/s2] 80 80 REAL(wp) :: rn_bshear ! background shear (>0) currently a numerical threshold (do not change it) 81 LOGICAL :: ln_drg ! top/bottom friction forcing flag82 81 INTEGER :: nn_etau ! type of depth penetration of surface tke (=0/1/2/3) 83 82 INTEGER :: nn_htau ! type of tke profile of penetration (=0/1) … … 247 246 ! Note that stress averaged is done using an wet-only calculation of u and v at t-point like in zdfsh2 248 247 ! 249 IF( ln_drg ) THEN!== friction used as top/bottom boundary condition on TKE250 ! 251 DO jj = 2, jpjm1 ! bottom friction248 IF( .NOT.ln_drg_OFF ) THEN !== friction used as top/bottom boundary condition on TKE 249 ! 250 DO jj = 2, jpjm1 ! bottom friction 252 251 DO ji = fs_2, fs_jpim1 ! vector opt. 253 252 zmsku = ( 2. - umask(ji-1,jj,mbkt(ji,jj)) * umask(ji,jj,mbkt(ji,jj)) ) … … 717 716 & rn_emin0, rn_bshear, nn_mxl , ln_mxl0 , & 718 717 & rn_mxl0 , nn_mxlice, rn_mxlice, & 719 & nn_pdl , ln_ drg , ln_lc , rn_lc,&718 & nn_pdl , ln_lc , rn_lc, & 720 719 & nn_etau , nn_htau , rn_efr , nn_eice 721 720 !!---------------------------------------------------------------------- … … 760 759 END SELECT 761 760 ENDIF 762 WRITE(numout,*) ' top/bottom friction forcing flag ln_drg = ', ln_drg763 761 WRITE(numout,*) ' Langmuir cells parametrization ln_lc = ', ln_lc 764 762 WRITE(numout,*) ' coef to compute vertical velocity of LC rn_lc = ', rn_lc … … 775 773 CALL ctl_stop( 'zdf_tke_init: wrong value for nn_eice, should be 0,1,2, or 3') 776 774 END SELECT 777 IF( ln_drg) THEN775 IF( .NOT.ln_drg_OFF ) THEN 778 776 WRITE(numout,*) 779 777 WRITE(numout,*) ' Namelist namdrg_top/_bot: used values:'
Note: See TracChangeset
for help on using the changeset viewer.