Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 "TransportParams.h"
10 #include "LiquidTranInteraction.h"
11 
12 namespace Cantera
13 {
14 
15 //! Class LiquidTransportParams holds transport model parameters
16 //! relevant to transport in mixtures.
17 /*!
18  * This class is used by TransportFactory to initialize transport objects.
19  */
21 {
22 public:
26  LiquidTransportParams& operator=(const LiquidTransportParams& right);
27 
28  //! Species transport parameters
29  std::vector<Cantera::LiquidTransportData> LTData;
30 
31  //! Object that specifies the viscosity interaction for the mixture
33 
34  //! Object that specifes the ionic Conductivity of the mixture
36 
37  //! Vector of pointer to the LiquidTranInteraction object which handles the calculation of
38  //! the mobility ratios for the phase
39  /*!
40  * The mobility ratio is defined via the following quantity where i and j are species indecises.
41  *
42  * mobRat(i,j) = mu_i / mu_j
43  *
44  * It is returned in fortran-ordering format. ie. it is returned as mobRat[k], where
45  *
46  * k = j * nsp + i
47  *
48  * Length = nsp * nsp
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 phase
54  std::vector<LiquidTranInteraction*> selfDiffusion;
55 
56  //! Pointer to the LiquidTranInteraction object which handles the
57  //! calculation of the mixture thermal conductivity for the phase
59 
60  //! Pointer to the LiquidTranInteraction object which handles the
61  //! calculation of the species diffusivity for the phase
63 
64  //! Pointer to the LiquidTranInteraction object which handles the
65  //! calculation of the electrical conductivity for the phase
67 
68  //! Pointer to the LiquidTranInteraction object which handles the
69  //! calculation of the hydrodynamic radius for the phase
70  /*!
71  * @note I don't understand at the moment how one can define a
72  * hydrodynamic radius for the phase
73  */
75 
76  //! Model for species interaction effects for viscosity
77  //! Takes enum LiquidTranMixingModel
79 
80  //! Model for species interaction effects for ionic conductivity
81  //! Takes enum LiquidTranMixingModel
83 
84  //! Model for species interaction effects for mobility ratio
85  //! Takes enum LiquidTranMixingModel
86  std::vector<LiquidTranMixingModel*> model_mobilityRatio;
87 
88  //! Model for species interaction effects for mobility ratio
89  //! Takes enum LiquidTranMixingModel
90  std::vector<LiquidTranMixingModel*> model_selfDiffusion;
91 
92  //! Interaction associated with linear weighting of
93  //! thermal conductivity.
94  /**
95  * This is used for either LTI_MODEL_MASSFRACS or LTI_MODEL_MOLEFRACS. The
96  * overall formula for the mixture viscosity is
97  *
98  * \f[ \eta_{mix} = \sum_i X_i \eta_i
99  * + \sum_i \sum_j X_i X_j A_{i,j} \f].
100  */
102 
103  //! Model for species interaction effects for mass diffusivity
104  //! Takes enum LiquidTranMixingModel
106 
107  //! Interaction associated with linear weighting of
108  //! thermal conductivity.
109  /**
110  * This is used for either LTI_MODEL_PAIRWISE_INTERACTION or
111  * LTI_MODEL_STEFANMAXWELL_PPN. These provide species interaction
112  * coefficients associated with the Stefan-Maxwell formulation.
113  */
115 
116  //! Model for species interaction effects for hydrodynamic radius
117  //! Takes enum LiquidTranMixingModel
119 
120  //! Interaction associated with hydrodynamic radius.
121  /**
122  * Not yet implemented
123  */
125 
126  //! Default composition dependence of the transport properties
127  /*!
128  *
129  * Permissible types of composition dependencies
130  * 0 - Solvent values (i.e., species 0) contributes only
131  * 1 - linear combination of mole fractions;
132  */
134 
135 };
136 
137 }
138 
139 #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 the mobility r...
LiquidTranMixingModel model_hydroradius
Model for species interaction effects for hydrodynamic radius Takes enum LiquidTranMixingModel.
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.
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...
DenseMatrix thermalCond_Aij
Interaction associated with linear weighting of thermal conductivity.
LiquidTranMixingModel
Composition dependence type for liquid mixture transport properties.
LiquidTranMixingModel compositionDepTypeDefault_
Default composition dependence of the 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:71
LiquidTranInteraction * electCond
Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductiv...