Loading...
Searching...
No Matches
dragModel Class Referenceabstract

#include <dragModel.H>

Inheritance diagram for dragModel:
Collaboration diagram for dragModel:

Public Member Functions

 TypeName ("dragModel")
 Runtime type information.
 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.
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.

Static Public Member Functions

static autoPtr< dragModelNew (const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)

Protected Attributes

const dictionaryinterfaceDict_
const phaseModelphase1_
const phaseModelphase2_
dimensionedScalar residualPhaseFraction_
dimensionedScalar residualSlip_

Detailed Description

Source files

Definition at line 50 of file dragModel.H.

Constructor & Destructor Documentation

◆ dragModel()

◆ ~dragModel()

virtual ~dragModel ( )
virtualdefault

Destructor.

References dict, phase1(), and phase2().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "dragModel" )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr ,
dragModel ,
dictionary ,
(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2) ,
(interfaceDict, phase1, phase2)  )

References dict, dragModel(), phase1(), and phase2().

Here is the call graph for this function:

◆ New()

Foam::autoPtr< Foam::multiphaseEuler::dragModel > New ( const dictionary & dict,
const phaseModel & phase1,
const phaseModel & phase2 )
static

Definition at line 56 of file dragModel.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, phase1(), and phase2().

Referenced by blended::blended(), and multiphaseSystem::multiphaseSystem().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ phase1()

◆ phase2()

◆ residualPhaseFraction()

const dimensionedScalar & residualPhaseFraction ( ) const
inline

Definition at line 124 of file dragModel.H.

References residualPhaseFraction_.

Referenced by multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

◆ residualSlip()

const dimensionedScalar & residualSlip ( ) const
inline

Definition at line 129 of file dragModel.H.

References residualSlip_.

Referenced by multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

◆ K()

virtual tmp< volScalarField > K ( const volScalarField & Ur) const
pure virtual

The drag function K used in the momentum eq.

ddt(alpha1*rho1*U1) + ... = ... alpha1*alpha2*K*(U1-U2) ddt(alpha2*rho2*U2) + ... = ... alpha1*alpha2*K*(U2-U1) ********************************** NB! ***************************** for numerical reasons alpha1 and alpha2 has been extracted from the dragFunction K, so you MUST divide K by alpha1*alpha2 when implementing the drag function ********************************** NB! *****************************

Implemented in blended, Ergun, Gibilaro, GidaspowErgunWenYu, GidaspowSchillerNaumann, interface, SchillerNaumann, SyamlalOBrien, and WenYu.

Referenced by multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

Member Data Documentation

◆ interfaceDict_

const dictionary& interfaceDict_
protected

Definition at line 56 of file dragModel.H.

Referenced by dragModel().

◆ phase1_

◆ phase2_

◆ residualPhaseFraction_

dimensionedScalar residualPhaseFraction_
protected

Definition at line 59 of file dragModel.H.

Referenced by dragModel(), and residualPhaseFraction().

◆ residualSlip_

dimensionedScalar residualSlip_
protected

Definition at line 60 of file dragModel.H.

Referenced by dragModel(), and residualSlip().


The documentation for this class was generated from the following files:
  • src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/dragModel/dragModel.H
  • src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/dragModel/dragModel.C