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 617 for trunk/NEMO/TOP_SRC/SMS/p4zlys.F – NEMO

Ignore:
Timestamp:
2007-02-21T14:03:10+01:00 (17 years ago)
Author:
opalod
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/SMS/p4zlys.F

    r341 r617  
    4444      INTEGER ji, jj, jk, jn 
    4545      REAL zbot, zalk, zdic, zph, remco3, ah2 
    46       REAL delco3, excess, dispot, zfact, zalka 
     46      REAL dispot, zfact, zalka 
     47      REAL omegaca, excess, excess0 
     48      REAL co3(jpi,jpj,jpk) 
    4749C 
    4850C 
     
    114116C ------------------------------------------------ 
    115117C 
    116             delco3 = co3(ji,jj,jk)-aksp(ji,jj,jk)/calcon 
     118            omegaca = ( calcon * co3(ji,jj,jk) )/aksp(ji,jj,jk) 
     119 
    117120C 
    118121C* 2.2  SET DEGREE OF UNDER-/SUPERSATURATION 
    119122C ------------------------------------------ 
    120123C 
    121             excess = max(0.,-delco3) 
     124            excess0 = max(0.,(1.-omegaca)) 
     125            excess = excess0**nca 
     126 
    122127C 
    123128C* 2.3  AMOUNT CACO3 (12C) THAT RE-ENTERS SOLUTION 
     
    126131C -------------------------------------------------------------- 
    127132C 
    128             dispot = trn(ji,jj,jk,jpcal)* 
    129      &        excess/(dispo0+excess) 
     133            dispot = kdca * excess * trn(ji,jj,jk,jpcal) 
    130134#    if defined key_off_degrad 
    131135     &        *facvol(ji,jj,jk) 
    132136#    endif 
     137 
    133138C 
    134139C* 2.4  CHANGE OF [CO3--] , [ALK], PARTICULATE [CACO3], 
Note: See TracChangeset for help on using the changeset viewer.