Hello all,
I have a time-series of datapoints stored in HDF5 files which I would like to visualize with Paraview.
The data contained is in more than one dimension, and should be mapped to specific points that are not uniformly distributed, i.e. I need to use the ‘Center=“Node”’ tag in order to map said points to their correct position.
In short I have a series of points and I would like to represent a vector at each of these points.
At the moment this works with uniformly distributed data, and it works with specific positions if only one value is mapped to each point, but it does not work if the data has positions and more than one value per point.
Beneath is an example of the sort of xmdf file which I would like to be able to read.
It works if the parameter “Node” is replaced by “Cell”, but as is Paraview throws an error “Failed to read attribute data”.
Best and I greatly appreciate your support,
V
<?xml version="1.0"?>
<Xdmf Version="3.0">
<Domain>
<Grid Name="TimeStep_0" GridType="Collection" CollectionType="Temporal">
<Time Value="0.000000000000000000000000e+00"/>
<Grid Name="subdomain" GridType="Collection">
<Grid Name="Patch_0" GridType="Uniform">
<Topology TopologyType="2DSMesh" Dimensions="3 3"/>
<Geometry GeometryType="X_Y">
<DataItem Dimensions="3 3" NumberType="Float" Precision="8" Format="XML">
2.424781510011e-01 2.492876053684e-01 2.592592592593e-01
2.424781510011e-01 2.492876053684e-01 2.592592592593e-01
2.424781510011e-01 2.492876053684e-01 2.592592592593e-01
</DataItem>
<DataItem Dimensions="3 3" NumberType="Float" Precision="8" Format="XML">
-1.678110825812e-02 -1.678110825812e-02 -1.678110825812e-02
-9.971653890846e-03 -9.971653890846e-03 -9.971653890846e-03
-2.775557561563e-17 -2.775557561563e-17 -2.775557561563e-17
</DataItem>
</Geometry>
<Attribute Name="AllUnknowns" AttributeType="Matrix" Center="Node">
<DataItem Format="HDF" NumberType="Float" Precision="8" Dimensions="3 3 4">
solution-SWERadialDamBreak-0.h5:/Patch_0/unknowns
</DataItem>
</Attribute>
</Grid>
<Grid Name="TimeStep_0" GridType="Collection" CollectionType="Temporal">
<Time Value="0.000000000000000000000000e+00"/>
<Grid Name="subdomain" GridType="Collection">
<Grid Name="Patch_0" GridType="Uniform">
<Topology TopologyType="2DSMesh" Dimensions="3 3"/>
<Geometry GeometryType="X_Y">
<DataItem Dimensions="3 3" NumberType="Float" Precision="8" Format="XML">
2.424781510011e-01 2.492876053684e-01 2.592592592593e-01
2.424781510011e-01 2.492876053684e-01 2.592592592593e-01
2.424781510011e-01 2.492876053684e-01 2.592592592593e-01
</DataItem>
<DataItem Dimensions="3 3" NumberType="Float" Precision="8" Format="XML">
-1.678110825812e-02 -1.678110825812e-02 -1.678110825812e-02
-9.971653890846e-03 -9.971653890846e-03 -9.971653890846e-03
-2.775557561563e-17 -2.775557561563e-17 -2.775557561563e-17
</DataItem>
</Geometry>
<Attribute Name="AllUnknowns" AttributeType="Matrix" Center="Node">
<DataItem Format="HDF" NumberType="Float" Precision="8" Dimensions="3 3 4">
solution-SWERadialDamBreak-0.h5:/Patch_1/unknowns
</DataItem>
</Attribute>
</Grid>
</Grid>
</Grid>
</Domain>
</Xdmf>