35 #ifndef ChemicallyActivatedReactionRate_H 36 #define ChemicallyActivatedReactionRate_H 47 template<
class ReactionRate,
class ChemicallyActivationFunction>
50 template<
class ReactionRate,
class ChemicallyActivationFunction>
55 <ReactionRate, ChemicallyActivationFunction>&
63 template<
class ReactionRate,
class ChemicallyActivationFunction>
70 ChemicallyActivationFunction F_;
81 const ReactionRate& k0,
82 const ReactionRate& kInf,
83 const ChemicallyActivationFunction&
F,
102 +
"ChemicallyActivated";
130 inline bool hasDdc()
const;
143 inline void write(Ostream& os)
const;
148 friend Ostream& operator<< <ReactionRate, ChemicallyActivationFunction>
152 <ReactionRate, ChemicallyActivationFunction>&
const dimensionedScalar F
Faraday constant: default SI units: [C/mol].
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool hasDdc() const
Is the rate a function of concentration?
const dimensionedScalar c
Speed of light in a vacuum.
ChemicallyActivatedReactionRate(const ReactionRate &k0, const ReactionRate &kInf, const ChemicallyActivationFunction &F, const thirdBodyEfficiencies &tbes)
Construct from components.
A class for handling words, derived from string.
static word type()
Return the type name.
void ddc(const scalar p, const scalar T, const scalarField &c, const label li, scalarField &ddc) const
The derivative of the rate w.r.t. concentration.
void preEvaluate() const
Pre-evaluation hook.
General class for handling chemically-activated bimolecular reactions.
void write(Ostream &os) const
Write to stream.
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)
friend Ostream & operator(Ostream &, const ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction > &)
A wordList with hashed indices for faster lookup by name.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
void postEvaluate() const
Post-evaluation hook.
scalar ddT(const scalar p, const scalar T, const scalarField &c, const label li) const
The derivative of the rate w.r.t. temperature.