-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quadratic tet meshing causes python to crash! #42
Comments
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
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! |
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! |
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
The text was updated successfully, but these errors were encountered: