36 #ifndef NonEquilibriumReversibleReaction_H 37 #define NonEquilibriumReversibleReaction_H 52 template<
class>
class ReactionType,
58 public ReactionType<ReactionThermo>
69 TypeName(
"nonEquilibriumReversible");
77 const ReactionType<ReactionThermo>&
reaction,
78 const ReactionRate& forwardReactionRate,
79 const ReactionRate& reverseReactionRate
86 <ReactionType, ReactionThermo, ReactionRate>&,
104 <ReactionType, ReactionThermo, ReactionRate>(*this)
117 <ReactionType, ReactionThermo, ReactionRate>
virtual void write(Ostream &) const
Write.
virtual scalar dcidT(const scalar p, const scalar T, const scalarField &c) const
Temperature derivative of the pressure dependent term.
virtual ~NonEquilibriumReversibleReaction()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void dcidc(const scalar p, const scalar T, const scalarField &c, scalarField &dcidc) const
Species concentration derivative of the pressure dependent term.
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)
TypeName("nonEquilibriumReversible")
Runtime type information.
A HashTable specialization for hashing pointers.
virtual scalar dkfdT(const scalar p, const scalar T, const scalarField &c) const
Temperature derivative of forward rate.
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.
CombustionModel< rhoReactionThermo > & reaction
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A wordList with hashed indices for faster lookup by name.
const dimensionedScalar c
Speed of light in a vacuum.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual scalar dkrdT(const scalar p, const scalar T, const scalarField &c, const scalar dkfdT, const scalar kr) const
Temperature derivative of backward rate.