Hi, during the snap stage the snappyHexMesh generates illegal internal triangles (see attached images for comparison of original STL geometry and mesh generated by snappyHexMesh). The STL was checked with surfaceCheck, the log is the following:
Code:
triSurface$ surfaceCheck -checkSelfIntersection aneurysm.stl
Reading surface from "aneurysm.stl" ...
Statistics:
Triangles : 7462
Vertices : 3733
Bounding Box : (-8.17053 -9.95681 -3.16317) (9.29674 5.487 18.3778)
Region Size
------ ----
patch0 7462
Surface has no illegal triangles.
Triangle quality (equilateral=1, collapsed=0):
0 .. 0.05 : 0
0.05 .. 0.1 : 0
0.1 .. 0.15 : 0
0.15 .. 0.2 : 0
0.2 .. 0.25 : 0
0.25 .. 0.3 : 0
0.3 .. 0.35 : 0
0.35 .. 0.4 : 0
0.4 .. 0.45 : 0.000402037
0.45 .. 0.5 : 0.000268025
0.5 .. 0.55 : 0.0010721
0.55 .. 0.6 : 0.00160815
0.6 .. 0.65 : 0.00254623
0.65 .. 0.7 : 0.0032163
0.7 .. 0.75 : 0.00402037
0.75 .. 0.8 : 0.00522648
0.8 .. 0.85 : 0.0087108
0.85 .. 0.9 : 0.0305548
0.9 .. 0.95 : 0.118467
0.95 .. 1 : 0.823908
min 0.409765 for triangle 7461
max 0.999999 for triangle 6093
Edges:
min 0.116441 for edge 2482 points (6.99224 0.323031 -1.78307)(6.89283 0.373643 -1.81644)
max 0.771082 for edge 5440 points (-6.57135 -9.32061 1.086)(-6.66217 -9.95464 1.51533)
Checking for points less than 1e-6 of bounding box ((17.4673 15.4438 21.541) metre) apart.
Found 0 nearby points.
Surface is closed. All edges connected to two faces.
Number of unconnected parts : 1
Number of zones (connected area with consistent normal) : 1
Checking self-intersection.
Surface is not self-intersecting
End
There is no error, the settings for snappyHexMesh are also attached.