34 template<
class ReactionThermo>
44 pyrolisisGases_(pyrolisisGases),
50 template<
class ReactionThermo>
58 pyrolisisGases_(pyrolisisGases),
64 template<
class ReactionThermo>
80 pyrolisisGases_(
dict.parent().parent().
lookup(
"gaseousSpecies")),
94 for (
const word& gasName : pyrolisisGases_)
96 allSpecies.appendUniq(gasName);
98 List<specieCoeffs> dummyLhs;
99 List<specieCoeffs> dummyRhs;
104 IStringStream(
dict.getString(
"reaction"))(),
115 template<
class ReactionThermo>
123 template<
class ReactionThermo>
131 template<
class ReactionThermo>
135 return pyrolisisGases_;
139 template<
class ReactionThermo>
147 template<
class ReactionThermo>
172 template<
class ReactionThermo>
178 Reaction<ReactionThermo>::reactionStr(
reaction, gasSpecies(), glhs());
182 template<
class ReactionThermo>
188 Reaction<ReactionThermo>::reactionStr(
reaction, gasSpecies(), grhs());
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const speciesTable & species() const noexcept
Access to specie list.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual const List< specieCoeffs > & grhs() const
Access to gas components of the reaction.
Lookup type of boundary radiation properties.
Simple extension of ReactionThermo to handle reaction kinetics in addition to the equilibrium thermod...
A class for handling words, derived from Foam::string.
solidReaction(const Reaction< ReactionThermo > &reaction, const speciesTable &pyrolisisGases, const List< specieCoeffs > &glhs, const List< specieCoeffs > &grhs)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual const List< specieCoeffs > & glhs() const
OBJstream os(runTime.globalPath()/outputName)
virtual void write(Ostream &os) const
Write.
Read solid reactions of the type S1 = S2 + G1.
void setLRhs(Istream &, const speciesTable &, List< specieCoeffs > &lhs, List< specieCoeffs > &rhs, bool failUnknownSpecie=true)
Construct the left- and right-hand-side reaction coefficients.
CombustionModel< rhoReactionThermo > & reaction
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
Input from string buffer, using a ISstream. Always UNCOMPRESSED.
A class for handling character strings derived from std::string.
Output to string buffer, using a OSstream. Always UNCOMPRESSED.
virtual const speciesTable & gasSpecies() const
Access to gas specie list.