General class for handling chemically-activated bimolecular reactions. More...
Public Member Functions | |
ChemicallyActivatedReactionRate (const ReactionRate &k0, const ReactionRate &kInf, const ChemicallyActivationFunction &F, const thirdBodyEfficiencies &tbes) | |
Construct from components. More... | |
ChemicallyActivatedReactionRate (const speciesTable &species, const dictionary &dict) | |
Construct from dictionary. More... | |
void | preEvaluate () const |
Pre-evaluation hook. More... | |
void | postEvaluate () const |
Post-evaluation hook. More... | |
scalar | operator() (const scalar p, const scalar T, const scalarField &c, const label li) const |
Return the rate. More... | |
scalar | ddT (const scalar p, const scalar T, const scalarField &c, const label li) const |
The derivative of the rate w.r.t. temperature. More... | |
bool | hasDdc () const |
Is the rate a function of concentration? More... | |
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. More... | |
void | write (Ostream &os) const |
Write to stream. More... | |
Static Public Member Functions | |
static word | type () |
Return the type name. More... | |
Friends | |
Ostream & | operator (Ostream &, const ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction > &) |
General class for handling chemically-activated bimolecular reactions.
Definition at line 47 of file ChemicallyActivatedReactionRate.H.
|
inline |
Construct from components.
Definition at line 36 of file ChemicallyActivatedReactionRateI.H.
|
inline |
Construct from dictionary.
Definition at line 56 of file ChemicallyActivatedReactionRateI.H.
|
inlinestatic |
Return the type name.
Definition at line 97 of file ChemicallyActivatedReactionRate.H.
References Foam::constant::universal::c, ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::ddc(), ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::ddT(), ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::hasDdc(), ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::operator, p, ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::postEvaluate(), ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::preEvaluate(), Foam::T(), Foam::type(), and ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::write().
|
inline |
Pre-evaluation hook.
Definition at line 75 of file ChemicallyActivatedReactionRateI.H.
References ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::preEvaluate().
Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::preEvaluate(), and ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::type().
|
inline |
Post-evaluation hook.
Definition at line 87 of file ChemicallyActivatedReactionRateI.H.
References ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::postEvaluate().
Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::postEvaluate(), and ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::type().
|
inline |
|
inline |
The derivative of the rate w.r.t. temperature.
Definition at line 123 of file ChemicallyActivatedReactionRateI.H.
References M, and Foam::sqr().
Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::type().
|
inline |
Is the rate a function of concentration?
Definition at line 162 of file ChemicallyActivatedReactionRateI.H.
Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::type().
|
inline |
The derivative of the rate w.r.t. concentration.
Definition at line 174 of file ChemicallyActivatedReactionRateI.H.
References M, List< T >::size(), and Foam::sqr().
Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::type().
|
inline |
Write to stream.
Definition at line 219 of file ChemicallyActivatedReactionRateI.H.
References Foam::decrIndent(), Foam::incrIndent(), Foam::indent(), Foam::nl, and Ostream::write().
Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::type().
|
friend |