Cantera  2.4.0
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...
 
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.

Deprecated:
To be removed after Cantera 2.4

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 108 of file LiquidTranInteraction.h.

Constructor & Destructor Documentation

◆ LiquidTranInteraction()

LiquidTranInteraction ( TransportPropertyType  tp_ind = TP_UNKNOWN)

Constructor.

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

Definition at line 33 of file LiquidTranInteraction.cpp.

Member Function Documentation

◆ init()

void init ( const XML_Node compModelNode = XML_Node(),
thermo_t thermo = 0 
)
virtual

◆ getMixTransProp()

virtual doublereal getMixTransProp ( doublereal *  speciesValues,
doublereal *  weightSpecies = 0 
)
inlinevirtual

Member Data Documentation

◆ m_model

LiquidTranMixingModel m_model
protected

Model for species interaction effects. Takes enum LiquidTranMixingModel.

Definition at line 145 of file LiquidTranInteraction.h.

◆ m_property

TransportPropertyType m_property
protected

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

Definition at line 148 of file LiquidTranInteraction.h.

◆ m_thermo

thermo_t* m_thermo
protected

◆ m_Aij

std::vector<DenseMatrix*> m_Aij
protected

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

Definition at line 155 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().

◆ m_Bij

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 159 of file LiquidTranInteraction.h.

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

◆ m_Eij

DenseMatrix m_Eij
protected

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

Definition at line 162 of file LiquidTranInteraction.h.

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

◆ m_Hij

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 166 of file LiquidTranInteraction.h.

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

◆ m_Sij

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 170 of file LiquidTranInteraction.h.

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

◆ m_Dij

DenseMatrix m_Dij
protected

Matrix of interactions.

Definition at line 173 of file LiquidTranInteraction.h.

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


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