- Timestamp:
- Dec 23, 2024, 8:19:39 PM (37 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/contrails/libf/phylmd/lmdz_lscp_condensation.f90
r5452 r5453 157 157 ! 158 158 REAL, INTENT(INOUT), DIMENSION(klon) :: rcont_seri ! ratio of contrails fraction to total cloud fraction [-] 159 REAL, INTENT(IN), DIMENSION(klon) :: flight_dist ! 160 REAL, INTENT(IN), DIMENSION(klon) :: flight_h2o ! 159 REAL, INTENT(IN), DIMENSION(klon) :: flight_dist ! aviation distance flown within the mesh [m/s/mesh] 160 REAL, INTENT(IN), DIMENSION(klon) :: flight_h2o ! aviation H2O emitted within the mesh [kgH2O/s/mesh] 161 161 ! 162 162 ! Output … … 238 238 ! 239 239 ! for cell properties 240 REAL :: rho, rhodz, dz 241 REAL :: V_cell, M_cell 240 REAL :: rho, rhodz, dz, V_cell 242 241 243 242 qzero(:) = 0. … … 336 335 !--Cell volume [m3] 337 336 V_cell = dz * cell_area(i) 338 !--Cell dry air mass [kg]339 M_cell = rhodz * cell_area(i)340 337 341 338 … … 504 501 ENDIF 505 502 pdf_e3 = k0_pdf_lscp + kappa_pdf_lscp * MAX( temp_nowater - temp(i), 0. ) 506 pdf_alpha = EXP( rhl_clr / 100. ) * pdf_e3 507 pdf_alpha = MIN(10., pdf_alpha) 503 pdf_alpha = EXP( MIN(1000., rhl_clr) / 100. ) * pdf_e3 508 504 509 505 IF ( ok_warm_cloud ) THEN … … 790 786 dtime, pplay(i), temp(i), qsat(i), qsatl(i), gamma_cond(i), & 791 787 rcont_seri(i), flight_dist(i), cldfra(i), qvc(i), & 792 V_cell, M_cell, pdf_loc, pdf_scale, pdf_alpha, &788 dz, V_cell, pdf_loc, pdf_scale, pdf_alpha, & 793 789 Tcritcont(i), qcritcont(i), potcontfraP(i), potcontfraNP(i), contfra(i), & 794 790 dcf_avi(i), dqvc_avi(i), dqi_avi(i) &
Note: See TracChangeset
for help on using the changeset viewer.