SwiftBlock
SwiftBlock is a Blender GUI add-on for the OpenFOAM® blockMesh utility, which creates hexahedral block structured volume meshes for OpenFOAM simulations. The target of SwiftBlock is to ease the creation of structured block meshes for controlled grading (e.g. boundary layers) or streched cells composed of hexahedral cell blocks.
Block structure is first modelled as a mesh object in Blender. A graph theory based method implemented in the addon identifies the discrete hexahedral blocks in the mesh object and generates blockMeshDict. Main features include
- user specified divisions and optional grading of block edges
- specification of patches (boundary surfaces)
- specification of blocks to create cell zones/sets
- easy block manipulations including selection, visualisation and disabling of blocks
- visualization of edge directions
- projection of block edges to surfaces on another object to create curved shapes
The add-on has been tested with Blender LTS 3.3 and OpenFOAM Foundation version 10 of OpenFOAM.
Documentation
Documentation (made using Sphinx) is located in docs directory of the sources and is viewable online at https://swiftblock.readthedocs.io.
Feedback
If you use this add-on, please star the project in GitHub!
OpenFOAM Trade Mark Notice
This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM® and OpenCFD® trade marks.