Day 6

From OpenFOAM Wiki
Revision as of 07:51, 20 September 2016 by Jozsef Nagy (talk | contribs)
Jump to navigation Jump to search

Welcome to Day 6. By now you should have a good understanding of the very basics of OpenFOAM. Today we will further improve your knowledge by going in the direction of real life applications. You cannot mesh everything with the simple blockMesh utility. For real life geometries you will need more. Today you will learn this by creating your own arbitrary

  • geometry
  • mesh

Go back to "3 weeks" series.

Open source geometry creation

Here you will get a detailed introduction into two alternatives for the creation of geometries as inputs for a CFD project in OpenFOAM

  • Salome
  • Onshape

Meshing in OpenFOAM

The saying goes "Who owns the mesh, owns the solution". In OpenFOAM there are several ways to set up a mesh. On the one hand you can import it from external tools, you can use the simple blockMesh utility [1] [2] [3] or you can create your arbitrary mesh with snappyHexMesh. This tutorial will show you all the possibilities. The topics covered are:

  • mesh quality assessment
  • mesh conversion from external tools
  • blockMesh
  • snappyHexMesh

Meshing in GMSH

One of the alternatives for an external open source tool for mesh creation is GMSH. In this tutorial you will get a compact introduction into the work flow within the software. The following topics are covered:

  • geometry definintion
  • difference between structured and unstructured meshes
  • extrusion
  • conversion to OpenFOAM
  • case preparation

End of Day 6

Today you made a big step towards the real life application of CFD in OpenFOAM by learning and understanding how to create a mesh in OpenFOAM.