In my previous solution, replace
mesh Th = square(10, 10);
by
mesh Th("my2DMesh.mesh");
or
mesh3 Th("my3DMesh.mesh");
In my previous solution, replace
mesh Th = square(10, 10);
by
mesh Th("my2DMesh.mesh");
or
mesh3 Th("my3DMesh.mesh");