FieldData in VTKHDF

I have a transient VTKHDF file with some field data. However, I am unable to get that data in ParaView.

This is my file structure:

HDF5 "64e3622bc995b8d31f50958b_sim.vtkhdf" {
GROUP "/" {
   GROUP "VTKHDF" {
      ATTRIBUTE "Type" {
         DATATYPE  H5T_STRING {
            STRSIZE 17;
            STRPAD H5T_STR_NULLPAD;
            CSET H5T_CSET_ASCII;
            CTYPE H5T_C_S1;
         }
         DATASPACE  SCALAR
      }
      ATTRIBUTE "Version" {
         DATATYPE  H5T_STD_I32LE
         DATASPACE  SIMPLE { ( 2 ) / ( 2 ) }
      }
      GROUP "Assembly" {
         GROUP "garments" {
            SOFTLINK "garment_0" {
               LINKTARGET "/VTKHDF/garment_0"
            }
         }
      }
      GROUP "garment_0" {
         ATTRIBUTE "Type" {
            DATATYPE  H5T_STRING {
               STRSIZE 16;
               STRPAD H5T_STR_NULLPAD;
               CSET H5T_CSET_ASCII;
               CTYPE H5T_C_S1;
            }
            DATASPACE  SCALAR
         }
         ATTRIBUTE "Version" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 2 ) / ( 2 ) }
         }
         DATASET "Connectivity" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 5982 ) / ( 5982 ) }
         }
         GROUP "FieldData" {
            DATASET "Energy" {
               DATATYPE  H5T_IEEE_F32LE
               DATASPACE  SIMPLE { ( 1553 ) / ( H5S_UNLIMITED ) }
            }
         }
         DATASET "NumberOfCells" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }
         }
         DATASET "NumberOfConnectivityIds" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }
         }
         DATASET "NumberOfPoints" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }
         }
         DATASET "Offsets" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 1995 ) / ( 1995 ) }
         }
         DATASET "Points" {
            DATATYPE  H5T_IEEE_F32LE
            DATASPACE  SIMPLE { ( 1638415, 3 ) / ( H5S_UNLIMITED, 3 ) }
         }
         GROUP "Steps" {
            ATTRIBUTE "NSteps" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SCALAR
            }
            DATASET "CellOffsets" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SIMPLE { ( 1553, 1 ) / ( H5S_UNLIMITED, 1 ) }
            }
            DATASET "ConnectivityIdOffsets" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SIMPLE { ( 1553, 1 ) / ( H5S_UNLIMITED, 1 ) }
            }
            GROUP "FieldDataOffsets" {
               DATASET "Energy" {
                  DATATYPE  H5T_STD_I32LE
                  DATASPACE  SIMPLE { ( 1553 ) / ( H5S_UNLIMITED ) }
               }
            }
            DATASET "NumberOfParts" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SIMPLE { ( 1553 ) / ( H5S_UNLIMITED ) }
            }
            DATASET "PartOffsets" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SIMPLE { ( 1553 ) / ( H5S_UNLIMITED ) }
            }
            DATASET "PointOffsets" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SIMPLE { ( 1553 ) / ( H5S_UNLIMITED ) }
            }
            DATASET "Values" {
               DATATYPE  H5T_IEEE_F32LE
               DATASPACE  SIMPLE { ( 1553 ) / ( H5S_UNLIMITED ) }
            }
         }
         DATASET "Types" {
            DATATYPE  H5T_STD_U8LE
            DATASPACE  SIMPLE { ( 1994 ) / ( 1994 ) }
         }
      }
   }
}
}

I have also checked the stored values with an HDF viewer and the data is correct
However, in Paraview, when I look for the field data, it only shows the current timestep

@Lucas_Givord

Hi @Juan_Jose_Casafranca,

I believe your data is a partitioned dataset collection or multiblock dataset as you have an Assembly node.

I’m afraid but that currently not supported, I create a dedicate issue here : https://gitlab.kitware.com/vtk/vtk/-/issues/19288

Fair enough, I remember we talked that transient multiblock files were not officially supported yet, so I guess this is one of those edge cases.

Ill close the issue

1 Like