incompressibleTwoPhases Class Referenceabstract

Interface to two constant density phases. More...

Inheritance diagram for incompressibleTwoPhases:
Collaboration diagram for incompressibleTwoPhases:

Public Member Functions

 TypeName ("incompressibleTwoPhases")
 Runtime type information. More...
 
 incompressibleTwoPhases ()
 Default construct. More...
 
virtual ~incompressibleTwoPhases ()
 Destructor. More...
 
virtual const dimensionedScalarrho1 () const =0
 Return the density of phase1. More...
 
virtual const dimensionedScalarrho2 () const =0
 Return the density of phase2. More...
 
const dimensionedScalarrho (const bool index) const
 Return the density of a given phase. More...
 
- Public Member Functions inherited from twoPhases
 TypeName ("twoPhases")
 Runtime type information. More...
 
 twoPhases ()
 Default construct. More...
 
virtual ~twoPhases ()
 Destructor. More...
 
const fvMeshmesh () const
 Access the mesh. More...
 
bool index (const word &name) const
 Return the index associated with a given phase name. More...
 
virtual const volScalarFieldalpha1 () const =0
 Return the volume-fraction of phase 1. More...
 
virtual const volScalarFieldalpha2 () const =0
 Return the volume-fraction of phase 2. More...
 
const volScalarFieldalpha (const bool index) const
 Return the volume-fraction of a given phase. More...
 

Detailed Description

Interface to two constant density phases.

Source files

Definition at line 48 of file incompressibleTwoPhases.H.

Constructor & Destructor Documentation

◆ incompressibleTwoPhases()

Default construct.

Definition at line 61 of file incompressibleTwoPhases.H.

◆ ~incompressibleTwoPhases()

virtual ~incompressibleTwoPhases ( )
inlinevirtual

Destructor.

Definition at line 66 of file incompressibleTwoPhases.H.

Member Function Documentation

◆ TypeName()

TypeName ( "incompressibleTwoPhases"  )

Runtime type information.

◆ rho1()

virtual const dimensionedScalar& rho1 ( ) const
pure virtual

Return the density of phase1.

Implemented in incompressibleTwoPhaseVoFMixture, and incompressibleDriftFluxMixture.

Referenced by incompressibleTwoPhases::rho().

Here is the caller graph for this function:

◆ rho2()

virtual const dimensionedScalar& rho2 ( ) const
pure virtual

Return the density of phase2.

Implemented in incompressibleTwoPhaseVoFMixture, and incompressibleDriftFluxMixture.

Referenced by incompressibleTwoPhases::rho().

Here is the caller graph for this function:

◆ rho()

const dimensionedScalar& rho ( const bool  index) const
inline

Return the density of a given phase.

Definition at line 79 of file incompressibleTwoPhases.H.

References twoPhases::index(), incompressibleTwoPhases::rho1(), and incompressibleTwoPhases::rho2().

Referenced by cavitationModel::rhol(), and cavitationModel::rhov().

Here is the call graph for this function:
Here is the caller graph for this function:

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