Changeset 2437 for trunk


Ignore:
Timestamp:
Dec 1, 2020, 3:55:37 PM (4 years ago)
Author:
mvals
Message:

Mars GCM:

  • improvedclouds_mod.F: update of the nucleation equation with its analytical resolution
  • writediagmicrofi.F: makes it possible to get outputs from the microphysics (call example in watercloud_mod.F)

MV

Location:
trunk/LMDZ.MARS
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2435 r2437  
    32393239Add stormdust in the aerosol opacities computed by aeroptical.F90
    32403240+ 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  
    326326        dM = 0.
    327327        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.)
    332330        enddo
    333331
     
    335333c       Update Dust particles
    336334        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)
    338336        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)
    340338c       Update CCNs
    341339        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)
    343341        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)
    345343       
    346344        ENDIF ! of is satu >1
  • trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F

    r2312 r2437  
    392392          ENDDO
    393393        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(:,:))     
    395400 
    396401      ENDDO ! of DO microstep=1,imicro
Note: See TracChangeset for help on using the changeset viewer.