source: trunk/LMDZ.MARS/doc/photochem.tex @ 3493

Last change on this file since 3493 was 1954, checked in by emillour, 7 years ago

Mars GCM:

  • Make a "doc" subdirectory to store the documentation source files with the code.

EM

File size: 2.8 KB
Line 
1\chapter{Photochemical Module}
2
3\label{sc:photochem}
4
5The LMD GCM includes a photochemical module, which allows to compute
6the atmospheric composition.
7
8\begin{itemize}
9
10\item 14 chemical species are included: CO$_2$ (background gas), CO, O,
11O({\em $^1D$}), O$_2$, O$_3$, H, H$_2$, OH, HO$_2$, H$_2$O$_2$, N$_2$,
12Ar (inert) and H$_2$O.
13
14\item In {\tt callphys.def}, set tracer to true {\tt tracer=.true.}.
15Use the same options as shown below for the tracer part of {\tt callphys.def}.
16You need to set {\tt photochem=.true.},
17and to include the water cycle ({\tt water=.true.},
18{\tt sedimentation=.true.}; see Chapter~\ref{sc:water}), because
19composition is extremely dependent on the water vapor abundance.
20%\input{input/photochem_list.tex}
21
22\item You will need the up-to-date file {\tt jmars.yyyymmdd} 
23(e.g. {\tt jmars.20140930}), which contains the photodissociation rates.
24It should be in the {\it datafile} directory in which are stored
25datafiles used by the GCM (the path to these files is set in file
26{\tt callphys.def}).
27
28\item {\bf Settings} \\ \\
29Compile as usual, what really matters are the options in {\tt callphys.def}
30and {\tt traceur.def}.
31You need at least 19 tracers:
3213 chemical species (co2, co, o, o(1d), o2, o3, h, h2, oh, ho2, h2o2, n2, ar)
33along with water vapor (h2o\_vap), water ice (h2o\_ice), related condensation
34nuclei moments (ccn\_mass and ccn\_number), and dust moments
35(dust\_mass and dust\_number).\\
36the {\tt traceur.def} file should thus be something like:
37\begin{verbatim}
3819
39co2
40co
41o
42o1d
43o2
44o3
45h
46h2
47oh
48ho2
49h2o2
50n2
51ar
52dust_mass
53dust_number
54h2o_vap
55h2o_ice
56ccn_mass
57ccn_number
58\end{verbatim}
59
60
61\item {\bf Run} \\ \\
62Same as usual. Just make sure that your start files contains the correct number
63of tracers. If you need to initialize the composition, you can run
64{\bf newstart} and use the options
65\begin{description}
66\item - ini\_q: the 15 tracers are initialized, including water ice and vapor.
67\item - ini\_q-h2o: the 13 chemical species are initialized, water ice is put
68to zero, and water vapor is kept untouched.
69\item - ini\_q-iceh2o: the 13 chemical species are initialized, water ice and
70vapor are kept untouched.
71\end{description}
72The initialization is done with the files {\tt atmosfera\_LMD\_may.dat} and
73{\tt atmosfera\_LMD\_min.dat}, which should also be found in the
74{\it datafile} directory.
75
76\item {\bf Outputs} \\ \\
77The outputs can be done from the {\tt aeronomars/calchim.F} routine for the 14
78chemical species. The variables put in the {\tt diagfi.nc} and
79{\tt stats.nc} files are
80labeled (where {\it name} is the name of the chemical species, e.g. co2):
81\begin{description}
82\item - n\_{\it name}: local density (in molecule cm$^{-3}$,
833-dimensional field)
84\item - c\_{\it name}: integrated column density (in molecule cm$^{-2}$,
852-dimensional field)
86\end{description}
87
88\end{itemize}
89
90
Note: See TracBrowser for help on using the repository browser.