Public Member Functions | List of all members
heSolidThermo< BasicSolidThermo, MixtureType > Class Template Reference

Energy for a solid mixture. More...

Inheritance diagram for heSolidThermo< BasicSolidThermo, MixtureType >:
Inheritance graph
[legend]
Collaboration diagram for heSolidThermo< BasicSolidThermo, MixtureType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("heSolidThermo")
 Runtime type information. More...
 
 heSolidThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name. More...
 
 heSolidThermo (const fvMesh &, const dictionary &, const word &phaseName)
 Construct from mesh, dictionary and phase name. More...
 
virtual ~heSolidThermo ()
 Destructor. More...
 
virtual void correct ()
 Update properties. More...
 
virtual tmp< volVectorFieldKappa () const
 Anisotropic thermal conductivity [W/m/K]. More...
 
virtual bool isotropic () const
 Return true if thermal conductivity is isotropic. More...
 
virtual tmp< vectorFieldKappa (const label patchi) const
 Anisotropic thermal conductivity [W/m/K]. More...
 
- Public Member Functions inherited from heThermo< BasicSolidThermo, MixtureType >
 heThermo (const fvMesh &, const word &phaseName)
 Construct from mesh. More...
 
 heThermo (const fvMesh &, const dictionary &, const word &phaseName)
 Construct from mesh and dictionary. More...
 
virtual ~heThermo ()
 Destructor. More...
 
virtual MixtureType::basicMixtureType & composition ()
 Return the compostion of the mixture. More...
 
virtual const MixtureType::basicMixtureType & composition () const
 Return the compostion of the mixture. More...
 
virtual bool incompressible () const
 Return true if the equation of state is incompressible. More...
 
virtual bool isochoric () const
 Return true if the equation of state is isochoric. More...
 
virtual volScalarFieldhe ()
 Enthalpy/Internal energy [J/kg]. More...
 
virtual const volScalarFieldhe () const
 Enthalpy/Internal energy [J/kg]. More...
 
virtual tmp< volScalarFieldhe (const volScalarField &p, const volScalarField &T) const
 Enthalpy/Internal energy. More...
 
virtual tmp< scalarFieldhe (const scalarField &p, const scalarField &T, const labelList &cells) const
 Enthalpy/Internal energy for cell-set [J/kg]. More...
 
virtual tmp< scalarFieldhe (const scalarField &p, const scalarField &T, const label patchi) const
 Enthalpy/Internal energy for patch [J/kg]. More...
 
virtual tmp< volScalarFieldhc () const
 Chemical enthalpy [J/kg]. More...
 
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &p, const scalarField &T0, const labelList &cells) const
 Temperature from enthalpy/internal energy for cell-set. More...
 
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &p, const scalarField &T0, const label patchi) const
 Temperature from enthalpy/internal energy for patch. More...
 
virtual tmp< scalarFieldCp (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCp () const
 Heat capacity at constant pressure [J/kg/K]. More...
 
virtual tmp< scalarFieldCv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCv () const
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< volScalarFieldgamma () const
 Gamma = Cp/Cv []. More...
 
virtual tmp< scalarFieldgamma (const scalarField &p, const scalarField &T, const label patchi) const
 Gamma = Cp/Cv for patch []. More...
 
virtual tmp< scalarFieldCpv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure/volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCpv () const
 Heat capacity at constant pressure/volume [J/kg/K]. More...
 
virtual tmp< volScalarFieldCpByCpv () const
 Heat capacity ratio []. More...
 
virtual tmp< scalarFieldCpByCpv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity ratio for patch []. More...
 
virtual tmp< volScalarFieldkappa () const
 Thermal diffusivity for temperature of mixture [J/m/s/K]. More...
 
virtual tmp< scalarFieldkappa (const label patchi) const
 Thermal diffusivity for temperature. More...
 
virtual tmp< volScalarFieldkappaEff (const volScalarField &) const
 Effective thermal diffusivity for temperature. More...
 
virtual tmp< scalarFieldkappaEff (const scalarField &alphat, const label patchi) const
 Effective thermal diffusivity for temperature. More...
 
virtual tmp< volScalarFieldalphaEff (const volScalarField &alphat) const
 Effective thermal diffusivity of mixture [kg/m/s]. More...
 
virtual tmp< scalarFieldalphaEff (const scalarField &alphat, const label patchi) const
 Effective thermal diffusivity of mixture for patch [kg/m/s]. More...
 
virtual bool read ()
 Read thermophysical properties dictionary. More...
 

Additional Inherited Members

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

Detailed Description

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

Energy for a solid mixture.

Source files

Definition at line 49 of file heSolidThermo.H.

Constructor & Destructor Documentation

◆ heSolidThermo() [1/2]

heSolidThermo ( const fvMesh mesh,
const word phaseName 
)

Construct from mesh and phase name.

Definition at line 145 of file heSolidThermo.C.

◆ heSolidThermo() [2/2]

heSolidThermo ( const fvMesh mesh,
const dictionary dict,
const word phaseName 
)

Construct from mesh, dictionary and phase name.

Definition at line 159 of file heSolidThermo.C.

◆ ~heSolidThermo()

~heSolidThermo ( )
virtual

Destructor.

Definition at line 174 of file heSolidThermo.C.

Member Function Documentation

◆ TypeName()

TypeName ( "heSolidThermo< BasicSolidThermo, MixtureType >"  )

Runtime type information.

◆ correct()

void correct ( )
virtual

Update properties.

Definition at line 181 of file heSolidThermo.C.

References Foam::endl(), Foam::Info, and InfoInFunction.

Here is the call graph for this function:

◆ Kappa() [1/2]

Foam::tmp< Foam::volVectorField > Kappa ( ) const
virtual

Anisotropic thermal conductivity [W/m/K].

Definition at line 199 of file heSolidThermo.C.

References Foam::dimEnergy, Foam::dimLength, Foam::dimTemperature, Foam::dimTime, forAll, mesh, patchi, GeometricField< Type, PatchField, GeoMesh >::ref(), fvMesh::time(), and Time::timeName().

Referenced by heSolidThermo< BasicSolidThermo, MixtureType >::isotropic().

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

◆ isotropic()

virtual bool isotropic ( ) const
inlinevirtual

Return true if thermal conductivity is isotropic.

Definition at line 102 of file heSolidThermo.H.

References heSolidThermo< BasicSolidThermo, MixtureType >::Kappa(), and patchi.

Here is the call graph for this function:

◆ Kappa() [2/2]

Foam::tmp< Foam::vectorField > Kappa ( const label  patchi) const
virtual

Anisotropic thermal conductivity [W/m/K].

Definition at line 264 of file heSolidThermo.C.

References forAll, patchi, tmp< T >::ref(), List< T >::size(), and vectorField().

Here is the call graph for this function:

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