2D Gmsh mesh saved/recognized as 3D mesh

The initial problem is simple, gmsh build only 3d mesh of type “mesh”

see lines in file,

Dimension
3

so the simple way is to read in
meshS ThS=readmeshS( " …");
mesh Th2 = movemesh(Thf,transfo=[x,y]); // flatten the mesh,

1 Like