Changeset 5625 for LMDZ6/branches/contrails/libf/phylmd/lmdz_lscp.f90
- Timestamp:
- Apr 22, 2025, 6:03:13 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/contrails/libf/phylmd/lmdz_lscp.f90
r5624 r5625 1204 1204 pcf_seri(:,k) = perscontfra(:) 1205 1205 qva_seri(:,k) = zqs(:) * contfra(:) 1206 qia_seri(:,k) = qcont(:) - zqs(:) * contfra(:)1207 1206 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 1208 1214 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 1209 1217 qice_perscont(i,k) = ( radocond(i,k) - qia_seri(i,k) ) & 1210 1218 * perscontfra(i) / ( rneb(i,k) - cfa_seri(i,k) ) … … 1219 1227 DO i = 1, klon 1220 1228 1229 !--We save the cloud properties that will be advected 1221 1230 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 1223 1245 IF ( zoliq(i) .LE. 0. ) THEN 1224 !--If everything was precipitated, the remaining empty cloud is dissipated1225 !--and everything is transfered to the subsaturated clear sky region1226 !--NB. we do not change rneb, as it is a diagnostic only1227 1246 cf_seri(i,k) = 0. 1247 qvc_seri(i,k) = 0. 1228 1248 qvc(i) = 0. 1229 1249 ENDIF 1230 1231 qvc_seri(i,k) = qvc(i)1232 1250 1233 1251 !--Diagnostics
Note: See TracChangeset
for help on using the changeset viewer.