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

The 3-parameter SRI falloff function for F More...

Inheritance diagram for SRI3:
[legend]
Collaboration diagram for SRI3:
[legend]

Public Member Functions

 SRI3 ()
 Constructor. More...
 
virtual void init (const vector_fp &c)
 Initialization of the object. More...
 
virtual void updateTemp (doublereal T, doublereal *work) const
 Update the temperature parameters in the representation. More...
 
virtual doublereal F (doublereal pr, const doublereal *work) const
 The falloff function. More...
 
virtual size_t workSize ()
 The size of the work array required. More...
 
- Public Member Functions inherited from Falloff
 Falloff ()
 Default constructor is empty. More...
 
virtual ~Falloff ()
 default destructor is empty More...
 

Protected Attributes

doublereal m_a
 parameter a in the 3-parameter SRI falloff function. More...
 
doublereal m_b
 parameter b in the 3-parameter SRI falloff function. More...
 
doublereal m_c
 parameter c in the 3-parameter SRI falloff function. More...
 

Detailed Description

The 3-parameter SRI falloff function for F

The falloff function defines the value of \( F \) in the following rate expression

\[ k = k_{\infty} \left( \frac{P_r}{1 + P_r} \right) F \]

where

\[ P_r = \frac{k_0 [M]}{k_{\infty}} \]

\[ F = {\left( a \; exp(\frac{-b}{T}) + exp(\frac{-T}{c})\right)}^n \]

where

\[ n = \frac{1.0}{1.0 + {\log_{10} P_r}^2} \]

\( c \) s required to greater than or equal to zero. If it is zero, then the corresponding term is set to zero.

Definition at line 232 of file FalloffFactory.cpp.

Constructor & Destructor Documentation

SRI3 ( )
inline

Constructor.

Definition at line 236 of file FalloffFactory.cpp.

Member Function Documentation

virtual void init ( const vector_fp c)
inlinevirtual

Initialization of the object.

Parameters
cVector of three doubles: The doubles are the parameters, a, b, and c of the SRI parameterization

Reimplemented from Falloff.

Definition at line 243 of file FalloffFactory.cpp.

References Cantera::fp2str(), SRI3::m_a, SRI3::m_b, and SRI3::m_c.

virtual void updateTemp ( doublereal  T,
doublereal *  work 
) const
inlinevirtual

Update the temperature parameters in the representation.

The workspace has a length of one

Parameters
TTemperature (Kelvin)
workVector of working space representing the temperature dependent part of the parameterization.

Reimplemented from Falloff.

Definition at line 262 of file FalloffFactory.cpp.

References SRI3::m_a, SRI3::m_b, and SRI3::m_c.

virtual doublereal F ( doublereal  pr,
const doublereal *  work 
) const
inlinevirtual

The falloff function.

This is defined so that the rate coefficient is

\[ k = F(Pr)\frac{Pr}{1 + Pr}. \]

Here \( Pr \) is the reduced pressure, defined by

\[ Pr = \frac{k_0 [M]}{k_\infty}. \]

Parameters
prreduced pressure (dimensionless).
workarray of size workSize() containing cached temperature-dependent intermediate results from a prior call to updateTemp.
Returns
Returns the value of the falloff function \( F \) defined above

Reimplemented from Falloff.

Definition at line 269 of file FalloffFactory.cpp.

References Cantera::SmallNumber.

virtual size_t workSize ( )
inlinevirtual

The size of the work array required.

Reimplemented from Falloff.

Definition at line 275 of file FalloffFactory.cpp.

Member Data Documentation

doublereal m_a
protected

parameter a in the 3-parameter SRI falloff function.

This is unitless.

Definition at line 282 of file FalloffFactory.cpp.

Referenced by SRI3::init(), and SRI3::updateTemp().

doublereal m_b
protected

parameter b in the 3-parameter SRI falloff function.

This has units of Kelvin.

Definition at line 286 of file FalloffFactory.cpp.

Referenced by SRI3::init(), and SRI3::updateTemp().

doublereal m_c
protected

parameter c in the 3-parameter SRI falloff function.

This has units of Kelvin.

Definition at line 290 of file FalloffFactory.cpp.

Referenced by SRI3::init(), and SRI3::updateTemp().


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