ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction > Class Template Reference

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

Ostreamoperator (Ostream &, const ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction > &)
 

Detailed Description

template<class ReactionRate, class ChemicallyActivationFunction>
class Foam::ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >

General class for handling chemically-activated bimolecular reactions.

Source files

Definition at line 63 of file ChemicallyActivatedReactionRate.H.

Constructor & Destructor Documentation

◆ ChemicallyActivatedReactionRate() [1/2]

ChemicallyActivatedReactionRate ( const ReactionRate &  k0,
const ReactionRate &  kInf,
const ChemicallyActivationFunction &  F,
const thirdBodyEfficiencies tbes 
)
inline

Construct from components.

Definition at line 35 of file ChemicallyActivatedReactionRateI.H.

◆ ChemicallyActivatedReactionRate() [2/2]

ChemicallyActivatedReactionRate ( const speciesTable species,
const dictionary dict 
)
inline

Construct from dictionary.

Definition at line 55 of file ChemicallyActivatedReactionRateI.H.

Member Function Documentation

◆ type()

static word type ( )
inlinestatic

Return the type name.

Definition at line 97 of file ChemicallyActivatedReactionRate.H.

References Foam::type().

Here is the call graph for this function:

◆ preEvaluate()

void preEvaluate
inline

Pre-evaluation hook.

Definition at line 75 of file ChemicallyActivatedReactionRateI.H.

References ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::preEvaluate().

Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::preEvaluate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ postEvaluate()

void postEvaluate
inline

Post-evaluation hook.

Definition at line 87 of file ChemicallyActivatedReactionRateI.H.

References ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::postEvaluate().

Referenced by ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::postEvaluate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator()()

Foam::scalar operator() ( const scalar  p,
const scalar  T,
const scalarField c,
const label  li 
) const
inline

Return the rate.

Definition at line 99 of file ChemicallyActivatedReactionRateI.H.

References Foam::constant::universal::c, Foam::constant::physicoChemical::F, M, p, and Foam::T().

Here is the call graph for this function:

◆ ddT()

Foam::scalar ddT ( const scalar  p,
const scalar  T,
const scalarField c,
const label  li 
) const
inline

The derivative of the rate w.r.t. temperature.

Definition at line 122 of file ChemicallyActivatedReactionRateI.H.

References Foam::constant::universal::c, Foam::constant::physicoChemical::F, M, p, Foam::sqr(), and Foam::T().

Here is the call graph for this function:

◆ hasDdc()

bool hasDdc
inline

Is the rate a function of concentration?

Definition at line 162 of file ChemicallyActivatedReactionRateI.H.

◆ ddc()

void ddc ( const scalar  p,
const scalar  T,
const scalarField c,
const label  li,
scalarField ddc 
) const
inline

The derivative of the rate w.r.t. concentration.

Definition at line 173 of file ChemicallyActivatedReactionRateI.H.

References Foam::constant::universal::c, Foam::constant::physicoChemical::F, M, p, Foam::sqr(), and Foam::T().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
inline

Write to stream.

Definition at line 219 of file ChemicallyActivatedReactionRateI.H.

References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, Foam::incrIndent(), Foam::indent(), Foam::nl, and Ostream::write().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction > &   
)
friend

The documentation for this class was generated from the following files: