Public Member Functions | Protected Attributes | List of all members
ThermoPhaseModel< BasePhaseModel, ThermoType > Class Template Reference

Class which represents a phase with a thermodynamic model. Provides access to the thermodynamic variables. Note that the thermo model itself is not returned as this class could be substituted in the hierarchy for one which mirrors the functionality, but does not include a thermo model; an incompressible phase model, for example. More...

Inheritance diagram for ThermoPhaseModel< BasePhaseModel, ThermoType >:
Inheritance graph
[legend]
Collaboration diagram for ThermoPhaseModel< BasePhaseModel, ThermoType >:
Collaboration graph
[legend]

Public Member Functions

 ThermoPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
virtual ~ThermoPhaseModel ()
 
virtual bool compressible () const
 
virtual const rhoThermothermo () const
 
virtual rhoThermothermoRef ()
 
virtual tmp< volScalarFieldrho () const
 
virtual tmp< volScalarFieldmu () const
 
virtual tmp< scalarFieldmu (const label patchi) const
 
virtual tmp< volScalarFieldnu () const
 
virtual tmp< scalarFieldnu (const label patchi) const
 
virtual tmp< volScalarFieldalpha () const
 
virtual tmp< scalarFieldalpha (const label patchi) const
 
virtual tmp< volScalarFieldkappa () const
 
virtual tmp< scalarFieldkappa (const label patchi) const
 
virtual tmp< volScalarFieldalphahe () const
 
virtual tmp< scalarFieldalphahe (const label patchi) const
 
virtual tmp< volScalarFieldkappaEff (const volScalarField &alphat) const
 
virtual tmp< scalarFieldkappaEff (const scalarField &alphat, const label patchi) const
 
virtual tmp< volScalarFieldalphaEff (const volScalarField &alphat) const
 
virtual tmp< scalarFieldalphaEff (const scalarField &alphat, const label patchi) const
 

Protected Attributes

autoPtr< ThermoType > thermo_
 

Detailed Description

template<class BasePhaseModel, class ThermoType>
class Foam::ThermoPhaseModel< BasePhaseModel, ThermoType >

Class which represents a phase with a thermodynamic model. Provides access to the thermodynamic variables. Note that the thermo model itself is not returned as this class could be substituted in the hierarchy for one which mirrors the functionality, but does not include a thermo model; an incompressible phase model, for example.

Source files

Definition at line 53 of file ThermoPhaseModel.H.

Constructor & Destructor Documentation

◆ ThermoPhaseModel()

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

Definition at line 36 of file ThermoPhaseModel.C.

References Foam::name().

Here is the call graph for this function:

◆ ~ThermoPhaseModel()

~ThermoPhaseModel
virtual

Definition at line 57 of file ThermoPhaseModel.C.

Member Function Documentation

◆ compressible()

bool compressible
virtual

Definition at line 64 of file ThermoPhaseModel.C.

◆ thermo()

const Foam::rhoThermo & thermo
virtual

Definition at line 72 of file ThermoPhaseModel.C.

◆ thermoRef()

Foam::rhoThermo & thermoRef
virtual

Definition at line 80 of file ThermoPhaseModel.C.

◆ rho()

Definition at line 88 of file ThermoPhaseModel.C.

◆ mu() [1/2]

Definition at line 96 of file ThermoPhaseModel.C.

◆ mu() [2/2]

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

Definition at line 105 of file ThermoPhaseModel.C.

◆ nu() [1/2]

Definition at line 115 of file ThermoPhaseModel.C.

◆ nu() [2/2]

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

Definition at line 124 of file ThermoPhaseModel.C.

◆ alpha() [1/2]

Foam::tmp< Foam::volScalarField > alpha
virtual

Definition at line 195 of file ThermoPhaseModel.C.

◆ alpha() [2/2]

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

Definition at line 204 of file ThermoPhaseModel.C.

◆ kappa() [1/2]

Foam::tmp< Foam::volScalarField > kappa
virtual

Definition at line 134 of file ThermoPhaseModel.C.

◆ kappa() [2/2]

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

Definition at line 143 of file ThermoPhaseModel.C.

◆ alphahe() [1/2]

Foam::tmp< Foam::volScalarField > alphahe
virtual

Definition at line 153 of file ThermoPhaseModel.C.

◆ alphahe() [2/2]

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

Definition at line 162 of file ThermoPhaseModel.C.

◆ kappaEff() [1/2]

Foam::tmp< Foam::volScalarField > kappaEff ( const volScalarField alphat) const
virtual

Definition at line 173 of file ThermoPhaseModel.C.

◆ kappaEff() [2/2]

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

Definition at line 184 of file ThermoPhaseModel.C.

◆ alphaEff() [1/2]

Foam::tmp< Foam::volScalarField > alphaEff ( const volScalarField alphat) const
virtual

Definition at line 215 of file ThermoPhaseModel.C.

◆ alphaEff() [2/2]

Foam::tmp< Foam::scalarField > alphaEff ( const scalarField alphat,
const label  patchi 
) const
virtual

Definition at line 226 of file ThermoPhaseModel.C.

Member Data Documentation

◆ thermo_

autoPtr<ThermoType> thermo_
protected

Definition at line 62 of file ThermoPhaseModel.H.


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