Cantera  2.0
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.
 
 ExchangeCurrent (const ReactionData &rdata)
 Constructor with Arrhenius parameters from a ReactionData struct.
 
 ExchangeCurrent (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 373 of file RxnRates.h.

Constructor & Destructor Documentation

ExchangeCurrent ( )
inline

Default constructor.

Definition at line 383 of file RxnRates.h.

ExchangeCurrent ( const ReactionData &  rdata)
inlineexplicit

Constructor with Arrhenius parameters from a ReactionData struct.

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

Member Function Documentation

static int type ( )
inlinestatic

return the rate coefficient type.

Definition at line 378 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 423 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 434 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 445 of file RxnRates.h.


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