IsothermalPhaseModel< BasePhaseModel > Class Template Reference

Class which represents a 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 IsothermalPhaseModel< BasePhaseModel >:
[legend]
Collaboration diagram for IsothermalPhaseModel< BasePhaseModel >:
[legend]

Public Member Functions

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

Detailed Description

template<class BasePhaseModel>
class Foam::IsothermalPhaseModel< BasePhaseModel >

Class which represents a 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 53 of file IsothermalPhaseModel.H.

Constructor & Destructor Documentation

◆ IsothermalPhaseModel()

IsothermalPhaseModel ( const phaseSystem fluid,
const word phaseName,
const label  index 
)

Definition at line 34 of file IsothermalPhaseModel.C.

◆ ~IsothermalPhaseModel()

virtual ~IsothermalPhaseModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ correctThermo()

void correctThermo
virtual

Correct the thermodynamics.

Definition at line 48 of file IsothermalPhaseModel.C.

References Foam::name(), Time::New(), p, and T.

Here is the call graph for this function:

◆ isothermal()

bool isothermal
virtual

Return whether the phase is isothermal.

Definition at line 68 of file IsothermalPhaseModel.C.

◆ heEqn()

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

Return the enthalpy equation.

Definition at line 76 of file IsothermalPhaseModel.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: