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

Simple mole fraction weighting of transport properties. More...

#include <LiquidTranInteraction.h>

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

Public Member Functions

 LTI_MoleFracs_ExpT (TransportPropertyType tp_ind=TP_UNKNOWN)
 
doublereal getMixTransProp (doublereal *valueSpecies, doublereal *weightSpecies=0)
 Copy constructor. More...
 
doublereal getMixTransProp (std::vector< LTPspecies * > LTPptrs)
 
void getMatrixTransProp (DenseMatrix &mat, doublereal *speciesValues=0)
 Return the matrix of binary interaction parameters. More...
 
- Public Member Functions inherited from LiquidTranInteraction
 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)
 

Additional Inherited Members

- Protected Attributes inherited from LiquidTranInteraction
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

Simple mole fraction weighting of transport properties.

This model weights the transport property by the mole fractions. The overall formula for the mixture viscosity is

\[ \eta_{mix} = \sum_i X_i \eta_i + \sum_i \sum_j X_i X_j A_{i,j} \]

.

Definition at line 578 of file LiquidTranInteraction.h.

Member Function Documentation

doublereal getMixTransProp ( doublereal *  valueSpecies,
doublereal *  weightSpecies = 0 
)
virtual

Copy constructor.

Assignment operator Return the mixture transport property value. Takes the separate species transport properties as input (this method does not know what transport property it is at this point.

Reimplemented from LiquidTranInteraction.

Definition at line 712 of file LiquidTranInteraction.cpp.

References Phase::getMoleFractions(), LiquidTranInteraction::m_Aij, LiquidTranInteraction::m_Bij, LiquidTranInteraction::m_thermo, Phase::nSpecies(), and Phase::temperature().

void getMatrixTransProp ( DenseMatrix mat,
doublereal *  speciesValues = 0 
)
inlinevirtual

Return the matrix of binary interaction parameters.

Takes the proper mixing rule for the binary interaction parameters and calculates them: Not Implemented for this mixing rule

Reimplemented from LiquidTranInteraction.

Definition at line 605 of file LiquidTranInteraction.h.

References LiquidTranInteraction::m_Aij.


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