34template<
class ReactionThermo>
44 pyrolisisGases_(pyrolisisGases),
50template<
class ReactionThermo>
58 pyrolisisGases_(pyrolisisGases),
64template<
class ReactionThermo>
80 pyrolisisGases_(
dict.parent().parent().
lookup(
"gaseousSpecies")),
96 for (
const word& gasName : pyrolisisGases_)
98 allSpecies.push_uniq(gasName);
100 List<specieCoeffs> dummyLhs;
101 List<specieCoeffs> dummyRhs;
118template<
class ReactionThermo>
126template<
class ReactionThermo>
134template<
class ReactionThermo>
138 return pyrolisisGases_;
142template<
class ReactionThermo>
146 os.writeEntry(
"reaction", solidReactionStr(
reaction));
150template<
class ReactionThermo>
151Foam::string Foam::solidReaction<ReactionThermo>::solidReactionStr
175template<
class ReactionThermo>
176void Foam::solidReaction<ReactionThermo>::solidReactionStrLeft
181 Reaction<ReactionThermo>::reactionStr(
reaction, gasSpecies(), glhs());
185template<
class ReactionThermo>
186void Foam::solidReaction<ReactionThermo>::solidReactionStrRight
191 Reaction<ReactionThermo>::reactionStr(
reaction, gasSpecies(), grhs());
An ISstream with internal List storage. Always UNCOMPRESSED.
virtual void rewind() override
Rewind the stream, clearing any old errors.
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. Always UNCOMPRESSED.
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...
void setLRhs(Istream &, const speciesTable &, List< specieCoeffs > &lhs, List< specieCoeffs > &rhs, bool failUnknownSpecie=true)
Construct the left- and right-hand-side reaction coefficients.
Reaction(const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs, const ReactionTable< ReactionThermo > &thermoDatabase, bool initReactionThermo=true)
Construct from components.
const speciesTable & species() const noexcept
Access to specie list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label push_uniq(const word &val)
Append an element if not already in the list.
Lookup type of boundary radiation properties.
Read solid reactions of the type S1 = S2 + G1.
solidReaction(const Reaction< ReactionThermo > &reaction, const speciesTable &pyrolisisGases, const List< specieCoeffs > &glhs, const List< specieCoeffs > &grhs)
Construct from components.
virtual const List< specieCoeffs > & glhs() const
virtual void write(Ostream &os) const
Write.
virtual const List< specieCoeffs > & grhs() const
Access to gas components of the reaction.
virtual const speciesTable & gasSpecies() const
Access to gas specie list.
A class for handling character strings derived from std::string.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
CombustionModel< rhoReactionThermo > & reaction
hashedWordList speciesTable
A table of species as a hashedWordList.
HashPtrTable< ThermoType > ReactionTable