32 template<
class ThermoType>
42 dict_(dictionary::null)
46 template<
class ThermoType>
63 template<
class ThermoType>
67 species_(reactions.species_),
68 thermoDb_(reactions.thermoDb_),
69 dict_(reactions.dict_)
75 template<
class ThermoType>
82 template<
class ThermoType>
85 const dictionary& reactions(dict_.subDict(
"reactions"));
89 dict_.lookupOrDefault<scalar>(
"Tlow", 0);
92 dict_.lookupOrDefault<scalar>(
"Thigh", great);
96 const word reactionName = iter().keyword();
104 reactions.subDict(reactionName)
113 template<
class ThermoType>
116 os <<
"reactions" <<
nl;
124 os.
writeKeyword(
"type") << r.type() << token::END_STATEMENT <<
nl;
ReactionList(const speciesTable &species, const HashPtrTable< ThermoType > &thermoDatabase)
Construct null.
void write(Ostream &os) const
Write.
Ostream & indent(Ostream &os)
Indent stream.
bool readReactionDict()
Read reactions from dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const word & name() const
Return the name of the reaction.
virtual void write(Ostream &) const
Write.
Simple extension of ReactionThermo to handle reaction kinetics in addition to the equilibrium thermod...
Template class for non-intrusive linked PtrLists.
A class for handling words, derived from string.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
~ReactionList()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Non-intrusive singly-linked pointer list.
List of templated reactions.
A wordList with hashed indices for faster lookup by name.
Ostream & incrIndent(Ostream &os)
Increment the indent level.