Changeset 4974 for LMDZ6/branches/cirrus
- Timestamp:
- Jun 7, 2024, 3:50:59 PM (6 months ago)
- Location:
- LMDZ6/branches/cirrus/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/cirrus/libf/phylmd/lmdz_lscp_condensation.F90
r4951 r4974 454 454 455 455 qvapincld = qvc(i) / cldfra(i) 456 !--The vapor in cloud cannot be higher than the457 !--condensation threshold458 qvapincld = MIN(qvapincld, gamma_cond(i) * qsat(i))459 456 qiceincld = ( qcld(i) / cldfra(i) - qvapincld ) 460 457 461 458 !--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) 462 461 IF ( qiceincld .LT. eps ) THEN 463 462 dcf_sub(i) = - cldfra(i) … … 471 470 !--Else, the cloud is adjusted and sublimated 472 471 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 ) 473 477 474 478 IF ( ok_unadjusted_clouds ) THEN -
LMDZ6/branches/cirrus/libf/phylmd/lmdz_lscp_poprecip.F90
r4913 r4974 246 246 snow(i) = snowclr(i) + snowcld(i) 247 247 248 ELSE 248 ELSEIF ( ( rain(i) + snow(i) ) .LE. 0. ) THEN 249 249 !--If no precip, we reinitialize the cloud fraction used for the precip to 0 250 250 precipfraccld(i) = 0.
Note: See TracChangeset
for help on using the changeset viewer.