Yixin-Hu / TetWild

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

TetWild not converging #32

Open csverma610 opened 5 years ago

csverma610 commented 5 years ago

Hello,

I have been trying to use TetWild but it seems with the default values but it never converges. It keeps churning messages.

Am I doing something wrong?

Yixin-Hu commented 5 years ago

Hi,

TetWild does not guarantee convergence (please refer to our paper). As far as I know, few mesh optimization algorithms have the guarantee to improving mesh quality in a certain specific quality measure to a given bound, like Delaunay refinement. But the output of Delaunay refinement can still contain poorly shaped elements, like slivers.

TetWild would stop when max optimization iterations are reached.

Please try using "--stage 2", which would take longer time but may produce higher quality output.

qnzhou commented 5 years ago

@csverma610 Do you have an example that you can share? Thanks!

csverma610 commented 5 years ago
  1. can i get a topologically correct mesh ( poor geometric poor quality) mesh quickly?
  2. is it poosible to get a good surface mesh without generating tet mesh?
  3. it seems in one of the header files, you used tbb.h but where it is used? my system shows only one thread running.

thanks

Yixin-Hu commented 5 years ago
  1. can i get a topologically correct mesh ( poor geometric poor quality) mesh quickly? Please use a larger filter energy.

  2. is it poosible to get a good surface mesh without generating tet mesh? No.

  3. it seems in one of the header files, you used tbb.h but where it is used? my system shows only one thread running. We are not using tbb. Are you using the newest code?