30 template<
class ReactionThermo,
class ReactionRate>
35 const ReactionRate& forwardReactionRate,
36 const ReactionRate& reverseReactionRate
40 fk_(forwardReactionRate),
41 rk_(reverseReactionRate)
45 template<
class ReactionThermo,
class ReactionRate>
55 fk_(species, dict.
subDict(
"forward")),
56 rk_(species, dict.
subDict(
"reverse"))
60 template<
class ReactionThermo,
class ReactionRate>
71 fk_(species, ob, dict.
subDict(
"forward")),
72 rk_(species, ob, dict.
subDict(
"reverse"))
76 template<
class ReactionThermo,
class ReactionRate>
92 template<
class ReactionThermo,
class ReactionRate>
101 template<
class ReactionThermo,
class ReactionRate>
110 template<
class ReactionThermo,
class ReactionRate>
120 return fk_(p, T, c, li);
124 template<
class ReactionThermo,
class ReactionRate>
135 return rk_(p, T, c, li);
139 template<
class ReactionThermo,
class ReactionRate>
149 return rk_(p, T, c, li);
153 template<
class ReactionThermo,
class ReactionRate>
163 return fk_.ddT(p, T, c, li);
167 template<
class ReactionThermo,
class ReactionRate>
179 return rk_.ddT(p, T, c, li);
183 template<
class ReactionThermo,
class ReactionRate>
192 template<
class ReactionThermo,
class ReactionRate>
203 fk_.dcidc(p, T, c, li, dcidc);
207 template<
class ReactionThermo,
class ReactionRate>
217 return fk_.dcidT(p, T, c, li);
221 template<
class ReactionThermo,
class ReactionRate>
231 os <<
indent << token::BEGIN_BLOCK <<
nl;
235 os <<
indent << token::END_BLOCK <<
nl;
238 os <<
indent << token::BEGIN_BLOCK <<
nl;
242 os <<
indent << token::END_BLOCK <<
nl;
virtual void write(Ostream &) const
Write.
virtual Ostream & write(const char)=0
Write character.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
combustionModel & reaction
virtual void postEvaluate() const
Post-evaluation hook.
virtual const List< Tuple2< label, scalar > > & beta() const
Third-body efficiencies (beta = 1-alpha)
A HashTable specialisation for hashing pointers.
virtual void dcidc(const scalar p, const scalar T, const scalarField &c, const label li, scalarField &dcidc) const
Species concentration derivative of the pressure dependent term.
Simple extension of ReactionThermo to handle reaction kinetics in addition to the equilibrium thermod...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
virtual scalar dkfdT(const scalar p, const scalar T, const scalarField &c, const label li) const
Temperature derivative of forward rate.
virtual scalar kf(const scalar p, const scalar T, const scalarField &c, const label li) const
Forward rate constant.
NonEquilibriumReversibleReaction(const Reaction< ReactionThermo > &reaction, const ReactionRate &forwardReactionRate, const ReactionRate &reverseReactionRate)
Construct from components.
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
virtual scalar kr(const scalar kfwd, const scalar p, const scalar T, const scalarField &c, const label li) const
Reverse rate constant from the given formard rate constant.
virtual scalar dkrdT(const scalar p, const scalar T, const scalarField &c, const label li, const scalar dkfdT, const scalar kr) const
Temperature derivative of backward rate.
A wordList with hashed indices for faster lookup by name.
Registry of regIOobjects.
virtual void preEvaluate() const
Pre-evaluation hook.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
virtual scalar dcidT(const scalar p, const scalar T, const scalarField &c, const label li) const
Temperature derivative of the pressure dependent term.