Cantera  2.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Arrhenius Class Reference

Arrhenius reaction rate type depends only on temperature. More...

#include <RxnRates.h>

Public Member Functions

 Arrhenius ()
 Default constructor.
 
 Arrhenius (const ReactionData &rdata)
 Constructor from ReactionData.
 
 Arrhenius (doublereal A, doublereal b, doublereal E)
 Constructor.
 
void update_C (const doublereal *c)
 Update concentration-dependent parts of the rate coefficient.
 
doublereal update (doublereal logT, doublereal recipT) const
 Update the value of the logarithm of the rate constant.
 
doublereal updateRC (doublereal logT, doublereal recipT) const
 Update the value the rate constant.
 
void writeUpdateRHS (std::ostream &s) const
 
doublereal activationEnergy_R () const
 

Static Public Member Functions

static int type ()
 return the rate coefficient type.
 
static bool alwaysComputeRate ()
 

Protected Attributes

doublereal m_logA
 
doublereal m_b
 
doublereal m_E
 
doublereal m_A
 

Detailed Description

Arrhenius reaction rate type depends only on temperature.

A reaction rate coefficient of the following form.

\[ k_f = A T^b \exp (-E/RT) \]

Definition at line 29 of file RxnRates.h.

Constructor & Destructor Documentation

Arrhenius ( )
inline

Default constructor.

Definition at line 38 of file RxnRates.h.

Arrhenius ( const ReactionData &  rdata)
inlineexplicit

Constructor from ReactionData.

Definition at line 45 of file RxnRates.h.

Arrhenius ( doublereal  A,
doublereal  b,
doublereal  E 
)
inline

Constructor.

Parameters
Apre-exponential. The unit system is (kmol, m, s). The actual units depend on the reaction order and the dimensionality (surface or bulk).
bTemperature exponent. Non-dimensional.
EActivation energy in temperature units. Kelvin.

Definition at line 62 of file RxnRates.h.

Member Function Documentation

static int type ( )
inlinestatic

return the rate coefficient type.

Definition at line 33 of file RxnRates.h.

void update_C ( const doublereal *  c)
inline

Update concentration-dependent parts of the rate coefficient.

For this class, there are no concentration-dependent parts, so this method does nothing.

Definition at line 78 of file RxnRates.h.

doublereal update ( doublereal  logT,
doublereal  recipT 
) const
inline

Update the value of the logarithm of the rate constant.

Note, this function should never be called for negative A values. If it does then it will produce a negative overflow result, and a zero net forwards reaction rate, instead of a negative reaction rate constant that is the expected result.

Definition at line 89 of file RxnRates.h.

doublereal updateRC ( doublereal  logT,
doublereal  recipT 
) const
inline

Update the value the rate constant.

This function returns the actual value of the rate constant. It can be safely called for negative values of the pre-exponential factor.

Definition at line 100 of file RxnRates.h.


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