Difference between revisions of "Main OFTutorials/interDyMFoam/FloatingObject Tutorial"

From OpenFOAMWiki
(Created page with "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 func...")
 
Line 1: Line 1:
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.  
+
 
 +
== General ==
 +
 
 +
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.  
 +
 
 +
== Dictionary Setup ==
  
 
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.
 
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.
 +
 +
== Screenshot ==
  
 
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.  
 
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.  
 
[[File:FloatingObjInit.jpg]]
 
[[File:FloatingObjInit.jpg]]

Revision as of 23:37, 17 December 2010

1 General

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.

2 Dictionary Setup

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.

3 Screenshot

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