Saturday, May 23, 2015

Flow over an aircraft using snappyHexMesh

Hi Guys,

Time to work on snappyHexMesh in OpenFOAM. To start with, need to mention about JC Puig whose tutorial I am referring (http://the-foam-house5.webnode.es/) . The tutorial provides a very brief introduction on using snappyHexMesh.

You can find the description of the geometry and mesh on his page. The basic requirements for using a snappyHexMesh in OF are : 

1. Need the geometry STL file, i.e. snappyHexMesh works with a  STerioLithography file which is widely available as an export in CAD softwares.

2. OpenFOAM case file, we can use the available motorBike case in OF to start up with so we need not make much changes to our file structure.

3. Using surfaceFeatureExtract command, to extract the surface feature in the geometry.

4.  creating a blockMesh for external domain

5. snappyHexMeshDict file for setting up the meshing parameters

6. and finally the solver 

Output after snappyHexMesh is used :



7. Solver used : simpleFOAM.

Velocity contour :



Pressure contour :

                             





                  


OpenFOAM v2.4.0 released

Hey Guys,

Check out the new version of OpenFOAM with lots of added improvements like different grading for blockMesh, higher order methods for interface capturing in mutiphase flows, scripts to create MPEG videos from .png images, clone foam cases and lots more. So time to switch to a improved version of OpenFOAM.

Download OF from : http://www.openfoam.org/download/