SolidThermo< BaseThermo > Class Template Reference

Thermo implementation for a solid. More...

Inheritance diagram for SolidThermo< BaseThermo >:
Collaboration diagram for SolidThermo< BaseThermo >:

Public Member Functions

 SolidThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name. More...
 
 SolidThermo (const SolidThermo< BaseThermo > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~SolidThermo ()
 Destructor. More...
 
virtual void correct ()
 Update properties. More...
 
virtual bool isotropic () const
 Return true if thermal conductivity is isotropic. More...
 
virtual const volVectorFieldKappa () const
 Anisotropic thermal conductivity [W/m/K]. More...
 
void operator= (const SolidThermo< BaseThermo > &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

void calculate ()
 Calculate the thermo variables. More...
 

Protected Attributes

volVectorField Kappa_
 Anisotropic thermal conductivity [W/m/K]. More...
 

Detailed Description

template<class BaseThermo>
class Foam::SolidThermo< BaseThermo >

Thermo implementation for a solid.

Source files

Definition at line 49 of file SolidThermo.H.

Constructor & Destructor Documentation

◆ SolidThermo() [1/2]

SolidThermo ( const fvMesh mesh,
const word phaseName 
)

Construct from mesh and phase name.

Definition at line 187 of file SolidThermo.C.

References SolidThermo< BaseThermo >::calculate().

Here is the call graph for this function:

◆ SolidThermo() [2/2]

SolidThermo ( const SolidThermo< BaseThermo > &  )
delete

Disallow default bitwise copy construction.

◆ ~SolidThermo()

~SolidThermo
virtual

Destructor.

Definition at line 215 of file SolidThermo.C.

Member Function Documentation

◆ calculate()

void calculate
protected

Calculate the thermo variables.

Definition at line 31 of file SolidThermo.C.

References fvPatchField< Type >::fixesValue(), forAll, he(), and patchi.

Referenced by SolidThermo< BaseThermo >::SolidThermo().

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

◆ correct()

void correct
virtual

Update properties.

Definition at line 222 of file SolidThermo.C.

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

Here is the call graph for this function:

◆ isotropic()

virtual bool isotropic ( ) const
inlinevirtual

Return true if thermal conductivity is isotropic.

Definition at line 88 of file SolidThermo.H.

◆ Kappa()

const Foam::volVectorField & Kappa
virtual

Anisotropic thermal conductivity [W/m/K].

Definition at line 240 of file SolidThermo.C.

◆ operator=()

void operator= ( const SolidThermo< BaseThermo > &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ Kappa_

volVectorField Kappa_
protected

Anisotropic thermal conductivity [W/m/K].

Definition at line 58 of file SolidThermo.H.


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