41#ifndef veryInhomogeneousMixture_H
42#define veryInhomogeneousMixture_H
55template<
class ThermoType>
56class veryInhomogeneousMixture
68 mutable ThermoType mixture_;
80 veryInhomogeneousMixture
82 const veryInhomogeneousMixture<ThermoType>&
95 veryInhomogeneousMixture
112 return "veryInhomogeneousMixture<" + ThermoType::typeName() +
'>';
120 const ThermoType&
mixture(
const scalar,
const scalar)
const;
122 const ThermoType&
cellMixture(
const label celli)
const
124 return mixture(ft_[celli], fu_[celli]);
134 return mixture(ft_[celli], fu_[celli]);
145 ft_.boundaryField()[patchi][facei],
146 fu_.boundaryField()[patchi][facei]
161 fu_.boundaryField()[patchi][facei]
168 return mixture(ft_[celli], ft_[celli]);
179 ft_.boundaryField()[patchi][facei],
180 ft_.boundaryField()[patchi][facei]
186 scalar ft = ft_[celli];
196 scalar ft = ft_.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.
scalar fres(const scalar ft, const scalar stoicRatio) const
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
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.
virtual ~veryInhomogeneousMixture()=default
Destructor.
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