30 template<
class ThermoType>
41 mu_[i] = specieThermos_[i].mu(
p,
T);
53 sqr(1 +
sqrt((mu_[i]/mu_[j])*B_(i, j)))/A_(i, j);
55 sumXphi += X_[j]*phiij;
63 w_[i] = X_[i]/sumXphi;
71 template<
class ThermoType>
84 template<
class ThermoType>
91 specieThermos_(specieThermos),
92 M_(specieThermos.size()),
93 A_(specieThermos.size()),
94 B_(specieThermos.size()),
95 X_(specieThermos.size()),
96 mu_(specieThermos.size()),
97 w_(specieThermos.size()),
111 A_(i, j) = ((4/
sqrt(2.0))*
sqrt(1 + M_[i]/M_[j]));
112 B_(i, j) =
sqrt(M_[j]/M_[i]);
121 template<
class ThermoType>
142 template<
class ThermoType>
159 kappa += w_[i]*specieThermos_[i].kappa(
p,
T);
166 template<
class ThermoType>
171 const scalarFieldListSlice&
Y
176 for (
label i=1; i<
Y.size(); i++)
185 template<
class ThermoType>
190 const scalarFieldListSlice&
Y
193 transportMixture_.muCached_ =
false;
200 sumX += transportMixture_.X_[i];
205 transportMixture_.X_[i] /= sumX;
208 return transportMixture_;
212 template<
class ThermoType>
217 const scalarFieldListSlice&
Y,
222 transportMixture_.muCached_ =
true;
223 return transportMixture_;
#define forAll(list, i)
Loop across all elements in list.
Mixing type for transport properties.
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
transportMixtureType(const PtrList< ThermoType > &specieThermos)
Construct from list of specie thermo.
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
Thermophysical properties mixing class which applies mass-fraction weighted mixing to the thermodynam...
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
coefficientWilkeMulticomponentMixture(const dictionary &)
Construct from a dictionary.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
ThermoType::thermoType thermoMixtureType
Mixing type for thermodynamic properties.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Foam::multicomponentMixture.
const PtrList< ThermoType > & specieThermos() const
Return the raw specie thermodynamic data.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
const dimensionedScalar mu
Atomic mass unit.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
PtrList< volScalarField > & Y