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
151 virtual typename MixtureType::basicMixtureType&
158 virtual const typename MixtureType::basicMixtureType&
167 return MixtureType::thermoType::typeName();
174 return MixtureType::thermoType::incompressible;
181 return MixtureType::thermoType::isochoric;
virtual tmp< volScalarField > gamma() const
Gamma = Cp/Cv [].
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.
const volScalarField & psi
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 of 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 turbulent thermal diffusivity of energy.
virtual const volScalarField & Cv() const
Heat capacity at constant volume [J/kg/K].
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 conductivity of mixture [W/m/K].
Enthalpy/Internal energy for a mixture.
virtual const volScalarField & Cp() const
Heat capacity at constant pressure [J/kg/K].
Mesh data needed to do the Finite Volume discretisation.
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].