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

Ignore:
Timestamp:
2007-10-16T16:59:56+02:00 (17 years ago)
Author:
ctlod
Message:

get back to the nemo_v2_3 version for trunk

File:
1 edited

Legend:

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

    • Property svn:keywords changed from Id to Author Date Id Revision
    r710 r719  
    3131   USE dom_oce         ! ocean space and time domain 
    3232   USE zdf_oce         ! ocean vertical physics 
    33    USE sbc_oce         ! surface boundary condition: ocean 
    3433   USE phycst          ! physical constants 
     34   USE taumod          ! surface stress 
    3535   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    3636   USE prtctl          ! Print control 
     
    8181   !!---------------------------------------------------------------------- 
    8282   !!   OPA 9.0 , LOCEAN-IPSL (2006)  
    83    !! $Id$ 
     83   !! $Header: /home/opalod/NEMOCVSROOT/NEMO/OPA_SRC/ZDF/zdftke.F90,v 1.16 2007/06/05 10:39:27 opalod Exp $  
    8484   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    8585   !!---------------------------------------------------------------------- 
     
    101101      !!                  - ediss / emxl en**(2/3)        ! dissipation 
    102102      !!      with the boundary conditions: 
    103       !!         surface: en = max( emin0,ebb sqrt(utau^2 + vtau^2) ) 
     103      !!         surface: en = max( emin0,ebb sqrt(taux^2 + tauy^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(utau^2+vtau^2) / rau0  (min value emin0) 
     303      ! en(1)   = ebb sqrt(taux^2+tauy^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 = utau(ji-1,jj  ) + utau(ji,jj) 
    310             zty2 = vtau(ji  ,jj-1) + vtau(ji,jj) 
     309            ztx2 = taux(ji-1,jj  ) + taux(ji,jj) 
     310            zty2 = tauy(ji  ,jj-1) + tauy(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.