FreeFOAM The Cross-Platform CFD Toolkit
DragModel< CloudType > Class Template Reference

Templated drag model class. More...

#include <lagrangianIntermediate/DragModel.H>


Detailed Description

+ Inheritance diagram for DragModel< CloudType >:

List of all members.

Public Member Functions

 TypeName ("DragModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, DragModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 DragModel (const dictionary &dict, CloudType &owner)
 Construct from components.
virtual ~DragModel ()
 Destructor.
const CloudType & owner () const
 Return the owner cloud object.
const dictionarydict () const
 Return the dictionary.
virtual bool active () const =0
 Flag to indicate whether model activates drag model.
virtual scalar Cd (const scalar Re) const =0
 Return drag coefficient.
scalar utc (const scalar Re, const scalar d, const scalar mu) const
 Return momentum transfer coefficient.

Static Public Member Functions

static autoPtr< DragModel
< CloudType > > 
New (const dictionary &dict, CloudType &cloud)
 Selector.

Constructor & Destructor Documentation

DragModel ( const dictionary dict,
CloudType &  owner 
)

Construct from components.

Definition at line 32 of file DragModel.C.

~DragModel ( )
virtual

Destructor.

Definition at line 45 of file DragModel.C.


Member Function Documentation

TypeName ( "DragModel< CloudType >"  )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
DragModel< CloudType >  ,
dictionary  ,
(const dictionary &dict, CloudType &owner ,
(dict, owner  
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::DragModel< CloudType > > New ( const dictionary dict,
CloudType &  cloud 
)
static
const CloudType & owner ( ) const

Return the owner cloud object.

Definition at line 52 of file DragModel.C.

const Foam::dictionary & dict ( ) const

Return the dictionary.

Definition at line 59 of file DragModel.C.

virtual bool active ( ) const
pure virtual

Flag to indicate whether model activates drag model.

Implemented in NoDrag< CloudType >, and SphereDrag< CloudType >.

virtual scalar Cd ( const scalar  Re) const
pure virtual

Return drag coefficient.

Implemented in NoDrag< CloudType >, and SphereDrag< CloudType >.

Foam::scalar utc ( const scalar  Re,
const scalar  d,
const scalar  mu 
) const

Return momentum transfer coefficient.

Drag force per unit particle surface area = utc(U - Up)

Definition at line 67 of file DragModel.C.


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