Could not find extruded vertex
Using latest git source compiled from scratch (and stable binaries as well), this .geo
SetFactory("OpenCASCADE");
Rectangle(1) = {0, 0, 0, 5, 5, 0};
Point(5) = {1, 5, 0};
BooleanFragments{ Surface{1}; Delete; }{ Point{5}; Delete; }
Extrude {0, 0, 0.1} {
Surface{1}; Layers {1}; Recombine;
}
Mesh.MeshSizeMin = 0.05;
Mesh.MeshSizeMax = 1;
Mesh.RecombineAll = 1;
Mesh.Algorithm = 11;
Field[0] = Distance;
Field[0].PointsList = {5};
Field[1] = Threshold;
Field[1].IField = 0;
Field[1].LcMin = Mesh.MeshSizeMin;
Field[1].LcMax = Mesh.MeshSizeMax;
Field[1].DistMin = 0.5;
Field[1].DistMax = 3;
Background Field = {1};
fails with
Error : Could not find extruded vertex (0.5628249425660667, 4.863543558389905, 0.1)
Error : Could not find extruded vertex (0.6013396103115467, 4.89227000459325, 0.1)
Error : Could not find extruded vertex (0.6419040936628817, 4.852750100742528, 0.1)
Info : Done meshing 3D (Wall 0.0104646s, CPU 0.002015s)
Info : Optimizing mesh...
Info : Done optimizing mesh (Wall 3.24e-06s, CPU 3e-06s)
Info : 748 nodes 945 elements
Error : ------------------------------
Error : Mesh generation error summary
Error : 0 warnings
Error : 877 errors
Error : Check the full log for details
Error : ------------------------------
Info : Writing 'strip_footing_unstruct.msh'...
Info : Done writing 'strip_footing_unstruct.msh'
Info : Stopped on Tue Aug 16 11:49:06 2022 (From start: Wall 1.4037s, CPU 1.4801s)
The 2D meshing step works, although there are two element layers along the extrusion instead of only one:
Thing is it works without the refinement (although still with two layers of elements along the extrusion):
SetFactory("OpenCASCADE");
Rectangle(1) = {0, 0, 0, 5, 5, 0};
Point(5) = {1, 5, 0};
BooleanFragments{ Surface{1}; Delete; }{ Point{5}; Delete; }
Extrude {0, 0, 0.1} {
Surface{1}; Layers {1}; Recombine;
}
Mesh.MeshSizeMin = 0.05;
Mesh.MeshSizeMax = 1;
Mesh.RecombineAll = 1;
Mesh.Algorithm = 11;