Posts

Showing posts with the label vortex Induced Vibration

snappyHexMesh tutorial for a simple Geometry

Image
In this section I will address how to use the snappyHexMesh tool to mesh a Cylinder. We can either create an stl file for the cylinder - place it inside the  triSurface/constant  folder and call the same into the background mesh, or a simple cylinder can be directly created by using the 'searchable cylinder' parameter within the snappyHexMeshDict.  cylinder     { type searchableCylinder;   point1 (0 0.0 -0.5);  point2    (0 0.0 0.5); radius 0.01585;     } A refined mesh can be viewed below. The radius of the cylinder is of the order e-02 which gives us some insight into what the cell size for the back ground mesh can be. The blockMesh for the background mesh will be addressed later. Next in line in the snappyHexMeshDict is the Refinement box parameter. This box defines how refinement around the cylinder and importantly how the wake refinement can be achieved. The refinement box separates the finer ref...

How to refine a 2D cylinder blockMesh

Image
For the audience who do not know what a 'blockMesh' is, it is a Mesh tool which comes along with the open-source software called 'openFoam'. Many university students and researchers have begun using openFoam for their flow simulation problems. There is another mesh tool called the 'snappyHexMesh', which is normally employed to mesh complex geometry for the flow simulations. In this post, although, I will restrict the information only to a 2D cylinder mesh - that is, a 2D mesh housing a cylinder. I will largely talk about how to play around with parameters in the blockMeshDict in order to obtain a refined mesh. I will also briefly talk about the turbulence models that can be used to run a high Reynolds number simulation on a refined grid. If you are wondering where to start or where to access a case file, you can check the following website: http://www.wolfdynamics.com/. They have an extended compilation of case files and tutorials working up to almost 1....