Coupling the equations defined on two different subdomains

Hello,

Regarding the use of the mixed-dimensional branch, I would suggest building your mesh using an external software such as Gmsh. This post gives more details on how to convert a Gmsh mesh using meshio and how to import it into FEniCS using xdmf format.