Cantera  2.4.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  * @deprecated To be removed after Cantera 2.4
22  *
23  * This class is used by TransportFactory to initialize transport objects.
24  */
26 {
27 public:
30  LiquidTransportParams(const LiquidTransportParams& right) = delete;
31  LiquidTransportParams& operator=(const LiquidTransportParams& right) = delete;
32 
33  //! Species transport parameters
34  std::vector<LiquidTransportData> LTData;
35 
36  //! Object that specifies the viscosity interaction for the mixture
38 
39  //! Object that specifies the ionic Conductivity of the mixture
41 
42  //! Vector of pointer to the LiquidTranInteraction object which handles the
43  //! calculation of the mobility ratios for the phase
44  /*!
45  * The mobility ratio is defined via the following quantity where i and j
46  * are species indices.
47  *
48  * mobRat(i,j) = mu_i / mu_j
49  *
50  * It is returned in fortran-ordering format. i.e. it is returned as
51  * mobRat[k], where
52  *
53  * k = j * nsp + i
54  *
55  * Length = nsp * nsp
56  */
57  std::vector<LiquidTranInteraction*> mobilityRatio;
58 
59  //! Vector of pointer to the LiquidTranInteraction object which handles the
60  //! calculation of each species' self diffusion coefficient for the phase
61  std::vector<LiquidTranInteraction*> selfDiffusion;
62 
63  //! Pointer to the LiquidTranInteraction object which handles the
64  //! calculation of the mixture thermal conductivity for the phase
66 
67  //! Pointer to the LiquidTranInteraction object which handles the
68  //! calculation of the species diffusivity for the phase
70 
71  //! Pointer to the LiquidTranInteraction object which handles the
72  //! calculation of the electrical conductivity for the phase
74 
75  //! Pointer to the LiquidTranInteraction object which handles the
76  //! calculation of the hydrodynamic radius for the phase
77  /*!
78  * @note I don't understand at the moment how one can define a
79  * hydrodynamic radius for the phase
80  */
82 
83  //! Model for species interaction effects for viscosity
84  //! Takes enum LiquidTranMixingModel
86 
87  //! Model for species interaction effects for ionic conductivity
88  //! Takes enum LiquidTranMixingModel
90 
91  //! Model for species interaction effects for mobility ratio
92  //! Takes enum LiquidTranMixingModel
93  std::vector<LiquidTranMixingModel*> model_mobilityRatio;
94 
95  //! Model for species interaction effects for mobility ratio
96  //! Takes enum LiquidTranMixingModel
97  std::vector<LiquidTranMixingModel*> model_selfDiffusion;
98 
99  //! Interaction associated with linear weighting of
100  //! thermal conductivity.
101  /**
102  * This is used for either LTI_MODEL_MASSFRACS or LTI_MODEL_MOLEFRACS. The
103  * overall formula for the mixture viscosity is
104  *
105  * \f[ \eta_{mix} = \sum_i X_i \eta_i + \sum_i \sum_j X_i X_j A_{i,j} \f].
106  */
108 
109  //! Model for species interaction effects for mass diffusivity
110  //! Takes enum LiquidTranMixingModel
112 
113  //! Interaction associated with linear weighting of
114  //! thermal conductivity.
115  /**
116  * This is used for either LTI_MODEL_PAIRWISE_INTERACTION or
117  * LTI_MODEL_STEFANMAXWELL_PPN. These provide species interaction
118  * coefficients associated with the Stefan-Maxwell formulation.
119  */
121 
122  //! Model for species interaction effects for hydrodynamic radius
123  //! Takes enum LiquidTranMixingModel
125 
126  //! Interaction associated with hydrodynamic radius.
127  /**
128  * Not yet implemented
129  */
131 
132  //! Default composition dependence of the transport properties
133  /*!
134  * Permissible types of composition dependencies
135  * 0 - Solvent values (i.e., species 0) contributes only
136  * 1 - linear combination of mole fractions;
137  */
139 };
140 
141 }
142 
143 #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: AnyMap.cpp:8
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:50
LiquidTranInteraction * electCond
Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductiv...