Skip to content

Exploring VTKHDF #108

@anaegel

Description

@anaegel

Information on file formats:

https://docs.vtk.org/en/latest/vtk_file_formats/index.html

XML format for unstructured grids:
https://docs.vtk.org/en/latest/vtk_file_formats/vtkxml_file_format.html#unstructuredgrid

Basic structure is as follows:

<VTKFile type="UnstructuredGrid" ...>
  <UnstructuredGrid>
    <Piece NumberOfPoints="#" NumberOfCells="#">
    <PointData>...</PointData>
    <CellData>...</CellData>
    <Points>...</Points>
    <Cells>...</Cells>
    </Piece>
  </UnstructuredGrid>
</VTKFile>

Information on VTKHDF:
https://www.kitware.com/how-to-write-time-dependent-data-in-vtkhdf-files/

Scripts:
https://gitlab.kitware.com/keu-public/vtkhdf/vtkhdf-scripts

Following piece shows, how to write unstructured grids:
https://gitlab.kitware.com/keu-public/vtkhdf/vtkhdf-scripts/-/blob/main/scripts/generate_unstructured_grid.py

Converter from XML to HDF5:
https://gitlab.kitware.com/keu-public/vtkhdf/vtkhdf-scripts/-/tree/main/vtkxml-to-vtkhdf?ref_type=heads

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions