OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

dragModel Class Reference

Foam::dragModel. More...

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< volScalarField > K (const volScalarField &Ur) const =0
 the dragfunction K used in the momentum eq.

Static Public Member Functions

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

Protected Attributes

const dictionary & dict_
const dictionary & interfaceDict_
const volScalarField & alpha_
const phaseModel & phasea_
const phaseModel & phaseb_

Detailed Description

Foam::dragModel.

Source files

Definition at line 39 of file dragModel.H.


Constructor & Destructor Documentation

dragModel ( const dictionary &  dict  ) 

Construct from components.

Definition at line 39 of file dragModel.C.

~dragModel (  )  [virtual]

Definition at line 48 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]

Definition at line 31 of file newDragModel.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, Foam::Info, and dictionary::lookup().

Here is the call graph for this function:

virtual scalar Cd ( const scalar  ReynoldsNumber,
const scalar  deviation 
) const [pure virtual]

Implemented in noDragModel, and standardDragModel.

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 noDragModel, and standardDragModel.

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 implemnting the drag function  NB ! *****************************

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


Member Data Documentation

const dictionary& dict_ [protected]

Definition at line 46 of file dragModel.H.

const dictionary& interfaceDict_ [protected]

Definition at line 52 of file dragModel.H.

const volScalarField& alpha_ [protected]

Definition at line 53 of file dragModel.H.

const phaseModel& phasea_ [protected]

Definition at line 54 of file dragModel.H.

const phaseModel& phaseb_ [protected]

Definition at line 55 of file dragModel.H.


The documentation for this class was generated from the following files:
  • src/lagrangian/dieselSpray/spraySubModels/dragModel/dragModel/dragModel.H
  • applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.H
  • src/lagrangian/dieselSpray/spraySubModels/dragModel/dragModel/dragModel.C
  • src/lagrangian/dieselSpray/spraySubModels/dragModel/dragModel/newDragModel.C
Copyright © 2000-2009 OpenCFD Ltd