Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
dragModel Class Referenceabstract
Inheritance diagram for dragModel:
Inheritance graph
[legend]
Collaboration diagram for dragModel:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("dragModel")
 
 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
 
const phaseModelphase1 () const
 
const phaseModelphase2 () const
 
const dimensionedScalarresidualPhaseFraction () const
 
const dimensionedScalarresidualSlip () const
 
virtual tmp< volScalarFieldK (const volScalarField &Ur) const =0
 
 TypeName ("dragModel")
 
 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 ()
 
virtual tmp< volScalarFieldCdRe () const =0
 
virtual tmp< volScalarFieldKi () const
 
virtual tmp< volScalarFieldK () const
 
virtual tmp< surfaceScalarFieldKf () const
 
bool writeData (Ostream &os) const
 
 TypeName ("dragModel")
 
 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 ()
 
virtual tmp< volScalarFieldCdRe () const =0
 
virtual tmp< volScalarFieldKi () const
 
virtual tmp< volScalarFieldK () const
 
virtual tmp< surfaceScalarFieldKf () const
 
bool writeData (Ostream &os) const
 

Static Public Member Functions

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

static const dimensionSet dimK
 

Protected Attributes

const dictionaryinterfaceDict_
 
const phaseModelphase1_
 
const phaseModelphase2_
 
dimensionedScalar residualPhaseFraction_
 
dimensionedScalar residualSlip_
 
const phasePairpair_
 
autoPtr< swarmCorrectionswarmCorrection_
 

Detailed Description

Source files

Source files

Source files

Definition at line 47 of file dragModel.H.

Constructor & Destructor Documentation

◆ dragModel() [1/5]

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

Definition at line 36 of file dragModel.C.

◆ ~dragModel() [1/3]

~dragModel ( )
virtualdefault

Definition at line 128 of file dragModel.C.

◆ dragModel() [2/5]

dragModel ( const phasePair pair,
const bool  registerObject 
)

Definition at line 43 of file dragModel.C.

◆ dragModel() [3/5]

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

Definition at line 65 of file dragModel.C.

◆ ~dragModel() [2/3]

virtual ~dragModel ( )
virtual

◆ dragModel() [4/5]

dragModel ( const phasePair pair,
const bool  registerObject 
)

◆ dragModel() [5/5]

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

◆ ~dragModel() [3/3]

virtual ~dragModel ( )
virtual

Member Function Documentation

◆ TypeName() [1/3]

TypeName ( "dragModel"  )

◆ declareRunTimeSelectionTable() [1/3]

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

◆ New() [1/3]

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

Definition at line 53 of file dragModel.C.

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

Referenced by multiphaseSystem::multiphaseSystem().

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

◆ phase1()

const phaseModel& phase1 ( ) const
inline

Definition at line 107 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 112 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 117 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 122 of file dragModel.H.

References dragModel::residualSlip_.

Referenced by multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

◆ K() [1/3]

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

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

Referenced by multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

◆ TypeName() [2/3]

TypeName ( "dragModel"  )

◆ declareRunTimeSelectionTable() [2/3]

declareRunTimeSelectionTable ( autoPtr  ,
dragModel  ,
dictionary  ,
(const dictionary &dict, const phasePair &pair, const bool registerObject)  ,
(dict, pair, registerObject)   
)

◆ New() [2/3]

Foam::autoPtr< Foam::dragModel > New ( const dictionary dict,
const phasePair pair 
)
static

Definition at line 99 of file dragModel.C.

References Foam::abort(), dict, Foam::endl(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

◆ CdRe() [1/2]

virtual tmp<volScalarField> CdRe ( ) const
pure virtual

◆ Ki() [1/2]

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

Definition at line 134 of file dragModel.C.

References Foam::sqr().

Here is the call graph for this function:

◆ K() [2/3]

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

Reimplemented in AttouFerschneider, segregated, and segregated.

Definition at line 146 of file dragModel.C.

References Foam::max().

Here is the call graph for this function:

◆ Kf() [1/2]

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

Reimplemented in AttouFerschneider, segregated, and segregated.

Definition at line 152 of file dragModel.C.

References Foam::fvc::interpolate(), and Foam::max().

Here is the call graph for this function:

◆ writeData() [1/2]

bool writeData ( Ostream os) const

Definition at line 163 of file dragModel.C.

References IOstream::good(), and os().

Here is the call graph for this function:

◆ TypeName() [3/3]

TypeName ( "dragModel"  )

◆ declareRunTimeSelectionTable() [3/3]

declareRunTimeSelectionTable ( autoPtr  ,
dragModel  ,
dictionary  ,
(const dictionary &dict, const phasePair &pair, const bool registerObject)  ,
(dict, pair, registerObject)   
)

◆ New() [3/3]

static autoPtr<dragModel> New ( const dictionary dict,
const phasePair pair 
)
static

◆ CdRe() [2/2]

virtual tmp<volScalarField> CdRe ( ) const
pure virtual

◆ Ki() [2/2]

virtual tmp<volScalarField> Ki ( ) const
virtual

◆ K() [3/3]

virtual tmp<volScalarField> K ( ) const
virtual

Reimplemented in AttouFerschneider, segregated, and segregated.

◆ Kf() [2/2]

virtual tmp<surfaceScalarField> Kf ( ) const
virtual

Reimplemented in AttouFerschneider, segregated, and segregated.

◆ writeData() [2/2]

bool writeData ( Ostream os) const

Member Data Documentation

◆ interfaceDict_

const dictionary& interfaceDict_
protected

Definition at line 53 of file dragModel.H.

◆ phase1_

const phaseModel& phase1_
protected

Definition at line 54 of file dragModel.H.

Referenced by dragModel::phase1().

◆ phase2_

const phaseModel& phase2_
protected

Definition at line 55 of file dragModel.H.

Referenced by dragModel::phase2().

◆ residualPhaseFraction_

dimensionedScalar residualPhaseFraction_
protected

Definition at line 56 of file dragModel.H.

Referenced by dragModel::residualPhaseFraction().

◆ residualSlip_

dimensionedScalar residualSlip_
protected

Definition at line 57 of file dragModel.H.

Referenced by dragModel::residualSlip().

◆ pair_

const phasePair & pair_
protected

Definition at line 61 of file dragModel.H.

◆ swarmCorrection_

autoPtr< swarmCorrection > swarmCorrection_
protected

Definition at line 64 of file dragModel.H.

◆ dimK

static const dimensionSet dimK
static

Definition at line 92 of file dragModel.H.


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