-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparser_dev.tex
72 lines (55 loc) · 2.22 KB
/
parser_dev.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
\section{Different parsers}
\Antioch's supports three different parsing format,
\ChemKin, \XML\ and \ascii\ free format.
\subsection{\XML\ inputs}
The \XML\ format consists of tags and labels. It is an interesting
format in the sense that it is explicit, therefore nothing is
left to the imagination, the defaults are defined (and should be
regarded as) a backup for user's laziness.
\subsection{\ChemKin\ inputs}
\Antioch's follow the rules as given in \citet{ChemKinReacDesign2000}.
This format is fully constrained, only the units are, within
certain limits, customizable.
\subsection{\ascii\ free format inputs}
The \ascii\ free format is a column-based format. The parser can
ignore arbitrary columns, designed by their index, but the order
is imposed.
The first column is \emph{always} the name of the molecule. It is
not counted when specifying the ignored columns index. The index
are \prog{C} indexes, they start at zero. Thus the second column,
being the first characteristic read, has index zero.
\section{Different quantities to parse}
\subsection{Defining the species, mandatory description.}
A \object{ChemicalSpecies} is defined by:\\
\begin{minipage}{0.48\linewidth}
\begin{itemize}
\item a name;
\item a molar mass (\unit{kg\,mol^{-1}});
\item a formation enthalpie at 0$^\circ$\unit{C};
\item a translational/rotational number of degrees of freedom;
\item a charge number.
\end{itemize}
\end{minipage}
\hfill
\begin{minipage}{0.48\linewidth}
\centering
\includegraphics[width=0.8\linewidth]{parser_chem_spec}
\end{minipage}
\smallskip
This is mandatory, and currently only an \ascii\ file
will be used for this. Thus the file requires at least
five columns in the order:
\begin{enumerate}
\item molecular weight in \unit{g\,mol^{-1}};
\item heat of formation in \unit{J\,kg};
\item the number of translational/rotational degrees of freedom, \nounit;
\item the charge, \nounit.
\end{enumerate}
\subsection{The kinetics description}
The kinetics is structured in two levels: the chemical
process level and the kinetics model level.
The restrictions are:
when a chemical process requires several rate constants to
be defined, different models are not allowed.
\subsection{The transport description}
\subsection{The thermodynamics description}