Public Types | Public Member Functions | Private Member Functions | Private Attributes
phasePair Class Reference
Inheritance diagram for phasePair:
Inheritance graph
[legend]
Collaboration diagram for phasePair:
Collaboration graph
[legend]

Public Types

typedef HashTable< dictionary, phasePairKey, phasePairKey::hashdictTable
 Dictionary hash table. More...
 
typedef HashTable< scalar, phasePairKey, phasePairKey::hashscalarTable
 Scalar hash table. More...
 
typedef HashTable< dictionary, phasePairKey, phasePairKey::hashdictTable
 Dictionary hash table. More...
 
typedef HashTable< scalar, phasePairKey, phasePairKey::hashscalarTable
 Scalar hash table. More...
 

Public Member Functions

 phasePair (const phaseModel &phase1, const phaseModel &phase2, const bool ordered=false)
 Construct from two phases and gravity. More...
 
virtual ~phasePair ()
 Destructor. More...
 
virtual const phaseModeldispersed () const
 Dispersed phase. More...
 
virtual const phaseModelcontinuous () const
 Continuous phase. More...
 
virtual word name () const
 Pair name. More...
 
tmp< volScalarFieldrho () const
 Average density. More...
 
tmp< volScalarFieldmagUr () const
 Relative velocity magnitude. More...
 
tmp< volVectorFieldUr () const
 Relative velocity. More...
 
tmp< volScalarFieldRe () const
 Reynolds number. More...
 
tmp< volScalarFieldPr () const
 Prandtl number. More...
 
tmp< volScalarFieldEo () const
 Eotvos number. More...
 
tmp< volScalarFieldEoH1 () const
 Eotvos number based on hydraulic diameter type 1. More...
 
tmp< volScalarFieldEoH2 () const
 Eotvos number based on hydraulic diameter type 2. More...
 
tmp< volScalarFieldsigma () const
 Surface tension coefficient. More...
 
tmp< volScalarFieldMo () const
 Morton Number. More...
 
tmp< volScalarFieldTa () const
 Takahashi Number. More...
 
virtual tmp< volScalarFieldE () const
 Aspect ratio. More...
 
const phaseModelphase1 () const
 
const phaseModelphase2 () const
 
const uniformDimensionedVectorFieldg () const
 
 phasePair (const phaseModel &phase1, const phaseModel &phase2, const dimensionedVector &g, const scalarTable &sigmaTable, const bool ordered=false)
 Construct from two phases, gravity and surface tension table. More...
 
virtual ~phasePair ()
 Destructor. More...
 
virtual const phaseModeldispersed () const
 Dispersed phase. More...
 
virtual const phaseModelcontinuous () const
 Continuous phase. More...
 
virtual word name () const
 Pair name. More...
 
tmp< volScalarFieldrho () const
 Average density. More...
 
tmp< volScalarFieldmagUr () const
 Relative velocity magnitude. More...
 
tmp< volVectorFieldUr () const
 Relative velocity. More...
 
tmp< volScalarFieldRe () const
 Reynolds number. More...
 
tmp< volScalarFieldPr () const
 Prandtl number. More...
 
tmp< volScalarFieldEo () const
 Eotvos number. More...
 
tmp< volScalarFieldEoH1 () const
 Eotvos number based on hydraulic diameter type 1. More...
 
tmp< volScalarFieldEoH2 () const
 Eotvos number based on hydraulic diameter type 2. More...
 
tmp< volScalarFieldMo () const
 Morton Number. More...
 
tmp< volScalarFieldTa () const
 Takahashi Number. More...
 
virtual tmp< volScalarFieldE () const
 Aspect ratio. More...
 
const phaseModelphase1 () const
 
const phaseModelphase2 () const
 
const dimensionedVectorg () const
 
const dimensionedScalarsigma () const
 
- Public Member Functions inherited from phasePairKey
 phasePairKey ()
 Construct null. More...
 
 phasePairKey (const word &name1, const word &name2, const bool ordered=false)
 Construct from names and the ordering flag. More...
 
virtual ~phasePairKey ()
 
bool ordered () const
 Return the ordered flag. More...
 
 phasePairKey ()
 Construct null. More...
 
 phasePairKey (const word &name1, const word &name2, const bool ordered)
 Construct from names and the ordering flag. More...
 
virtual ~phasePairKey ()
 
- Public Member Functions inherited from Pair< word >
 Pair ()
 Null constructor. More...
 
 Pair (const Type &f, const Type &s)
 Construct from components. More...
 
 Pair (const FixedList< Type, 2 > &fl)
 Construct from FixedList. More...
 
 Pair (Istream &is)
 Construct from Istream. More...
 
const Type & first () const
 Return first. More...
 
Type & first ()
 Return first. More...
 
const Type & second () const
 Return second. More...
 
Type & second ()
 Return second. More...
 
const Type & other (const Type &a) const
 Return other. More...
 

Private Member Functions

tmp< volScalarFieldEoH (const volScalarField &d) const
 
tmp< volScalarFieldEoH (const volScalarField &d) const
 

Private Attributes

const phaseModelphase1_
 Phase 1. More...
 
const phaseModelphase2_
 Phase 2. More...
 
const uniformDimensionedVectorFieldg_
 Gravitational acceleration. More...
 
const dimensionedVectorg_
 Gravitational acceleration. More...
 
const dimensionedScalar sigma_
 Surface tension coefficient. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Pair< word >
static int compare (const Pair< Type > &a, const Pair< Type > &b)
 Compare Pairs. More...
 

Detailed Description

Source files

Source files

Definition at line 49 of file phasePair.H.

Member Typedef Documentation

◆ dictTable [1/2]

Dictionary hash table.

Definition at line 59 of file phasePair.H.

◆ scalarTable [1/2]

Scalar hash table.

Definition at line 63 of file phasePair.H.

◆ dictTable [2/2]

Dictionary hash table.

Definition at line 58 of file phasePair.H.

◆ scalarTable [2/2]

Scalar hash table.

Definition at line 62 of file phasePair.H.

Constructor & Destructor Documentation

◆ phasePair() [1/2]

phasePair ( const phaseModel phase1,
const phaseModel phase2,
const bool  ordered = false 
)

Construct from two phases and gravity.

◆ ~phasePair() [1/2]

virtual ~phasePair ( )
virtual

Destructor.

◆ phasePair() [2/2]

phasePair ( const phaseModel phase1,
const phaseModel phase2,
const dimensionedVector g,
const scalarTable sigmaTable,
const bool  ordered = false 
)

Construct from two phases, gravity and surface tension table.

◆ ~phasePair() [2/2]

virtual ~phasePair ( )
virtual

Destructor.

Member Function Documentation

◆ EoH() [1/2]

tmp<volScalarField> EoH ( const volScalarField d) const
private

◆ dispersed() [1/2]

virtual const phaseModel& dispersed ( ) const
virtual

Dispersed phase.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ continuous() [1/2]

virtual const phaseModel& continuous ( ) const
virtual

Continuous phase.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ name() [1/2]

virtual word name ( ) const
virtual

Pair name.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ rho() [1/2]

tmp<volScalarField> rho ( ) const

Average density.

◆ magUr() [1/2]

tmp<volScalarField> magUr ( ) const

Relative velocity magnitude.

◆ Ur() [1/2]

tmp<volVectorField> Ur ( ) const

Relative velocity.

◆ Re() [1/2]

tmp<volScalarField> Re ( ) const

Reynolds number.

◆ Pr() [1/2]

tmp<volScalarField> Pr ( ) const

Prandtl number.

◆ Eo() [1/2]

tmp<volScalarField> Eo ( ) const

Eotvos number.

◆ EoH1() [1/2]

tmp<volScalarField> EoH1 ( ) const

Eotvos number based on hydraulic diameter type 1.

◆ EoH2() [1/2]

tmp<volScalarField> EoH2 ( ) const

Eotvos number based on hydraulic diameter type 2.

◆ sigma() [1/2]

const Foam::dimensionedScalar & sigma ( ) const
inline

Surface tension coefficient.

Definition at line 46 of file phasePairI.H.

◆ Mo() [1/2]

tmp<volScalarField> Mo ( ) const

Morton Number.

◆ Ta() [1/2]

tmp<volScalarField> Ta ( ) const

Takahashi Number.

◆ E() [1/2]

virtual tmp<volScalarField> E ( ) const
virtual

Aspect ratio.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ phase1() [1/2]

const Foam::phaseModel & phase1 ( ) const
inline

Definition at line 28 of file phasePairI.H.

References phasePair::phase1_.

◆ phase2() [1/2]

const Foam::phaseModel & phase2 ( ) const
inline

Definition at line 34 of file phasePairI.H.

◆ g() [1/2]

const Foam::dimensionedVector & g ( ) const
inline

Definition at line 40 of file phasePairI.H.

◆ EoH() [2/2]

tmp<volScalarField> EoH ( const volScalarField d) const
private

◆ dispersed() [2/2]

virtual const phaseModel& dispersed ( ) const
virtual

Dispersed phase.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ continuous() [2/2]

virtual const phaseModel& continuous ( ) const
virtual

Continuous phase.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ name() [2/2]

virtual word name ( ) const
virtual

Pair name.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ rho() [2/2]

tmp<volScalarField> rho ( ) const

Average density.

◆ magUr() [2/2]

tmp<volScalarField> magUr ( ) const

Relative velocity magnitude.

◆ Ur() [2/2]

tmp<volVectorField> Ur ( ) const

Relative velocity.

◆ Re() [2/2]

tmp<volScalarField> Re ( ) const

Reynolds number.

◆ Pr() [2/2]

tmp<volScalarField> Pr ( ) const

Prandtl number.

◆ Eo() [2/2]

tmp<volScalarField> Eo ( ) const

Eotvos number.

◆ EoH1() [2/2]

tmp<volScalarField> EoH1 ( ) const

Eotvos number based on hydraulic diameter type 1.

◆ EoH2() [2/2]

tmp<volScalarField> EoH2 ( ) const

Eotvos number based on hydraulic diameter type 2.

◆ Mo() [2/2]

tmp<volScalarField> Mo ( ) const

Morton Number.

◆ Ta() [2/2]

tmp<volScalarField> Ta ( ) const

Takahashi Number.

◆ E() [2/2]

virtual tmp<volScalarField> E ( ) const
virtual

Aspect ratio.

Reimplemented in orderedPhasePair, and orderedPhasePair.

◆ phase1() [2/2]

const phaseModel& phase1 ( ) const
inline

◆ phase2() [2/2]

const phaseModel& phase2 ( ) const
inline

◆ g() [2/2]

const dimensionedVector& g ( ) const
inline

◆ sigma() [2/2]

const dimensionedScalar& sigma ( ) const
inline

Field Documentation

◆ phase1_

const phaseModel & phase1_
private

Phase 1.

Definition at line 71 of file phasePair.H.

Referenced by phasePair::phase1().

◆ phase2_

const phaseModel & phase2_
private

Phase 2.

Definition at line 74 of file phasePair.H.

◆ g_ [1/2]

const uniformDimensionedVectorField& g_
private

Gravitational acceleration.

Definition at line 77 of file phasePair.H.

◆ g_ [2/2]

const dimensionedVector& g_
private

Gravitational acceleration.

Definition at line 76 of file phasePair.H.

◆ sigma_

const dimensionedScalar sigma_
private

Surface tension coefficient.

Definition at line 79 of file phasePair.H.


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