compressibleTwoPhases Class Referenceabstract
Inheritance diagram for compressibleTwoPhases:
Collaboration diagram for compressibleTwoPhases:

Public Member Functions

 TypeName ("compressibleTwoPhases")
 Runtime type information. More...
 
 compressibleTwoPhases ()
 Default construct. More...
 
virtual ~compressibleTwoPhases ()
 Destructor. More...
 
virtual const rhoFluidThermothermo1 () const =0
 Return the thermo for phase 1. More...
 
virtual const rhoFluidThermothermo2 () const =0
 Return the thermo for phase 2. More...
 
const rhoFluidThermothermo (const bool index) const
 Return the density of a given phase. More...
 
virtual const volScalarFieldrho1 () const =0
 Return the density of phase 1. More...
 
virtual const volScalarFieldrho2 () const =0
 Return the density of phase 2. More...
 
const volScalarFieldrho (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

Definition at line 49 of file compressibleTwoPhases.H.

Constructor & Destructor Documentation

◆ compressibleTwoPhases()

Default construct.

Definition at line 62 of file compressibleTwoPhases.H.

◆ ~compressibleTwoPhases()

virtual ~compressibleTwoPhases ( )
inlinevirtual

Destructor.

Definition at line 67 of file compressibleTwoPhases.H.

Member Function Documentation

◆ TypeName()

TypeName ( "compressibleTwoPhases"  )

Runtime type information.

◆ thermo1()

virtual const rhoFluidThermo& thermo1 ( ) const
pure virtual

Return the thermo for phase 1.

Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.

Referenced by compressibleTwoPhases::thermo().

Here is the caller graph for this function:

◆ thermo2()

virtual const rhoFluidThermo& thermo2 ( ) const
pure virtual

Return the thermo for phase 2.

Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.

Referenced by compressibleTwoPhases::thermo().

Here is the caller graph for this function:

◆ thermo()

const rhoFluidThermo& thermo ( const bool  index) const
inline

Return the density of a given phase.

Definition at line 80 of file compressibleTwoPhases.H.

References twoPhases::index(), compressibleTwoPhases::thermo1(), and compressibleTwoPhases::thermo2().

Referenced by cavitationModel::thermol(), and cavitationModel::thermov().

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

◆ rho1()

virtual const volScalarField& rho1 ( ) const
pure virtual

Return the density of phase 1.

Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.

Referenced by compressibleTwoPhases::rho().

Here is the caller graph for this function:

◆ rho2()

virtual const volScalarField& rho2 ( ) const
pure virtual

Return the density of phase 2.

Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.

Referenced by compressibleTwoPhases::rho().

Here is the caller graph for this function:

◆ rho()

const volScalarField& rho ( const bool  index) const
inline

Return the density of a given phase.

Definition at line 92 of file compressibleTwoPhases.H.

References twoPhases::index(), compressibleTwoPhases::rho1(), and compressibleTwoPhases::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: