source: trunk/LMDZ.GENERIC/libf/phystd/aerosol_mod.F90 @ 726

Last change on this file since 726 was 726, checked in by jleconte, 12 years ago

17/07/2012 == JL for LK

  • Generalization of aerosol scheme:
    • any number of aerosols can be used and id numbers are determined consistently by the code. Aerosol order not important anymore.
    • addition of a module with the id numbers for aerosols (aerosol_mod.F90).
    • initialization of aerosols id numbers in iniaerosol.F90
    • compile with -s x where x *must* be equal to the number of aerosols turned on in callphys.def (either by a flag or by dusttau>0 for dust). => may have to erase object files when compiling with s option for the first time.
  • For no aerosols, run with aeroco2=.true. and aerofixco2=.true (the default distribution for fixed co2

aerosols is 1.e-9; can be changed in aeropacity).

  • If starting from an old start file, recreate start file with the q=0 option in newstart.e.
  • update callphys.def with aeroXXX and aerofixXXX options (only XXX=co2,h2o supported for

now). Dust is activated by setting dusttau>0. See the early mars case in deftank.

  • To add other aerosols, see Laura Kerber.
File size: 583 bytes
Line 
1!==================================================================
2module aerosol_mod
3!==================================================================
4
5!  aerosol indexes: these are initialized in iniaerosol.F and should be 0 if the
6!                 corresponding aerosol was not activated in callphys.def
7      integer :: iaero_co2
8      integer :: iaero_h2o
9      integer :: iaero_dust
10      integer :: iaero_h2so4
11
12!==================================================================
13end module aerosol_mod
14!==================================================================
Note: See TracBrowser for help on using the repository browser.