Loading...
Searching...
No Matches
twoPhaseMixture Class Reference

A two-phase mixture model. More...

#include <twoPhaseMixture.H>

Inheritance diagram for twoPhaseMixture:
Collaboration diagram for twoPhaseMixture:

Public Member Functions

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

Protected Attributes

word phase1Name_
word phase2Name_
volScalarField alpha1_
volScalarField alpha2_

Detailed Description

A two-phase mixture model.

Source files

Definition at line 46 of file twoPhaseMixture.H.

Constructor & Destructor Documentation

◆ twoPhaseMixture()

twoPhaseMixture ( const fvMesh & mesh,
const dictionary & dict )

Construct from components.

Definition at line 26 of file twoPhaseMixture.C.

References alpha1_, alpha2_, dict, mesh, phase1Name_, phase2Name_, and timeName.

Referenced by incompressibleTwoPhaseMixture::incompressibleTwoPhaseMixture().

Here is the caller graph for this function:

◆ ~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 phase1Name_.

◆ phase2Name()

const word & phase2Name ( ) const
inline

Definition at line 87 of file twoPhaseMixture.H.

References phase2Name_.

◆ alpha1() [1/2]

const volScalarField & alpha1 ( ) const
inline

Return the phase-fraction of phase 1.

Definition at line 95 of file twoPhaseMixture.H.

References alpha1_.

Referenced by immiscibleIncompressibleTwoPhaseMixture::immiscibleIncompressibleTwoPhaseMixture().

Here is the caller graph for this function:

◆ alpha1() [2/2]

volScalarField & alpha1 ( )
inline

Return the phase-fraction of phase 1.

Definition at line 103 of file twoPhaseMixture.H.

References alpha1_.

◆ alpha2() [1/2]

const volScalarField & alpha2 ( ) const
inline

Return the phase-fraction of phase 2.

Definition at line 111 of file twoPhaseMixture.H.

References alpha2_.

◆ alpha2() [2/2]

volScalarField & alpha2 ( )
inline

Return the phase-fraction of phase 2.

Definition at line 119 of file twoPhaseMixture.H.

References alpha2_.

Member Data Documentation

◆ phase1Name_

◆ phase2Name_

◆ alpha1_

◆ alpha2_


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