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

Ignore:
Timestamp:
2009-10-30T17:42:38+01:00 (14 years ago)
Author:
smasson
Message:

wind stress module directly at T-point, see ticket:577

File:
1 edited

Legend:

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

    r1601 r1695  
    200200                      ! 
    201201      REAL(wp) ::                       &  ! 
    202          ztx, zty, ztau, zflageos,      &  ! 
     202         ztx, zty, zflageos,            &  ! 
    203203         zstabl, zbuofdep,zucube,       &  ! 
    204204         zrhos, zalbet, zbeta,          &  ! 
     
    469469            zrhos         = rhop(ji,jj,1) + zflageos * rau0 * ( 1. - tmask(ji,jj,1) )   
    470470            ! Friction velocity (zustar), at T-point : LMD94 eq. 2 
    471             ztx           = 0.5 * ( utau(ji,jj) + utau(ji - 1, jj    ) ) 
    472             zty           = 0.5 * ( vtau(ji,jj) + vtau(ji    , jj - 1) ) 
    473             ztau          = SQRT( ztx * ztx + zty * zty ) 
    474             zustar(ji,jj) = SQRT( ztau / ( zrhos +  epsln ) ) 
     471            zustar(ji,jj) = SQRT( taum(ji,jj) / ( zrhos +  epsln ) ) 
    475472         ENDDO 
    476473      ENDDO 
Note: See TracChangeset for help on using the changeset viewer.