Yixin-Hu / TetWild

Robust Tetrahedral Meshing in the Wild.
https://yixin-hu.github.io/tetwild.pdf
GNU General Public License v3.0
620 stars 98 forks source link

output seems error when input an multi-material surface mesh(diffirent material share an interior face) #96

Closed xmyhhh closed 10 months ago

xmyhhh commented 10 months ago

hi~ thanks for sharing your work However , I meet some trouble when trying with my mesh

The mesh input I used is a multi-layered geologic body, as shown in the image below, which has five layers in total, stacked like a hamburger (meaning five materials from top to bottom, shareing four inner surface).

image

for surface outside, I adjust the normal to point the outside domain, for shareing surface inside, I adjust the normal to point the mesh center reversed as shown in the image below

image

The problem is, there is some tet is missing inside my input mesh and some pop outside my input mesh,as shown in the image below(green are my input mesh edge and blue are output mesh edge)

1706868297351 1706868919796

the command I use is "FloatTetwild_bin.exe --input domain_merge.off --output domain_merge_out.mesh" I also attach my input file here for debug purpose if someone need! download link

xmyhhh commented 10 months ago

sorry I shold put this issue in fTetWild Repository not here, so close it