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

Last change on this file since 524 was 420, checked in by tnavarro, 13 years ago

24/11/11 == TN

corrected minor bug in updatereffrad.F : reffdust was not saved

ccn_factor as not correctly used in sedimentation.

It is now initialized in inifis.F, declared in tracer.h and
used in both simpleclouds.F & callsedim.F to update ice radius.

Commented diagfi outputs in aeropacity.F & improvedclouds.F for non scavenging users.

File size: 3.8 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 nuice_sed   ! Sedimentation effective variance of the water ice dist.
17      real ref_r0        ! for computing reff=ref_r0*r0 (in log.n. distribution)
18     
19      real ccn_factor  ! ratio of nuclei for water ice particles
20
21      real dryness(ngridmx)!"Dryness coefficient" for grnd water ice sublimation
22     
23! tracer indexes: these are initialized in initracer and should be 0 if the
24!                 corresponding tracer does not exist
25      ! dust
26      integer :: igcm_dustbin(nqmx) ! for dustbin 'dust' tracers
27      ! dust, special doubleq case
28      integer :: igcm_dust_mass   ! dust mass mixing ratio
29                                  !   (for transported dust)
30      integer :: igcm_dust_number ! dust number mixing ratio
31                                  !   (transported dust)
32      integer :: igcm_ccn_mass   ! CCN mass mixing ratio
33      integer :: igcm_ccn_number ! CCN number mixing ratio
34      integer :: igcm_dust_submicron ! submicron dust mixing ratio
35                                     !   (transported dust)
36      ! water
37      integer :: igcm_h2o_vap ! water vapour
38      integer :: igcm_h2o_ice ! water ice
39      ! chemistry:
40      integer :: igcm_co2
41      integer :: igcm_co
42      integer :: igcm_o
43      integer :: igcm_o1d
44      integer :: igcm_o2
45      integer :: igcm_o3
46      integer :: igcm_h
47      integer :: igcm_h2
48      integer :: igcm_oh
49      integer :: igcm_ho2
50      integer :: igcm_h2o2
51      integer :: igcm_n2
52      integer :: igcm_ar
53      integer :: igcm_n
54      integer :: igcm_no
55      integer :: igcm_no2
56      integer :: igcm_n2d
57      integer :: igcm_ch4
58      ! Ions
59      integer :: igcm_co2plus
60      integer :: igcm_oplus
61      integer :: igcm_o2plus
62      integer :: igcm_coplus
63      integer :: igcm_cplus
64      integer :: igcm_nplus
65      integer :: igcm_noplus
66      integer :: igcm_n2plus
67      integer :: igcm_hplus
68      integer :: igcm_elec
69      ! other tracers
70      integer :: igcm_ar_n2 ! for simulations using co2 +neutral gas
71
72
73! NB: to keep commons aligned: 
74!     split them in groups (reals, integers and characters)
75      COMMON/tracer/radius,rho_q,alpha_lift,alpha_devil,mmol,           &
76     & varian,r3n_q,rho_dust,rho_ice,nuice_ref,nuice_sed,               &
77     & ref_r0,ccn_factor,dryness
78      COMMON/tracer2/                                                   &
79     & igcm_dustbin,igcm_dust_mass,igcm_dust_number,                    &
80     & igcm_ccn_mass,igcm_ccn_number,igcm_dust_submicron,               &
81     & igcm_h2o_vap,igcm_h2o_ice,igcm_co2,igcm_co,igcm_o,igcm_o1d,      &
82     & igcm_o2,igcm_o3,igcm_h,igcm_h2,igcm_oh,igcm_ho2,igcm_h2o2,       &
83     & igcm_n2,igcm_ar,igcm_n,igcm_no,igcm_no2,igcm_n2d,                &
84     & igcm_ch4,                                                        &
85     & igcm_co2plus,igcm_oplus,igcm_o2plus,igcm_coplus,igcm_cplus,      &
86     & igcm_nplus,igcm_noplus,igcm_n2plus,igcm_hplus,igcm_elec,         &
87     & igcm_ar_n2!,nbqchem,niqchem
88      COMMON/tracer3/noms
89!-----------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.