7 #ifndef CT_LIQUIDTRANINTERACTION_H
8 #define CT_LIQUIDTRANINTERACTION_H
15 #include "cantera/base/XML_Writer.h"
81 LTI_MODEL_LOG_MOLEFRACS,
82 LTI_MODEL_PAIRWISE_INTERACTION,
83 LTI_MODEL_STEFANMAXWELL_PPN,
84 LTI_MODEL_STOKES_EINSTEIN,
85 LTI_MODEL_MOLEFRACS_EXPT
143 virtual doublereal
getMixTransProp(doublereal* speciesValues, doublereal* weightSpecies = 0) {
151 virtual void getMatrixTransProp(DenseMatrix& mat, doublereal* speciesValues = 0) {
153 throw NotImplemented(
"LiquidTranInteraction::getMixTransProp");
204 virtual ~LTI_Solvent() { }
212 doublereal getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
213 doublereal getMixTransProp(std::vector<LTPspecies*> LTPptrs) ;
220 void getMatrixTransProp(DenseMatrix& mat, doublereal* speciesValues = 0);
260 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
313 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
376 m_model = LTI_MODEL_LOG_MOLEFRACS;
394 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
440 m_model = LTI_MODEL_PAIRWISE_INTERACTION;
460 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
471 std::vector<LTPspecies*> m_diagonals;
551 m_model = LTI_MODEL_STEFANMAXWELL_PPN;
571 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
583 doublereal m_ionCondMix;
585 std::vector<LTPspecies*> m_ionCondSpecies;
586 typedef std::vector<LTPspecies*> LTPvector;
588 std::vector<LiquidTranInteraction*> m_mobRatMixModel;
589 std::vector<LTPvector> m_mobRatSpecies;
591 std::vector<LiquidTranInteraction*> m_selfDiffMixModel;
593 std::vector<LTPvector> m_selfDiffSpecies;
597 class LTI_StokesEinstein :
public LiquidTranInteraction
602 LiquidTranInteraction(tp_ind) {
603 m_model = LTI_MODEL_STOKES_EINSTEIN;
613 virtual ~LTI_StokesEinstein() { }
615 void setParameters(LiquidTransportParams& trParam);
623 doublereal getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);
624 doublereal getMixTransProp(std::vector<LTPspecies*> LTPptrs) ;
631 void getMatrixTransProp(DenseMatrix& mat, doublereal* speciesValues = 0) ;
634 std::vector<LTPspecies*> m_viscosity;
635 std::vector<LTPspecies*> m_hydroRadius;
654 m_model = LTI_MODEL_MOLEFRACS_EXPT;
672 doublereal
getMixTransProp(doublereal* valueSpecies, doublereal* weightSpecies = 0);