How to write a 2D, triangular unstructured mesh to disk using Silo #433
-
Hi everyone. I am developing a GPU-accelerated, distributed, unstructured mesh library built from Cabana AoSoAs. I'd like to write this mesh to disk so it can be visualized in ParaView. The data of interest is (x, y, z) position values and (x, y) vorticity values stored at each vertex. I've reviewed the documentation and it appears this is possible using |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@JStewart28 you can find some examples of writing data in Silo's and VisIt's test suites. You can find example data files produced by various of these test data generator codes in https://github.com/visit-dav/visit/blob/develop/data/silo_pdb_test_data.tar.xz. One thing...Silo does not support writing data that is in GPU memory...at least I don't think. I think the data needs to be copied back to CPU memory before you can write a file to disk from Silo. |
Beta Was this translation helpful? Give feedback.
-
This is another example where we use I wrote all of the code there so I am happy to answer questions. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the resources, @JustinPrivitera and @markcmiller86. I'll take a look at these and post back if I have any questions. |
Beta Was this translation helpful? Give feedback.
@JStewart28 you can find some examples of writing data in Silo's and VisIt's test suites.
You can find example data files produced by various of these test data generator codes in https://github.com/visit-dav/visit/blob/develop/data/silo_pdb_test_data.tar.xz.
One thing...Silo does not support writing data that is in GPU memory...at least I don't think. I think the data needs to be copied back to CPU memory before you can write a file to disk from Silo.