Heat Equation Code for Cylinder Objects

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