Base class for collisional damping models. More...
Public Member Functions | |
TypeName ("dampingModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, DampingModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
DampingModel (CloudType &owner) | |
Construct null from owner. More... | |
DampingModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
DampingModel (const DampingModel< CloudType > &cm) | |
Construct copy. More... | |
virtual autoPtr< DampingModel< CloudType > > | clone () const =0 |
Construct and return a clone. More... | |
virtual | ~DampingModel () |
Destructor. More... | |
virtual vector | velocityCorrection (typename CloudType::parcelType &p, const scalar deltaT) const =0 |
Calculate the velocity correction. More... | |
Static Public Member Functions | |
static autoPtr< DampingModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Protected Attributes | |
autoPtr< TimeScaleModel > | timeScaleModel_ |
Time scale model. More... | |
DampingModel | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 32 of file DampingModel.C.
DampingModel | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type | ||
) |
Construct from components.
Definition at line 41 of file DampingModel.C.
DampingModel | ( | const DampingModel< CloudType > & | cm | ) |
Construct copy.
Definition at line 59 of file DampingModel.C.
|
virtual |
Destructor.
Definition at line 69 of file DampingModel.C.
TypeName | ( | "dampingModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
DampingModel | , | ||
dictionary | , | ||
(const dictionary &dict, CloudType &owner) | , | ||
(dict, owner) | |||
) |
Declare runtime constructor selection table.
|
pure virtual |
Construct and return a clone.
|
static |
Selector.
Definition at line 78 of file DampingModel.C.
|
pure virtual |
Calculate the velocity correction.
Implemented in Relaxation< CloudType >, and NoDamping< CloudType >.
|
protected |
Time scale model.
Definition at line 66 of file DampingModel.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.