20 LiquidTransport::LiquidTransport(
thermo_t* thermo,
int ndim) :
40 m_visc_temp_ok(false),
41 m_visc_conc_ok(false),
42 m_ionCond_mix_ok(false),
43 m_ionCond_temp_ok(false),
44 m_ionCond_conc_ok(false),
45 m_mobRat_mix_ok(false),
46 m_mobRat_temp_ok(false),
47 m_mobRat_conc_ok(false),
48 m_selfDiff_mix_ok(false),
49 m_selfDiff_temp_ok(false),
50 m_selfDiff_conc_ok(false),
52 m_radi_temp_ok(false),
53 m_radi_conc_ok(false),
55 m_diff_temp_ok(false),
56 m_lambda_temp_ok(false),
57 m_lambda_mix_ok(false),
83 m_visc_temp_ok(false),
84 m_visc_conc_ok(false),
85 m_ionCond_mix_ok(false),
86 m_ionCond_temp_ok(false),
87 m_ionCond_conc_ok(false),
88 m_mobRat_mix_ok(false),
89 m_mobRat_temp_ok(false),
90 m_mobRat_conc_ok(false),
91 m_selfDiff_mix_ok(false),
92 m_selfDiff_temp_ok(false),
93 m_selfDiff_conc_ok(false),
95 m_radi_temp_ok(false),
96 m_radi_conc_ok(false),
98 m_diff_temp_ok(false),
99 m_lambda_temp_ok(false),
100 m_lambda_mix_ok(false),
111 LiquidTransport& LiquidTransport::operator=(
const LiquidTransport& right)
113 if (&right ==
this) {
116 Transport::operator=(right);
196 LiquidTransport::~LiquidTransport()
199 for (
size_t k = 0; k <
m_nsp; k++) {
202 for (
size_t l = 0; l <
m_nsp; l++) {
205 for (
size_t l=0; l <
m_nsp2; l++) {
215 for (
size_t k = 0; k <
m_nsp2; k++) {
237 m_mw.resize(m_nsp, 0.0);
256 for (
size_t k=0; k <
m_nsp; k++) {
259 for (
size_t k=0; k <
m_nsp2; k++) {
268 for (
size_t k = 0; k <
m_nsp; k++) {
272 for (
size_t k = 0; k <
m_nsp2; k++) {
278 for (
size_t k = 0; k <
m_nsp; k++) {
284 for (
size_t j = 0; j <
m_nsp2; j++) {
288 for (
size_t j = 0; j <
m_nsp; j++) {
308 for (
size_t k = 0; k <
m_nsp; k++) {
311 cout <<
"Warning: diffusion coefficient data for "
314 <<
"in the input file is not used for LiquidTransport model."
316 <<
"LiquidTransport model uses Stefan-Maxwell interaction "
318 <<
"parameters defined in the <transport> input block."
362 for (
size_t i = 0; i <
m_nsp; i++) {
469 for (
size_t k = 0; k <
m_nsp2; k++) {
478 for (
size_t k = 0; k <
m_nsp2; k++) {
489 for (
size_t k = 0; k <
m_nsp2; k++) {
490 for (
size_t j = 0; j <
m_nsp; j++) {
501 for (
size_t k = 0; k <
m_nsp; k++) {
505 for (
size_t k = 0; k <
m_nsp; k++) {
516 for (
size_t k=0; k<
m_nsp; k++) {
517 for (
size_t j=0; j <
m_nsp; j++) {
549 for (
size_t k = 0; k <
m_nsp; k++) {
557 throw CanteraError(
"LiquidTransport::getBinaryDiffCoeffs",
558 "First argument does not correspond to number of species in model.\nDiff Coeff matrix may be misdimensioned");
567 for (
size_t i = 0; i <
m_nsp; i++) {
568 for (
size_t j = 0; j <
m_nsp; j++) {
572 d[ld*j + i] = 1.0 /
m_bdiff(i,j);
582 for (
size_t k = 0; k <
m_nsp; k++) {
591 for (
size_t k = 0; k <
m_nsp; k++) {
598 for (
size_t a = 0; a <
m_nDim; a++) {
605 for (
size_t a = 0; a <
m_nDim; a++) {
613 for (
size_t i = 0; i < itop; i++) {
623 for (
size_t i = 0; i <
m_nDim; i++) {
624 for (
size_t k = 0; k <
m_nsp; k++) {
625 gradX[ i*m_nDim + k] = 0.0;
641 for (
size_t i = 0; i < 1; i++) {
643 for (
size_t k = 0; k <
m_nsp; k++) {
647 current /= - gradV[i];
653 const doublereal* grad_T,
655 const doublereal* grad_X,
657 const doublereal* grad_V,
669 for (
size_t i = 0; i <
m_nDim; i++) {
671 for (
size_t k = 0; k <
m_nsp; k++) {
679 const doublereal* grad_T,
680 int ldx,
const doublereal* grad_X,
681 int ldf, doublereal* Vdiff)
689 const doublereal* grad_T,
691 const doublereal* grad_X,
693 const doublereal* grad_V,
703 const doublereal*
const grad_T,
704 size_t ldx,
const doublereal*
const grad_X,
705 size_t ldf, doublereal*
const fluxes)
713 const doublereal* grad_T,
715 const doublereal* grad_X,
717 const doublereal* grad_V,
730 for (
size_t n = 0; n <
m_nDim; n++) {
731 for (
size_t k = 0; k <
m_nsp; k++) {
732 Vdiff[n*ldf + k] =
m_Vdiff(k,n);
741 for (
size_t n = 0; n <
m_nDim; n++) {
742 for (
size_t k = 0; k <
m_nsp; k++) {
743 fluxes[n*ldf + k] =
m_flux(k,n);
752 for (
size_t n = 0; n <
m_nDim; n++) {
753 for (
size_t k = 0; k <
m_nsp; k++) {
759 d[n*m_nsp + k] = - 1.0;
776 "negative temperature "+
fp2str(t));
827 for (
size_t k = 0; k <
m_nsp; k++) {
863 for (
size_t k = 0; k <
m_nsp; k++) {
884 for (
size_t k = 0; k <
m_nsp; k++) {
898 for (
size_t k = 0; k <
m_nsp; k++) {
912 for (
size_t k = 0; k <
m_nsp2; k++) {
913 for (
size_t j = 0; j <
m_nsp; j++) {
928 for (
size_t k = 0; k <
m_nsp2; k++) {
929 for (
size_t j = 0; j <
m_nsp; j++) {
944 for (
size_t k = 0; k <
m_nsp; k++) {
960 for (
size_t k = 0; k <
m_nDim; k++) {
962 const int start = m_nsp*k;
964 for (
size_t i = 0; i <
m_nsp; i++)
1028 for (
size_t a = 0; a <
m_nDim; a++) {
1029 for (
size_t i = 0; i <
m_nsp; i++) {
1040 double mnaught = mwSolvent/ 1000.;
1041 double lnmnaught = log(mnaught);
1042 for (
size_t a = 0; a <
m_nDim; a++) {
1043 for (
size_t i = 1; i <
m_nsp; i++) {
1062 for (
size_t j = 0; j <
m_nsp; j++) {
1076 throw CanteraError(
"LiquidTransport::stefan_maxwell_solve",
1077 "Unknown reference velocity provided.");
1079 for (
size_t i = 1; i <
m_nsp; i++) {
1082 for (
size_t j = 0; j <
m_nsp; j++) {
1108 for (
size_t i = 0; i <
m_nsp; i++) {
1125 for (
size_t j = 0; j <
m_nsp; j++) {
1139 throw CanteraError(
"LiquidTransport::stefan_maxwell_solve",
1140 "Unknown reference velocity provided.");
1142 for (
size_t i = 1; i <
m_nsp; i++) {
1146 for (
size_t j = 0; j <
m_nsp; j++) {
1169 for (
size_t j = 0; j <
m_nsp; j++) {
1183 throw CanteraError(
"LiquidTransport::stefan_maxwell_solve",
1184 "Unknown reference velocity provided.");
1186 for (
size_t i = 1; i <
m_nsp; i++) {
1191 for (
size_t j = 0; j <
m_nsp; j++) {
1208 printf(
"unimplemented\n");
1213 for (
size_t a = 0; a <
m_nDim; a++) {
1214 for (
size_t j = 0; j <
m_nsp; j++) {
1224 "\n\n\n**** Method "+ msg +
" not implemented in model "
1226 "(Did you forget to specify a transport model?)\n\n\n");
doublereal err(const std::string &msg) const
Throw an exception if this method is invoked.
bool m_debug
Debugging flags.
virtual doublereal ionConductivity()
Returns the ionic conductivity of the solution.
bool m_lambda_mix_ok
Boolean indicating that mixture conductivity is current.
doublereal molecularWeight(size_t k) const
Molecular weight of species k.
vector_fp m_mw
Local copy of the molecular weights of the species.
vector_fp m_lambdaSpecies
Internal value of the species individual thermal conductivities.
size_t m_nsp2
Number of species squared.
virtual doublereal density() const
Density (kg/m^3).
std::string int2str(const int n, const std::string &fmt)
Convert an int to a string using a format converter.
virtual doublereal viscosity()
Returns the viscosity of the solution.
bool m_ionCond_mix_ok
Boolean indicating that the top-level mixture ionic conductivity is current.
virtual void getSpeciesVdiffES(size_t ndim, const doublereal *grad_T, int ldx, const doublereal *grad_X, int ldf, const doublereal *grad_Phi, doublereal *Vdiff)
Get the species diffusive velocities wrt to the averaged velocity, given the gradients in mole fracti...
doublereal m_press
Current value of the pressure.
bool m_radi_conc_ok
Flag to indicate that the hydrodynamic radius is current is current wrt the concentration.
bool m_visc_conc_ok
Flag to indicate that the pure species viscosities are current wrt the concentration.
std::vector< LiquidTranInteraction * > mobilityRatio
Vector of pointer to the LiquidTranInteraction object which handles the calculation of each species' ...
bool m_diff_temp_ok
Boolean indicating that binary diffusion coeffs are current.
vector_fp m_Grad_V
Internal value of the gradient of the Electric Voltage.
bool m_cond_mix_ok
Flag to indicate that the mixture conductivity is current.
thermo_t * thermo
Pointer to the ThermoPhase object.
std::vector< LTPvector > m_selfDiffTempDep_Ns
Self Diffusion for each species in each pure species phase expressed as an appropriate subclass of LT...
void resize(size_t n, size_t m, doublereal v=0.0)
Resize the array, and fill the new entries with 'v'.
virtual void getSpeciesFluxesExt(size_t ldf, doublereal *fluxes)
Return the species diffusive fluxes relative to the averaged velocity.
void getMassFractions(doublereal *const y) const
Get the species mass fractions.
Various templated functions that carry out common vector operations (see Templated Utility Functions)...
virtual void set_Grad_V(const doublereal *const grad_V)
Specify the value of the gradient of the voltage.
LTPspecies * thermalCond
Model type for the thermal conductivity.
void updateIonConductivity_C()
Update the concentration parts of the ionic conductivity.
std::vector< LTPspecies * > m_radiusTempDep_Ns
Hydrodynamic radius for each species expressed as an appropriate subclass of LTPspecies.
size_t m_nDim
Number of dimensions used in flux expressions.
virtual void getBinaryDiffCoeffs(const size_t ld, doublereal *const d)
Returns the binary diffusion coefficients.
virtual void update_Grad_lnAC()
Updates the internal value of the gradient of the logarithm of the activity, which is used in the gra...
doublereal m_ionCondmix
Saved value of the mixture ionic conductivity.
doublereal meanMolecularWeight_
Mean molecular mass.
thermo_t * m_thermo
pointer to the object representing the phase
Class LiquidTransport implements models for transport properties for liquid phases.
vector_fp m_Grad_mu
Gradient of the electrochemical potential.
bool m_mobRat_temp_ok
Boolean indicating that weight factors wrt mobility ratio is current.
virtual void getThermalDiffCoeffs(doublereal *const dt)
Return the thermal diffusion coefficients.
virtual void set_Grad_T(const doublereal *const grad_T)
Specify the value of the gradient of the temperature.
bool m_radi_mix_ok
Boolean indicating that mixture diffusion coeffs are current.
std::vector< LiquidTranInteraction * > m_mobRatMixModel
Mobility ratio for each binary combination of mobile species in the mixture expressed as a subclass o...
Array2D m_Vdiff
Solution of the Stefan Maxwell equation.
Base class for transport property managers.
vector_fp m_ionCondSpecies
Internal value of the species ionic conductivities.
LiquidTranInteraction * viscosity
Object that specifies the viscosity interaction for the mixture.
Class LiquidTransportData holds transport parameters for a specific liquid-phase species.
int stateMFNumber() const
Return the State Mole Fraction Number.
virtual void getSpeciesMobilityRatio(doublereal **mobRat)
Returns a double pointer to the mobility ratios of the transported species in each pure species phase...
std::vector< LTPvector > m_mobRatTempDep_Ns
Mobility ratio for the binary cominations of each species in each pure phase expressed as an appropri...
int solve(DenseMatrix &A, double *b)
Solve Ax = b. Array b is overwritten on exit with x.
void updateViscosity_T()
Updates the array of pure species viscosities internally.
void updateDiff_T()
Update the binary Stefan-Maxwell diffusion coefficients wrt T using calls to the appropriate LTPspeci...
LiquidTranInteraction * m_lambdaMixModel
Thermal conductivity of the mixture expressed as a subclass of LiquidTranInteraction.
void updateHydrodynamicRadius_C()
Update the concentration dependence of the hydrodynamic radius.
virtual doublereal getMixTransProp(doublereal *speciesValues, doublereal *weightSpecies=0)
Return the mixture transport property value.
void getMoleFractions(doublereal *const x) const
Get the species mole fraction vector.
vector_fp m_molefracs
Local copy of the mole fractions of the species in the phase.
void getConcentrations(doublereal *const c) const
Get the species concentrations (kmol/m^3).
LTPspecies * speciesDiffusivity
Model type for the speciesDiffusivity.
bool m_ionCond_conc_ok
Flag to indicate that the pure species ionic conductivities are current wrt the concentration.
virtual void getSpeciesVdiff(size_t ndim, const doublereal *grad_T, int ldx, const doublereal *grad_X, int ldf, doublereal *Vdiff)
Get the species diffusive velocities wrt to the averaged velocity, given the gradients in mole fracti...
int m_mode
Mode indicator for transport models – currently unused.
bool m_visc_temp_ok
Boolean indicating that weight factors wrt viscosity is current.
virtual bool update_T()
Returns true if temperature has changed, in which case flags are set to recompute transport propertie...
virtual void getFluidMobilities(doublereal *const mobil_f)
Get the fluid mobilities (s kmol/kg).
void updateSelfDiffusion_C()
Update the concentration parts of the self diffusion.
virtual int model() const
Transport model.
std::vector< LTPspecies * > m_viscTempDep_Ns
Viscosity for each species expressed as an appropriate subclass of LTPspecies.
virtual void set_Grad_X(const doublereal *const grad_X)
Specify the value of the gradient of the MoleFractions.
Header file defining class TransportFactory (see TransportFactory)
virtual void getElectricCurrent(int ndim, const doublereal *grad_T, int ldx, const doublereal *grad_X, int ldf, const doublereal *grad_V, doublereal *current)
Compute the electric current density in A/m^2.
Base class for a phase with thermodynamic properties.
vector_fp m_Grad_T
Internal value of the gradient of the Temperature vector.
bool m_mobRat_conc_ok
Flag to indicate that the pure species mobility ratios are current wrt the concentration.
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' ...
Header file defining class LiquidTransportParams.
doublereal m_temp
Current Temperature -> locally stored.
void updateMobilityRatio_C()
Update the concentration parts of the mobility ratio.
LiquidTranInteraction * ionConductivity
Object that specifes the ionic Conductivity of the mixture.
virtual void getSpeciesFluxes(size_t ndim, const doublereal *const grad_T, size_t ldx, const doublereal *const grad_X, size_t ldf, doublereal *const fluxes)
Return the species diffusive mass fluxes wrt to the averaged velocity in [kmol/m^2/s].
void resize(size_t n, size_t m, doublereal v=0.0)
Resize the matrix.
DenseMatrix m_B
RHS to the stefan-maxwell equation.
void updateCond_T()
Update the temperature-dependent parts of the mixture-averaged thermal conductivity internally...
virtual void getSpeciesViscosities(doublereal *const visc)
Returns the pure species viscosities for all species.
bool m_diff_mix_ok
Boolean indicating that mixture diffusion coeffs are current.
VelocityBasis velocityBasis_
A basis for the average velocity can be specified.
doublereal m_viscmix
Saved value of the mixture viscosity.
doublereal molarVolume() const
Molar volume (m^3/kmol).
virtual void getSpeciesSelfDiffusion(doublereal **selfDiff)
Returns the self diffusion coefficients in the pure species phases.
vector_fp m_spwork
work space
std::string fp2str(const double x, const std::string &fmt)
Convert a double into a c++ string.
void updateSelfDiffusion_T()
Updates the array of pure species self diffusion coeffs internally.
int m_iStateMF
State of the mole fraction vector.
void stefan_maxwell_solve()
Solve the stefan_maxell equations for the diffusive fluxes.
std::vector< LTPspecies * > m_ionCondTempDep_Ns
Ionic conductivity for each species expressed as an appropriate subclass of LTPspecies.
bool m_lambda_temp_ok
Flag to indicate that the pure species conductivities are current wrt the temperature.
vector_fp m_Grad_X
Internal value of the gradient of the mole fraction vector.
virtual doublereal thermalConductivity()
Return the thermal conductivity of the solution.
bool m_selfDiff_conc_ok
Flag to indicate that the pure species self diffusion are current wrt the concentration.
virtual void getdlnActCoeffds(const doublereal dTds, const doublereal *const dXds, doublereal *dlnActCoeffds) const
Get the change in activity coefficients wrt changes in state (temp, mole fraction, etc) along a line in parameter space or along a line in physical space.
vector_fp m_Grad_lnAC
Gradient of the logarithm of the activity.
Base class for exceptions thrown by Cantera classes.
const int cAC_CONVENTION_MOLALITY
Standard state uses the molality convention.
bool m_selfDiff_temp_ok
Boolean indicating that weight factors wrt self diffusion is current.
std::vector< LiquidTranInteraction * > m_selfDiffMixModel
Self Diffusion for each species in the mixture expressed as a subclass of LiquidTranInteraction.
virtual void getMobilities(doublereal *const mobil_e)
Get the Electrical mobilities (m^2/V/s).
vector_fp m_chargeSpecies
Local copy of the charge of each species.
LiquidTranInteraction * speciesDiffusivity
Pointer to the LiquidTranInteraction object which handles the calculation of the species diffusivity ...
bool m_radi_temp_ok
Boolean indicating that temperature dependence of hydrodynamic radius is current. ...
virtual void selfDiffusion(doublereal *const selfDiff)
Returns the self diffusion coefficients of the species in the phase.
virtual bool initLiquid(LiquidTransportParams &tr)
Initialize the transport object.
bool m_selfDiff_mix_ok
Boolean indicating that the top-level mixture self diffusion is current.
LiquidTranInteraction * m_diffMixModel
Species diffusivity of the mixture expressed as a subclass of LiquidTranInteraction.
vector_fp m_volume_spec
Specific volume for each species. Local copy from thermo object.
std::vector< Cantera::LiquidTransportData > LTData
Species transport parameters.
vector_fp m_mobRatMix
Saved values of the mixture mobility ratios.
size_t nSpecies() const
Returns the number of species in the phase.
vector_fp m_massfracs_tran
Local copy of the mass fractions of the species in the phase.
virtual doublereal pressure() const
Return the thermodynamic pressure (Pa).
virtual void getSpeciesVdiffExt(size_t ldf, doublereal *Vdiff)
Return the species diffusive velocities relative to the averaged velocity.
std::vector< LTPspecies * > m_lambdaTempDep_Ns
Thermal conductivity for each species expressed as an appropriate subclass of LTPspecies.
const vector_fp & molecularWeights() const
Return a const reference to the internal vector of molecular weights.
const VelocityBasis VB_MOLEAVG
Diffusion velocities are based on the mole averaged velocities.
doublereal temperature() const
Temperature (K).
vector_fp m_actCoeff
Vector of activity coefficients.
bool m_visc_mix_ok
Boolean indicating that the top-level mixture viscosity is current.
doublereal concTot_tran_
Local copy of the total concentration.
Header file defining class LiquidTransport.
void updateMobilityRatio_T()
Updates the array of pure species mobility ratios internally.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
virtual Transport * duplMyselfAsTransport() const
Duplication routine for objects which inherit from Transport.
vector_fp m_hydrodynamic_radius
Species hydrodynamic radius.
const doublereal Tiny
Small number to compare differences of mole fractions against.
std::vector< LTPspecies * > mobilityRatio
Model type for the mobility ratio.
LiquidTranInteraction * m_ionCondMixModel
Ionic Conductivity of the mixture expressed as a subclass of LiquidTranInteraction.
void updateViscosities_C()
Update the concentration parts of the viscosities.
DenseMatrix m_selfDiffSpecies
Internal value of the species self diffusion coefficients.
virtual void getMixDiffCoeffs(doublereal *const d)
Get the Mixture diffusion coefficients.
doublereal meanMolecularWeight() const
The mean molecular weight. Units: (kg/kmol)
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
virtual bool update_C()
Returns true if mixture composition has changed, in which case flags are set to recompute transport p...
LiquidTransport(thermo_t *thermo=0, int ndim=1)
Default constructor.
LTPspecies * hydroRadius
Model type for the hydroradius.
vector_fp m_concentrations
Local copy of the concentrations of the species in the phase.
vector_fp m_selfDiffMix
Saved values of the mixture self diffusion coefficients.
virtual void getActivityCoefficients(doublereal *ac) const
Get the array of non-dimensional molar-based activity coefficients at the current solution temperatur...
virtual int activityConvention() const
This method returns the convention used in specification of the activities, of which there are curren...
Contains declarations for string manipulation functions within Cantera.
vector_fp m_molefracs_tran
Non-zero mole fraction vector used in transport property calculations.
std::vector< LTPspecies * > selfDiffusion
Model type for the self diffusion coefficients.
#define DATA_PTR(vec)
Creates a pointer to the start of the raw data for a vector.
LTPspecies * viscosity
Model type for the viscosity.
size_t m_nsp
Number of species.
const VelocityBasis VB_MASSAVG
Diffusion velocities are based on the mass averaged velocity.
virtual void getSpeciesIonConductivity(doublereal *const ionCond)
Returns the pure species ionic conductivities for all species.
void updateHydrodynamicRadius_T()
Update the temperature-dependent hydrodynamic radius terms for each species internally.
bool m_ionCond_temp_ok
Boolean indicating that weight factors wrt ionic conductivty is current.
void updateIonConductivity_T()
Update the temperature-dependent ionic conductivity terms for each species internally.
virtual void mobilityRatio(doublereal *mobRat)
Returns the pointer to the mobility ratios of the binary combinations of the transported species for ...
DenseMatrix m_A
Matrix for the stefan maxwell equation.
LTPspecies * ionConductivity
Model type for the ionic conductivity.
doublereal m_lambda
Saved value of the mixture thermal conductivity.
virtual doublereal getElectricConduct()
Compute the mixture electrical conductivity from the Stefan-Maxwell equation.
Header file for class ThermoPhase, the base class for phases with thermodynamic properties, and the text for the Module thermoprops (see Thermodynamic Properties and class ThermoPhase).
vector_fp m_massfracs
Local copy of the mass fractions of the species in the phase.
vector_fp m_viscSpecies
Internal value of the species viscosities.
virtual void getSpeciesHydrodynamicRadius(doublereal *const radius)
Returns the hydrodynamic radius for all species.
virtual void getSpeciesFluxesES(size_t ndim, const doublereal *grad_T, size_t ldx, const doublereal *grad_X, size_t ldf, const doublereal *grad_Phi, doublereal *fluxes)
Return the species diffusive mass fluxes wrt to the averaged velocity in [kmol/m^2/s].
LiquidTranInteraction * thermalCond
Pointer to the LiquidTranInteraction object which handles the calculation of the mixture thermal cond...
int m_velocityBasis
Velocity basis from which diffusion velocities are computed.
std::string speciesName(size_t k) const
Name of the species with index k.
const doublereal Boltzmann
Boltzmann's constant [J/K].
Array2D m_flux
Solution of the Stefan Maxwell equation in terms of flux.
doublereal concTot_
Local copy of the total concentration.
LiquidTranInteraction * m_viscMixModel
Viscosity of the mixture expressed as a subclass of LiquidTranInteraction.
bool m_mobRat_mix_ok
Boolean indicating that the top-level mixture mobility ratio is current.
std::vector< LTPspecies * > m_diffTempDep_Ns
(NOT USED IN LiquidTransport.) Diffusion coefficient model for each species expressed as an appropria...
doublereal charge(size_t k) const
Dimensionless electrical charge of a single molecule of species k The charge is normalized by the the...
DenseMatrix m_bdiff
Array of Binary Diffusivities.
DenseMatrix m_mobRatSpecies
Internal value of the species mobility ratios.