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

[Mesh] mesh element generation for unstructured meshes #91

Closed
MuellerSeb opened this issue May 9, 2020 · 4 comments
Closed

[Mesh] mesh element generation for unstructured meshes #91

MuellerSeb opened this issue May 9, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@MuellerSeb
Copy link
Member

With the new mesh class from #65, we should think about generating simple mesh elements from the given points. This could be done with:

https://docs.scipy.org/doc/scipy-1.1.0/reference/generated/scipy.spatial.Delaunay.html

This could help visualizing with pyvista, to get a good mesh representation. otherwise I would stick to vertices as mesh elements.

@MuellerSeb MuellerSeb added the enhancement New feature or request label May 9, 2020
@LSchueler
Copy link
Member

Yeah that's a good idea and it should be pretty easy to simply wrap the Delaunay class from Scipy.

@banesullivan
Copy link
Collaborator

PyVista also gives access to VTK's vtkDelaunay2D/vtkDelaunay3D filters - just an FYI. Probably safer to use scipy as a dependency

@banesullivan
Copy link
Collaborator

This could help visualizing with pyvista, to get a good mesh representation. otherwise I would stick to vertices as mesh elements.

But if this is strictly for a visualization, then you might as well just task PyVista with triangulating/tetrahedralizing the meshes and not worry about maintaining a Delaunay algorithm in here.

@MuellerSeb MuellerSeb added this to the 2.0 milestone Aug 18, 2020
@MuellerSeb MuellerSeb removed this from the 2.0 milestone Mar 17, 2021
@MuellerSeb
Copy link
Member Author

Mesh triangulation shouldn't be in the scope of GSTools. Users in need can use scipy's or pyvista's Delaunay routines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants