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 multiphaseInterSystem &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 multiphaseInterSystem fluid,
const word phaseName 
)

Definition at line 40 of file StaticPhaseModel.C.

References Foam::name().

Here is the call graph for this function:

◆ ~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 80 of file StaticPhaseModel.C.

◆ phi() [1/2]

Constant access the volumetric flux. Return zero field.

Definition at line 88 of file StaticPhaseModel.C.

References IOobject::groupName(), phaseModel::name(), Time::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 106 of file StaticPhaseModel.C.

References Foam::Zero.

◆ alphaPhi() [1/2]

Foam::tmp< Foam::surfaceScalarField > alphaPhi
virtual

Constant access the volumetric flux of the phase.

Definition at line 115 of file StaticPhaseModel.C.

References IOobject::groupName(), phaseModel::name(), Time::New(), 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 137 of file StaticPhaseModel.C.

References Foam::Zero.

◆ U()

Access const reference to U.

Definition at line 146 of file StaticPhaseModel.C.

References Foam::dimVelocity, IOobject::groupName(), phaseModel::name(), Time::New(), and Foam::Zero.

Here is the call graph for this function:

◆ diffNo()

Maximum diffusion number.

Definition at line 164 of file StaticPhaseModel.C.

References Foam::fvc::interpolate(), and Foam::sqr().

Here is the call graph for this function:

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