Go to the documentation of this file.
42 #ifndef ReversibleReaction_H
43 #define ReversibleReaction_H
58 template<
class>
class ReactionType,
64 public ReactionType<ReactionThermo>
96 const ReactionType<ReactionThermo>&
reaction,
143 <ReactionType, ReactionThermo, ReactionRate>
virtual ~ReversibleReaction()=default
Destructor.
virtual autoPtr< ReactionType< ReactionThermo > > clone() const
Construct and return a clone.
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual scalar kf(const scalar p, const scalar T, const scalarField &c) const
Forward rate constant.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void write(Ostream &) const
Write.
CombustionModel< rhoReactionThermo > & reaction
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
ReversibleReaction(const ReactionType< ReactionThermo > &reaction, const ReactionRate &k)
Construct from components.
label k
Boltzmann constant.
const dimensionedScalar c
Speed of light in a vacuum.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
TypeName("reversible")
Runtime type information.
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.