|
antioch-0.4.0
|
We parse the file here, with an exhaustive unit management. More...
#include "antioch/antioch_asserts.h"#include "antioch/units.h"#include "antioch/parsing_enum.h"#include <string>#include <vector>Go to the source code of this file.
We parse the file here, with an exhaustive unit management.
The starting point is the kinetics equation:
with
the partial order of the reaction with respect to reactants
. We obtain thus
with
the order of the reaction. By definition
We are in an elementary processes paradigm, thus for a reactant species
,
with
the stoichiometric coefficient of reactant species
.
Example:
To this, we consider the kinetics model (they're all included in the Van't Hoff equation):
We derive from this all the tests and default units:
for the Troe falloff, the additionnal parameters are:
Thus the reading is made in this fashion:


Definition in file read_reaction_set_data.h.
Classes | |
| singleton | Antioch::ASCIIParser< NumericType > |
| singleton | Antioch::ChemKinParser< NumericType > |
| ChemKin format file reader. More... | |
| class | Antioch::XMLParser< NumericType > |
| Nothing is stored, this parser is based on the tinyxml2 implementation. More... | |
| singleton | Antioch::ReactionSet< CoeffType > |
| This class encapsulates all the reaction mechanisms considered in a chemical nonequilibrium simulation. More... | |
Namespaces | |
| Antioch | |
| The parameters are reduced parameters. | |
Functions | |
| template<class NumericType > | |
| void | Antioch::read_reaction_set_data_xml (const std::string &filename, const bool verbose, ReactionSet< NumericType > &reaction_set) |
| template<class NumericType > | |
| void | Antioch::read_reaction_set_data_chemkin (const std::string &filename, const bool verbose, ReactionSet< NumericType > &reaction_set) |
| template<typename NumericType > | |
| void | Antioch::read_reaction_set_data (const std::string &filename, const bool verbose, ReactionSet< NumericType > &reaction_set, ParsingType type=ASCII) |
| template<typename NumericType > | |
| void | Antioch::verify_unit_of_parameter (Units< NumericType > &default_unit, const std::string &provided_unit, const std::vector< std::string > &accepted_unit, const std::string &equation, const std::string ¶meter_name) |