dragModel Class Referenceabstract
Inheritance diagram for dragModel:
[legend]
Collaboration diagram for dragModel:
[legend]

Public Member Functions

 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...
 

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 54 of file dragModel.H.

Constructor & Destructor Documentation

◆ dragModel()

dragModel ( const dictionary dict,
const phaseModel phase1,
const phaseModel phase2 
)

Definition at line 45 of file dragModel.C.

References Foam::dimless, and Foam::dimVelocity.

◆ ~dragModel()

virtual ~dragModel ( )
virtualdefault

Destructor.

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  
)

◆ New()

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

Definition at line 63 of file dragModel.C.

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

Here is the call graph for this function:

◆ phase1()

const phaseModel & phase1 ( ) const
inline

Definition at line 114 of file dragModel.H.

References dragModel::phase1_.

Referenced by multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

◆ phase2()

const phaseModel & phase2 ( ) const
inline

Definition at line 119 of file dragModel.H.

References dragModel::phase2_.

Referenced by multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

◆ residualPhaseFraction()

const dimensionedScalar & residualPhaseFraction ( ) const
inline

Definition at line 124 of file dragModel.H.

References dragModel::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 dragModel::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 60 of file dragModel.H.

◆ phase1_

const phaseModel& phase1_
protected

Definition at line 61 of file dragModel.H.

Referenced by dragModel::phase1().

◆ phase2_

const phaseModel& phase2_
protected

Definition at line 62 of file dragModel.H.

Referenced by dragModel::phase2().

◆ residualPhaseFraction_

dimensionedScalar residualPhaseFraction_
protected

Definition at line 63 of file dragModel.H.

Referenced by dragModel::residualPhaseFraction().

◆ residualSlip_

dimensionedScalar residualSlip_
protected

Definition at line 64 of file dragModel.H.

Referenced by dragModel::residualSlip().


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