Correction limiting method based on the relative particle velocity. More...
Public Member Functions | |
TypeName ("relative") | |
Runtime type information. More... | |
relative (const dictionary &dict) | |
Construct from components. More... | |
relative (const relative &cl) | |
Copy constructor. More... | |
virtual autoPtr< CorrectionLimitingMethod > | clone () const |
Construct and return a clone. More... | |
virtual | ~relative () |
Destructor. More... | |
virtual vector | limitedVelocity (const vector uP, const vector dU, const vector uMean) const |
Return the limited velocity. More... | |
Public Member Functions inherited from CorrectionLimitingMethod | |
TypeName ("correctionLimitingMethod") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, CorrectionLimitingMethod, dictionary,(const dictionary &dict),(dict)) | |
Declare runtime constructor selection table. More... | |
CorrectionLimitingMethod (const dictionary &dict) | |
Construct from components. More... | |
CorrectionLimitingMethod (const CorrectionLimitingMethod &cl) | |
Copy constructor. More... | |
virtual | ~CorrectionLimitingMethod () |
Destructor. More... | |
void | operator= (const CorrectionLimitingMethod &)=delete |
Disallow default bitwise assignment. More... | |
Protected Attributes | |
scalar | e_ |
Coefficient of restitution. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from CorrectionLimitingMethod | |
static autoPtr< CorrectionLimitingMethod > | New (const dictionary &dict) |
Selector. More... | |
Correction limiting method based on the relative particle velocity.
This method limits the velocity correction to that of a rebound with a coefficient of restitution . The relative velocity of the particle with respect to the mean value is used to calculate the direction and magnitude of the limited velocity.
Definition at line 55 of file relative.H.
relative | ( | const dictionary & | dict | ) |
Construct from components.
Definition at line 46 of file relative.C.
Referenced by relative::clone().
Copy constructor.
Definition at line 53 of file relative.C.
|
virtual |
Destructor.
Definition at line 62 of file relative.C.
References relative::limitedVelocity().
Referenced by relative::clone().
TypeName | ( | "relative" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements CorrectionLimitingMethod.
Definition at line 82 of file relative.H.
References relative::limitedVelocity(), relative::relative(), and relative::~relative().
|
virtual |
Return the limited velocity.
Implements CorrectionLimitingMethod.
Definition at line 69 of file relative.C.
References relative::e_, and Foam::minMod().
Referenced by relative::clone(), and relative::~relative().
|
protected |
Coefficient of restitution.
Definition at line 64 of file relative.H.
Referenced by relative::limitedVelocity().