30 template<
class ThermoType>
33 const dictionary& thermoDict
45 return speciesData_[0];
49 template<
class ThermoType>
54 for (label n=1; n<Y_.size(); n++)
68 template<
class ThermoType>
78 speciesData_(species_.size()),
79 mixture_(
"mixture", *specieThermoData[specieNames[0]])
90 correctMassFractions();
94 template<
class ThermoType>
102 speciesData_(species_.size()),
103 mixture_(
"mixture", constructSpeciesData(thermoDict))
105 correctMassFractions();
111 template<
class ThermoType>
117 mixture_ = Y_[0][celli]/speciesData_[0].W()*speciesData_[0];
119 for (label n=1; n<Y_.size(); n++)
121 mixture_ += Y_[n][celli]/speciesData_[n].W()*speciesData_[n];
128 template<
class ThermoType>
136 Y_[0].boundaryField()[
patchi][facei]
137 /speciesData_[0].W()*speciesData_[0];
139 for (label n=1; n<Y_.size(); n++)
142 Y_[n].boundaryField()[
patchi][facei]
143 /speciesData_[n].W()*speciesData_[n];
150 template<
class ThermoType>