SolidIsothermalPhaseModel< BasePhaseModel > Class Template Reference

Class which represents a solid phase for which the temperature (strictly energy) remains constant. Returns an empty energy equation and does nothing when correctThermo is called. More...

Inheritance diagram for SolidIsothermalPhaseModel< BasePhaseModel >:
Collaboration diagram for SolidIsothermalPhaseModel< BasePhaseModel >:

Public Member Functions

 SolidIsothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
 
virtual ~SolidIsothermalPhaseModel ()
 Destructor. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. More...
 
virtual bool isothermal () const
 Return whether the phase is isothermal. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Return the effective thermal conductivity on a patch. More...
 
virtual tmp< fvScalarMatrixheEqn ()
 Return the enthalpy equation. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::SolidIsothermalPhaseModel< BasePhaseModel >

Class which represents a solid phase for which the temperature (strictly energy) remains constant. Returns an empty energy equation and does nothing when correctThermo is called.

Source files

Definition at line 51 of file SolidIsothermalPhaseModel.H.

Constructor & Destructor Documentation

◆ SolidIsothermalPhaseModel()

SolidIsothermalPhaseModel ( const phaseSystem fluid,
const word phaseName,
const bool  referencePhase,
const label  index 
)

Definition at line 32 of file SolidIsothermalPhaseModel.C.

◆ ~SolidIsothermalPhaseModel()

Destructor.

Definition at line 47 of file SolidIsothermalPhaseModel.C.

Member Function Documentation

◆ correctThermo()

void correctThermo
virtual

Correct the thermodynamics.

Definition at line 54 of file SolidIsothermalPhaseModel.C.

◆ isothermal()

bool isothermal
virtual

Return whether the phase is isothermal.

Definition at line 61 of file SolidIsothermalPhaseModel.C.

◆ kappaEff()

Foam::tmp< Foam::scalarField > kappaEff ( const label  patchi) const
virtual

Return the effective thermal conductivity on a patch.

Definition at line 69 of file SolidIsothermalPhaseModel.C.

References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), basicThermo::kappa(), NotImplemented, patchi, and thermo.

Here is the call graph for this function:

◆ heEqn()

Foam::tmp< Foam::fvScalarMatrix > heEqn
virtual

Return the enthalpy equation.

Definition at line 81 of file SolidIsothermalPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

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