Go to the documentation of this file.
35 template<
class ReactionThermo>
45 pyrolisisGases_(pyrolisisGases),
51 template<
class ReactionThermo>
59 pyrolisisGases_(pyrolisisGases),
65 template<
class ReactionThermo>
74 pyrolisisGases_(
dict.parent().parent().lookup(
"gaseousSpecies")),
90 template<
class ReactionThermo>
98 template<
class ReactionThermo>
106 template<
class ReactionThermo>
110 return pyrolisisGases_;
114 template<
class ReactionThermo>
122 template<
class ReactionThermo>
129 if (glhs().size() > 0)
136 if (grhs().size() > 0)
146 template<
class ReactionThermo>
152 for (label i = 0; i < glhs().size(); ++i)
158 if (
mag(glhs()[i].stoichCoeff - 1) > SMALL)
162 reaction << gasSpecies()[glhs()[i].index];
163 if (
mag(glhs()[i].exponent - glhs()[i].stoichCoeff) > SMALL)
165 reaction <<
"^" << glhs()[i].exponent;
171 template<
class ReactionThermo>
178 for (label i = 0; i < grhs().size(); ++i)
184 if (
mag(grhs()[i].stoichCoeff - 1) > SMALL)
188 reaction << gasSpecies()[grhs()[i].index];
189 if (
mag(grhs()[i].exponent - grhs()[i].stoichCoeff) > SMALL)
191 reaction <<
"^" << grhs()[i].exponent;
A class for handling character strings derived from std::string.
virtual void write(Ostream &) const
Write.
virtual const List< specieCoeffs > & grhs() const
Access to gas components of the reaction.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Input from string buffer, using a ISstream.
virtual const speciesTable & gasSpecies() const
Access to gas specie list.
CombustionModel< rhoReactionThermo > & reaction
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...
Output to string buffer, using a OSstream.
solidReaction(const Reaction< ReactionThermo > &reaction, const speciesTable &pyrolisisGases, const List< specieCoeffs > &glhs, const List< specieCoeffs > &grhs)
Construct from components.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual const List< specieCoeffs > & glhs() const
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
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...