Is it possible to have XML format to share points and cells?

Say I have 3 .vtu files which can be put into one .pvd file.

<VTKFile type="Collection" version="1.0" byte_order="LittleEndian" header_type="UInt64">
  <Collection>
    <DataSet timestep="0" part="0" file="a/a_0_0.vtu"/>
    <DataSet timestep="0.000100074" part="0" file="a/a_0_1.vtu"/>
    <DataSet timestep="0.000199905" part="0" file="a/a_0_2.vtu"/>
  </Collection>
</VTKFile>

The thing is that all of the .vtu have the same points and cells. I was wondering if there is a pattern which allows us to write the points and cells data only once and each .vtu file only contains the pointdata and celldata.

Thanks,
Cam

The vtu format does not support changing only the data without changing the geometry. In such cases, one option would be to use another format such as xdmf or EnSight format.

1 Like

FYI @Francois_Mazen

This would have been an extremely nice feature for CFD simulations on stationary grids…

1 Like