All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
twoPhaseMixture Class Reference

A two-phase mixture model. More...

Inheritance diagram for twoPhaseMixture:
Collaboration diagram for twoPhaseMixture:

Public Member Functions

 twoPhaseMixture (const fvMesh &mesh, const dictionary &dict)
 Construct from components. More...
 
 ~twoPhaseMixture ()
 Destructor. More...
 
const wordphase1Name () const
 
const wordphase2Name () const
 
const volScalarFieldalpha1 () const
 Return the phase-fraction of phase 1. More...
 
volScalarFieldalpha1 ()
 Return the phase-fraction of phase 1. More...
 
const volScalarFieldalpha2 () const
 Return the phase-fraction of phase 2. More...
 
volScalarFieldalpha2 ()
 Return the phase-fraction of phase 2. More...
 

Protected Attributes

word phase1Name_
 
word phase2Name_
 
volScalarField alpha1_
 
volScalarField alpha2_
 

Detailed Description

A two-phase mixture model.

Source files

Definition at line 48 of file twoPhaseMixture.H.

Constructor & Destructor Documentation

◆ twoPhaseMixture()

twoPhaseMixture ( const fvMesh mesh,
const dictionary dict 
)

Construct from components.

Definition at line 32 of file twoPhaseMixture.C.

◆ ~twoPhaseMixture()

~twoPhaseMixture ( )
inline

Destructor.

Definition at line 74 of file twoPhaseMixture.H.

Member Function Documentation

◆ phase1Name()

const word& phase1Name ( ) const
inline

Definition at line 80 of file twoPhaseMixture.H.

References twoPhaseMixture::phase1Name_.

◆ phase2Name()

const word& phase2Name ( ) const
inline

Definition at line 85 of file twoPhaseMixture.H.

References twoPhaseMixture::phase2Name_.

◆ alpha1() [1/2]

const volScalarField& alpha1 ( ) const
inline

Return the phase-fraction of phase 1.

Definition at line 91 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha1_.

◆ alpha1() [2/2]

volScalarField& alpha1 ( )
inline

Return the phase-fraction of phase 1.

Definition at line 97 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha1_.

◆ alpha2() [1/2]

const volScalarField& alpha2 ( ) const
inline

Return the phase-fraction of phase 2.

Definition at line 103 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha2_.

◆ alpha2() [2/2]

volScalarField& alpha2 ( )
inline

Return the phase-fraction of phase 2.

Definition at line 109 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha2_.

Member Data Documentation

◆ phase1Name_

word phase1Name_
protected

Definition at line 54 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase1Name().

◆ phase2Name_

word phase2Name_
protected

Definition at line 55 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase2Name().

◆ alpha1_

volScalarField alpha1_
protected

◆ alpha2_

volScalarField alpha2_
protected

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