- Timestamp:
- 2018-05-04T07:57:05+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90
r9440 r9546 75 75 INTEGER :: nn_htau ! type of tke profile of penetration (=0/1) 76 76 REAL(wp) :: rn_efr ! fraction of TKE surface value which penetrates in the ocean 77 REAL(wp) :: rn_eice ! =0 ON below sea-ice, =4 OFF when ice fraction > 1/4 77 78 LOGICAL :: ln_lc ! Langmuir cells (LC) as a source term of TKE or not 78 79 REAL(wp) :: rn_lc ! coef to compute vertical velocity of Langmuir cells … … 298 299 ! ! TKE Langmuir circulation source term 299 300 en(ji,jj,jk) = en(ji,jj,jk) + rdt * MAX(0.,1._wp - 4.*fr_i(ji,jj) ) * ( zwlc * zwlc * zwlc ) & 300 & / zhlc(ji,jj) * wmask(ji,jj,jk) 301 !!gm & / zhlc(ji,jj) * wmask(ji,jj,jk) * tmask(ji,jj,1) 301 & / zhlc(ji,jj) * wmask(ji,jj,jk) * tmask(ji,jj,1) 302 302 END DO 303 303 END DO … … 397 397 398 398 IF( nn_etau == 1 ) THEN !* penetration below the mixed layer (rn_efr fraction) 399 DO jk = 2, jpkm1 399 DO jk = 2, jpkm1 ! rn_eice =0 ON below sea-ice, =4 OFF when ice fraction > 0.25 400 400 DO jj = 2, jpjm1 401 401 DO ji = fs_2, fs_jpim1 ! vector opt. 402 402 en(ji,jj,jk) = en(ji,jj,jk) + rn_efr * en(ji,jj,1) * EXP( -pdepw(ji,jj,jk) / htau(ji,jj) ) & 403 & * MAX(0.,1._wp - 4.*fr_i(ji,jj) ) * wmask(ji,jj,jk) 404 !!gm & * MAX(0.,1._wp - 4.*fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 405 !!gm multiplication by surface tmask useless (already includes in MAX( 0, 1-4*fr_i ) 403 & * MAX(0.,1._wp - rn_eice *fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 406 404 END DO 407 405 END DO … … 412 410 jk = nmln(ji,jj) 413 411 en(ji,jj,jk) = en(ji,jj,jk) + rn_efr * en(ji,jj,1) * EXP( -pdepw(ji,jj,jk) / htau(ji,jj) ) & 414 & * MAX(0.,1._wp - 4.*fr_i(ji,jj) ) * wmask(ji,jj,jk) 415 !!gm & * MAX(0.,1._wp - 4.*fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 412 & * MAX(0.,1._wp - rn_eice *fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 416 413 END DO 417 414 END DO … … 426 423 zdif = rhftau_scl * MAX( 0._wp, zdif + rhftau_add ) ! apply some modifications... 427 424 en(ji,jj,jk) = en(ji,jj,jk) + zbbrau * zdif * EXP( -pdepw(ji,jj,jk) / htau(ji,jj) ) & 428 & * MAX(0.,1._wp - 4.*fr_i(ji,jj) ) * wmask(ji,jj,jk) 429 !!gm & * MAX(0.,1._wp - 4.*fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 425 & * MAX(0.,1._wp - rn_eice *fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 430 426 END DO 431 427 END DO … … 683 679 WRITE(numout,*) ' type of tke penetration profile nn_htau = ', nn_htau 684 680 WRITE(numout,*) ' fraction of TKE that penetrates rn_efr = ', rn_efr 681 WRITE(numout,*) ' below sea-ice: =0 ON rn_eice = ', rn_eice 682 WRITE(numout,*) ' =4 OFF when ice fraction > 1/4 ' 685 683 IF( ln_drg ) THEN 686 684 WRITE(numout,*)
Note: See TracChangeset
for help on using the changeset viewer.