New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1268 – NEMO

Changeset 1268


Ignore:
Timestamp:
2009-01-14T15:08:06+01:00 (15 years ago)
Author:
ctlod
Message:

include the missing Von Karman constant in surface mixing length computation and set to 0.1 the default value for the rn_lmin parameter, see ticket: #291

Location:
trunk/NEMO/OPA_SRC/ZDF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/ZDF/zdftke.F90

    r1221 r1268  
    8585   INTEGER  ::   nn_htau  = 0               ! type of tke profile of penetration (=0/1/2) 
    8686   REAL(wp) ::   rn_lmin0 = 0.4_wp          ! surface  min value of mixing length 
    87    REAL(wp) ::   rn_lmin  = 0.4_wp          ! interior min value of mixing length 
     87   REAL(wp) ::   rn_lmin  = 0.1_wp          ! interior min value of mixing length 
    8888   REAL(wp) ::   rn_efr   = 1.0_wp          ! fraction of TKE surface value which penetrates in the ocean 
    8989   REAL(wp) ::   rn_lc    = 0.15_wp         ! coef to compute vertical velocity of Langmuir cells 
     
    200200      ! Buoyancy length scale: l=sqrt(2*e/n**2) 
    201201      ! --------------------- 
    202       IF( ln_mxl0 ) THEN         ! surface mixing length = F(stress) : l=2.e5*sqrt(utau^2 + vtau^2)/(rau0*g) 
     202      IF( ln_mxl0 ) THEN         ! surface mixing length = F(stress) : l=vkarmn*2.e5*sqrt(utau^2 + vtau^2)/(rau0*g) 
    203203!!gm  this should be useless 
    204204         zmxlm(:,:,1) = 0.e0 
    205205!!gm end 
    206          zraug = 0.5 * 2.e5 / ( rau0 * grav ) 
     206         zraug = 0.5 * vkarmn * 2.e5 / ( rau0 * grav ) 
    207207         DO jj = 2, jpjm1 
    208208!CDIR NOVERRCHK 
  • trunk/NEMO/OPA_SRC/ZDF/zdftke2.F90

    r1239 r1268  
    8383   INTEGER  ::   nn_htau  = 0               ! type of tke profile of penetration (=0/1/2) 
    8484   REAL(wp) ::   rn_lmin0 = 0.4_wp          ! surface  min value of mixing length 
    85    REAL(wp) ::   rn_lmin  = 0.4_wp          ! interior min value of mixing length 
     85   REAL(wp) ::   rn_lmin  = 0.1_wp          ! interior min value of mixing length 
    8686   REAL(wp) ::   rn_efr   = 1.0_wp          ! fraction of TKE surface value which penetrates in the ocean 
    8787   REAL(wp) ::   rn_lc    = 0.15_wp         ! coef to compute vertical velocity of Langmuir cells 
     
    451451      ! Buoyancy length scale: l=sqrt(2*e/n**2) 
    452452      ! --------------------- 
    453       IF( ln_mxl0 ) THEN         ! surface mixing length = F(stress) : l=2.e5*sqrt(utau^2 + vtau^2)/(rau0*g) 
     453      IF( ln_mxl0 ) THEN         ! surface mixing length = F(stress) : l=vkarmn*2.e5*sqrt(utau^2 + vtau^2)/(rau0*g) 
    454454!!gm  this should be useless 
    455455         zmxlm(:,:,1) = 0.e0 
    456456!!gm end 
    457          zraug = 0.5 * 2.e5 / ( rau0 * grav ) 
     457         zraug = 0.5 * vkarmn * 2.e5 / ( rau0 * grav ) 
    458458         DO jj = 2, jpjm1 
    459459!CDIR NOVERRCHK 
Note: See TracChangeset for help on using the changeset viewer.