StaticPhaseModel< BasePhaseModel > Class Template Reference

Class which represents a static fluid phase. More...

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

Public Member Functions

 StaticPhaseModel (const phaseSystem &fluid, const word &phaseName)
 
virtual ~StaticPhaseModel ()=default
 Destructor. More...
 
virtual void correct ()
 Correct the phase properties other than the thermo and turbulence. More...
 
virtual tmp< surfaceScalarFieldphi () const
 Constant access the volumetric flux. Return zero field. More...
 
virtual const surfaceScalarFieldphi ()
 Access the volumetric flux. More...
 
virtual tmp< surfaceScalarFieldalphaPhi () const
 Constant access the volumetric flux of the phase. More...
 
virtual surfaceScalarFieldalphaPhi ()
 Access the volumetric flux of the phase. More...
 
virtual tmp< volVectorFieldU () const
 Access const reference to U. More...
 
virtual tmp< surfaceScalarFielddiffNo () const
 Maximum diffusion number. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::StaticPhaseModel< BasePhaseModel >

Class which represents a static fluid phase.

Source files

Definition at line 51 of file StaticPhaseModel.H.

Constructor & Destructor Documentation

◆ StaticPhaseModel()

StaticPhaseModel ( const phaseSystem fluid,
const word phaseName 
)

Definition at line 41 of file StaticPhaseModel.C.

◆ ~StaticPhaseModel()

virtual ~StaticPhaseModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ correct()

void correct ( )
virtual

Correct the phase properties other than the thermo and turbulence.

Definition at line 76 of file StaticPhaseModel.C.

References correct().

Here is the call graph for this function:

◆ phi() [1/2]

Foam::tmp< Foam::surfaceScalarField > phi ( ) const
virtual

Constant access the volumetric flux. Return zero field.

Definition at line 84 of file StaticPhaseModel.C.

References Foam::name(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ phi() [2/2]

const Foam::surfaceScalarField & phi ( )
virtual

Access the volumetric flux.

Definition at line 102 of file StaticPhaseModel.C.

References Foam::Zero.

◆ alphaPhi() [1/2]

Foam::tmp< Foam::surfaceScalarField > alphaPhi ( ) const
virtual

Constant access the volumetric flux of the phase.

Definition at line 111 of file StaticPhaseModel.C.

References Foam::name(), and Foam::Zero.

Here is the call graph for this function:

◆ alphaPhi() [2/2]

Foam::surfaceScalarField & alphaPhi ( )
virtual

Access the volumetric flux of the phase.

Definition at line 132 of file StaticPhaseModel.C.

References Foam::Zero.

◆ U()

Foam::tmp< Foam::volVectorField > U ( ) const
virtual

Access const reference to U.

Definition at line 141 of file StaticPhaseModel.C.

References Foam::dimVelocity, Foam::name(), and Foam::Zero.

Here is the call graph for this function:

◆ diffNo()

Foam::tmp< Foam::surfaceScalarField > diffNo ( ) const
virtual

Maximum diffusion number.

Definition at line 162 of file StaticPhaseModel.C.

References Cp, Foam::fac::interpolate(), Foam::constant::electromagnetic::kappa, rho, and Foam::sqr().

Here is the call graph for this function:

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