Heat Equation Code for Cylinder Objects

Can anyone please help me find the fenics heat equation for a cylindrical shape ?
I found the built in code for a rectangle but haven’t found one for the built in cylindrical shape.

Thanks,

Meshes can be made with mshr, see for instance How to make a 3D Cylinder Mesh?
You can Also make meshes with Gmsh, and there are many examples on the forum for how to create and load such geometries, see for instance Importing 3D .msh file into Fenics as mesh

2 Likes