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>
102 return fk_(p, T, c, li);
106 template<
class ReactionThermo,
class ReactionRate>
117 return rk_(p, T, c, li);
121 template<
class ReactionThermo,
class ReactionRate>
131 return rk_(p, T, c, li);
135 template<
class ReactionThermo,
class ReactionRate>
145 return fk_.ddT(p, T, c, li);
149 template<
class ReactionThermo,
class ReactionRate>
161 return rk_.ddT(p, T, c, li);
165 template<
class ReactionThermo,
class ReactionRate>
174 template<
class ReactionThermo,
class ReactionRate>
185 fk_.dcidc(p, T, c, li, dcidc);
189 template<
class ReactionThermo,
class ReactionRate>
199 return fk_.dcidT(p, T, c, li);
203 template<
class ReactionThermo,
class ReactionRate>
213 os <<
indent << token::BEGIN_BLOCK <<
nl;
217 os <<
indent << token::END_BLOCK <<
nl;
220 os <<
indent << token::BEGIN_BLOCK <<
nl;
224 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...
virtual const List< Tuple2< label, scalar > > & beta() const
Third-body efficiencies (beta = 1-alpha)
A HashTable specialization 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.
CombustionModel< rhoReactionThermo > & reaction
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.
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.