I’m exploring using VTKHDF export as a replacement for our code’s unsupported VTK reader. So far I’ve managed to successfully generate a vtkhdf file with an example UnstructuredGrid mesh and point and cell data that displays correctly in Paraview 5.12. (This is a static file; transient is my next step.)
In my example I’m using a single “partition”, and I’m confused about what the purpose of the partitioning is. The documentation says the number of partitions is typically the number of MPI ranks.
But if I understand correctly, there’s a single vtkhdf file, not 1 per MPI rank, and that the mesh data needs to be a serial description of the entire mesh (I’m thinking of the connectivity array and global point IDs vs rank-local IDs). So I don’t understand what MPI has to do with anything here. Is this simply an optional user-defined partitioning that is exposed in the Paraview interface? I’m wondering now if it might be similar to how our existing VTK reader partitions the mesh into “parts” that we can easily enable/disable via a checkbox list (how that’s done I don’t know).