Contrib/SnappyHexMesh GUI Addon for Blender

From OpenFOAMWiki

1 Introduction

SnappyHexMesh GUI add-on for Blender ("the add-on" hereafter) is meant to aid OpenFOAM users to use Blender as a CFD pre-processing tool. The aim is to

  • Ease the workflow for updating, modifying and exporting 3D surface meshes to OpenFOAM.
  • Allow definition of most common SnappyHexMesh settings via Blender GUI, to reduce need for manual writing of OpenFOAM dictionary definitions.
  • Require minimal Blender skills. Geometry can be modelled in any 3D modelling / CAD program which exports a surface mesh format that can be imported to Blender, such as STL or Wavefront OBJ. Add-on is operated via panels in Blender's GUI.

The creation of OpenFOAM dictionary files is based on string replacements using template files located in the add-on's skel directory. The add-on is developed for Blender 2.8 (master branch) and OpenFOAM Foundation version 6 of OpenFOAM.

2 Documentation

Documentation is available in the doc directory in the source code, and for web viewing here

3 OpenFOAM Trade Mark Notice

This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via, and owner of the OPENFOAM® and OpenCFD® trade marks.