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...

Inheritance diagram for AnisothermalPhaseModel< BasePhaseModel >:
[legend]
Collaboration diagram for AnisothermalPhaseModel< BasePhaseModel >:
[legend]

Public Member Functions

 AnisothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
virtual ~AnisothermalPhaseModel ()
 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::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 52 of file AnisothermalPhaseModel.H.

Constructor & Destructor Documentation

◆ AnisothermalPhaseModel()

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

Definition at line 63 of file AnisothermalPhaseModel.C.

◆ ~AnisothermalPhaseModel()

~AnisothermalPhaseModel ( )
virtual

Destructor.

Definition at line 76 of file AnisothermalPhaseModel.C.

Member Function Documentation

◆ correctThermo()

void correctThermo ( )
virtual

Correct the thermodynamics.

Definition at line 83 of file AnisothermalPhaseModel.C.

References correctThermo().

Here is the call graph for this function:

◆ isothermal()

bool isothermal ( ) const
virtual

Return whether the phase is isothermal.

Definition at line 92 of file AnisothermalPhaseModel.C.

◆ heEqn()

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

Return the enthalpy equation.

Definition at line 100 of file AnisothermalPhaseModel.C.

References Foam::fvc::absolute(), Foam::constant::atomic::alpha, alphaEff(), alphaPhi(), contErr(), Foam::fac::ddt(), Foam::fac::div(), dpdt, fluid, he, Foam::fac::interpolate(), Foam::fac::laplacian(), p, Qdot, tmp< T >::ref(), rho, Sp, thermo, and U.

Here is the call graph for this function:

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