Parallel VTKHDF

Hi,

could you point me out to where do I find a file example of the parallel VTKHDF (the equivalent of .pvtu) that is in Paraview that I can potentially download and inspect?
Any further documentation that I might look at while trying to implement it?

Best

Hi @Frankx9,

You can check the can-pvtu.hdf dataset from VTK Testing data folder, you can also retrieve it from here : https://vtk.org/files/ExternalData/SHA512/6a8f72693e881bd9044c107e347bf2501f1e43719d32733c9dfca2a48fdcb45c2a85d3d3a6f86adbc6f9a4d494be83b73b8a44b312996459647108ba222b14fa

All information (spec, example and so on) is here: VTKHDF File Format - VTK documentation

1 Like

Hi Lucas,

thanks a lot!
I already checked the documentation but for I didn’t understand where does the difference lay in the parallel one w.r.t to the standard VTKHDF. Do you have any additional insight?

Everything when we talk about “partition” is for the parallel support : VTKHDF format specification - VTK documentation

Some dataset will be of size N where N is the number of partition, like `NumberOfCells` …
If we take as example the can-pvtu.hdf dataset :

`NumberOfCells` size is equal to 3, meaning that this dataset is partitioned in 3 parts, first part has 2541 cells etc…

Then some other datasets will reuse these information:

like `CellData`, which will read for the first part only the 2541 first values and so on.

1 Like

Thanks a lot Lucas! Really grateful for the help