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 1007 for trunk/NEMO/TOP_SRC/PISCES/p4zflx.F90 – NEMO

Ignore:
Timestamp:
2008-05-30T11:50:33+02:00 (16 years ago)
Author:
cetlod
Message:

Update PISCES modules to take into account the re-organization of TOP initialization phase, see ticket 170

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/PISCES/p4zflx.F90

    r935 r1007  
    3333     atcco2 = 278.           !: 
    3434 
    35    REAL(wp) ::   & 
    36      xrhoa  = 1.22   ,   &   !: Air density kg/m3 
    37      xcd    = 1.5e-3         !: drag coefficient 
    38  
    3935   REAL(wp) :: & 
    4036     tco2flx = 0.            !: Total flux of carbon per year 
     
    6056      INTEGER, INTENT(in) :: kt 
    6157      INTEGER  ::   ji, jj, jrorr, nspyr 
    62       REAL(wp) ::   zttc, ztx, zty, ztau, zws, zkgwan 
     58      REAL(wp) ::   zttc, zws, zkgwan 
    6359      REAL(wp) ::   zfld, zflu, zfld16, zflu16, zfact 
    6460      REAL(wp) ::   zph, zah2, zbot, zdic, zalk, zschmitto2, zalka, zschmittco2 
     
    131127            zschmitto2  = 1953.4 - 128.0 * zttc + 3.9918 * zttc**2 - 0.050091 * zttc**3 
    132128 
    133             ! Estimation of wind speed as a function of wind stress 
    134             ztx  = utau(ji,jj) * umask(ji,jj,1) 
    135             zty  = vtau(ji,jj) * vmask(ji,jj,1) 
    136             ztau = SQRT( ztx * ztx + zty * zty ) 
    137             zws  = SQRT ( ztau / ( xrhoa * xcd ) ) 
     129            !  wind speed  
     130            zws  = wndm(ji,jj) 
    138131 
    139132      ! Compute the piston velocity for O2 and CO2 
Note: See TracChangeset for help on using the changeset viewer.