Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
 Arrhenius (const ReactionData &rdata)
 Constructor from ReactionData. More...
 
 Arrhenius (doublereal A, doublereal b, doublereal E)
 Constructor. More...
 
void update_C (const doublereal *c)
 Update concentration-dependent parts of the rate coefficient. More...
 
doublereal update (doublereal logT, doublereal recipT) const
 Update the value of the logarithm of the rate constant. More...
 
doublereal updateLog (doublereal logT, doublereal recipT) const
 Update the value of the natural logarithm of the rate constant. More...
 
doublereal updateRC (doublereal logT, doublereal recipT) const
 Update the value the rate constant. More...
 
void writeUpdateRHS (std::ostream &s) const
 
double preExponentialFactor () const
 Return the pre-exponential factor A (in m, kmol, s to powers depending on the reaction order) More...
 
double temperatureExponent () const
 Return the temperature exponent b More...
 
doublereal activationEnergy_R () const
 Return the activation energy divided by the gas constant (i.e. More...
 

Static Public Member Functions

static int type ()
 return the rate coefficient type. More...
 
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 31 of file RxnRates.h.

Constructor & Destructor Documentation

Arrhenius ( )

Default constructor.

Definition at line 8 of file RxnRates.cpp.

Arrhenius ( const ReactionData rdata)
explicit

Constructor from ReactionData.

Definition at line 16 of file RxnRates.cpp.

Arrhenius ( doublereal  A,
doublereal  b,
doublereal  E 
)

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 28 of file RxnRates.cpp.

Member Function Documentation

static int type ( )
inlinestatic

return the rate coefficient type.

Definition at line 35 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 58 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.

Deprecated:
. To be removed after Cantera 2.2

Definition at line 70 of file RxnRates.h.

doublereal updateLog ( doublereal  logT,
doublereal  recipT 
) const
inline

Update the value of the natural logarithm of the rate constant.

Definition at line 77 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 88 of file RxnRates.h.

void writeUpdateRHS ( std::ostream &  s) const
inline
Deprecated:
. To be removed after Cantera 2.2

Definition at line 93 of file RxnRates.h.

double preExponentialFactor ( ) const
inline

Return the pre-exponential factor A (in m, kmol, s to powers depending on the reaction order)

Definition at line 106 of file RxnRates.h.

Referenced by InterfaceKinetics::buildSurfaceArrhenius(), ElementaryReaction::validate(), and FalloffReaction::validate().

double temperatureExponent ( ) const
inline

Return the temperature exponent b

Definition at line 111 of file RxnRates.h.

Referenced by InterfaceKinetics::buildSurfaceArrhenius().

doublereal activationEnergy_R ( ) const
inline

Return the activation energy divided by the gas constant (i.e.

the activation temperature) [K]

Definition at line 117 of file RxnRates.h.

Referenced by InterfaceKinetics::buildSurfaceArrhenius().

static bool alwaysComputeRate ( )
inlinestatic
Deprecated:
. To be removed after Cantera 2.2

Definition at line 122 of file RxnRates.h.


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