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

Last change on this file since 317 was 171, checked in by emillour, 13 years ago

Mars GCM:

  • added modifications (from JYC & FGG) to tracer.h & initracer.F for ions
  • minor improvement to newstart.F (q=x option, check that tracer index provided by user is valid).

EM

File size: 3.3 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      ! Ions
53      integer :: igcm_co2plus
54      integer :: igcm_oplus
55      integer :: igcm_o2plus
56      integer :: igcm_coplus
57      integer :: igcm_cplus
58      integer :: igcm_nplus
59      integer :: igcm_noplus
60      integer :: igcm_n2plus
61      integer :: igcm_hplus
62      integer :: igcm_elec
63      ! other tracers
64      integer :: igcm_ar_n2 ! for simulations using co2 +neutral gas
65
66
67! NB: to keep commons aligned: 
68!     split them in groups (reals, integers and characters)
69      COMMON/tracer/radius,rho_q,alpha_lift,alpha_devil,mmol,           &
70     & varian,r3n_q,rho_dust,rho_ice,nuice_ref,ref_r0,dryness
71      COMMON/tracer2/                                                   &
72     & igcm_dustbin,igcm_dust_mass,igcm_dust_number,igcm_dust_submicron,&
73     & igcm_h2o_vap,igcm_h2o_ice,igcm_co2,igcm_co,igcm_o,igcm_o1d,      &
74     & igcm_o2,igcm_o3,igcm_h,igcm_h2,igcm_oh,igcm_ho2,igcm_h2o2,       &
75     & igcm_n2,igcm_ar,igcm_n,igcm_no,igcm_no2,igcm_n2d,                &
76     & igcm_co2plus,igcm_oplus,igcm_o2plus,igcm_coplus,igcm_cplus,      &
77     & igcm_nplus,igcm_noplus,igcm_n2plus,igcm_hplus,igcm_elec,         &
78     & igcm_ar_n2!,nbqchem,niqchem
79      COMMON/tracer3/noms
80!-----------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.