<div dir="ltr"><div><div><div>Dear all,<br><br></div>I am experimenting with the gmsh hex-dominated algorithm for stl surfaces. In order to use a simple example I chose one of the stl remeshing examples from the wiki and tried to build a hex-dominated mesh on it. However, when I run the 3D meshing I get an ANN error : "ANN: ERROR------->Requesting more near neighbours than data points<-------------ERROR"<br><br></div>I can only guess what went wrong inside, but it seems the neighbour search does not work with the nodes generated on the 2D stl mesh.<br><br></div><div>Any hints on how to tackle this problem are greatly appreciated!<br><br></div><div>Best,<br></div><div>Gunnar<br></div><div><br></div>PS: The .geo file I used is the following:<br><br><span style="font-family:monospace,monospace">Geometry.HideCompounds = 0; // show underlying STL<br>Mesh.RemeshAlgorithm=1; //(0) nosplit (1) automatic (2) split metis<br>Mesh.CharacteristicLengthFactor=0.2;<br>Merge "skull.stl";<br>Compound Surface(200)={1};<br>Physical Surface (501)={200};<br><br>CreateTopology;<br>Surface Loop(2) = 1;<br>Volume(3) = 2;<br><br>Mesh.Algorithm=9;<br>Mesh.Algorithm3D = 9; //(1=tetgen, 4=netgen, 7=MMG3D, 9=R-tree)<br>Mesh.Optimize=1;<br>Mesh.Recombine3DAll=1;
<br>Mesh.Smoothing=0;
</span><br><br></div>