Ignore:
Timestamp:
Oct 14, 2022, 10:21:12 AM (2 years ago)
Author:
mvals
Message:

Mars GCM:
watercloud_mod.F: follow-up of previous commit.
improvedclouds_mod.F: Lamb et al. 2017 formula put as default in the fractionation by condensation calculation.
MV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F

    r2800 r2801  
    117117! HDO cycle
    118118      REAL :: alpha(ngrid,nlay) ! fractionation coefficient for HDO
     119      REAL :: zq0(ngrid,nlay,nq) ! Initial mixing ratio: intermediate variable for HDO
    119120! Representation of sub-grid water ice clouds A. Pottier 2013
    120121      REAL :: ztclf(ngrid, nlay)
     
    574575       ! In case one does not want to allow supersatured water when using microphysics.
    575576       ! Not done by default.
    576        IF(.not.supersat) THEN     
     577       IF(.not.supersat) THEN
     578!       !! initial mixing ratios for initial D/H ratio calculation
     579        zq0(:,:,:) = pq(:,:,:) + pdq(:,:,:)*ptimestep
    577580        zt  = pt + (pdt+pdtcloud)*ptimestep
    578581        call watersat(ngrid*nlay,zt,pplay,zqsat)
     
    592595               IF (pdqcloud(ig,l,igcm_h2o_ice) .gt. 0.0) THEN
    593596                 IF ( zq0(ig,l,igcm_h2o_vap) .gt. qperemin ) THEN
     597!            !! Lamb et al. 2017
    594598             alpha(ig,l) = exp(13525./zt(ig,l)**2.-5.59d-2)
    595599             pdqcloud(ig,l,igcm_hdo_ice) =
Note: See TracChangeset for help on using the changeset viewer.