7 #ifndef CT_LIQUIDTRANINTERACTION_H
8 #define CT_LIQUIDTRANINTERACTION_H
75 LTI_MODEL_LOG_MOLEFRACS,
76 LTI_MODEL_PAIRWISE_INTERACTION,
77 LTI_MODEL_STEFANMAXWELL_PPN,
78 LTI_MODEL_STOKES_EINSTEIN,
79 LTI_MODEL_MOLEFRACS_EXPT,
130 virtual doublereal
getMixTransProp(doublereal* speciesValues, doublereal* weightSpecies = 0) {
138 virtual void getMatrixTransProp(DenseMatrix& mat, doublereal* speciesValues = 0) {
140 throw NotImplementedError(
"LiquidTranInteraction::getMixTransProp");
195 doublereal getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
196 doublereal getMixTransProp(std::vector<LTPspecies*> LTPptrs) ;
203 void getMatrixTransProp(
DenseMatrix& mat, doublereal* speciesValues = 0);
234 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
276 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
333 m_model = LTI_MODEL_LOG_MOLEFRACS;
347 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
386 m_model = LTI_MODEL_PAIRWISE_INTERACTION;
402 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
413 std::vector<LTPspecies*> m_diagonals;
492 m_model = LTI_MODEL_STEFANMAXWELL_PPN;
508 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
519 doublereal m_ionCondMix;
521 std::vector<LTPspecies*> m_ionCondSpecies;
522 typedef std::vector<LTPspecies*> LTPvector;
524 std::vector<LiquidTranInteraction*> m_mobRatMixModel;
525 std::vector<LTPvector> m_mobRatSpecies;
527 std::vector<LiquidTranInteraction*> m_selfDiffMixModel;
529 std::vector<LTPvector> m_selfDiffSpecies;
538 m_model = LTI_MODEL_STOKES_EINSTEIN;
547 void setParameters(LiquidTransportParams& trParam);
555 doublereal getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
556 doublereal getMixTransProp(std::vector<LTPspecies*> LTPptrs) ;
563 void getMatrixTransProp(DenseMatrix& mat, doublereal* speciesValues = 0) ;
566 std::vector<LTPspecies*> m_viscosity;
567 std::vector<LTPspecies*> m_hydroRadius;
583 m_model = LTI_MODEL_MOLEFRACS_EXPT;
597 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
thermo_t * m_thermo
pointer to thermo object to get current temperature
doublereal getMixTransProp(doublereal *valueSpecies, doublereal *weightSpecies=0)
Copy constructor.
TransportPropertyType
Enumeration of the types of transport properties that can be handled by the variables in the various ...
LiquidTranMixingModel m_model
Model for species interaction effects Takes enum LiquidTranMixingModel.
std::vector< DenseMatrix * > m_Hij
Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (in energy units...
An error indicating that an unimplemented function has been called.
Simple mass fraction weighting of transport properties.
doublereal getMixTransProp(doublereal *valueSpecies, doublereal *weightSpecies=0)
Return the mixture transport property value.
std::vector< DenseMatrix * > m_Bij
Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (linear temperat...
std::vector< DenseMatrix * > m_Aij
Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (no temperature ...
Class XML_Node is a tree-based representation of the contents of an XML file.
Transport properties that act like pairwise interactions as in binary diffusion coefficients.
TransportPropertyType m_property
enum indicating what property this is (i.e viscosity)
void getMatrixTransProp(DenseMatrix &mat, doublereal *speciesValues=0)
Return the matrix of binary interaction parameters.
virtual doublereal getMixTransProp(doublereal *speciesValues, doublereal *weightSpecies=0)
Return the mixture transport property value.
void getMatrixTransProp(DenseMatrix &mat, doublereal *speciesValues=0)
Return the matrix of binary interaction parameters.
void getMatrixTransProp(DenseMatrix &mat, doublereal *speciesValues=0)
Return the matrix of binary interaction parameters.
void getMatrixTransProp(DenseMatrix &mat, doublereal *speciesValues=0)
Return the matrix of binary interaction parameters.
Header file defining class LiquidTransportData.
Base class for a phase with thermodynamic properties.
Class LiquidTransportParams holds transport model parameters relevant to transport in mixtures...
void getMatrixTransProp(DenseMatrix &mat, doublereal *speciesValues=0)
Return the matrix of binary interaction parameters.
void setParameters(LiquidTransportParams &trParam)
Copy constructor.
Mixing rule using logarithms of the mole fractions.
DenseMatrix m_Dij
Matrix of interactions.
Classes providing support for XML data files.
LiquidTranMixingModel
Composition dependence type for liquid mixture transport properties.
void setParameters(LiquidTransportParams &trParam)
Copy constructor.
LiquidTranInteraction(TransportPropertyType tp_ind=TP_UNKNOWN)
Constructor.
std::vector< DenseMatrix * > m_Sij
Matrix of interaction coefficients for polynomial in molefraction*weight of speciesA (in entropy unit...
Simple mole fraction weighting of transport properties.
void getMatrixTransProp(DenseMatrix &mat, doublereal *speciesValues=0)
Return the matrix of binary interaction parameters.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
doublereal getMixTransProp(doublereal *valueSpecies, doublereal *weightSpecies=0)
Copy constructor.
doublereal getMixTransProp(doublereal *valueSpecies, doublereal *weightSpecies=0)
Return the mixture transport property value.
Stefan Maxwell Diffusion Coefficients can be solved for given ion conductivity, mobility ratios...
Simple mole fraction weighting of transport properties.
doublereal getMixTransProp(doublereal *valueSpecies, doublereal *weightSpecies=0)
Copy constructor.
virtual void init(const XML_Node &compModelNode=XML_Node(), thermo_t *thermo=0)
initialize LiquidTranInteraction objects with thermo and XML node
doublereal getMixTransProp(doublereal *valueSpecies, doublereal *weightSpecies=0)
Copy constructor.
DenseMatrix m_Eij
Matrix of interactions (in energy units, 1/RT temperature dependence)
Base class to handle transport property evaluation in a mixture.
Class that holds the data that is read in from the XML file, and which is used for processing of the ...
A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operat...