Difference between revisions of "Day 6"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
* snappyHexMesh
 
* snappyHexMesh
  
==[https://wiki.openfoam.com/Meshing_in_GMSH_by_Robert_Lee Meshing in GMSH]==
+
==[https://wiki.openfoam.com/Meshing_with_cfMesh_by_Jozsef_Nagy Meshing with cfMesh]==
  
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:
+
An alternatives for snappyHexMesh is cfMesh. In this tutorial you will get a compact introduction into the work flow of the basics. The following topics are covered:
  
* geometry definintion
+
* geometry definition
* difference between structured and unstructured meshes
+
* basic mesh refinement
* extrusion
+
* local refinement along STL files
* conversion to OpenFOAM
+
* layer addition
* case preparation
 
  
 
=End of Day 6=
 
=End of Day 6=

Revision as of 06:19, 25 March 2020

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-world 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

  • 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 with cfMesh

An alternatives for snappyHexMesh is cfMesh. In this tutorial you will get a compact introduction into the work flow of the basics. The following topics are covered:

  • geometry definition
  • basic mesh refinement
  • local refinement along STL files
  • layer addition

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. Tomorrow we will continue with simulations including turbulence modeling. If you've finished the day with time to spare, why not try the additional examples below!

See you tomorrow!

Additional examples

snappyHexMesh – Single region

Mesh a flange geometry and simulate heat transfer in it using scalarTransportFoam.

  • The aim of the tutorial is to give a basic introduction to single region meshing with the meshing tool snappyHexMesh
  • Understanding the advantages of snappyHexMesh
  • Understanding the three basic steps of snappyHexMesh

snappyHexMesh – Multi region

In this tutorial a geometry with more than one region is meshed using snappyHexMesh and simulated using chtMultiRegionFoam.

  • Understanding multi region meshing with the meshing tool snappyHexMesh
  • Multi region simulations