LGR is not working when more lines involved
Hi, I want to fine mesh around the Circle(8), and the mesh becomes coarser and coarser till the outer square, lines 1, 2, 4, and 6, but now it is uniform even though I use Algorithm 2. Thanks
SetFactory("OpenCASCADE");
Point(1) = {0, 0, 0};
Point(2) = {5, 0, 0};
Point(3) = {5, 3, 0};
Point(4) = {5, 5, 0};
Point(5) = {0, 5, 0};
Point(6) = {0, 3, 0};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 6};
Line(4) = {6, 1};
Line(5) = {3, 4};
Line(6) = {4, 5};
Line(7) = {5, 6};
Circle(8) = {2.5, 2.5, 0, 0.1, 0, 2*Pi};
Curve Loop(1) = {4, 1, 2, 3};
Curve Loop(2) = {7, 3, 5, 6};
Curve Loop(3) = {8};
Plane Surface(1) = {1, 2};
Plane Surface(2) = {1, 3};
Mesh.MeshSizeMax = 0.02;
Mesh.Algorithm = 2;
Mesh.Smoothing = 3;