Go to the documentation of this file.
34 template<
class ReactionThermo>
44 pyrolisisGases_(pyrolisisGases),
50 template<
class ReactionThermo>
58 pyrolisisGases_(pyrolisisGases),
64 template<
class ReactionThermo>
72 Reaction<ReactionThermo>(species, thermoDatabase,
dict, false),
73 pyrolisisGases_(
dict.parent().parent().
lookup(
"gaseousSpecies")),
89 template<
class ReactionThermo>
97 template<
class ReactionThermo>
105 template<
class ReactionThermo>
109 return pyrolisisGases_;
113 template<
class ReactionThermo>
121 template<
class ReactionThermo>
128 if (glhs().size() > 0)
135 if (grhs().size() > 0)
145 template<
class ReactionThermo>
151 for (label i = 0; i < glhs().size(); ++i)
157 if (
mag(glhs()[i].stoichCoeff - 1) > SMALL)
161 reaction << gasSpecies()[glhs()[i].index];
162 if (
mag(glhs()[i].exponent - glhs()[i].stoichCoeff) > SMALL)
164 reaction <<
"^" << glhs()[i].exponent;
170 template<
class ReactionThermo>
177 for (label i = 0; i < grhs().size(); ++i)
183 if (
mag(grhs()[i].stoichCoeff - 1) > SMALL)
187 reaction << gasSpecies()[grhs()[i].index];
188 if (
mag(grhs()[i].exponent - grhs()[i].stoichCoeff) > SMALL)
190 reaction <<
"^" << grhs()[i].exponent;
string getString(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Same as get< string >(const word&, keyType::option)
A class for handling character strings derived from std::string.
virtual const List< specieCoeffs > & grhs() const
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
virtual void write(Ostream &os) const
Lookup type of boundary radiation properties.
ITstream & lookup(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual const speciesTable & gasSpecies() const
CombustionModel< rhoReactionThermo > & reaction
const dictionary & parent() const noexcept
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
solidReaction(const Reaction< ReactionThermo > &reaction, const speciesTable &pyrolisisGases, const List< specieCoeffs > &glhs, const List< specieCoeffs > &grhs)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual const List< specieCoeffs > & glhs() const
Ostream & writeEntry(const keyType &key, const T &value)
Read solid reactions of the type S1 = S2 + G1.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Simple extension of ReactionThermo to handle reaction kinetics in addition to the equilibrium thermod...