twoPhaseMixture Class Reference

A two-phase mixture model. More...

Inheritance diagram for twoPhaseMixture:
[legend]
Collaboration diagram for twoPhaseMixture:
[legend]

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 50 of file twoPhaseMixture.H.

Constructor & Destructor Documentation

◆ twoPhaseMixture()

twoPhaseMixture ( const fvMesh mesh,
const dictionary dict 
)

Construct from components.

Definition at line 33 of file twoPhaseMixture.C.

◆ ~twoPhaseMixture()

~twoPhaseMixture ( )
inline

Destructor.

Definition at line 76 of file twoPhaseMixture.H.

Member Function Documentation

◆ phase1Name()

const word & phase1Name ( ) const
inline

Definition at line 82 of file twoPhaseMixture.H.

References twoPhaseMixture::phase1Name_.

◆ phase2Name()

const word & phase2Name ( ) const
inline

Definition at line 87 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 93 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha1_.

◆ alpha1() [2/2]

volScalarField & alpha1 ( )
inline

Return the phase-fraction of phase 1.

Definition at line 99 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 105 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha2_.

◆ alpha2() [2/2]

volScalarField & alpha2 ( )
inline

Return the phase-fraction of phase 2.

Definition at line 111 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha2_.

Member Data Documentation

◆ phase1Name_

word phase1Name_
protected

Definition at line 56 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase1Name().

◆ phase2Name_

word phase2Name_
protected

Definition at line 57 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase2Name().

◆ alpha1_

◆ alpha2_

volScalarField alpha2_
protected

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