42 #ifndef NonEquilibriumReversibleReaction_H 43 #define NonEquilibriumReversibleReaction_H 58 template<
class>
class ReactionType,
64 public ReactionType<ReactionThermo>
79 ReactionType, ReactionThermo, ReactionRate
87 TypeName(
"nonEquilibriumReversible");
95 const ReactionType<ReactionThermo>&
reaction,
96 const ReactionRate& forwardReactionRate,
97 const ReactionRate& reverseReactionRate
104 <ReactionType, ReactionThermo, ReactionRate>&,
122 <ReactionType, ReactionThermo, ReactionRate>(*this)
135 <ReactionType, ReactionThermo, ReactionRate>
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~NonEquilibriumReversibleReaction()=default
Destructor.
TypeName("nonEquilibriumReversible")
Runtime type information.
virtual scalar kf(const scalar p, const scalar T, const scalarField &c) const
Forward rate constant.
virtual scalar kr(const scalar kfwd, const scalar p, const scalar T, const scalarField &c) const
Reverse rate constant from the given formard rate constant.
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
virtual autoPtr< ReactionType< ReactionThermo > > clone() const
Construct and return a clone.
NonEquilibriumReversibleReaction(const ReactionType< ReactionThermo > &reaction, const ReactionRate &forwardReactionRate, const ReactionRate &reverseReactionRate)
Construct from components.
virtual void write(Ostream &os) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
CombustionModel< rhoReactionThermo > & reaction
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
const dimensionedScalar c
Speed of light in a vacuum.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...