Cantera  2.0
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.
 
virtual ~SRI5 ()
 Destructor.
 
virtual void init (const vector_fp &c)
 Initialization of the object.
 
virtual void updateTemp (doublereal T, doublereal *work) const
 Update the temperature parameters in the representation.
 
virtual doublereal F (doublereal pr, const doublereal *work) const
 Function that returns F
 
virtual size_t workSize ()
 Utility function that returns the size of the workspace.
 

Protected Attributes

doublereal m_a
 parameter a in the 5-parameter SRI falloff function
 
doublereal m_b
 parameter b in the 5-parameter SRI falloff function
 
doublereal m_c
 parameter c in the 5-parameter SRI falloff function
 
doublereal m_d
 parameter d in the 5-parameter SRI falloff function
 
doublereal m_e
 parameter d in the 5-parameter SRI falloff function
 

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

Constructor & Destructor Documentation

SRI5 ( )
inline

Constructor.

Definition at line 453 of file FalloffFactory.cpp.

virtual ~SRI5 ( )
inlinevirtual

Destructor.

Definition at line 456 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

Implements Falloff.

Definition at line 463 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 488 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

Function that returns F

Parameters
prValue of the reduced pressure for this reaction
workPointer to the previously saved work space

Implements Falloff.

Definition at line 501 of file FalloffFactory.cpp.

References ckr::max(), and Cantera::SmallNumber.

virtual size_t workSize ( )
inlinevirtual

Utility function that returns the size of the workspace.

Implements Falloff.

Definition at line 508 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 518 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 524 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 530 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 536 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 542 of file FalloffFactory.cpp.

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


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