15 LiquidTransportParams::LiquidTransportParams() :
19 speciesDiffusivity(0),
22 model_viscosity(LTI_MODEL_NOTSET),
23 model_speciesDiffusivity(LTI_MODEL_NOTSET),
24 model_hydroradius(LTI_MODEL_NOTSET),
25 compositionDepTypeDefault_(LTI_MODEL_NOTSET)
29 LiquidTransportParams::~LiquidTransportParams()
39 LiquidTransportParams::LiquidTransportParams(
const LiquidTransportParams& right) :
42 speciesDiffusivity(0),
45 model_viscosity(LTI_MODEL_NOTSET),
46 model_speciesDiffusivity(LTI_MODEL_NOTSET),
47 model_hydroradius(LTI_MODEL_NOTSET),
48 compositionDepTypeDefault_(LTI_MODEL_NOTSET)
53 LiquidTransportParams& LiquidTransportParams::operator=(
const LiquidTransportParams& right)
62 if (right.viscosity) {
63 viscosity =
new LiquidTranInteraction(*(right.viscosity));
66 if (right.ionConductivity) {
69 deepStdVectorPointerCopy<LiquidTranInteraction>(right.mobilityRatio,
mobilityRatio);
70 deepStdVectorPointerCopy<LiquidTranInteraction>(right.selfDiffusion,
selfDiffusion);
73 if (right.thermalCond) {
74 thermalCond =
new LiquidTranInteraction(*(right.thermalCond));
77 if (right.speciesDiffusivity) {
82 if (right.electCond) {
83 electCond =
new LiquidTranInteraction(*(right.electCond));
86 if (right.hydroRadius) {
87 hydroRadius =
new LiquidTranInteraction(*(right.hydroRadius));
91 deepStdVectorPointerCopy<LiquidTranMixingModel>(right.model_mobilityRatio,
model_mobilityRatio);
92 deepStdVectorPointerCopy<LiquidTranMixingModel>(right.model_selfDiffusion,
model_selfDiffusion);
100 throw CanteraError(
"LiquidTransportParams(const LiquidTransportParams &right)",
"not tested");
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.
std::vector< LiquidTranInteraction * > selfDiffusion
Vector of pointer to the LiquidTranInteraction object which handles the calculation of each species' ...
Header file defining class LiquidTransportParams.
LiquidTranInteraction * ionConductivity
Object that specifies the ionic Conductivity of the mixture.
DenseMatrix thermalCond_Aij
Interaction associated with linear weighting of thermal conductivity.
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.
Namespace for the Cantera kernel.
LiquidTranInteraction * thermalCond
Pointer to the LiquidTranInteraction object which handles the calculation of the mixture thermal cond...
LiquidTranInteraction * electCond
Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductiv...