Cantera  2.1.2
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ExchangeCurrent Class Reference

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

#include <RxnRates.h>

Public Member Functions

 ExchangeCurrent ()
 Default constructor. More...
 
 ExchangeCurrent (const ReactionData &rdata)
 Constructor with Arrhenius parameters from a ReactionData struct. More...
 
 ExchangeCurrent (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 updateRC (doublereal logT, doublereal recipT) const
 Update the value the rate constant. More...
 
void writeUpdateRHS (std::ostream &s) const
 
doublereal activationEnergy_R () const
 

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 270 of file RxnRates.h.

Constructor & Destructor Documentation

ExchangeCurrent ( )
inline

Default constructor.

Definition at line 280 of file RxnRates.h.

ExchangeCurrent ( const ReactionData rdata)
inlineexplicit

Constructor with Arrhenius parameters from a ReactionData struct.

Definition at line 287 of file RxnRates.h.

ExchangeCurrent ( 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 304 of file RxnRates.h.

Member Function Documentation

static int type ( )
inlinestatic

return the rate coefficient type.

Definition at line 275 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 320 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 331 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 342 of file RxnRates.h.


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