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

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

#include <heRhoThermo.H>

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

Public Member Functions

 TypeName ("heRhoThermo")
 Runtime type information.
 heRhoThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name.
 heRhoThermo (const fvMesh &, const word &phaseName, const word &dictName)
 Construct from mesh,dictionary,phase name with a single temperature.
virtual ~heRhoThermo ()
 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::heRhoThermo< BasicPsiThermo, MixtureType >

Energy for a mixture based on density.

Source files

Definition at line 49 of file heRhoThermo.H.

Constructor & Destructor Documentation

◆ heRhoThermo() [1/2]

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

Construct from mesh and phase name.

Definition at line 144 of file heRhoThermo.C.

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

◆ heRhoThermo() [2/2]

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

Construct from mesh,dictionary,phase name with a single temperature.

Definition at line 167 of file heRhoThermo.C.

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

Here is the call graph for this function:

◆ ~heRhoThermo()

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

Destructor.

Definition at line 193 of file heRhoThermo.C.

Member Function Documentation

◆ TypeName()

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

Runtime type information.

◆ correct()

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

Update properties.

Definition at line 200 of file heRhoThermo.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: