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

The 5-parameter SRI falloff function. More...

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

Public Member Functions

 SRI5 ()
 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 5-parameter SRI falloff function. This is unitless. More...
 
doublereal m_b
 parameter b in the 5-parameter SRI falloff function. More...
 
doublereal m_c
 parameter c in the 5-parameter SRI falloff function. More...
 
doublereal m_d
 parameter d in the 5-parameter SRI falloff function. This is unitless. More...
 
doublereal m_e
 parameter d in the 5-parameter SRI falloff function. This is unitless. More...
 

Detailed Description

The 5-parameter SRI falloff function.

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 \; d \; exp(\frac{-e}{T}) \]

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.

m_c is required to greater than or equal to zero. If it is zero, then the corresponding term is set to zero.

m_d is required to be greater than zero.

Definition at line 317 of file FalloffFactory.cpp.

Constructor & Destructor Documentation

SRI5 ( )
inline

Constructor.

Definition at line 321 of file FalloffFactory.cpp.

Member Function Documentation

virtual void init ( const vector_fp c)
inlinevirtual

Initialization of the object.

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

Reimplemented from Falloff.

Definition at line 328 of file FalloffFactory.cpp.

References Cantera::fp2str(), SRI5::m_a, SRI5::m_b, SRI5::m_c, SRI5::m_d, and SRI5::m_e.

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

Update the temperature parameters in the representation.

The workspace has a length of two

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

Reimplemented from Falloff.

Definition at line 353 of file FalloffFactory.cpp.

References SRI5::m_a, SRI5::m_b, SRI5::m_c, SRI5::m_d, and SRI5::m_e.

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 361 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 367 of file FalloffFactory.cpp.

Member Data Documentation

doublereal m_a
protected

parameter a in the 5-parameter SRI falloff function. This is unitless.

Definition at line 373 of file FalloffFactory.cpp.

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

doublereal m_b
protected

parameter b in the 5-parameter SRI falloff function.

This has units of Kelvin.

Definition at line 377 of file FalloffFactory.cpp.

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

doublereal m_c
protected

parameter c in the 5-parameter SRI falloff function.

This has units of Kelvin.

Definition at line 381 of file FalloffFactory.cpp.

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

doublereal m_d
protected

parameter d in the 5-parameter SRI falloff function. This is unitless.

Definition at line 384 of file FalloffFactory.cpp.

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

doublereal m_e
protected

parameter d in the 5-parameter SRI falloff function. This is unitless.

Definition at line 387 of file FalloffFactory.cpp.

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


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