36 #ifndef twoPhaseMixtureEThermo_H 37 #define twoPhaseMixtureEThermo_H 160 virtual tmp<volScalarField>
rho()
const;
163 virtual tmp<scalarField>
rho(
const label patchi)
const;
virtual word thermoName() const
Return the name of the thermo physics.
virtual tmp< volScalarField > Cp() const
Return Cp of the mixture.
virtual tmp< scalarField > THE(const scalarField &h, const scalarField &p, const scalarField &T0, const labelList &cells) const
Temperature from enthalpy/internal energy for cell-set.
Abstract base-class for fluid and solid thermodynamic properties.
virtual tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
A two-phase incompressible transportModel.
virtual tmp< volScalarField > Cv() const
Return Cv of the mixture.
virtual tmp< volScalarField > rho() const
Return rho of the mixture.
TypeName("twoPhaseMixtureEThermo")
virtual bool read()
Read properties.
virtual tmp< scalarField > rhoEoS(const scalarField &p, const scalarField &T, const labelList &cells) const
Density from pressure and temperature.
virtual const volScalarField & T() const
Temperature [K].
virtual tmp< volScalarField > hc() const
Chemical enthalpy [J/kg].
virtual ~twoPhaseMixtureEThermo()=default
Destructor.
const dimensionedScalar & TSat() const
Return const-access to the saturation temperature.
virtual tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of mixture [J/m/s/K].
const incompressibleTwoPhaseMixture & transportPropertiesDict()
Return transport properties dictionary.
virtual volScalarField & p()
Pressure [Pa].
virtual tmp< volScalarField > kappaEff(const volScalarField &) const
Effective thermal diffusivity for temperature of mixture [J/m/s/K].
const volVectorField & U() const
Return const-access to the mixture velocity.
A class for handling words, derived from Foam::string.
virtual void correct()
Correct the thermo fields.
virtual tmp< volScalarField > Cpv() const
Heat capacity at constant pressure/volume [J/kg/K].
static const GeometricField< scalar, fvPatchField, volMesh > & null() noexcept
Return a null GeometricField (reference to a nullObject).
bool isochoric() const
Return true if the equation of state is isochoric i.e. rho = const.
virtual tmp< volScalarField > gamma() const
Gamma = Cp/Cv [].
A two-phase incompressible transportModel.
virtual tmp< volScalarField > W() const
Molecular weight [kg/kmol].
const dimensionedScalar h
Planck constant.
virtual volScalarField & he()
Return access to the internal energy field [J/Kg].
bool incompressible() const
Return true if the equation of state is incompressible i.e. rho != f(p)
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [kg/m/s].
dimensionedScalar TSat_
Saturation Temperature.
twoPhaseMixtureEThermo(const volVectorField &U, const surfaceScalarField &phi)
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual tmp< volScalarField > CpByCpv() const
Heat capacity ratio [].