41#ifndef homogeneousMixture_H
42#define homogeneousMixture_H
55template<
class ThermoType>
56class homogeneousMixture
62 ThermoType reactants_;
65 mutable ThermoType mixture_;
71 homogeneousMixture(
const homogeneousMixture<ThermoType>&) =
delete;
100 return "homogeneousMixture<" + ThermoType::typeName() +
'>';
103 const ThermoType&
mixture(
const scalar)
const;
138 return mixture(b_.boundaryField()[patchi][facei]);
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
basicCombustionMixture(const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
Construct from dictionary, specie names, mesh and phase name.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const ThermoType & cellMixture(const label celli) const
const ThermoType & patchFaceProducts(const label, const label) const
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli) const
static word typeName()
Return the instantiated type name.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
const ThermoType & cellProducts(const label) const
void read(const dictionary &)
Read dictionary.
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
const ThermoType & cellReactants(const label) const
virtual ~homogeneousMixture()=default
Destructor.
const ThermoType & patchFaceReactants(const label, const label) const
A class for handling words, derived from Foam::string.
const dictionary & thermoDict
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture