Chapter 4 Mesh generation and conversion
This chapter describes all topics relating to the creation of meshes in OpenFOAM: section 4.1 gives an overview of the ways a mesh may be described in OpenFOAM; section 4.3 covers the blockMesh utility for generating simple meshes of blocks of hexahedral cells; section 4.4 covers the snappyHexMesh utility for generating complex meshes of hexahedral and split-hexahedral cells automatically from triangulated surface geometries; section 4.5 describes the options available for conversion of a mesh that has been generated by a third-party product into a format that OpenFOAM can read.
4.1 Mesh description
4.1.1 Mesh specification and validity constraints
4.1.2 The polyMesh description
4.1.3 The cellShape tools
4.1.4 1- and 2-dimensional and axi-symmetric problems
4.2 Boundaries
4.2.1 Specification of patch types in OpenFOAM
4.2.2 Base types
4.3 Mesh generation with the blockMesh utility
4.3.1 Writing a blockMeshDict file
4.3.2 Multiple blocks
4.3.3 Creating blocks with fewer than 8 vertices
4.3.4 Running blockMesh
4.4 Mesh generation with the snappyHexMesh utility
4.4.1 The mesh generation process of snappyHexMesh
4.4.2 Creating the background hex mesh
4.4.3 Cell splitting at feature edges and surfaces
4.4.4 Cell removal
4.4.5 Cell splitting in specified regions
4.4.6 Snapping to surfaces
4.4.7 Mesh layers
4.4.8 Mesh quality controls
4.5 Mesh conversion
4.5.1 fluentMeshToFoam
4.5.2 star4ToFoam
4.5.3 gambitToFoam
4.5.4 ansysToFoam
4.5.5 cfx4ToFoam
4.6 Mapping fields between different geometries
4.6.1 Mapping consistent fields
4.6.2 Mapping inconsistent fields
4.6.3 Mapping parallel cases
4.1.1 Mesh specification and validity constraints
4.1.2 The polyMesh description
4.1.3 The cellShape tools
4.1.4 1- and 2-dimensional and axi-symmetric problems
4.2 Boundaries
4.2.1 Specification of patch types in OpenFOAM
4.2.2 Base types
4.3 Mesh generation with the blockMesh utility
4.3.1 Writing a blockMeshDict file
4.3.2 Multiple blocks
4.3.3 Creating blocks with fewer than 8 vertices
4.3.4 Running blockMesh
4.4 Mesh generation with the snappyHexMesh utility
4.4.1 The mesh generation process of snappyHexMesh
4.4.2 Creating the background hex mesh
4.4.3 Cell splitting at feature edges and surfaces
4.4.4 Cell removal
4.4.5 Cell splitting in specified regions
4.4.6 Snapping to surfaces
4.4.7 Mesh layers
4.4.8 Mesh quality controls
4.5 Mesh conversion
4.5.1 fluentMeshToFoam
4.5.2 star4ToFoam
4.5.3 gambitToFoam
4.5.4 ansysToFoam
4.5.5 cfx4ToFoam
4.6 Mapping fields between different geometries
4.6.1 Mapping consistent fields
4.6.2 Mapping inconsistent fields
4.6.3 Mapping parallel cases