Open SimonCom opened 2 years ago
Looks like the default settings work:
tet = tetgen.TetGen(fixMesh)
tet.tetrahedralize()
grid = tet.grid
grid.plot(show_edges=True, background='w')
I'd play around with the parameters until you get something that works.
If you can't get it to work with your desired parameters, you may consider downgrading to tetgen==0.5.5
with:
pip install tetgen==0.5.5
I've run into issues after upgrading support for tetgen 1.6
Hi Alex,
thank you very much for your answer. The default setting has always worked for me as well because it uses linear elements, but if you try to use quadratic elements with order=2 or the switch o2, Python crashes.
However, using the tetgen version 0.5.5 with some adjustments on the switches also seems to work for quadratic elements.
Thanks! Simon
However, using the tetgen version 0.5.5 with some adjustments on the switches also seems to work for quadratic elements.
There's been a request to add support for the older version of tetgen 1.5 and potentially use that as a default. There might be some fundamental issue with 1.6.
Good to know, thanks Alex!
Hi Alex,
I tried everything with tetgen 1.5 (python 0.5.5). Even though quadratic meshing works now (is even the default), using the C++ switches causes python to crash. And the working python inputs are limited. So for example, quality, minratio, and mindihedral work but there is no working volume control (like there would be with the switch -a followed by a number). What causes this issue and are there any intended efforts in solving this problem in the future?
Thanks for your help! Simon
Describe the bug, what's wrong, and what you expected.
Tetgen tetrahedralization with quadratic elements causes Python to crash on surface meshes with concave structures (e.g. a hole), although linear meshing works.
Steps to reproduce the bug.
Screenshots
No response
Code of Conduct