

Public Member Functions | |
| TypeName ("translationCoupled") | |
| DAMotionTranslationCoupled (const dynamicFvMesh &mesh, const DAOption &daOption) | |
| virtual | ~DAMotionTranslationCoupled () |
| 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 | M_ |
| mass of the object More... | |
| scalar | C_ |
| spring damping coefficient More... | |
| scalar | K_ |
| spring stiffness constant More... | |
| scalar | forceScale_ |
| scaling factor for force More... | |
| vector | direction_ = vector::zero |
| spring oscillation direction More... | |
| scalar | y_ |
| location for the current step More... | |
| scalar | V_ |
| velocity for the current step More... | |
| scalar | y0_ |
| location from the previous step More... | |
| scalar | V0_ |
| velocity from the previous step More... | |
| scalar | t_ |
| the simulation time based on dT and it should be same as the runtime 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 42 of file DAMotionTranslationCoupled.H.
| DAMotionTranslationCoupled | ( | const dynamicFvMesh & | mesh, |
| const DAOption & | daOption | ||
| ) |
Definition at line 19 of file DAMotionTranslationCoupled.C.
References DAMotionTranslationCoupled::C_, DAMotion::daOption_, DAMotionTranslationCoupled::direction_, DAMotionTranslationCoupled::forceScale_, DAOption::getAllOptions(), DAMotionTranslationCoupled::K_, DAMotionTranslationCoupled::M_, DAMotion::patchNames_, DAMotionTranslationCoupled::t_, DAMotionTranslationCoupled::V0_, and DAMotionTranslationCoupled::y0_.

|
inlinevirtual |
Definition at line 87 of file DAMotionTranslationCoupled.H.
| TypeName | ( | "translationCoupled" | ) |
|
virtual |
update the cell displacement
Implements DAMotion.
Definition at line 41 of file DAMotionTranslationCoupled.C.
References DAMotionTranslationCoupled::C_, DAMotionTranslationCoupled::direction_, forAll(), DAMotionTranslationCoupled::forceScale_, DAMotion::getForce(), DAMotionTranslationCoupled::K_, DAMotionTranslationCoupled::M_, DAMotion::mesh_, DAMotion::patchNames_, DAMotionTranslationCoupled::t_, DAMotionTranslationCoupled::V0_, DAMotionTranslationCoupled::V_, DAMotionTranslationCoupled::y0_, and DAMotionTranslationCoupled::y_.

|
protected |
mass of the object
Definition at line 48 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().
|
protected |
spring damping coefficient
Definition at line 51 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().
|
protected |
spring stiffness constant
Definition at line 54 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().
|
protected |
scaling factor for force
Definition at line 57 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().
|
protected |
spring oscillation direction
Definition at line 60 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().
|
protected |
location for the current step
Definition at line 63 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct().
|
protected |
velocity for the current step
Definition at line 66 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct().
|
protected |
location from the previous step
Definition at line 69 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().
|
protected |
velocity from the previous step
Definition at line 72 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().
|
protected |
the simulation time based on dT and it should be same as the runtime
Definition at line 75 of file DAMotionTranslationCoupled.H.
Referenced by DAMotionTranslationCoupled::correct(), and DAMotionTranslationCoupled::DAMotionTranslationCoupled().