Cantera  2.3.0
LiquidTransportParams.h
Go to the documentation of this file.
1 /**
2  * @file LiquidTransportParams.h
3  * Header file defining class LiquidTransportParams
4  */
5 
6 // This file is part of Cantera. See License.txt in the top-level directory or
7 // at http://www.cantera.org/license.txt for license and copyright information.
8 
9 #ifndef CT_LIQUIDTRANSPORTPARAMS_H
10 #define CT_LIQUIDTRANSPORTPARAMS_H
11 
12 #include "TransportParams.h"
13 #include "LiquidTranInteraction.h"
14 
15 namespace Cantera
16 {
17 
18 //! Class LiquidTransportParams holds transport model parameters relevant to
19 //! transport in mixtures.
20 /*!
21  * This class is used by TransportFactory to initialize transport objects.
22  */
24 {
25 public:
29  LiquidTransportParams& operator=(const LiquidTransportParams& right);
30 
31  //! Species transport parameters
32  std::vector<LiquidTransportData> LTData;
33 
34  //! Object that specifies the viscosity interaction for the mixture
36 
37  //! Object that specifies the ionic Conductivity of the mixture
39 
40  //! Vector of pointer to the LiquidTranInteraction object which handles the
41  //! calculation of the mobility ratios for the phase
42  /*!
43  * The mobility ratio is defined via the following quantity where i and j
44  * are species indices.
45  *
46  * mobRat(i,j) = mu_i / mu_j
47  *
48  * It is returned in fortran-ordering format. i.e. it is returned as
49  * mobRat[k], where
50  *
51  * k = j * nsp + i
52  *
53  * Length = nsp * nsp
54  */
55  std::vector<LiquidTranInteraction*> mobilityRatio;
56 
57  //! Vector of pointer to the LiquidTranInteraction object which handles the
58  //! calculation of each species' self diffusion coefficient for the phase
59  std::vector<LiquidTranInteraction*> selfDiffusion;
60 
61  //! Pointer to the LiquidTranInteraction object which handles the
62  //! calculation of the mixture thermal conductivity for the phase
64 
65  //! Pointer to the LiquidTranInteraction object which handles the
66  //! calculation of the species diffusivity for the phase
68 
69  //! Pointer to the LiquidTranInteraction object which handles the
70  //! calculation of the electrical conductivity for the phase
72 
73  //! Pointer to the LiquidTranInteraction object which handles the
74  //! calculation of the hydrodynamic radius for the phase
75  /*!
76  * @note I don't understand at the moment how one can define a
77  * hydrodynamic radius for the phase
78  */
80 
81  //! Model for species interaction effects for viscosity
82  //! Takes enum LiquidTranMixingModel
84 
85  //! Model for species interaction effects for ionic conductivity
86  //! Takes enum LiquidTranMixingModel
88 
89  //! Model for species interaction effects for mobility ratio
90  //! Takes enum LiquidTranMixingModel
91  std::vector<LiquidTranMixingModel*> model_mobilityRatio;
92 
93  //! Model for species interaction effects for mobility ratio
94  //! Takes enum LiquidTranMixingModel
95  std::vector<LiquidTranMixingModel*> model_selfDiffusion;
96 
97  //! Interaction associated with linear weighting of
98  //! thermal conductivity.
99  /**
100  * This is used for either LTI_MODEL_MASSFRACS or LTI_MODEL_MOLEFRACS. The
101  * overall formula for the mixture viscosity is
102  *
103  * \f[ \eta_{mix} = \sum_i X_i \eta_i + \sum_i \sum_j X_i X_j A_{i,j} \f].
104  */
106 
107  //! Model for species interaction effects for mass diffusivity
108  //! Takes enum LiquidTranMixingModel
110 
111  //! Interaction associated with linear weighting of
112  //! thermal conductivity.
113  /**
114  * This is used for either LTI_MODEL_PAIRWISE_INTERACTION or
115  * LTI_MODEL_STEFANMAXWELL_PPN. These provide species interaction
116  * coefficients associated with the Stefan-Maxwell formulation.
117  */
119 
120  //! Model for species interaction effects for hydrodynamic radius
121  //! Takes enum LiquidTranMixingModel
123 
124  //! Interaction associated with hydrodynamic radius.
125  /**
126  * Not yet implemented
127  */
129 
130  //! Default composition dependence of the transport properties
131  /*!
132  * Permissible types of composition dependencies
133  * 0 - Solvent values (i.e., species 0) contributes only
134  * 1 - linear combination of mole fractions;
135  */
137 };
138 
139 }
140 
141 #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.
std::vector< LiquidTransportData > LTData
Species transport parameters.
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&#39; ...
LiquidTranInteraction * ionConductivity
Object that specifies 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< 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.
Namespace for the Cantera kernel.
Definition: application.cpp:29
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:72
LiquidTranInteraction * electCond
Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductiv...