source: trunk/LMDZ.MARS/libf/phymars/tracer.h @ 324

Last change on this file since 324 was 324, checked in by aslmd, 13 years ago

MESOSCALE : Preparatory commit for the ultimate option mars=42 which

would allow mesoscale modeling with photochemistry.

[see r76 method to add 'mars' options]
Modified module_lmd_driver.F and Registry.EM and runmeso
Modified readmeteo.F90 and introduced an option -DPHOTOCHEM
...
Transparent to the casual user
Option mars=42 not yet finished though -- so do not use!

File size: 3.4 KB
Line 
1!-----------------------------------------------------------------------
2! INCLUDE 'tracer.h'
3
4      character*20  noms(nqmx)  ! name of the tracer
5      real mmol(nqmx)           ! mole mass of tracer (g/mol-1) 
6      real radius(nqmx)   ! dust and ice particle radius (m)
7      real rho_q(nqmx)    ! tracer densities (kg.m-3)
8      real alpha_lift(nqmx) ! saltation vertical flux/horiz flux ratio (m-1)
9      real alpha_devil(nqmx) ! lifting coeeficient by dust devil
10
11      real varian      ! Characteristic variance of log-normal distribution
12      real r3n_q     ! used to compute r0 from number and mass mixing ratio
13      real rho_dust     ! Mars dust density (kg.m-3)
14      real rho_ice     ! Water ice density (kg.m-3)
15      real nuice_ref   ! Effective variance of the water ice dist.
16      real ref_r0        ! for computing reff=ref_r0*r0 (in log.n. distribution)
17
18      real dryness(ngridmx)!"Dryness coefficient" for grnd water ice sublimation
19     
20! tracer indexes: these are initialized in initracer and should be 0 if the
21!                 corresponding tracer does not exist
22      ! dust
23      integer :: igcm_dustbin(nqmx) ! for dustbin 'dust' tracers
24      ! dust, special doubleq case
25      integer :: igcm_dust_mass   ! dust mass mixing ratio
26                                  !   (for transported dust)
27      integer :: igcm_dust_number ! dust number mixing ratio
28                                  !   (transported dust)
29      integer :: igcm_dust_submicron ! submicron dust mixing ratio
30                                     !   (transported dust)
31      ! water
32      integer :: igcm_h2o_vap ! water vapour
33      integer :: igcm_h2o_ice ! water ice
34      ! chemistry:
35      integer :: igcm_co2
36      integer :: igcm_co
37      integer :: igcm_o
38      integer :: igcm_o1d
39      integer :: igcm_o2
40      integer :: igcm_o3
41      integer :: igcm_h
42      integer :: igcm_h2
43      integer :: igcm_oh
44      integer :: igcm_ho2
45      integer :: igcm_h2o2
46      integer :: igcm_n2
47      integer :: igcm_ar
48      integer :: igcm_n
49      integer :: igcm_no
50      integer :: igcm_no2
51      integer :: igcm_n2d
52      integer :: igcm_ch4
53      ! Ions
54      integer :: igcm_co2plus
55      integer :: igcm_oplus
56      integer :: igcm_o2plus
57      integer :: igcm_coplus
58      integer :: igcm_cplus
59      integer :: igcm_nplus
60      integer :: igcm_noplus
61      integer :: igcm_n2plus
62      integer :: igcm_hplus
63      integer :: igcm_elec
64      ! other tracers
65      integer :: igcm_ar_n2 ! for simulations using co2 +neutral gas
66
67
68! NB: to keep commons aligned: 
69!     split them in groups (reals, integers and characters)
70      COMMON/tracer/radius,rho_q,alpha_lift,alpha_devil,mmol,           &
71     & varian,r3n_q,rho_dust,rho_ice,nuice_ref,ref_r0,dryness
72      COMMON/tracer2/                                                   &
73     & igcm_dustbin,igcm_dust_mass,igcm_dust_number,igcm_dust_submicron,&
74     & igcm_h2o_vap,igcm_h2o_ice,igcm_co2,igcm_co,igcm_o,igcm_o1d,      &
75     & igcm_o2,igcm_o3,igcm_h,igcm_h2,igcm_oh,igcm_ho2,igcm_h2o2,       &
76     & igcm_n2,igcm_ar,igcm_n,igcm_no,igcm_no2,igcm_n2d,                &
77     & igcm_ch4,                                                        &
78     & igcm_co2plus,igcm_oplus,igcm_o2plus,igcm_coplus,igcm_cplus,      &
79     & igcm_nplus,igcm_noplus,igcm_n2plus,igcm_hplus,igcm_elec,         &
80     & igcm_ar_n2!,nbqchem,niqchem
81      COMMON/tracer3/noms
82!-----------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.