Finding problem in generating mesh from a .geo file obtained from GMSH

Hello everyone

Below, I am attaching a 3D mesh generated from GMSH. However, when I attempt to convert it into a .msh file, it takes a significant amount of time, Please check Is there any mistake in the syntax? Additionally, I am unsure of how to convert a .msh file into a .xml file for a 3d domain. Could you please review the syntax I have written and help me resolve these issues? Thank you in advance.

Point(1) = {0, 0, 0, 0.5};
Point(2) = {3, 0, 0, 0.5};
Point(3) = {3, 3, 0, 0.5};
Point(4) = {0, 3, 0, 0.5};
//+
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
//+

//+ Circle points
r = 1;
cx = 1.5;
cy = 1.5;
Point(5) = {cx, cy, 0, 0.5};
Point(6) = {cx+r, cy, 0, 0.5};
Point(7) = {cx, cy+r, 0, 0.5};
Point(8) = {cx-r, cy, 0, 0.5};
Point(9) = {cx, cy-r, 0, 0.5};
//+
Circle(5) = {6, 5, 7};
Circle(6) = {7, 5, 8};
Circle(7) = {8, 5, 9};
Circle(8) = {9, 5, 6};
//+
Curve Loop(1) = {3, 4, 1, 2};
Curve Loop(2) = {5, 6, 7, 8};
Plane Surface(1) = {1, 2};
//+
//Physical Curve("inlet", 1) = {4};
//Physical Curve("outlet", 2) = {2};
//Physical Curve("wall", 3) = {1, 3};
//Physical Curve("cyl", 4) = {5,6,7,8};
//Physical Surface("vol", 5) = {1};
Extrude {0, 0, 3} {
  Surface{1}; 
}
// Inlet
Physical Surface(1) = {25}; 
// Outlet
Physical Surface(2) = {33};
// Inner cylinder
Physical Surface(3) = {41, 45, 49, 37};
// Wall y=0
Physical Surface(41) = {29};
// Wall y=Ly
Physical Surface(42) = {21};
// Wall z=0
Physical Surface(43) = {1};
// Wall z=Ly
Physical Surface(44) = {50};
// Volume (required because GMSH)
Physical Volume(5) = {1};

So the problem is only with Gmsh, not related to PrePoMax, right ? Then it should be posted in General Questions category (Bug Reports are meant for bugs in PrePoMax). It might be even better to ask Gmsh devs directly: https://gitlab.onelab.info/gmsh/gmsh/-/issues

1 Like