CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to add spring/damping effect to connect two moving body (https://www.cfd-online.com/Forums/openfoam-solving/115283-how-add-spring-damping-effect-connect-two-moving-body.html)

Teemo March 27, 2013 09:47

how to add spring/damping effect to connect two moving body
 
Dear FoAMers,

https://plus.google.com/u/0/photos/1...34138397944034

I would like to connect these two moving parts together by a spring , how can I achieve it in OPENFOAM?

Your suggestion will be appreciated.

Regards,
T

Teemo March 27, 2013 09:50

https://docs.google.com/drawings/d/1...=1&w=960&h=720

ngj March 27, 2013 11:17

Hi Teemo,

I my version of OF (1.6-ext) you can find the following constraints for mesh motion here:

Code:

/src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionRestraint
The linear spring seems like a good choice for the initial investigation.

I have no idea on how they are working, though I know that the are also present in the more recent releases of OF.

Good luck,

Niels

Teemo March 27, 2013 11:41

Thanks Niels,

I will give it a try.

Regards,
T

Teemo March 27, 2013 12:23

hello again,

I have looked into the linear spring file and for its setup:
//- Anchor point, where the spring is attached to an immovable object
point anchor_;

//- Reference point of attachment to the solid body
point refAttachmentPt_;

//- Spring stiffness coefficient (N/m)
scalar stiffness_;

//- Damping coefficient (Ns/m)
scalar damping_;

//- Rest length - length of spring when no forces are applied to it
scalar restLength_;
it seems that one end of the spring should be fixed, but for my case, i need both ends move with the floaters, any idea?

Regards,
T

tyoung November 10, 2014 10:09

Hi Teemo,

I am currently facing similar situation and would like to know whether you had any luck on it?

Regards
tyoung


All times are GMT -4. The time now is 08:00.