Templated drag model class. More...
#include <lagrangianIntermediate/DragModel.H>
Templated drag model class.
Definition at line 53 of file DragModel.H.
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 dictionary & | dict () 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.
|
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.
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]
|
Selector.
Definition at line 32 of file NewDragModel.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.
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.