Loading...
Searching...
No Matches
hePsiThermo< BasicPsiThermo, MixtureType > Class Template Reference

Energy for a mixture based on compressibility. More...

#include <hePsiThermo.H>

Inheritance diagram for hePsiThermo< BasicPsiThermo, MixtureType >:
Collaboration diagram for hePsiThermo< BasicPsiThermo, MixtureType >:

Public Member Functions

 TypeName ("hePsiThermo")
 Runtime type information.
 hePsiThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name.
 hePsiThermo (const fvMesh &, const word &phaseName, const word &dictionaryName)
 Construct from mesh and phase name and dict name.
virtual ~hePsiThermo ()
 Destructor.
virtual void correct ()
 Update properties.
Public Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
virtual ~heThermo ()
 Destructor.
virtual MixtureType::basicMixtureType & composition ()
 Return the composition of the mixture.
virtual word thermoName () const
 Return the name of the thermo physics.
virtual bool incompressible () const
 Return true if the equation of state is incompressible.
virtual bool isochoric () const
 Return true if the equation of state is isochoric.
virtual volScalarFieldhe ()
 Enthalpy/Internal energy [J/kg].
virtual tmp< volScalarFieldhc () const
 Chemical enthalpy [J/kg].
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &p, const scalarField &T0, const labelList &cells) const
 Temperature from enthalpy/internal energy for cell-set.
virtual tmp< scalarFieldCp (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure for patch [J/kg/K].
virtual tmp< scalarFieldCv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant volume for patch [J/kg/K].
virtual tmp< scalarFieldrhoEoS (const scalarField &p, const scalarField &T, const labelList &cells) const
 Density from pressure and temperature.
virtual tmp< volScalarFieldgamma () const
 Gamma = Cp/Cv [].
virtual tmp< scalarFieldCpv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure/volume for patch [J/kg/K].
virtual tmp< volScalarFieldCpByCpv () const
 Heat capacity ratio [].
virtual tmp< volScalarFieldW () const
 Molecular weight [kg/kmol].
virtual tmp< volScalarFieldkappa () const
 Thermal diffusivity for temperature of mixture [J/m/s/K].
virtual tmp< volScalarFieldalphahe () const
 Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarFieldkappaEff (const volScalarField &) const
 Effective thermal diffusivity for temperature.
virtual tmp< volScalarFieldalphaEff (const volScalarField &alphat) const
 Effective thermal diffusivity of mixture [kg/m/s].
virtual bool read ()
 Read thermophysical properties dictionary.

Additional Inherited Members

Protected Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
void heBoundaryCorrection (volScalarField &he)
 Correct the enthalpy/internal energy field boundaries.
Protected Attributes inherited from heThermo< BasicPsiThermo, MixtureType >
volScalarField he_
 Energy field.

Detailed Description

template<class BasicPsiThermo, class MixtureType>
class Foam::hePsiThermo< BasicPsiThermo, MixtureType >

Energy for a mixture based on compressibility.

Source files

Definition at line 49 of file hePsiThermo.H.

Constructor & Destructor Documentation

◆ hePsiThermo() [1/2]

template<class BasicPsiThermo, class MixtureType>
hePsiThermo ( const fvMesh & mesh,
const word & phaseName )

Construct from mesh and phase name.

Definition at line 136 of file hePsiThermo.C.

References heThermo< BasicPsiThermo, MixtureType >::he_, and mesh.

◆ hePsiThermo() [2/2]

template<class BasicPsiThermo, class MixtureType>
hePsiThermo ( const fvMesh & mesh,
const word & phaseName,
const word & dictionaryName )

Construct from mesh and phase name and dict name.

Definition at line 158 of file hePsiThermo.C.

References heThermo< BasicPsiThermo, MixtureType >::he_, and mesh.

◆ ~hePsiThermo()

template<class BasicPsiThermo, class MixtureType>
~hePsiThermo ( )
virtual

Destructor.

Definition at line 184 of file hePsiThermo.C.

Member Function Documentation

◆ TypeName()

template<class BasicPsiThermo, class MixtureType>
TypeName ( "hePsiThermo< BasicPsiThermo, MixtureType >" )

Runtime type information.

◆ correct()

template<class BasicPsiThermo, class MixtureType>
void correct ( )
virtual

Update properties.

Definition at line 191 of file hePsiThermo.C.

References DebugInFunction, Foam::endl(), and heThermo< BasicPsiThermo, MixtureType >::he_.

Here is the call graph for this function:

The documentation for this class was generated from the following files: