segregated Class Reference

Segregated drag model for use in regions with no obvious dispersed phase. More...

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

Public Member Functions

 TypeName ("segregated")
 Runtime type information. More...
 
 segregated (const dictionary &dict, const phasePair &pair, const bool registerObject)
 Construct from components. More...
 
virtual ~segregated ()
 Destructor. More...
 
virtual tmp< volScalarFieldCdRe () const
 Drag coefficient. More...
 
virtual tmp< volScalarFieldK () const
 The drag function used in the momentum equation. More...
 
virtual tmp< surfaceScalarFieldKf () const
 The drag function Kf used in the face-momentum equations. More...
 
 TypeName ("segregated")
 Runtime type information. More...
 
 segregated (const dictionary &dict, const phasePair &pair, const bool registerObject)
 Construct from components. More...
 
virtual ~segregated ()
 Destructor. More...
 
virtual tmp< volScalarFieldCdRe () const
 Drag coefficient. More...
 
virtual tmp< volScalarFieldK () const
 The drag function used in the momentum equation. More...
 
virtual tmp< surfaceScalarFieldKf () const
 The drag function Kf used in the face-momentum equations. More...
 
- Public Member Functions inherited from dragModel
 TypeName ("dragModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2),(interfaceDict, phase1, phase2))
 
 dragModel (const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
 
virtual ~dragModel ()=default
 Destructor. More...
 
const phaseModelphase1 () const
 
const phaseModelphase2 () const
 
const dimensionedScalarresidualPhaseFraction () const
 
const dimensionedScalarresidualSlip () const
 
virtual tmp< volScalarFieldK (const volScalarField &Ur) const =0
 The drag function K used in the momentum eq. More...
 
 TypeName ("dragModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &dict, const phasePair &pair, const bool registerObject),(dict, pair, registerObject))
 
 dragModel (const phasePair &pair, const bool registerObject)
 
 dragModel (const dictionary &dict, const phasePair &pair, const bool registerObject)
 
virtual ~dragModel ()
 Destructor. More...
 
virtual tmp< volScalarFieldKi () const
 Return the phase-intensive drag coefficient Ki. More...
 
bool writeData (Ostream &os) const
 Dummy write for regIOobject. More...
 
 TypeName ("dragModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &dict, const phasePair &pair, const bool registerObject),(dict, pair, registerObject))
 
 dragModel (const phasePair &pair, const bool registerObject)
 
 dragModel (const dictionary &dict, const phasePair &pair, const bool registerObject)
 
virtual ~dragModel ()
 Destructor. More...
 
virtual tmp< volScalarFieldKi () const
 Return the phase-intensive drag coefficient Ki. More...
 
bool writeData (Ostream &os) const
 Dummy write for regIOobject. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from dragModel
static autoPtr< dragModelNew (const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
 
static autoPtr< dragModelNew (const dictionary &dict, const phasePair &pair)
 
static autoPtr< dragModelNew (const dictionary &dict, const phasePair &pair)
 
- Static Public Attributes inherited from dragModel
static const dimensionSet dimK
 Coefficient dimensions. More...
 
- Protected Attributes inherited from dragModel
const dictionaryinterfaceDict_
 
const phaseModelphase1_
 
const phaseModelphase2_
 
dimensionedScalar residualPhaseFraction_
 
dimensionedScalar residualSlip_
 
const phasePairpair_
 Phase pair. More...
 
autoPtr< swarmCorrectionswarmCorrection_
 Swarm correction. More...
 

Detailed Description

Segregated drag model for use in regions with no obvious dispersed phase.

Reference:

    Marschall, H. (2011).
    Towards the numerical simulation of multi-scale two-phase flows.
    PhD Thesis, TU München.
Source files

Reference:

    "Towards the Numerical Simulation of Multi-scale Two-phase Flows",
    Marschall, H.,
    PhD Thesis, TU München, 2011
Source files

Definition at line 62 of file segregated.H.

Constructor & Destructor Documentation

◆ segregated() [1/2]

segregated ( const dictionary dict,
const phasePair pair,
const bool  registerObject 
)

Construct from components.

Definition at line 50 of file segregated.C.

◆ ~segregated() [1/2]

~segregated ( )
virtual

Destructor.

Definition at line 64 of file segregated.C.

◆ segregated() [2/2]

segregated ( const dictionary dict,
const phasePair pair,
const bool  registerObject 
)

Construct from components.

◆ ~segregated() [2/2]

virtual ~segregated ( )
virtual

Destructor.

Member Function Documentation

◆ TypeName() [1/2]

TypeName ( "segregated"  )

Runtime type information.

◆ CdRe() [1/2]

Foam::tmp< Foam::volScalarField > CdRe ( ) const
virtual

Drag coefficient.

Implements dragModel.

Definition at line 70 of file segregated.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ K() [1/2]

Foam::tmp< Foam::volScalarField > K ( ) const
virtual

The drag function used in the momentum equation.

Reimplemented from dragModel.

Definition at line 81 of file segregated.C.

References alpha1, alpha2, Foam::cbrt(), Foam::dimLength, Foam::fvc::grad(), Foam::I, L(), lambda(), Foam::mag(), Foam::max(), mesh, rho1, rho2, and Foam::sqr().

Here is the call graph for this function:

◆ Kf() [1/2]

Foam::tmp< Foam::surfaceScalarField > Kf ( ) const
virtual

The drag function Kf used in the face-momentum equations.

Reimplemented from dragModel.

Definition at line 165 of file segregated.C.

References Foam::fvc::interpolate().

Here is the call graph for this function:

◆ TypeName() [2/2]

TypeName ( "segregated"  )

Runtime type information.

◆ CdRe() [2/2]

virtual tmp<volScalarField> CdRe ( ) const
virtual

Drag coefficient.

Implements dragModel.

◆ K() [2/2]

virtual tmp<volScalarField> K ( ) const
virtual

The drag function used in the momentum equation.

Reimplemented from dragModel.

◆ Kf() [2/2]

virtual tmp<surfaceScalarField> Kf ( ) const
virtual

The drag function Kf used in the face-momentum equations.

Reimplemented from dragModel.


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