Skip to content
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

Volume triangulation #5

Open
brunohs1993 opened this issue Jan 26, 2024 · 0 comments
Open

Volume triangulation #5

brunohs1993 opened this issue Jan 26, 2024 · 0 comments
Assignees

Comments

@brunohs1993
Copy link
Owner

brunohs1993 commented Jan 26, 2024

The volume triangulation routine currently uses scipy.delaunay.triangulate to divide the mesh into tetrahedra. Despite Scipy's routine being applied only to convex geometries, additional checks in Nanokappa are made to detect holes and corners, as well as new points are added to avoid holes inside the mesh that should not be there. Nevertheless sometimes these are not enough, and we still find particles outside of the mesh being detected as being inside, and vice versa.

There is a bounds check using the bounding box of the geometry, eventually particles that are outside will be moved inside. However this may take a lot of time if their velocity is small or the geometry is large. Also this does not mean it solves the triangulation issue inside the mesh.

Example geometry that reproduces this problem:

--geometry         freewire
--dimensions       100 200 100 0 300 200 150 0 250 200 100 0 150 200 50 0 100 200 10 6    
@brunohs1993 brunohs1993 self-assigned this Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant