This verification problem is taken from !cite and builds on the capabilities verified in ver-1g for simple chemical reactions. This case is simulated in [/ver-1gc.i].
This problem models a set of chemical reactions in series with three species:
\begin{equation} \label{eq:chemical_reaction}
A \xrightarrow{\mathit{k_1}} B \xrightarrow{\mathit{k_2}} C,
\end{equation}
with
The concentration of each species is therefore described as
\begin{equation} \label{eq:chemical_reaction_reaction_A}
\frac{dc_A}{dt} = - k_1 c_A,
\end{equation}
\begin{equation} \label{eq:chemical_reaction_reaction_B}
\frac{dc_B}{dt} = k_1 c_A - k_2 c_B,
\end{equation}
\begin{equation} \label{eq:chemical_reaction_reaction_C}
\frac{dc_C}{dt} = k_2 c_B,
\end{equation}
with
!cite provides the analytical equations for the time evolution of the concentrations of
The concentration of
The comparison of TMAP8 results against the analytical solution is shown in [ver-1gc_comparison_diff_conc]. The match between TMAP8's predictions and the analytical solution is satisfactory, with root mean square percentage errors (RMSPE) of RMSPE = 4.78 % for species
!media comparison_ver-1gc.py image_name=ver-1gc_comparison_diff_conc.png style=width:50%;margin-bottom:2%;margin-left:auto;margin-right:auto id=ver-1gc_comparison_diff_conc caption=Comparison of partial pressures of species in a series reaction predicted by TMAP8 and provided by the analytical solution. The RMSPE is the root mean square percent error between the analytical solution and TMAP8 predictions.
!style halign=left The input file for this case can be found at [/ver-1gc.i], which is also used as test in TMAP8 at [/ver-1gc/tests].
!bibtex bibliography