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/simpleShapes
Summary
We use foamyHexMesh to create the mesh for the outside of the overlapping sphere and cone shape. The original geometry is defined in the files constant/triSurface/sphere_orient.stl and constant/triSurface/cone_orient.stl, and the mesh settings are defined in the file system/foamyHexMeshDict.
The original geometry
The original geometry (Wireframe)
The meshes are as follows, and the number of mesh is 75625.
Meshes
The meshes in XY plane
Commands
cp -r $FOAM_TUTORIALS/mesh/foamyHexMesh/simpleShapes simpleShapes
cd simpleShapes