51 template<
class BasicThermo,
class MixtureType>
77 class PatchFaceMixture,
85 CellMixture cellMixture,
86 PatchFaceMixture patchFaceMixture,
92 template<
class CellMixture,
class Method,
class ... Args>
95 CellMixture cellMixture,
102 template<
class PatchFaceMixture,
class Method,
class ... Args>
105 PatchFaceMixture patchFaceMixture,
137 const word& phaseName
145 const word& phaseName
159 virtual typename MixtureType::basicMixtureType&
166 virtual const typename MixtureType::basicMixtureType&
175 return MixtureType::thermoType::typeName();
182 return MixtureType::thermoType::incompressible;
189 return MixtureType::thermoType::isochoric;
virtual tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of mixture [W/m/K].
virtual tmp< volScalarField > Cp() const
Heat capacity at constant pressure [J/kg/K].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > gamma() const
Gamma = Cp/Cv [].
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField he_
Energy field.
virtual ~heThermo()
Destructor.
virtual tmp< volScalarField > Cpv() const
Heat capacity at constant pressure/volume [J/kg/K].
virtual word thermoName() const
Return the name of the thermo physics.
virtual volScalarField & he()
Enthalpy/Internal energy [J/kg].
const dimensionedScalar h
Planck constant.
virtual tmp< volScalarField > hc() const
Enthalpy of formation [J/kg].
virtual bool isochoric() const
Return true if the equation of state is isochoric.
tmp< scalarField > patchFieldProperty(PatchFaceMixture patchFaceMixture, Method psiMethod, const label patchi, const Args &... args) const
Return a scalarField of the given property on a patch.
Dimension set for the base types.
A class for handling words, derived from string.
static UIndirectList< scalar > cellSetScalarList(const volScalarField &psi, const labelList &cells)
Return an indirect list of a field for the given set of cells.
virtual tmp< volScalarField > Cv() const
Heat capacity at constant volume [J/kg/K].
virtual tmp< volScalarField > THE(const volScalarField &h, const volScalarField &p, const volScalarField &T0) const
Temperature from enthalpy/internal energy.
virtual tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarField > hs() const
Sensible enthalpy [J/kg/K].
virtual tmp< volScalarField > ha() const
Absolute enthalpy [J/kg/K].
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal turbulent diffusivity of mixture [kg/m/s].
tmp< scalarField > cellSetProperty(CellMixture cellMixture, Method psiMethod, const labelList &cells, const Args &... args) const
Return a scalarField of the given property on a cell set.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual MixtureType::basicMixtureType & composition()
Return the composition of the mixture.
heThermo(const fvMesh &, const word &phaseName)
Construct from mesh.
virtual bool read()
Read thermophysical properties dictionary.
virtual tmp< volScalarField > kappaEff(const volScalarField &) const
Effective thermal turbulent diffusivity for temperature.
Enthalpy/Internal energy for a mixture.
Mesh data needed to do the Finite Volume discretisation.
const volScalarField & psi
A class for managing temporary objects.
Foam::argList args(argc, argv)
void heBoundaryCorrection(volScalarField &he)
Correct the enthalpy/internal energy field boundaries.
volScalarField Cp_
Heat capacity at constant pressure field [J/kg/K].
tmp< volScalarField > volScalarFieldProperty(const word &psiName, const dimensionSet &psiDim, CellMixture cellMixture, PatchFaceMixture patchFaceMixture, Method psiMethod, const Args &... args) const
Return a volScalarField of the given property.
virtual bool incompressible() const
Return true if the equation of state is incompressible.
virtual tmp< volScalarField > W() const
Molecular weight [kg/kmol].