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 710 for trunk/NEMO/OPA_SRC/ZDF/zdftke.F90 – NEMO

Ignore:
Timestamp:
2007-10-10T17:36:03+02:00 (17 years ago)
Author:
smasson
Message:

tau(x|y) -> (u|v)tau, see ticket:7

File:
1 edited

Legend:

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

    r708 r710  
    101101      !!                  - ediss / emxl en**(2/3)        ! dissipation 
    102102      !!      with the boundary conditions: 
    103       !!         surface: en = max( emin0,ebb sqrt(taux^2 + tauy^2) ) 
     103      !!         surface: en = max( emin0,ebb sqrt(utau^2 + vtau^2) ) 
    104104      !!         bottom : en = emin 
    105105      !!      -1- The dissipation and mixing turbulent lengh scales are computed 
     
    301301      ! 2. Surface boundary condition on tke and its eddy viscosity (zmxlm) 
    302302      ! ------------------------------------------------- 
    303       ! en(1)   = ebb sqrt(taux^2+tauy^2) / rau0  (min value emin0) 
     303      ! en(1)   = ebb sqrt(utau^2+vtau^2) / rau0  (min value emin0) 
    304304      ! zmxlm(1) = avmb(1) and zmxlm(jpk) = 0. 
    305305!CDIR NOVERRCHK 
     
    307307!CDIR NOVERRCHK 
    308308         DO ji = fs_2, fs_jpim1   ! vector opt. 
    309             ztx2 = taux(ji-1,jj  ) + taux(ji,jj) 
    310             zty2 = tauy(ji  ,jj-1) + tauy(ji,jj) 
     309            ztx2 = utau(ji-1,jj  ) + utau(ji,jj) 
     310            zty2 = vtau(ji  ,jj-1) + vtau(ji,jj) 
    311311            zesurf = zbbrau * SQRT( ztx2 * ztx2 + zty2 * zty2 ) 
    312312            en (ji,jj,1) = MAX( zesurf, emin0 ) * tmask(ji,jj,1) 
Note: See TracChangeset for help on using the changeset viewer.