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 6851 for branches/2016/dev_r6325_SIMPLIF_1/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfric.F90 – NEMO

Ignore:
Timestamp:
2016-08-08T10:34:39+02:00 (8 years ago)
Author:
gm
Message:

#1629: SIMPLIF_1: S-EOS + DOC and phasing with trunk rev6826

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6325_SIMPLIF_1/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfric.F90

    r6140 r6851  
    3131   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined)   
    3232 
    33    USE eosbn2, ONLY : nn_eos 
     33   USE eosbn2, ONLY : neos 
    3434 
    3535   IMPLICIT NONE 
     
    175175      !  Compute Ekman depth from wind stress forcing. 
    176176      ! ------------------------------------------------------- 
    177       zflageos = ( 0.5 + SIGN( 0.5, nn_eos - 1. ) ) * rau0 
     177!!gm small bug : boussinesq equation of the ocean model 
     178!!gm             therefore rau0 should be used not the potential surface density... 
     179!!gm             ===>>>>   zrhos = rau0  in the epression below, and the rsmall is useless in zustar calculation 
     180      zflageos = ( 0.5 + SIGN( 0.5, neos - 1. ) ) * rau0 
    178181      DO jj = 2, jpjm1 
    179182            DO ji = fs_2, fs_jpim1 
Note: See TracChangeset for help on using the changeset viewer.