Main OFTutorials/interDyMFoam/FloatingObject Tutorial

From OpenFOAMWiki
< Main OFTutorials
Revision as of 23:33, 17 December 2010 by Mmiller (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This example is new in OpenFOAM 1.7. It showcases the new motion solver displacementLaplacian. The script subdivides the mesh using the function makeMeshByCellSet. Next, the function subsetMesh redefines the patch floatingObject to contain the desired set of cells.

Dictionaries control how the cells that will become the floating object are separated from the surrounding cells. The needed libraries are called out in the file system/controlDict and the response of the floating object is specified in the file 0/pointDisplacement.

Here's how the simulation is configured at the beginning. The floating object is at the center and a block of water is "piled up" at the corner away from the origin. This uneven water surface creates the water motion that causes the white box to respond. FloatingObjInit.jpg