Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
LiquidTranInteraction Class Reference

Base class to handle transport property evaluation in a mixture. More...

#include <LiquidTranInteraction.h>

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

Public Member Functions

 LiquidTranInteraction (TransportPropertyType tp_ind=TP_UNKNOWN)
 Constructor. More...
 
 LiquidTranInteraction (const LiquidTranInteraction &right)
 
LiquidTranInteractionoperator= (const LiquidTranInteraction &right)
 
virtual void init (const XML_Node &compModelNode=XML_Node(), thermo_t *thermo=0)
 initialize LiquidTranInteraction objects with thermo and XML node More...
 
virtual void setParameters (LiquidTransportParams &trParam)
 
virtual doublereal getMixTransProp (doublereal *speciesValues, doublereal *weightSpecies=0)
 Return the mixture transport property value. More...
 
virtual doublereal getMixTransProp (std::vector< LTPspecies * > LTPptrs)
 
virtual void getMatrixTransProp (DenseMatrix &mat, doublereal *speciesValues=0)
 

Protected Attributes

LiquidTranMixingModel m_model
 Model for species interaction effects Takes enum LiquidTranMixingModel. More...
 
TransportPropertyType m_property
 enum indicating what property this is (i.e viscosity) More...
 
thermo_tm_thermo
 pointer to thermo object to get current temperature More...
 
std::vector< DenseMatrix * > m_Aij
 Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (no temperature dependence, dimensionless) More...
 
std::vector< DenseMatrix * > m_Bij
 Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (linear temperature dependence, units 1/K) More...
 
DenseMatrix m_Eij
 Matrix of interactions (in energy units, 1/RT temperature dependence) More...
 
std::vector< DenseMatrix * > m_Hij
 Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (in energy units, 1/RT temperature dependence) More...
 
std::vector< DenseMatrix * > m_Sij
 Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (in entropy units, divided by R) More...
 
DenseMatrix m_Dij
 Matrix of interactions. More...
 

Detailed Description

Base class to handle transport property evaluation in a mixture.

In a mixture, the mixture transport properties will generally depend on the contributions of each of the standard state species transport properties. Many composition dependencies are possible. This class, LiquidTranInteraction, is designed to be a base class for the implementation of various models for the mixing of standard state species transport properties.

There are two very broad types of transport properties to consider. First, there are properties for which a mixture value can be obtained through some mixing rule. These are obtained using the method getMixTransProp(). Viscosity is typical of this. Second, there are properties for which a matrix of properties may exist. This matrix of properties is obtained from the method getMatrixTransProp(). Diffusion coefficients are of this type. Subclasses should implement the appropriate one or both of these methods.

Definition at line 103 of file LiquidTranInteraction.h.

Constructor & Destructor Documentation

LiquidTranInteraction ( TransportPropertyType  tp_ind = TP_UNKNOWN)

Constructor.

Parameters
tp_indIndex indicating the transport property type (e.g., viscosity)

Definition at line 42 of file LiquidTranInteraction.cpp.

Member Function Documentation

void init ( const XML_Node compModelNode = XML_Node(),
thermo_t thermo = 0 
)
virtual
virtual doublereal getMixTransProp ( doublereal *  speciesValues,
doublereal *  weightSpecies = 0 
)
inlinevirtual

Member Data Documentation

LiquidTranMixingModel m_model
protected

Model for species interaction effects Takes enum LiquidTranMixingModel.

Definition at line 146 of file LiquidTranInteraction.h.

TransportPropertyType m_property
protected

enum indicating what property this is (i.e viscosity)

Definition at line 149 of file LiquidTranInteraction.h.

thermo_t* m_thermo
protected
std::vector<DenseMatrix*> m_Aij
protected

Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (no temperature dependence, dimensionless)

Definition at line 158 of file LiquidTranInteraction.h.

Referenced by LTI_MoleFracs::getMatrixTransProp(), LTI_MassFracs::getMatrixTransProp(), LTI_MoleFracs_ExpT::getMatrixTransProp(), LTI_MoleFracs::getMixTransProp(), LTI_MassFracs::getMixTransProp(), LTI_MoleFracs_ExpT::getMixTransProp(), and LiquidTranInteraction::init().

std::vector<DenseMatrix*> m_Bij
protected

Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (linear temperature dependence, units 1/K)

Definition at line 162 of file LiquidTranInteraction.h.

Referenced by LTI_MoleFracs::getMixTransProp(), LTI_MassFracs::getMixTransProp(), LTI_MoleFracs_ExpT::getMixTransProp(), and LiquidTranInteraction::init().

DenseMatrix m_Eij
protected

Matrix of interactions (in energy units, 1/RT temperature dependence)

Definition at line 165 of file LiquidTranInteraction.h.

Referenced by LTI_Log_MoleFracs::getMatrixTransProp(), LTI_Pairwise_Interaction::getMatrixTransProp(), and LiquidTranInteraction::init().

std::vector<DenseMatrix*> m_Hij
protected

Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (in energy units, 1/RT temperature dependence)

Definition at line 169 of file LiquidTranInteraction.h.

Referenced by LTI_Log_MoleFracs::getMixTransProp(), and LiquidTranInteraction::init().

std::vector<DenseMatrix*> m_Sij
protected

Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (in entropy units, divided by R)

Definition at line 173 of file LiquidTranInteraction.h.

Referenced by LTI_Log_MoleFracs::getMixTransProp(), and LiquidTranInteraction::init().

DenseMatrix m_Dij
protected

Matrix of interactions.

Definition at line 176 of file LiquidTranInteraction.h.

Referenced by LTI_Pairwise_Interaction::getMatrixTransProp(), and LiquidTranInteraction::init().


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