Cantera  2.0
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.
 
virtual ~SRI3 ()
 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 3-parameter SRI falloff function
 
doublereal m_b
 parameter b in the 3-parameter SRI falloff function
 
doublereal m_c
 parameter c in the 3-parameter SRI falloff function
 

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

Constructor & Destructor Documentation

SRI3 ( )
inline

Constructor.

Definition at line 340 of file FalloffFactory.cpp.

virtual ~SRI3 ( )
inlinevirtual

Destructor.

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

Implements Falloff.

Definition at line 350 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 369 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

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 381 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 389 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 399 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 405 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 411 of file FalloffFactory.cpp.

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


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