Public Member Functions | Protected Attributes | List of all members
twoPhaseMixture Class Reference

A two-phase mixture model. More...

Inheritance diagram for twoPhaseMixture:
Inheritance graph
[legend]
Collaboration diagram for twoPhaseMixture:
Collaboration graph
[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 48 of file twoPhaseMixture.H.

Constructor & Destructor Documentation

twoPhaseMixture ( const fvMesh mesh,
const dictionary dict 
)

Construct from components.

Definition at line 32 of file twoPhaseMixture.C.

~twoPhaseMixture ( )
inline

Destructor.

Definition at line 74 of file twoPhaseMixture.H.

Member Function Documentation

const word& phase1Name ( ) const
inline

Definition at line 80 of file twoPhaseMixture.H.

References twoPhaseMixture::phase1Name_.

const word& phase2Name ( ) const
inline

Definition at line 85 of file twoPhaseMixture.H.

References twoPhaseMixture::phase2Name_.

const volScalarField& alpha1 ( ) const
inline

Return the phase-fraction of phase 1.

Definition at line 91 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha1_.

volScalarField& alpha1 ( )
inline

Return the phase-fraction of phase 1.

Definition at line 97 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha1_.

const volScalarField& alpha2 ( ) const
inline

Return the phase-fraction of phase 2.

Definition at line 103 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha2_.

volScalarField& alpha2 ( )
inline

Return the phase-fraction of phase 2.

Definition at line 109 of file twoPhaseMixture.H.

References twoPhaseMixture::alpha2_.

Member Data Documentation

word phase1Name_
protected

Definition at line 54 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase1Name().

word phase2Name_
protected

Definition at line 55 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase2Name().

volScalarField alpha1_
protected
volScalarField alpha2_
protected

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