FreeFOAM The Cross-Platform CFD Toolkit
dragModel Class Reference

Foam::dragModel. More...


Detailed Description

+ Inheritance diagram for dragModel:
+ Collaboration diagram for dragModel:

List of all members.

Public Member Functions

 TypeName ("dragModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &dict),(dict))
 dragModel (const dictionary &dict)
 Construct from components.
virtual ~dragModel ()
virtual scalar Cd (const scalar ReynoldsNumber, const scalar deviation) const =0
virtual scalar relaxationTime (const vector &URel, const scalar diameter, const scalar rho, const scalar liquidDensity, const scalar nu, const scalar deviation) const =0
 TypeName ("dragModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb),(interfaceDict, alpha, phasea, phaseb))
 dragModel (const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb)
virtual ~dragModel ()
 Destructor.
virtual tmp< volScalarFieldK (const volScalarField &Ur) const =0
 the dragfunction K used in the momentum eq.

Static Public Member Functions

static autoPtr< dragModelNew (const dictionary &dict)
static autoPtr< dragModelNew (const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb)

Protected Attributes

const dictionarydict_
const dictionaryinterfaceDict_
const volScalarFieldalpha_
const phaseModelphasea_
const phaseModelphaseb_

Constructor & Destructor Documentation

dragModel ( const dictionary dict)

Construct from components.

Definition at line 47 of file dragModel.C.

~dragModel ( )
virtual

Definition at line 56 of file dragModel.C.

dragModel ( const dictionary interfaceDict,
const volScalarField alpha,
const phaseModel phasea,
const phaseModel phaseb 
)
virtual ~dragModel ( )
virtual

Destructor.


Member Function Documentation

TypeName ( "dragModel"  )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
dragModel  ,
dictionary  ,
(const dictionary &dict)  ,
(dict)   
)
autoPtr< dragModel > New ( const dictionary dict)
static
virtual scalar Cd ( const scalar  ReynoldsNumber,
const scalar  deviation 
) const
pure virtual

Implemented in standardDragModel, and noDragModel.

virtual scalar relaxationTime ( const vector URel,
const scalar  diameter,
const scalar  rho,
const scalar  liquidDensity,
const scalar  nu,
const scalar  deviation 
) const
pure virtual

Implemented in standardDragModel, and noDragModel.

TypeName ( "dragModel"  )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
dragModel  ,
dictionary  ,
(const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb ,
(interfaceDict, alpha, phasea, phaseb  
)
static autoPtr<dragModel> New ( const dictionary interfaceDict,
const volScalarField alpha,
const phaseModel phasea,
const phaseModel phaseb 
)
static
virtual tmp<volScalarField> K ( const volScalarField Ur) const
pure virtual

the dragfunction K used in the momentum eq.

ddt(alpha*rhoa*Ua) + ... = ... alpha*beta*K*(Ua-Ub) ddt(beta*rhob*Ub) + ... = ... alpha*beta*K*(Ub-Ua) NB ! ***************************** for numerical reasons alpha and beta has been extracted from the dragFunction K, so you MUST divide K by alpha*beta when implementing the drag function NB ! *****************************

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


Member Data Documentation

const dictionary& dict_
protected

Definition at line 54 of file dragModel.H.

const dictionary& interfaceDict_
protected

Definition at line 57 of file dragModel.H.

const volScalarField& alpha_
protected

Definition at line 58 of file dragModel.H.

const phaseModel& phasea_
protected

Definition at line 59 of file dragModel.H.

const phaseModel& phaseb_
protected

Definition at line 60 of file dragModel.H.


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