Go to the documentation of this file.
27 #ifndef DAMotionTranslationCoupled_H
28 #define DAMotionTranslationCoupled_H
31 #include "addToRunTimeSelectionTable.H"
83 const dynamicFvMesh&
mesh,
scalar V_
velocity for the current step
scalar y_
location for the current step
scalar t_
the simulation time based on dT and it should be same as the runtime
scalar y0_
location from the previous step
DAOption daOption(mesh, pyOptions_)
scalar forceScale_
scaling factor for force
virtual void correct()
update the cell displacement
DAMotionTranslationCoupled(const dynamicFvMesh &mesh, const DAOption &daOption)
scalar C_
spring damping coefficient
scalar M_
mass of the object
scalar K_
spring stiffness constant
virtual ~DAMotionTranslationCoupled()
scalar V0_
velocity from the previous step
TypeName("translationCoupled")
vector direction_
spring oscillation direction