SolidThermalPhaseModel< BasePhaseModel > Class Template Reference

Class which represents a solid stationary phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model. More...

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

Public Member Functions

 SolidThermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
 
virtual ~SolidThermalPhaseModel ()
 Destructor. More...
 
virtual bool isothermal () const
 Return whether the phase is isothermal. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. More...
 
virtual void predictThermophysicalTransport ()
 Predict the energy transport e.g. alphat. More...
 
virtual void correctThermophysicalTransport ()
 Correct the energy transport e.g. alphat. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Return the effective thermal conductivity on a patch. More...
 
virtual tmp< fvScalarMatrixdivq (volScalarField &he) const
 Return the source term for the energy equation. More...
 
virtual tmp< fvScalarMatrixheEqn ()
 Return the enthalpy equation. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::SolidThermalPhaseModel< BasePhaseModel >

Class which represents a solid stationary phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model.

Source files

Definition at line 52 of file SolidThermalPhaseModel.H.

Constructor & Destructor Documentation

◆ SolidThermalPhaseModel()

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

Definition at line 34 of file SolidThermalPhaseModel.C.

◆ ~SolidThermalPhaseModel()

Destructor.

Definition at line 53 of file SolidThermalPhaseModel.C.

Member Function Documentation

◆ isothermal()

bool isothermal
virtual

Return whether the phase is isothermal.

Definition at line 60 of file SolidThermalPhaseModel.C.

◆ correctThermo()

void correctThermo
virtual

Correct the thermodynamics.

Definition at line 67 of file SolidThermalPhaseModel.C.

◆ predictThermophysicalTransport()

void predictThermophysicalTransport
virtual

Predict the energy transport e.g. alphat.

Definition at line 76 of file SolidThermalPhaseModel.C.

◆ correctThermophysicalTransport()

void correctThermophysicalTransport
virtual

Correct the energy transport e.g. alphat.

Definition at line 85 of file SolidThermalPhaseModel.C.

◆ kappaEff()

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

Return the effective thermal conductivity on a patch.

Definition at line 95 of file SolidThermalPhaseModel.C.

References patchi.

◆ divq()

Foam::tmp< Foam::fvScalarMatrix > divq ( volScalarField he) const
virtual

Return the source term for the energy equation.

Definition at line 103 of file SolidThermalPhaseModel.C.

References he().

Here is the call graph for this function:

◆ heEqn()

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

Return the enthalpy equation.

Definition at line 111 of file SolidThermalPhaseModel.C.

References alpha(), Foam::fvm::ddt(), he(), Qdot, and rho.

Here is the call graph for this function:

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