This tutorial cannot be run on Ubuntu 14.04 LTS version of OpenFOAM, you need to use Ubuntu 16.04 LTS version of OpenFOAM or build foamyHexMesh by yourself.
Case directory
$FOAM_TUTORIALS/mesh/foamyHexMesh/flange
Summary
We use foamyHexMesh to create the mesh. The original geometry is defined in the file constant/triSurface/flange.stl.gz and the mesh settings are defined in the file system/foamyHexMeshDict.
The original geometry
The meshes are as follows, and the number of mesh is 217710.
Meshes
Mesh in XZ plane
Mesh in YZ plane
Commands
cp -r $FOAM_TUTORIALS/mesh/foamyHexMesh/flange flange
cd flange