Public Member Functions | |
TypeName ("translation") | |
DAMotionTranslation (const dynamicFvMesh &mesh, const DAOption &daOption) | |
virtual | ~DAMotionTranslation () |
virtual void | correct () |
update the cell displacement More... | |
Public Member Functions inherited from DAMotion | |
TypeName ("DAMotion") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, DAMotion, dictionary,(const dynamicFvMesh &mesh, const DAOption &daOption),(mesh, daOption)) | |
DAMotion (const dynamicFvMesh &mesh, const DAOption &daOption) | |
virtual | ~DAMotion () |
vector | getForce (const dynamicFvMesh &mesh) |
calculate the force More... | |
Protected Attributes | |
scalar | amplitude_ |
amplitude of the translation oscillation More... | |
scalar | frequency_ |
frequency of the translation oscillation More... | |
scalar | phase_ |
phase of the translation oscillation More... | |
vector | direction_ = vector::zero |
direction of the translation oscillation More... | |
Protected Attributes inherited from DAMotion | |
const dynamicFvMesh & | mesh_ |
fvMesh More... | |
const DAOption & | daOption_ |
DAOption object. More... | |
wordList | patchNames_ |
patch names for the moving body More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAMotion | |
static autoPtr< DAMotion > | New (const dynamicFvMesh &mesh, const DAOption &daOption) |
Definition at line 26 of file DAMotionTranslation.H.
DAMotionTranslation | ( | const dynamicFvMesh & | mesh, |
const DAOption & | daOption | ||
) |
Definition at line 19 of file DAMotionTranslation.C.
References DAMotionTranslation::amplitude_, DAMotion::daOption_, DAMotionTranslation::direction_, DAMotionTranslation::frequency_, DAOption::getAllOptions(), DAMotion::patchNames_, and DAMotionTranslation::phase_.
|
inlinevirtual |
Definition at line 53 of file DAMotionTranslation.H.
TypeName | ( | "translation" | ) |
|
virtual |
update the cell displacement
Implements DAMotion.
Definition at line 37 of file DAMotionTranslation.C.
References DAMotionTranslation::amplitude_, DAMotionTranslation::direction_, forAll(), DAMotionTranslation::frequency_, DAMotion::mesh_, DAMotion::patchNames_, and DAMotionTranslation::phase_.
|
protected |
amplitude of the translation oscillation
Definition at line 32 of file DAMotionTranslation.H.
Referenced by DAMotionTranslation::correct(), and DAMotionTranslation::DAMotionTranslation().
|
protected |
frequency of the translation oscillation
Definition at line 35 of file DAMotionTranslation.H.
Referenced by DAMotionTranslation::correct(), and DAMotionTranslation::DAMotionTranslation().
|
protected |
phase of the translation oscillation
Definition at line 38 of file DAMotionTranslation.H.
Referenced by DAMotionTranslation::correct(), and DAMotionTranslation::DAMotionTranslation().
|
protected |
direction of the translation oscillation
Definition at line 41 of file DAMotionTranslation.H.
Referenced by DAMotionTranslation::correct(), and DAMotionTranslation::DAMotionTranslation().