Cantera
2.4.0
|
Class LTPspecies_Arrhenius holds transport parameters for a specific liquid- phase species (LTPspecies) when the transport property is expressed in Arrhenius form. More...
#include <LTPspecies.h>
Public Member Functions | |
virtual LTPspecies * | duplMyselfAsLTPspecies () const |
Duplication routine. More... | |
virtual void | setupFromXML (const XML_Node &propNode) |
Set up the species transport property from the XML node, <propNode> that is a child of the <transport> node in the species block and specifies a type of transport property (like viscosity) More... | |
doublereal | getSpeciesTransProp () |
Return the standard state species value for this transport property evaluated from the Arrhenius expression. More... | |
void | setCoeffs (double A, double n, double Tact) |
Public Member Functions inherited from LTPspecies | |
void | setThermo (thermo_t *thermo) |
Set the ThermoPhase object, which is used to find the temperature. More... | |
void | setName (const std::string &name) |
Set the species name. More... | |
void | setTransportPropertyType (TransportPropertyType tp_ind) |
TransportPropertyType containing the property id that this object is creating a parameterization for (e.g., viscosity) More... | |
virtual bool | checkPositive () const |
Check to see if the property evaluation will be positive. More... | |
doublereal | getMixWeight () const |
Return the weight mixture. More... | |
Protected Attributes | |
doublereal | m_temp |
temperature from thermo object More... | |
doublereal | m_logt |
logarithm of current temperature More... | |
doublereal | m_prop |
most recent evaluation of transport property More... | |
doublereal | m_logProp |
logarithm of most recent evaluation of transport property More... | |
Protected Attributes inherited from LTPspecies | |
std::string | m_speciesName |
Species Name for the property that is being described. More... | |
LTPTemperatureDependenceType | m_model |
Model type for the temperature dependence. More... | |
TransportPropertyType | m_property |
enum indicating which property this is (i.e viscosity) More... | |
vector_fp | m_coeffs |
Model temperature-dependence ceofficients. More... | |
const thermo_t * | m_thermo |
Pointer to a const thermo object to get current temperature. More... | |
doublereal | m_mixWeight |
Weighting used for mixing. More... | |
Class LTPspecies_Arrhenius holds transport parameters for a specific liquid- phase species (LTPspecies) when the transport property is expressed in Arrhenius form.
Used for standard state species properties with equations of the form
\[ x = A T^b \exp( - E / RT ) \]
where A, b, and E are passed in the XML input file.
As an example of the input required for LTPspecies_Arrhenius consider the following XML fragment
* <species> * <!-- thermodynamic properties --> * <transport> * <viscosity model="Arrhenius"> * <!-- Janz, JPCRD, 17, supplement 2, 1988 --> * <A>6.578e-5</A> * <b>0.0</b> * <E units="J/kmol">23788.e3</E> * </viscosity> * <!-- other transport properties --> * </transport> * </species> *
Definition at line 232 of file LTPspecies.h.
|
virtual |
Duplication routine.
(virtual from LTPspecies)
Reimplemented from LTPspecies.
Definition at line 123 of file LTPspecies.cpp.
|
virtual |
Set up the species transport property from the XML node, <propNode>
that is a child of the <transport>
node in the species block and specifies a type of transport property (like viscosity)
Reimplemented from LTPspecies.
Definition at line 128 of file LTPspecies.cpp.
References Cantera::getArrhenius(), and XML_Node::name().
|
virtual |
Return the standard state species value for this transport property evaluated from the Arrhenius expression.
In general the Arrhenius expression is
\[ \mu = A T^n \exp( - E / R T ). \]
Note that for viscosity, the convention is such that a positive activation energy corresponds to the typical case of a positive argument to the exponential so that the Arrhenius expression is
\[ \mu = A T^n \exp( + E / R T ). \]
Any temperature and composition dependence will be adjusted internally according to the information provided.
Reimplemented from LTPspecies.
Definition at line 143 of file LTPspecies.cpp.
|
protected |
temperature from thermo object
Definition at line 266 of file LTPspecies.h.
|
protected |
logarithm of current temperature
Definition at line 269 of file LTPspecies.h.
|
protected |
most recent evaluation of transport property
Definition at line 272 of file LTPspecies.h.
|
protected |
logarithm of most recent evaluation of transport property
Definition at line 275 of file LTPspecies.h.