Ignore:
Timestamp:
Jan 15, 2018, 12:08:11 PM (7 years ago)
Author:
jvatant
Message:

Making chemistry more flexible - step 3.5
+ Update phyredem and phyetat0 ( with a chem_settings.F90 init routine )
+ Finish the handling of upper chem fields by their names everywhere
( with hardcoded cnames and mmol moved from tracer_h to comchem_h )
--JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/tracer_h.F90

    r1843 r1894  
    6868    USE callkeys_mod
    6969    USE comcstfi_mod, only: mugaz
     70    USE comchem_h, only: cnames, cmmol
    7071    IMPLICIT NONE
    7172
     
    7677    LOGICAL                                      :: verb,found
    7778    CHARACTER(len=20)                            :: str
    78     !! Hard-coded chemical species for Titan chemistry
    79     CHARACTER(len=10), DIMENSION(44), PARAMETER  :: cnames = &
    80       (/"H         ", "H2        ", "CH        ", "CH2s      ", "CH2       ", "CH3       ", &
    81         "CH4       ", "C2        ", "C2H       ", "C2H2      ", "C2H3      ", "C2H4      ", &
    82         "C2H5      ", "C2H6      ", "C3H3      ", "C3H5      ", "C3H6      ", "C3H7      ", &
    83         "C4H       ", "C4H3      ", "C4H4      ", "C4H2s     ", "CH2CCH2   ", "CH3CCH    ", &
    84         "C3H8      ", "C4H2      ", "C4H6      ", "C4H10     ", "AC6H6     ", "C3H2      ", &
    85         "C4H5      ", "AC6H5     ", "N2        ", "N4S       ", "CN        ", "HCN       ", &
    86         "H2CN      ", "CHCN      ", "CH2CN     ", "CH3CN     ", "C3N       ", "HC3N      ", &
    87         "NCCN      ", "C4N2      "/)
    88     !! Hard-coded chemical species molar mass (g.mol-1), shares the same indexing than cnames.
    89     REAL, DIMENSION(44), PARAMETER               :: cmmol = (/ &
    90         1.01   , 2.0158, 13.02, 14.03, 14.03, 15.03, 16.04  , 24.02, 25.03, 26.04  , 27.05  , &
    91         28.05  , 29.06 , 30.07, 39.06, 41.07, 42.08, 43.09  , 49.05, 51.07, 52.08  , 50.06  , &
    92         40.07  , 40.07 , 44.11, 50.06, 54.09, 58.13, 78.1136, 38.05, 53.07, 77.1136, 28.0134, &
    93         14.01  , 26.02 , 27.04, 28.05, 39.05, 40.04, 41.05  , 50.04, 51.05, 52.04  , 76.1   /)
    9479
    9580    INTEGER :: i,j,n
Note: See TracChangeset for help on using the changeset viewer.