ArrheniusReactionRate Class Reference

Arrhenius reaction rate given by: More...

Inheritance diagram for ArrheniusReactionRate:

Public Member Functions

 ArrheniusReactionRate (const scalar A, const scalar beta, const scalar Ta)
 Construct from components. More...
 
 ArrheniusReactionRate (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 ArrheniusReactionRate &)
 

Detailed Description

Arrhenius reaction rate given by:

k = A * T^beta * exp(-Ta/T)

Source files

Definition at line 58 of file ArrheniusReactionRate.H.

Constructor & Destructor Documentation

◆ ArrheniusReactionRate() [1/2]

ArrheniusReactionRate ( const scalar  A,
const scalar  beta,
const scalar  Ta 
)
inline

Construct from components.

Definition at line 29 of file ArrheniusReactionRateI.H.

◆ ArrheniusReactionRate() [2/2]

ArrheniusReactionRate ( const speciesTable species,
const dictionary dict 
)
inline

Construct from dictionary.

Definition at line 42 of file ArrheniusReactionRateI.H.

Member Function Documentation

◆ type()

◆ preEvaluate()

void preEvaluate ( ) const
inline

◆ postEvaluate()

void postEvaluate ( ) const
inline

◆ operator()()

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

Return the rate.

Definition at line 64 of file ArrheniusReactionRateI.H.

References ArrheniusReactionRate::ddT(), Foam::exp(), Foam::mag(), and Foam::pow().

Referenced by thirdBodyArrheniusReactionRate::ddc(), surfaceArrheniusReactionRate::operator()(), thirdBodyArrheniusReactionRate::operator()(), and phaseSurfaceArrheniusReactionRate::operator()().

Here is the call graph for this function:
Here is the caller 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 88 of file ArrheniusReactionRateI.H.

References Foam::exp(), Foam::mag(), Foam::pow(), and Foam::T().

Referenced by surfaceArrheniusReactionRate::ddT(), thirdBodyArrheniusReactionRate::ddT(), phaseSurfaceArrheniusReactionRate::ddT(), ArrheniusReactionRate::operator()(), and ArrheniusReactionRate::type().

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

◆ hasDdc()

bool hasDdc ( ) const
inline

Is the rate a function of concentration?

Definition at line 111 of file ArrheniusReactionRateI.H.

References ArrheniusReactionRate::ddc().

Referenced by ArrheniusReactionRate::type().

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

◆ 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 118 of file ArrheniusReactionRateI.H.

Referenced by ArrheniusReactionRate::hasDdc(), and ArrheniusReactionRate::type().

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
inline

Write to stream.

Definition at line 130 of file ArrheniusReactionRateI.H.

References Foam::writeEntry().

Referenced by ArrheniusReactionRate::type(), surfaceArrheniusReactionRate::write(), phaseSurfaceArrheniusReactionRate::write(), and thirdBodyArrheniusReactionRate::write().

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

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const ArrheniusReactionRate  
)
friend

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