35 #ifndef ChemicallyActivatedReactionRate_H
36 #define ChemicallyActivatedReactionRate_H
47 template<
class ReactionRate,
class ChemicallyActivationFunction>
48 class ChemicallyActivatedReactionRate;
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,
103 +
"ChemicallyActivated";
131 inline bool hasDdc()
const;
149 friend Ostream& operator<< <ReactionRate, ChemicallyActivationFunction>
153 <ReactionRate, ChemicallyActivationFunction>&
General class for handling chemically-activated bimolecular reactions.
friend Ostream & operator(Ostream &, const ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction > &)
void preEvaluate() const
Pre-evaluation hook.
void postEvaluate() const
Post-evaluation hook.
static word type()
Return the type name.
void write(Ostream &os) const
Write to stream.
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.
scalar ddT(const scalar p, const scalar T, const scalarField &c, const label li) const
The derivative of the rate w.r.t. temperature.
ChemicallyActivatedReactionRate(const ReactionRate &k0, const ReactionRate &kInf, const ChemicallyActivationFunction &F, const thirdBodyEfficiencies &tbes)
Construct from components.
bool hasDdc() const
Is the rate a function of concentration?
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
A wordList with hashed indices for faster lookup by name.
A class for handling words, derived from string.
const dimensionedScalar F
Faraday constant: default SI units: [C/mol].
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.