Ignore:
Timestamp:
Apr 22, 2025, 6:03:13 PM (2 months ago)
Author:
aborella
Message:

Correction to coupling with deep convection + correction to cloud dissipation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/contrails/libf/phylmd/lmdz_lscp.f90

    r5624 r5625  
    12041204      pcf_seri(:,k) = perscontfra(:)
    12051205      qva_seri(:,k) = zqs(:) * contfra(:)
    1206       qia_seri(:,k) = qcont(:) - zqs(:) * contfra(:)
    12071206      DO i = 1, klon
     1207        IF ( zoliqi(i) .GT. 0. ) THEN
     1208          !--The quantity of ice in linear contrails has been reduced by precipitation
     1209          !--with the same factor as the rest of the clouds
     1210          qia_seri(i,k) = ( qcont(i) - zqs(i) * contfra(i) ) / zoliqi(i) * radocond(i,k)
     1211        ELSE
     1212          qia_seri(i,k) = 0.
     1213        ENDIF
    12081214        IF ( ( rneb(i,k) - cfa_seri(i,k) ) .GT. eps ) THEN
     1215          !--The in-cloud quantity of ice in persistent contrail cirrus is the same as
     1216          !--the one from all natural cirrus clouds
    12091217          qice_perscont(i,k) = ( radocond(i,k) - qia_seri(i,k) ) &
    12101218              * perscontfra(i) / ( rneb(i,k) - cfa_seri(i,k) )
     
    12191227      DO i = 1, klon
    12201228
     1229        !--We save the cloud properties that will be advected
    12211230        cf_seri(i,k) = rneb(i,k)
    1222 
     1231        qvc_seri(i,k) = qvc(i)
     1232
     1233        !--Deep convection clouds properties are removed from radiative properties
     1234        !--outputed from lscp (NB. rneb and radocond are only used for the radiative
     1235        !--properties and are NOT prognostics)
     1236        !--We must have iflag_coupl == 5 for this coupling to work
     1237        IF ( ptconv(i,k) .AND. pt_pron_clds(i) ) THEN
     1238          rneb(i,k) = rneb(i,k) - cfcon(i,k)
     1239          radocond(i,k) = radocond(i,k) - qccon(i,k) * cfcon(i,k)
     1240        ENDIF
     1241
     1242        !--If everything was precipitated, the remaining empty cloud is dissipated
     1243        !--and everything is transfered to the subsaturated clear sky region
     1244        !--NB. we do not change rneb, as it is a diagnostic only
    12231245        IF ( zoliq(i) .LE. 0. ) THEN
    1224           !--If everything was precipitated, the remaining empty cloud is dissipated
    1225           !--and everything is transfered to the subsaturated clear sky region
    1226           !--NB. we do not change rneb, as it is a diagnostic only
    12271246          cf_seri(i,k) = 0.
     1247          qvc_seri(i,k) = 0.
    12281248          qvc(i) = 0.
    12291249        ENDIF
    1230 
    1231         qvc_seri(i,k) = qvc(i)
    12321250
    12331251        !--Diagnostics
Note: See TracChangeset for help on using the changeset viewer.