Ignore:
Timestamp:
Jun 9, 2020, 2:52:48 PM (4 years ago)
Author:
aslmd
Message:

CO2 cloud microphysics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/tcondco2.F90

    r2346 r2347  
    88! Condensation temperature for co2 ice; based on
    99! the saturation in co2sat.F JA17
    10 !--------------------------------------------------i
     10!--------------------------------------------------
    1111
    1212integer, intent(in) :: ngrid,nlay
     
    1414double precision, intent(out), dimension(ngrid,nlay):: tcond ! CO2 condensation temperature     (atm)
    1515double precision:: A,B,pco2
     16real :: qco2
    1617integer:: ig,l
    1718
    1819A=dlog(1.382d12)
    1920B=-3182.48
    20 
     21qco2=0.
    2122DO l=1,nlay
    2223   DO ig=1,ngrid
     24!      qco2 = min(1., q(ig,l))!added by CM not sure, to be verified before
     25                             !  cleaning
     26!      pco2 = qco2 * (mmean(ig,l)/44.01) * p(ig,l)
    2327      pco2 = q(ig,l) * (mmean(ig,l)/44.01) * p(ig,l)
    2428      tcond(ig,l)=B/(dlog(pco2)-A)
Note: See TracChangeset for help on using the changeset viewer.