Go to the documentation of this file.
41 #ifndef veryInhomogeneousMixture_H
42 #define veryInhomogeneousMixture_H
55 template<
class ThermoType>
68 mutable ThermoType mixture_;
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]);
168 return mixture(ft_[celli], ft_[celli]);
186 scalar ft = ft_[celli];
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
A class for handling words, derived from Foam::string.
The very inhomogeneous mixture contains species ("ft", "fu", "b").
const ThermoType & cellProducts(const label celli) const
const ThermoType & mixture(const scalar, const scalar) const
static word typeName()
Return the instantiated type name.
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Specialization of the basicSpecieMixture for combustion.
const ThermoType & patchFaceReactants(const label patchi, const label facei) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const ThermoType & cellReactants(const label celli) const
Mesh data needed to do the Finite Volume discretisation.
const ThermoType & cellMixture(const label celli) const
virtual ~veryInhomogeneousMixture()=default
Destructor.
void read(const dictionary &)
Read dictionary.
const dictionary & thermoDict
const ThermoType & patchFaceProducts(const label patchi, const label facei) const
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
const dimensionedScalar & stoicRatio() const
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli) const
scalar fres(const scalar ft, const scalar stoicRatio) const