Changeset 11417
- Timestamp:
- 2019-08-07T13:04:25+02:00 (5 years ago)
- Location:
- branches/UKMO/dev_r5518_GO6_package_FOAMv14_STOPACK/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package_FOAMv14_STOPACK/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90
r11404 r11417 222 222 IF( .NOT.Agrif_Root() ) CALL Agrif_Update_Tke( kt ) ! children only 223 223 #endif 224 IF ( kt .eq.nitend ) THEN224 IF ( kt == nitend ) THEN 225 225 DEALLOCATE ( rn_lc0, rn_ediff0, rn_ediss0, rn_ebb0, rn_efr0 ) 226 226 ENDIF … … 358 358 zwlc = zind * rn_lc0(ji,jj) * zus * SIN( rpi * fsdepw(ji,jj,jk) / zhlc(ji,jj) ) 359 359 ! ! TKE Langmuir circulation source term 360 en(ji,jj,jk) = en(ji,jj,jk) + rdt * MAX(0.,1._wp - 2.*fr_i(ji,jj) ) * ( zwlc * zwlc * zwlc ) / &360 en(ji,jj,jk) = en(ji,jj,jk) + rdt * MAX(0.,1._wp - fr_i(ji,jj) ) * ( zwlc * zwlc * zwlc ) / & 361 361 & zhlc(ji,jj) * wmask(ji,jj,jk) * tmask(ji,jj,1) 362 362 … … 487 487 DO ji = fs_2, fs_jpim1 ! vector opt. 488 488 en(ji,jj,jk) = en(ji,jj,jk) + rn_efr0(ji,jj) * en(ji,jj,1) * EXP( -fsdepw(ji,jj,jk) / htau(ji,jj) ) & 489 & * MAX(0.,1._wp - 2.*fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1)489 & * MAX(0.,1._wp - fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 490 490 END DO 491 491 END DO … … 496 496 jk = nmln(ji,jj) 497 497 en(ji,jj,jk) = en(ji,jj,jk) + rn_efr0(ji,jj) * en(ji,jj,1) * EXP( -fsdepw(ji,jj,jk) / htau(ji,jj) ) & 498 & * MAX(0.,1._wp - 2.*fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1)498 & * MAX(0.,1._wp - fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 499 499 END DO 500 500 END DO … … 512 512 zdif = rhftau_scl * MAX( 0._wp, zdif + rhftau_add ) ! apply some modifications... 513 513 en(ji,jj,jk) = en(ji,jj,jk) + zbbrau(ji,jj) * zdif * EXP( -fsdepw(ji,jj,jk) / htau(ji,jj) ) & 514 & * MAX(0.,1._wp - 2.*fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1)514 & * MAX(0.,1._wp - fr_i(ji,jj) ) * wmask(ji,jj,jk) * tmask(ji,jj,1) 515 515 END DO 516 516 END DO -
branches/UKMO/dev_r5518_GO6_package_FOAMv14_STOPACK/NEMOGCM/NEMO/OPA_SRC/step.F90
r11404 r11417 176 176 ! 177 177 IF( lk_ldfslp ) THEN ! slope of lateral mixing 178 IF(ln_sto_eos ) CALL sto_pts( tsn ) ! Random T/S fluctuations179 178 CALL eos( tsb, rhd, gdept_0(:,:,:) ) ! before in situ density 180 179 IF( ln_zps .AND. .NOT. ln_isfcav) & … … 421 420 IF( lwm.AND.numoni /= -1 ) CALL FLUSH ( numoni ) ! flush output namelist ice 422 421 ENDIF 423 IF( ln_sto_eos ) CALL sto_rst_write( kstp ) ! write restart file for stochastic parameters424 425 422 426 423 IF( lrst_bias ) CALL bias_wrt ( kstp )
Note: See TracChangeset
for help on using the changeset viewer.