Ignore:
Timestamp:
Dec 23, 2024, 8:19:39 PM (37 hours ago)
Author:
aborella
Message:

Added water emissions and IO routines for contrails.
Work to be done: contrails initial cross section and radiative transfer

File:
1 edited

Legend:

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

    r5452 r5453  
    157157!
    158158REAL,     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    !
     159REAL,     INTENT(IN),    DIMENSION(klon) :: flight_dist   ! aviation distance flown within the mesh [m/s/mesh]
     160REAL,     INTENT(IN),    DIMENSION(klon) :: flight_h2o    ! aviation H2O emitted within the mesh [kgH2O/s/mesh]
    161161!
    162162!  Output
     
    238238!
    239239! for cell properties
    240 REAL :: rho, rhodz, dz
    241 REAL :: V_cell, M_cell
     240REAL :: rho, rhodz, dz, V_cell
    242241
    243242qzero(:) = 0.
     
    336335      !--Cell volume [m3]
    337336      V_cell = dz * cell_area(i)
    338       !--Cell dry air mass [kg]
    339       M_cell = rhodz * cell_area(i)
    340337
    341338
     
    504501        ENDIF
    505502        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
    508504       
    509505        IF ( ok_warm_cloud ) THEN
     
    790786            dtime, pplay(i), temp(i), qsat(i), qsatl(i), gamma_cond(i), &
    791787            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, &
    793789            Tcritcont(i), qcritcont(i), potcontfraP(i), potcontfraNP(i), contfra(i), &
    794790            dcf_avi(i), dqvc_avi(i), dqi_avi(i) &
Note: See TracChangeset for help on using the changeset viewer.