Chapter 5 Mesh generation and conversion

This chapter describes all topics relating to the creation of meshes in OpenFOAM: section 5.1 gives an overview of the way a mesh is be described in OpenFOAM; section 5.2 lists the basic data files that describe a mesh; section 5.3 discusses mesh boundaries and introduces boundary conditions; section 5.4 covers the blockMesh utility for generating simple meshes of blocks of hexahedral cells; section 5.5 covers the snappyHexMesh utility for generating complex meshes of hexahedral and split-hexahedral cells automatically from triangulated surface geometries; section 5.6 describes the options for conversion of a mesh that has been generated by a third-party product into a format that OpenFOAM can read.

OpenFOAM v11 User Guide - Chapter 5 Mesh generation and conversion
CFD Direct