Hi, without specifying the exact application, I am unable to suggest more than below. It would be much better if you share what you are aiming at. Thanks.
Consider Enforcing weak continuity at interface for a mixed dimensional problem and Continuity at interface between two subdomains.
Consider How to rotate a mesh in FEniCs? and Rotating fields and expressions in fenics.