Does FreeFEM support meshes with hanging nodes?


I have created a nonconforming mesh( with hanging node) in .msh format using Matlab. I need to solve the Laplace equation with homogeneous Dirichlet boundary conditions using CG/DG method. I can import this mesh into Freefem. I used the usual weak formulation of the Laplace equation, but Freefem does not compute the exact solution.

My question is, does FreeFEM++ solves any PDE on meshes with hanging nodes? If yes, how to treat these hanging nodes?

Thank you.
Best regards,


This text will be hidden

No, FreeFEM does not support meshes with hanging nodes.

It wouldn’t be too hard to make your mesh valid though, all you would have to do is divide the larger rectangles into five elements instead of four.