snappyHexMesh tutorial for a simple Geometry
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 refinement from the background mesh grid. refin
Comments
Post a Comment