Partition creation of 3D mesh

If you prefer graphical user interface, try to use Gmsh in FreeCAD, there is a direct mesh export for FEniCS functionality.

Another method is Salome by using for example NetGen inside, export med and then convert to FEniCS, have a look in this post for more details on this: