Although we want to prepare three different meshes for three regions “inflow”, “wheel” and “volute”, the background mesh can stay the same for all of them. The background mesh is composed from hexahedrons and it is created by the simple meshing utility blockMesh.
# blockMesh
Settings for blockMesh are given in the following listing of the file constant/polyMesh/blockMeshDict.
There are only two patches specified in the boundary section – inflow_inlet and outflow_outlet. The rest of the boundry faces will be assigned to the patch defaultFaces. The dimensions of the boundary mesh are chosen in such a way that the patches inflow_inlet and outflow_outlet will cut the artificially prolonged inflow and outflow tubes. Those cuts will then become the final inlet and outlet patches, see figure .