Extrude 2D mesh made with constructive geometry

I have constructed a 2D mesh with multiple subdomains using using FEniCS functions for constructive geometry as Ellipse(), Circle(). The mesh is displayed in the following picture:

Is there a way to “extrude” this 2D mesh into a cylinder with some FEniCS method or function? I imagine that I could made all the geometry with the 3D functions for constructive geometry but I wonder if there is a more direct way.

pygalmesh has some extrusion functionality,

1 Like