Why is mass matrix singular After Converting Gmesh mesh to XDMF?

I discovered that with the code as it is written, an extra point at the center of the circle (i.e., the origin) was added to the mesh. I fixed the issue by adding a physical group for the surface in the mesh creation, after which the list of points was reduced by one. Keeping this here in case anyone else runs in to the same problem.

1 Like