Loading...
Searching...
No Matches
AnisothermalPhaseModel< BasePhaseModel > Class Template Reference

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

#include <AnisothermalPhaseModel.H>

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

Public Member Functions

 AnisothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 Construct from phase system and phase name.
virtual ~AnisothermalPhaseModel ()=default
 Destructor.
virtual void correctThermo ()
 Correct the thermodynamics.
virtual bool isothermal () const
 Return whether the phase is isothermal.
virtual tmp< fvScalarMatrixheEqn ()
 Return the enthalpy equation.

Detailed Description

template<class BasePhaseModel>
class Foam::AnisothermalPhaseModel< BasePhaseModel >

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

Source files

Definition at line 49 of file AnisothermalPhaseModel.H.

Constructor & Destructor Documentation

◆ AnisothermalPhaseModel()

template<class BasePhaseModel>
AnisothermalPhaseModel ( const phaseSystem & fluid,
const word & phaseName,
const label index )

Construct from phase system and phase name.

Definition at line 55 of file AnisothermalPhaseModel.C.

References fluid.

◆ ~AnisothermalPhaseModel()

template<class BasePhaseModel>
virtual ~AnisothermalPhaseModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ correctThermo()

template<class BasePhaseModel>
void correctThermo ( )
virtual

Correct the thermodynamics.

Definition at line 69 of file AnisothermalPhaseModel.C.

◆ isothermal()

template<class BasePhaseModel>
bool isothermal ( ) const
virtual

Return whether the phase is isothermal.

Definition at line 78 of file AnisothermalPhaseModel.C.

◆ heEqn()

template<class BasePhaseModel>
Foam::tmp< Foam::fvScalarMatrix > heEqn ( )
virtual

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