Changeset 4293 for LMDZ6/trunk/libf/phylmd/StratAer/micphy_tstep.F90
- Timestamp:
- Oct 4, 2022, 9:42:41 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/StratAer/micphy_tstep.F90
r3677 r4293 7 7 USE dimphy, ONLY : klon,klev 8 8 USE aerophys 9 USE infotrac_phy 9 USE infotrac_phy, ONLY : nbtr_bin, nbtr_sulgas, nbtr, id_H2SO4_strat 10 10 USE phys_local_var_mod, ONLY: mdw, budg_3D_nucl, budg_3D_cond_evap, budg_h2so4_to_part, R2SO4, DENSO4, f_r_wet 11 11 USE nucleation_tstep_mod … … 47 47 REAL ASO4(nbtr_bin) 48 48 REAL DNDR(nbtr_bin) 49 REAL H2SO4_sat (nbtr_bin)49 REAL H2SO4_sat 50 50 51 51 DO it=1,nbtr_bin … … 107 107 & ACTSO4(ilon,ilev),R2SO4(ilon,ilev),DENSO4(ilon,ilev),f_r_wet(ilon,ilev), & 108 108 & RRSI,Vbin,FL,ASO4,DNDR) 109 ! Compute H2SO4 saturate vapor for big particules 110 H2SO4_sat = DNDR(nbtr_bin)/(pplay(ilon,ilev)/t_seri(ilon,ilev)/RD/1.E6/mH2SO4mol) 109 111 ! consider only condensation (positive FL) 110 112 DO it=1,nbtr_bin … … 117 119 ENDDO 118 120 ! determine appropriate time step 119 dt=(H2SO4_init-H2SO4_sat (nbtr_bin))/float(nbtstep)/MAX(1.e-30, nucl_rate+cond_evap_rate) !cond_evap_rate pos. for cond. and neg. for evap.121 dt=(H2SO4_init-H2SO4_sat)/float(nbtstep)/MAX(1.e-30, nucl_rate+cond_evap_rate) !cond_evap_rate pos. for cond. and neg. for evap. 120 122 IF (dt.LT.0.0) THEN 121 123 dt=PDT
Note: See TracChangeset
for help on using the changeset viewer.