41#ifndef inhomogeneousMixture_H
42#define inhomogeneousMixture_H
55template<
class ThermoType>
56class inhomogeneousMixture
68 mutable ThermoType mixture_;
79 const inhomogeneousMixture<ThermoType>&
109 return "inhomogeneousMixture<" + ThermoType::typeName() +
'>';
117 const ThermoType&
mixture(
const scalar,
const scalar)
const;
119 const ThermoType&
cellMixture(
const label celli)
const
131 return mixture(ft_[celli], b_[celli]);
142 ft_.boundaryField()[patchi][facei],
143 b_.boundaryField()[patchi][facei]
157 ft_.boundaryField()[patchi][facei],
158 b_.boundaryField()[patchi][facei]
175 ft_.boundaryField()[patchi][facei],
193 ft_.boundaryField()[patchi][facei],
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 & cellReactants(const label celli) const
const ThermoType & cellProducts(const label celli) 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
const ThermoType & patchFaceProducts(const label patchi, const label facei) const
static word typeName()
Return the instantiated type name.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
const dimensionedScalar & stoicRatio() const
virtual ~inhomogeneousMixture()=default
Destructor.
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
const ThermoType & patchFaceReactants(const label patchi, const label facei) const
void read(const dictionary &)
Read dictionary.
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
A class for handling words, derived from Foam::string.
const dictionary & thermoDict
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture