36 #ifndef NonEquilibriumReversibleReaction_H 37 #define NonEquilibriumReversibleReaction_H 50 template<
class ReactionThermo,
class ReactionRate>
64 TypeName(
"nonEquilibriumReversible");
73 const ReactionRate& forwardReactionRate,
74 const ReactionRate& reverseReactionRate
virtual void write(Ostream &) const
Write.
virtual ~NonEquilibriumReversibleReaction()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual autoPtr< Reaction< ReactionThermo > > clone() const
Construct and return a clone.
virtual void postEvaluate() const
Post-evaluation hook.
void dkfdc(const scalar p, const scalar T, const scalarField &c, const label li, scalarField &dkfdc) const
Concentration derivative of forward rate.
TypeName("nonEquilibriumReversible")
Runtime type information.
A HashTable specialisation for hashing pointers.
const dimensionedScalar c
Speed of light in a vacuum.
Simple extension of ReactionThermo to handle reaction kinetics in addition to the equilibrium thermod...
Reaction base-class holding the specie names and coefficients.
const speciesTable & species() const
Return the specie list.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void dkrdc(const scalar p, const scalar T, const scalarField &c, const label li, const scalarField &dkfdc, const scalar kr, scalarField &dkrdc) const
Concentration derivative of reverse rate.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
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 forward 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.
virtual bool hasDkdc() const
Does this reaction have concentration-dependent rate constants?
A wordList with hashed indices for faster lookup by name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Registry of regIOobjects.
virtual void preEvaluate() const
Pre-evaluation hook.