Cantera  2.1.2
LiquidTransportParams.h
Go to the documentation of this file.
1 /**
2  * @file LiquidTransportParams.h
3  * Header file defining class LiquidTransportParams
4  */
5 
6 #ifndef CT_LIQUIDTRANSPORTPARAMS_H
7 #define CT_LIQUIDTRANSPORTPARAMS_H
8 
9 #include "TransportBase.h"
10 #include "TransportParams.h"
11 #include "LiquidTransportData.h"
12 #include "LiquidTranInteraction.h"
13 #include "cantera/base/xml.h"
14 #include "cantera/base/XML_Writer.h"
15 
16 namespace Cantera
17 {
18 
19 //! Class LiquidTransportParams holds transport model parameters
20 //! relevant to transport in mixtures.
21 /*!
22  * This class is used by TransportFactory to initialize transport objects.
23  */
25 {
26 public:
30  LiquidTransportParams& operator=(const LiquidTransportParams& right);
31 
32  //! Species transport parameters
33  std::vector<Cantera::LiquidTransportData> LTData;
34 
35  //! Object that specifies the viscosity interaction for the mixture
37 
38  //! Object that specifes the ionic Conductivity of the mixture
40 
41  //! Vector of pointer to the LiquidTranInteraction object which handles the calculation of
42  //! each species' mobility ratios for the phase
43  /*!
44  * mobRat(i,j) = mu_i / mu_j
45  *
46  * It is returned in fortran-ordering format. ie. it is returned as mobRat[k], where
47  *
48  * k = j * nsp + i
49  */
50  std::vector<LiquidTranInteraction*> mobilityRatio;
51 
52  //! Vector of pointer to the LiquidTranInteraction object which handles
53  //! the calculation of each species' self diffusion coefficient for the
54  //! phase
55  std::vector<LiquidTranInteraction*> selfDiffusion;
56 
57  //! Pointer to the LiquidTranInteraction object which handles the
58  //! calculation of the mixture thermal conductivity for the phase
60 
61  //! Pointer to the LiquidTranInteraction object which handles the
62  //! calculation of the species diffusivity for the phase
64 
65  //! Pointer to the LiquidTranInteraction object which handles the
66  //! calculation of the electrical conductivity for the phase
68 
69  //! Pointer to the LiquidTranInteraction object which handles the
70  //! calculation of the hydrodynamic radius for the phase
71  /*!
72  * @note I don't understand at the moment how one can define a
73  * hydrodynamic radius for the phase
74  */
76 
77  //! Model for species interaction effects for viscosity
78  //! Takes enum LiquidTranMixingModel
80 
81  //! Model for species interaction effects for ionic conductivity
82  //! Takes enum LiquidTranMixingModel
84 
85  //! Model for species interaction effects for mobility ratio
86  //! Takes enum LiquidTranMixingModel
87  std::vector<LiquidTranMixingModel*> model_mobilityRatio;
88 
89  //! Model for species interaction effects for mobility ratio
90  //! Takes enum LiquidTranMixingModel
91  std::vector<LiquidTranMixingModel*> model_selfDiffusion;
92 
93  //! Interaction associated with linear weighting of
94  //! thermal conductivity.
95  /**
96  * This is used for either LTI_MODEL_MASSFRACS or LTI_MODEL_MOLEFRACS. The
97  * overall formula for the mixture viscosity is
98  *
99  * \f[ \eta_{mix} = \sum_i X_i \eta_i
100  * + \sum_i \sum_j X_i X_j A_{i,j} \f].
101  */
103 
104  //! Model for species interaction effects for mass diffusivity
105  //! Takes enum LiquidTranMixingModel
107 
108  //! Interaction associated with linear weighting of
109  //! thermal conductivity.
110  /**
111  * This is used for either LTI_MODEL_PAIRWISE_INTERACTION or
112  * LTI_MODEL_STEFANMAXWELL_PPN. These provide species interaction
113  * coefficients associated with the Stefan-Maxwell formulation.
114  */
116 
117  //! Model for species interaction effects for hydrodynamic radius
118  //! Takes enum LiquidTranMixingModel
120 
121  //! Interaction associated with hydrodynamic radius.
122  /**
123  * Not yet implemented
124  */
126 };
127 
128 }
129 
130 #endif
LiquidTranMixingModel model_ionConductivity
Model for species interaction effects for ionic conductivity Takes enum LiquidTranMixingModel.
DenseMatrix radius_Aij
Interaction associated with hydrodynamic radius.
std::vector< LiquidTranInteraction * > mobilityRatio
Vector of pointer to the LiquidTranInteraction object which handles the calculation of each species' ...
LiquidTranMixingModel model_hydroradius
Model for species interaction effects for hydrodynamic radius Takes enum LiquidTranMixingModel.
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
LiquidTranInteraction * viscosity
Object that specifies the viscosity interaction for the mixture.
LiquidTranMixingModel model_speciesDiffusivity
Model for species interaction effects for mass diffusivity Takes enum LiquidTranMixingModel.
Header file defining class LiquidTransportData.
Class LiquidTransportParams holds transport model parameters relevant to transport in mixtures...
std::vector< LiquidTranInteraction * > selfDiffusion
Vector of pointer to the LiquidTranInteraction object which handles the calculation of each species' ...
LiquidTranInteraction * ionConductivity
Object that specifes the ionic Conductivity of the mixture.
Header file defining the class LiquidTranInteraction and classes which derive from LiquidTranInteract...
Classes providing support for XML data files.
DenseMatrix thermalCond_Aij
Interaction associated with linear weighting of thermal conductivity.
LiquidTranMixingModel
Composition dependence type for liquid mixture transport properties.
LiquidTranInteraction * speciesDiffusivity
Pointer to the LiquidTranInteraction object which handles the calculation of the species diffusivity ...
std::vector< Cantera::LiquidTransportData > LTData
Species transport parameters.
std::vector< LiquidTranMixingModel * > model_selfDiffusion
Model for species interaction effects for mobility ratio Takes enum LiquidTranMixingModel.
std::vector< LiquidTranMixingModel * > model_mobilityRatio
Model for species interaction effects for mobility ratio Takes enum LiquidTranMixingModel.
DenseMatrix diff_Dij
Interaction associated with linear weighting of thermal conductivity.
LiquidTranInteraction * hydroRadius
Pointer to the LiquidTranInteraction object which handles the calculation of the hydrodynamic radius ...
LiquidTranMixingModel model_viscosity
Model for species interaction effects for viscosity Takes enum LiquidTranMixingModel.
Base structure to hold transport model parameters.
Base class to handle transport property evaluation in a mixture.
LiquidTranInteraction * thermalCond
Pointer to the LiquidTranInteraction object which handles the calculation of the mixture thermal cond...
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...
Definition: DenseMatrix.h:70
LiquidTranInteraction * electCond
Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductiv...