<div dir="ltr">Hi,<br><br>I have a cartesian structured grid made of two sub-domains and a two snap shots in a time that I would like to read in Paraview. The data and grid files are stored in HDF5 file and I use a XDMF file to read them in a Paraview. The XDMF files looks like this:<br><br><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf Version="2.2"><br><Domain Name="Bump"><br><Grid Name="TimeSeries" GridType="Collection" CollectionType="Temporal"><br><br><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0001<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid GridType="Uniform" Name="GridZone0002"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  268"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  268" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0002<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  268" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0002<br></DataItem><br></Attribute><br></Grid><br></Grid><br></div><div><br></div><div><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0001<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid GridType="Uniform" Name="GridZone0002"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  268"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  268" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0002<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  268" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0002:/zone0002<br></DataItem><br></Attribute><br></Grid></div><div><br></Grid></div></div><br></Grid><br></Domain><br></Xdmf><div><br></div><div>The file is read in Paraview. When I advance in to the second instant in time I get the following error:</div><div><br></div><div>Failed to read attribute data.</div><div><br></div><div>Paraview shows data from the first subset (zone0001), it can't read the data from the second subset (zone0002).</div><div><br></div><div><br></div><div>When I read only on instant in time like this:</div><div><br></div><div><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf Version="2.2"><br><Domain Name="Bump"><br><Grid Name="TimeSeries" GridType="Collection" CollectionType="Temporal"><br><br><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0001<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid GridType="Uniform" Name="GridZone0002"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  268"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  268" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0002<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  268" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0002<br></DataItem><br></Attribute><br></Grid><br></Grid></div><br></Grid><br></Domain><br></Xdmf><br></div><div><br></div><div>the file is read successfully and no errors show up.</div><div><br></div><div><div>Also when I read two time instants but with only one subset (zone0001) Paraview doesn't throw any errors. </div></div><div><br></div><div><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf Version="2.2"><br><Domain Name="Bump"><br><Grid Name="TimeSeries" GridType="Collection" CollectionType="Temporal"><br><br><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0001<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br></div><div><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions="    2  202  267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions="  267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-zone0001<br></DataItem><br><DataItem Dimensions="  202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions="    2  202  267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><div><br></div><div></Grid></div></div><br></Grid><br></Domain><br></Xdmf><br></div><div><br></div><div><br></div><div>Does anyone see the problem in the code?</div><div><br></div><div>Kind regards,</div><div><br></div><div>Nikos</div><div><br></div></div>