This will show how to create a mesh from STL files with snappyHexMesh (using OpenFOAM 2.3 or higher).
We will then setup a steadystate turbulent case with simpleFOAM – and run it.
The meshing and solving will be done in parallel on the following machine:
Supermicro X7DWA-N Server Board
Dual X5473 Quad core 3.33Ghz XEONS
Nvidia Graphics Card
Ubuntu 12.04 LTS
PyFOAM (only needed if you want to plot residuals)
-NumPY (required for PyFOAM)
Two text files are given here which show you which commands to type into the OpenFOAM terminal window in Linux to complete the
mesh and running of the case. Also included is a blank “template” piece of code in case you want to add any “function objects” to the
case. Such as for making streamlines before post-processing or calculating things like wall shear stress.
In this case its a small mesh – so as long as you have at least 4GB Ram you will be fine – it only uses a max of about 1.8Gb but if you only have a 2GB machine
you will probably find it starts using swap and gets very slow !
For the full tutorial see the video on (coming on 1st June 2014) youtube. However here are shown some pictures of the resulting mesh.