- Timestamp:
- Dec 1, 2020, 3:55:37 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2435 r2437 3239 3239 Add stormdust in the aerosol opacities computed by aeroptical.F90 3240 3240 + add a description of aeroptical in util/README 3241 3242 == 01/12/2020 == MV 3243 - improvedclouds_mod.F: update of the nucleation equation with its analytical resolution 3244 - writediagmicrofi.F: makes it possible to get outputs from the microphysics (call example in watercloud_mod.F) -
trunk/LMDZ.MARS/libf/phymars/improvedclouds_mod.F
r2407 r2437 326 326 dM = 0. 327 327 do i = 1, nbin_cld 328 n_aer(i) = n_aer(i)/( 1. + rate(i)*microtimestep) 329 m_aer(i) = m_aer(i)/( 1. + rate(i)*microtimestep) 330 dN = dN + n_aer(i) * rate(i) * microtimestep 331 dM = dM + m_aer(i) * rate(i) * microtimestep 328 dN = dN + n_aer(i)*(exp(-rate(i)*microtimestep)-1.) 329 dM = dM + m_aer(i)*(exp(-rate(i)*microtimestep)-1.) 332 330 enddo 333 331 … … 335 333 c Update Dust particles 336 334 zq(ig,l,igcm_dust_mass) = 337 & zq(ig,l,igcm_dust_mass) -dM/ tauscaling(ig) !max(tauscaling(ig),1.e-10)335 & zq(ig,l,igcm_dust_mass) + dM/ tauscaling(ig) !max(tauscaling(ig),1.e-10) 338 336 zq(ig,l,igcm_dust_number) = 339 & zq(ig,l,igcm_dust_number) -dN/ tauscaling(ig) !max(tauscaling(ig),1.e-10)337 & zq(ig,l,igcm_dust_number) + dN/ tauscaling(ig) !max(tauscaling(ig),1.e-10) 340 338 c Update CCNs 341 339 zq(ig,l,igcm_ccn_mass) = 342 & zq(ig,l,igcm_ccn_mass) +dM/ tauscaling(ig) !max(tauscaling(ig),1.e-10)340 & zq(ig,l,igcm_ccn_mass) - dM/ tauscaling(ig) !max(tauscaling(ig),1.e-10) 343 341 zq(ig,l,igcm_ccn_number) = 344 & zq(ig,l,igcm_ccn_number) +dN/ tauscaling(ig) !max(tauscaling(ig),1.e-10)342 & zq(ig,l,igcm_ccn_number) - dN/ tauscaling(ig) !max(tauscaling(ig),1.e-10) 345 343 346 344 ENDIF ! of is satu >1 -
trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F
r2312 r2437 392 392 ENDDO 393 393 ENDIF 394 394 395 ! !! Example of how to use writediagmicrofi useful to 396 ! !! get outputs at each microphysical sub-timestep (better to be used in 1D) 397 ! CALL WRITEDIAGMICROFI(ngrid,imicro,microstep, 398 ! & microtimestep,'subpdtcloud', 399 ! & 'subpdtcloud','K/s',1,subpdtcloud(:,:)) 395 400 396 401 ENDDO ! of DO microstep=1,imicro
Note: See TracChangeset
for help on using the changeset viewer.