30 template<
class ThermoType>
38 mixture_(
"mixture", this->specieThermos()[0])
44 template<
class ThermoType>
49 const scalarFieldListSlice&
Y
52 const boolList& active(this->speciesActive());
53 mixture_ =
Y[0]*this->specieThermos()[0];
55 for (
label i=1; i<
Y.size(); i++)
59 mixture_ +=
Y[i]*this->specieThermos()[i];
67 template<
class ThermoType>
72 const scalarFieldListSlice&
Y
75 return thermoMixture(
Y);
79 template<
class ThermoType>
84 const scalarFieldListSlice&,
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
coefficientMulticomponentMixture(const dictionary &)
Construct from a dictionary.
ThermoType transportMixtureType
Mixing type for transport properties.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Foam::multicomponentMixture.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
PtrList< volScalarField > & Y