Wang-Frenklach falloff function. More...
Public Member Functions | |
WF93 () | |
Default constructpr. | |
virtual | ~WF93 () |
Destructor. | |
virtual void | init (const vector_fp &c) |
Initialization routine. | |
virtual void | updateTemp (doublereal T, workPtr work) const |
Update the temperature parameters in the representation. | |
virtual doublereal | F (doublereal pr, const_workPtr work) const |
Function that returns F | |
virtual size_t | workSize () |
Utility function that returns the size of the workspace. | |
Protected Attributes | |
doublereal | m_alpha0 |
Value of the coefficient. | |
doublereal | m_alpha1 |
Value of the coefficient. | |
doublereal | m_alpha2 |
Value of the coefficient. | |
doublereal | m_sigma0 |
Value of the coefficient. | |
doublereal | m_sigma1 |
Value of the coefficient. | |
doublereal | m_sigma2 |
Value of the coefficient. | |
doublereal | m_a |
Value of the coefficient. | |
doublereal | m_rt1 |
Value of inverse of the coefficient. | |
doublereal | m_t2 |
Value of the coefficient. | |
doublereal | m_rt3 |
Value of the inverse of the coefficient. |
Wang-Frenklach falloff function.
The falloff function defines the value of in the following rate expression
where
where
where
Reference: Wang, H., and Frenklach, M., Chem. Phys. Lett. vol. 205, 271 (1993).
Definition at line 575 of file FalloffFactory.cpp.
WF93 | ( | ) | [inline] |
Default constructpr.
Definition at line 580 of file FalloffFactory.cpp.
virtual ~WF93 | ( | ) | [inline, virtual] |
Destructor.
Definition at line 583 of file FalloffFactory.cpp.
virtual doublereal F | ( | doublereal | pr, | |
const_workPtr | work | |||
) | const [inline, virtual] |
Function that returns F
pr | Value of the reduced pressure for this reaction | |
work | Pointer to the previously saved work space |
Implements Falloff.
Definition at line 627 of file FalloffFactory.cpp.
References Cantera::fmaxx(), and Cantera::SmallNumber.
virtual void init | ( | const vector_fp & | c | ) | [inline, virtual] |
Initialization routine.
c | Vector of 10 doubles with the following ordering: a, T_1, T_2, T_3, alpha0, alpha1, alpha2 sigma0, sigma1, sigma2 |
Implements Falloff.
Definition at line 592 of file FalloffFactory.cpp.
References WF93::m_a, WF93::m_alpha0, WF93::m_alpha1, WF93::m_alpha2, WF93::m_rt1, WF93::m_rt3, WF93::m_sigma0, WF93::m_sigma1, WF93::m_sigma2, and WF93::m_t2.
virtual void updateTemp | ( | doublereal | T, | |
workPtr | work | |||
) | const [inline, virtual] |
Update the temperature parameters in the representation.
The workspace has a length of three
T | Temperature (Kelvin) | |
work | Vector of working space representing the temperature dependent part of the parameterization. |
Reimplemented from Falloff.
Definition at line 614 of file FalloffFactory.cpp.
References WF93::m_a, WF93::m_alpha0, WF93::m_alpha1, WF93::m_alpha2, WF93::m_rt1, WF93::m_rt3, WF93::m_sigma0, WF93::m_sigma1, WF93::m_sigma2, and WF93::m_t2.
virtual size_t workSize | ( | ) | [inline, virtual] |
Utility function that returns the size of the workspace.
Implements Falloff.
Definition at line 635 of file FalloffFactory.cpp.
doublereal m_a [protected] |
Value of the coefficient.
This is the first coefficient in the xml list
Definition at line 679 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_alpha0 [protected] |
Value of the coefficient.
This is the fifth coefficient in the xml list
Definition at line 643 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_alpha1 [protected] |
Value of the coefficient.
This is the 6th coefficient in the xml list
Definition at line 649 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_alpha2 [protected] |
Value of the coefficient.
This is the 7th coefficient in the xml list
Definition at line 655 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_rt1 [protected] |
Value of inverse of the coefficient.
This is the second coefficient in the xml list
Definition at line 685 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_rt3 [protected] |
Value of the inverse of the coefficient.
This is the 4th coefficient in the xml list
Definition at line 697 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_sigma0 [protected] |
Value of the coefficient.
This is the 8th coefficient in the xml list
Definition at line 661 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_sigma1 [protected] |
Value of the coefficient.
This is the 9th coefficient in the xml list
Definition at line 667 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_sigma2 [protected] |
Value of the coefficient.
This is the 10th coefficient in the xml list
Definition at line 673 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().
doublereal m_t2 [protected] |
Value of the coefficient.
This is the third coefficient in the xml list
Definition at line 691 of file FalloffFactory.cpp.
Referenced by WF93::init(), and WF93::updateTemp().