Loading...
Searching...
No Matches
heSolidThermo< BasicSolidThermo, MixtureType > Class Template Reference

Energy for a solid mixture. More...

#include <heSolidThermo.H>

Inheritance diagram for heSolidThermo< BasicSolidThermo, MixtureType >:
Collaboration diagram for heSolidThermo< BasicSolidThermo, MixtureType >:

Public Member Functions

 TypeName ("heSolidThermo")
 Runtime type information.
 heSolidThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name.
 heSolidThermo (const fvMesh &, const dictionary &, const word &phaseName)
 Construct from mesh, dictionary and phase name.
 heSolidThermo (const fvMesh &, const word &phaseName, const word &dictName)
 Construct from mesh, dictionary name and phase name.
virtual ~heSolidThermo ()
 Destructor.
virtual void correct ()
 Update properties.
virtual tmp< volVectorFieldKappa () const
 Anisotropic thermal conductivity [W/m/K].
virtual bool isotropic () const
 Return true if thermal conductivity is isotropic.
virtual tmp< vectorFieldKappa (const label patchi) const
 Anisotropic thermal conductivity [W/m/K].
Public Member Functions inherited from heThermo< BasicSolidThermo, 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< BasicSolidThermo, MixtureType >
void heBoundaryCorrection (volScalarField &he)
 Correct the enthalpy/internal energy field boundaries.
Protected Attributes inherited from heThermo< BasicSolidThermo, MixtureType >
volScalarField he_
 Energy field.

Detailed Description

template<class BasicSolidThermo, class MixtureType>
class Foam::heSolidThermo< BasicSolidThermo, MixtureType >

Energy for a solid mixture.

Source files

Definition at line 48 of file heSolidThermo.H.

Constructor & Destructor Documentation

◆ heSolidThermo() [1/3]

template<class BasicSolidThermo, class MixtureType>
heSolidThermo ( const fvMesh & mesh,
const word & phaseName )

Construct from mesh and phase name.

Definition at line 137 of file heSolidThermo.C.

References mesh, and Foam::Zero.

◆ heSolidThermo() [2/3]

template<class BasicSolidThermo, class MixtureType>
heSolidThermo ( const fvMesh & mesh,
const dictionary & dict,
const word & phaseName )

Construct from mesh, dictionary and phase name.

Definition at line 153 of file heSolidThermo.C.

References dict, mesh, and Foam::Zero.

◆ heSolidThermo() [3/3]

template<class BasicSolidThermo, class MixtureType>
heSolidThermo ( const fvMesh & mesh,
const word & phaseName,
const word & dictName )

Construct from mesh, dictionary name and phase name.

Definition at line 170 of file heSolidThermo.C.

References dictName(), mesh, and Foam::Zero.

Here is the call graph for this function:

◆ ~heSolidThermo()

template<class BasicSolidThermo, class MixtureType>
~heSolidThermo ( )
virtual

Destructor.

Definition at line 192 of file heSolidThermo.C.

Member Function Documentation

◆ TypeName()

template<class BasicSolidThermo, class MixtureType>
TypeName ( "heSolidThermo< BasicSolidThermo, MixtureType >" )

Runtime type information.

◆ correct()

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

Update properties.

Definition at line 199 of file heSolidThermo.C.

References DebugInfo, DebugInFunction, Foam::endl(), and Foam::nl.

Here is the call graph for this function:

◆ Kappa() [1/2]

template<class BasicSolidThermo, class MixtureType>
Foam::tmp< Foam::volVectorField > Kappa ( ) const
virtual

Anisotropic thermal conductivity [W/m/K].

Definition at line 211 of file heSolidThermo.C.

References Foam::dimEnergy, Foam::dimLength, Foam::dimTemperature, Foam::dimTime, forAll, Kappa(), mesh, GeometricField< vector, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and pp().

Referenced by Kappa().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isotropic()

template<class BasicSolidThermo, class MixtureType>
virtual bool isotropic ( ) const
inlinevirtual

Return true if thermal conductivity is isotropic.

Definition at line 129 of file heSolidThermo.H.

◆ Kappa() [2/2]

template<class BasicSolidThermo, class MixtureType>
Foam::tmp< Foam::vectorField > Kappa ( const label patchi) const
virtual

Anisotropic thermal conductivity [W/m/K].

Definition at line 266 of file heSolidThermo.C.

References forAll, tmp< T >::New(), and pp().

Here is the call graph for this function:

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