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_jki.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_jki.F90

    • Property svn:keywords changed from Id to Author Date Id Revision
    r710 r719  
    2020   USE dom_oce         ! ocean space and time domain 
    2121   USE zdf_oce         ! ocean vertical physics 
    22    USE sbc_oce         ! surface boundary condition: ocean 
    2322   USE zdftke          ! ??? 
    24    USE phycst          ! physical constants 
    2523   USE in_out_manager  ! I/O manager 
    2624   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
     25   USE phycst          ! physical constants 
     26   USE taumod          ! surface stress 
    2727   USE prtctl          ! Print control 
    2828   USE restart         ! only for lrst_oce 
     
    5757      !!                  - ediss / emxl en**(2/3)        ! dissipation 
    5858      !!      with the boundary conditions: 
    59       !!         surface: en = max( emin0,ebb sqrt(utau^2 + vtau^2) ) 
     59      !!         surface: en = max( emin0,ebb sqrt(taux^2 + tauy^2) ) 
    6060      !!         bottom : en = emin 
    6161      !!      -1- The dissipation and mixing turbulent lengh scales are computed 
     
    124124      !!-------------------------------------------------------------------- 
    125125      !!  OPA 9.0 , LOCEAN-IPSL (2005)  
    126       !! $Id$ 
     126      !! $Header$  
    127127      !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
    128128      !!-------------------------------------------------------------------- 
     
    253253         ! 2. Surface boundary condition on tke and its eddy viscosity (zmxlm) 
    254254         ! ------------------------------------------------- 
    255          ! en(1)   = ebb sqrt(utau^2+vtau^2) / rau0  (min value emin0) 
     255         ! en(1)   = ebb sqrt(taux^2+tauy^2) / rau0  (min value emin0) 
    256256         ! zmxlm(1) = avmb(1) and zmxlm(jpk) = 0. 
    257257!CDIR NOVERRCHK 
    258258         DO ji = 2, jpim1 
    259             ztx2 = utau(ji-1,jj  ) + utau(ji,jj) 
    260             zty2 = vtau(ji  ,jj-1) + vtau(ji,jj) 
     259            ztx2 = taux(ji-1,jj  ) + taux(ji,jj) 
     260            zty2 = tauy(ji  ,jj-1) + tauy(ji,jj) 
    261261            zesurf = zbbrau * SQRT( ztx2 * ztx2 + zty2 * zty2 ) 
    262262            en (ji,jj,1) = MAX( zesurf, emin0 ) * tmask(ji,jj,1) 
Note: See TracChangeset for help on using the changeset viewer.