Loading...
Searching...
No Matches
StaticPhaseModel< BasePhaseModel > Class Template Reference

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

#include <StaticPhaseModel.H>

Inheritance diagram for StaticPhaseModel< BasePhaseModel >:
Collaboration diagram for StaticPhaseModel< BasePhaseModel >:

Public Member Functions

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

Detailed Description

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

Class which represents a static fluid phase.

Source files

Definition at line 47 of file StaticPhaseModel.H.

Constructor & Destructor Documentation

◆ StaticPhaseModel()

template<class BasePhaseModel>
StaticPhaseModel ( const multiphaseInterSystem & fluid,
const word & phaseName )

Definition at line 33 of file StaticPhaseModel.C.

References fluid, mesh, Foam::name(), timeName, and Foam::Zero.

Here is the call graph for this function:

◆ ~StaticPhaseModel()

template<class BasePhaseModel>
virtual ~StaticPhaseModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ correct()

template<class BasePhaseModel>
void correct ( )
virtual

Correct the phase properties other than the thermo and turbulence.

Definition at line 73 of file StaticPhaseModel.C.

◆ phi() [1/2]

template<class BasePhaseModel>
Foam::tmp< Foam::surfaceScalarField > phi ( ) const
virtual

Constant access the volumetric flux. Return zero field.

Definition at line 81 of file StaticPhaseModel.C.

References IOobject::groupName(), phaseModel::name(), GeometricField< scalar, fvsPatchField, surfaceMesh >::New(), IOobjectOption::NO_REGISTER, and Foam::Zero.

Here is the call graph for this function:

◆ phi() [2/2]

template<class BasePhaseModel>
const Foam::surfaceScalarField & phi ( )
virtual

Access the volumetric flux.

Definition at line 95 of file StaticPhaseModel.C.

References Foam::Zero.

◆ alphaPhi() [1/2]

template<class BasePhaseModel>
Foam::tmp< Foam::surfaceScalarField > alphaPhi ( ) const
virtual

Constant access the volumetric flux of the phase.

Definition at line 104 of file StaticPhaseModel.C.

References IOobject::groupName(), phaseModel::name(), GeometricField< scalar, fvsPatchField, surfaceMesh >::New(), IOobjectOption::NO_REGISTER, and Foam::Zero.

Here is the call graph for this function:

◆ alphaPhi() [2/2]

template<class BasePhaseModel>
Foam::surfaceScalarField & alphaPhi ( )
virtual

Access the volumetric flux of the phase.

Definition at line 122 of file StaticPhaseModel.C.

References Foam::Zero.

◆ U()

template<class BasePhaseModel>
Foam::tmp< Foam::volVectorField > U ( ) const
virtual

Access const reference to U.

Definition at line 131 of file StaticPhaseModel.C.

References Foam::dimVelocity, IOobject::groupName(), phaseModel::name(), GeometricField< vector, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and Foam::Zero.

Here is the call graph for this function:

◆ diffNo()

template<class BasePhaseModel>
Foam::tmp< Foam::surfaceScalarField > diffNo ( ) const
virtual

Maximum diffusion number.

Definition at line 145 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:
  • src/phaseSystemModels/multiphaseInter/phasesSystem/phaseModel/StaticPhaseModel/StaticPhaseModel.H
  • src/phaseSystemModels/multiphaseInter/phasesSystem/phaseModel/StaticPhaseModel/StaticPhaseModel.C