Public Member Functions | Private Attributes
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 >:
Inheritance graph
[legend]
Collaboration diagram for AnisothermalPhaseModel< BasePhaseModel >:
Collaboration graph
[legend]

Public Member Functions

 AnisothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
virtual ~AnisothermalPhaseModel ()
 Destructor. More...
 
virtual void correctKinematics ()
 Correct the kinematics. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. More...
 
virtual tmp< fvScalarMatrixheEqn ()
 Return the enthalpy equation. More...
 
virtual bool compressible () const
 Return true if the phase is compressible otherwise false. More...
 
virtual const volScalarFieldK () const
 Return the phase kinetic energy. More...
 

Private Attributes

volScalarField K_
 Kinetic energy. 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 50 of file AnisothermalPhaseModel.H.

Constructor & Destructor Documentation

◆ AnisothermalPhaseModel()

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

◆ ~AnisothermalPhaseModel()

virtual ~AnisothermalPhaseModel ( )
virtual

Destructor.

Member Function Documentation

◆ correctKinematics()

virtual void correctKinematics ( )
virtual

Correct the kinematics.

◆ correctThermo()

virtual void correctThermo ( )
virtual

Correct the thermodynamics.

◆ heEqn()

virtual tmp<fvScalarMatrix> heEqn ( )
virtual

Return the enthalpy equation.

◆ compressible()

virtual bool compressible ( ) const
virtual

Return true if the phase is compressible otherwise false.

◆ K()

virtual const volScalarField& K ( ) const
virtual

Return the phase kinetic energy.

Field Documentation

◆ K_

volScalarField K_
private

Kinetic energy.

Definition at line 57 of file AnisothermalPhaseModel.H.


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