CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Imersed Multibody Dynamics (https://www.cfd-online.com/Forums/openfoam/86614-imersed-multibody-dynamics.html)

dandalf March 28, 2011 11:36

Imersed Multibody Dynamics
 
Hi all,

I am trying to solve a flow over a dynamic multibody chain, using pimpleDyMFoam
I am trying to figure out the best approach to integrate the dynamics of the multibody system into OpenFoam 1.7.0.

My current thought is to use a displacmentLaplacian solver with sixDoFRigidBodyDisplacement, then implement the linking of my bodies through the constraints. But I can't find a suitable example of how to do this.

The other option is to manally enter the dynamic equations, which are easy enough to solve although I'm not to sure how to link them with the pointDisplacment file.

I would greatly appreciate any help or advice that can be given.

Dandalf

dandalf March 30, 2011 08:24

Hi all

I have decided to try to write the dynamic equations in a separate function then plug the values into sixDoFRigidBodyDisplacment

Are there any simple examples of how to write a function for OpenFoam,

I have looked at the sloshingTank3D6DoF tutorial which generates a time data file for the orientation before the simulation is run. However I want to update the time data file on every time step. So at a guess I need to implement it in the functions section of the controlDict.

Is this significantly more difficult? Is there an easier way to do it?

Any suggestions would be most appreciated.

Dandalf


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