Hello all,
I'm trying to visualize some hdf5 data using the xdmf reader and I'm
encountering some issues. My grid loads fine but when I try to import
a variable (ie. 'U') I get the error:
Cell array U with 1 components, has only 0 tuples but there are 1024 cells
Below is my xmf file:
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf>
<Domain>
<Grid Name="Rectilinear" GridType="Uniform">
<Topology TopologyType="3DSMesh" Dimensions="1 65 17" >
</Topology>
<Geometry GeometryType="X_Y">
<DataItem DataType="Float" Precision="8" Dimensions="1 65 17"
Format="HDF">
grid.h5:/xcorr2
</DataItem>
<DataItem DataType="Float" Precision="8" Dimensions="1 65 17"
Format="HDF">
grid.h5:/ycorr2
</DataItem>
</Geometry>
<Attribute Name="U" Type="Scalar" Center="Cell">
<DataItem DataType="Float" Precision="8" Dimensions="1 64 16"
Format="HDF">
data.init:/U
</DataItem>
</Attribute>
</Grid>
</Domain>
</Xdmf>
running h5ls on my data.init file yields:
h5ls data.init
T Dataset {1, 64, 16}
U Dataset {1, 64, 16}
V Dataset {1, 64, 16}
VOF Dataset {1, 64, 16}
W Dataset {1, 64, 16}
dims Dataset {4}
names Dataset {5}
time Dataset {2}
So 'U' has the dimensions 1x16x64 = 1024 cells. Am I missing something?
Thanks for any help.
Peter.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview