Go to the documentation of this file.
36 #ifndef ReversibleReaction_H
37 #define ReversibleReaction_H
52 template<
class>
class ReactionType,
58 public ReactionType<ReactionThermo>
90 const ReactionType<ReactionThermo>&
reaction,
145 <ReactionType, ReactionThermo, ReactionRate>
virtual autoPtr< ReactionType< ReactionThermo > > clone() const
Construct and return a clone.
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
Pre-declare SubField and related Field type.
A wordList with hashed indices for faster lookup by name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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 any number of values (e....
Info<< "Creating reaction model\n"<< endl;autoPtr< combustionModels::psiCombustionModel > reaction(combustionModels::psiCombustionModel::New(mesh))
virtual void write(Ostream &) const
Write.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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,...
virtual ~ReversibleReaction()
Destructor.
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.