35 #ifndef homogeneousMixture_H 36 #define homogeneousMixture_H 49 template<
class ThermoType>
71 static const int nSpecies_ = 1;
72 static const char* specieNames_[1];
74 thermoType reactants_;
77 mutable thermoType mixture_;
104 return "homogeneousMixture<" + ThermoType::typeName() +
'>';
107 const thermoType&
mixture(
const scalar)
const;
143 const thermoMixtureType& thermoMixture
146 return thermoMixture;
153 const thermoMixtureType& thermoMixture
156 return thermoMixture;
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
ThermoType transportMixtureType
Mixing type for transport properties.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
void operator=(const homogeneousMixture< ThermoType > &)=delete
Disallow default bitwise assignment.
const thermoType & cellProducts(const label) const
const thermoType & cellReactants(const label) const
const thermoType & mixture(const scalar) const
const thermoType & patchFaceProducts(const label, const label) const
virtual ~homogeneousMixture()
Destructor.
static word typeName()
Return the instantiated type name.
const transportMixtureType & patchFaceTransportMixture(const label patchi, const label facei) const
A class for handling words, derived from string.
Specialisation of the basicMixture for combustion.
const ThermoType & specieThermo(const label speciei) const
Return thermo based on index.
const thermoMixtureType & cellThermoMixture(const label celli) const
Foam::homogeneousMixture.
const transportMixtureType & cellTransportMixture(const label celli) const
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
Mesh data needed to do the Finite Volume discretisation.
void read(const dictionary &)
Read dictionary.
const transportMixtureType & patchFaceThermoMixture(const label patchi, const label facei) const
homogeneousMixture(const dictionary &, const fvMesh &, const word &)
Construct from dictionary, mesh and phase name.
const thermoType & patchFaceReactants(const label, const label) const