I tried to generate mesh on my Circle of Willis model that I import it as an .stl file, but I constantly get the following error message:
"ERROR: TetGen quit and returned error code 3".
Note that in the .stl file I just tried to generate mesh on the left part and I delete all the faces corresponding to the right part of the model.
I am taking the following steps:
1. Select models -> import solid model
2. Select my stl file and name it
3. Use face extraction with face separation angle of 30deg
4. Select create mesh, use tetgen and our model
6. I review the face list and select entries as walls and caps as necessary. There is one walls surface, 1 cap for the inlet and 2 caps for the outlets.
7. I select fill holes with IDs which makes another entry in the face list (this does not seem to correspond to any geometry in the 3D model viewer).
8. Estimate size reports 0.0259
9. I run the mesher, which ultimately fails, where the following appears in the terminal upon failure:
Checking surface mesh
Regions: 1
Number of Free Edges on Surface: 2151
Number of Non-Manifold Edges on Surface: 0
Got Volume Mesh Func!
untangle procedure..
Iteration 1/10
Iteration 2/10
Iteration 3/10
Iteration 4/10
Iteration 5/10
Iteration 6/10
Iteration 7/10
Iteration 8/10
Iteration 9/10
Iteration 10/10
Final mesh improvement
Got Volume Mesh Func!
Converting to TetGen...
Converting Points...
Converting Faces...
Adding mesh sizing metric...
TetGen Meshing Started...
Delaunizing vertices...
Delaunay seconds: 2.0377
Creating surface mesh ...
Found two overlapping facets.
1st: [245286, 245287, 370706] #1
2nd: [245286, 245287, 370706] #0
ERROR: TetGen quit and returned error code 3
Please advise, and thank you
![Smile :)](./images/smilies/icon_e_smile.gif)
PS:I cannot attach my .stl file directly here in the forums because the file is too large. Please message or email me and I can share the file with you!