Changeset 4974 for LMDZ6


Ignore:
Timestamp:
Jun 7, 2024, 3:50:59 PM (4 months ago)
Author:
aborella
Message:

Modifs mineures sur des barrieres + modif poprecip deja integree dans la trunk

Location:
LMDZ6/branches/cirrus/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/cirrus/libf/phylmd/lmdz_lscp_condensation.F90

    r4951 r4974  
    454454       
    455455        qvapincld = qvc(i) / cldfra(i)
    456         !--The vapor in cloud cannot be higher than the
    457         !--condensation threshold
    458         qvapincld = MIN(qvapincld, gamma_cond(i) * qsat(i))
    459456        qiceincld = ( qcld(i) / cldfra(i) - qvapincld )
    460457       
    461458        !--If the ice water content is too low, the cloud is purely sublimated
     459        !--Most probably, we advected a cloud with no ice water content (possible
     460        !--if the entire cloud precipited for example)
    462461        IF ( qiceincld .LT. eps ) THEN
    463462          dcf_sub(i) = - cldfra(i)
     
    471470        !--Else, the cloud is adjusted and sublimated
    472471        ELSE
     472
     473          !--The vapor in cloud cannot be higher than the
     474          !--condensation threshold
     475          qvapincld = MIN(qvapincld, gamma_cond(i) * qsat(i))
     476          qiceincld = ( qcld(i) / cldfra(i) - qvapincld )
    473477
    474478          IF ( ok_unadjusted_clouds ) THEN
  • LMDZ6/branches/cirrus/libf/phylmd/lmdz_lscp_poprecip.F90

    r4913 r4974  
    246246    snow(i) = snowclr(i) + snowcld(i)
    247247
    248   ELSE
     248  ELSEIF ( ( rain(i) + snow(i) ) .LE. 0. ) THEN
    249249    !--If no precip, we reinitialize the cloud fraction used for the precip to 0
    250250    precipfraccld(i) = 0.
Note: See TracChangeset for help on using the changeset viewer.