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

Read mixed topology mesh from file #3231

Open
chrisrichardson opened this issue May 28, 2024 · 3 comments
Open

Read mixed topology mesh from file #3231

chrisrichardson opened this issue May 28, 2024 · 3 comments
Labels
enhancement New feature or request io

Comments

@chrisrichardson
Copy link
Contributor

chrisrichardson commented May 28, 2024

Add functionality to read a mixed topology mesh (e.g. triangle + quad, hex+prism+pyramid+tet) from file.

  • file format? VTK, XDMF, ADIOS2
@garth-wells garth-wells changed the title Read mixed mesh from file Read mixed topology mesh from file May 28, 2024
@garth-wells
Copy link
Member

  • file format? VTK, XDMF, ADIOS2

I'd suggest VTKHDF, with maybe VTK first because it's easy to read.

@jorgensd
Copy link
Sponsor Member

If we go for VTKHDF, please consider: https://discourse.vtk.org/t/vtkhdf-point-ownership/13913/4
as it is to me unclear how to actually make use of the partitioning offsets in VTKHDF.
https://gist.github.com/jorgensd/6b3db748009ac1017929d7e7f3e83dc2
shows how the data-structure is written for a single cell type, which is fairly easy reverse engineer to reading and/or mixed topology.

@chrisrichardson
Copy link
Contributor Author

Thanks @jorgensd - I will take a look.

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

No branches or pull requests

3 participants