[Paraview] 2dcorectmesh with tensor data in ParaView

pratik pratik.mallya at gmail.com
Mon May 9 15:00:14 EDT 2011


I am trying to define a 256X256 grid with tensors defined at each point. 
Here is one part of the  code (one out of 50 same time steps):

<Grid Name="NemTensValues" GridType="Uniform">
<Time Value= "26" />
<Topology TopologyType="2DCoRectMesh" Dimensions = "256 256 9">
</Topology>
<Geometry GeometryType="ORIGIN_DXDY">
<DataItem DataType="Float" Dimensions= "2" Format="XML">0.0 0.0 </DataItem>
<DataItem DataType="Float" Dimensions= "2" Format="XML">0.1 0.1 </DataItem>
</Geometry>
<Attribute Name="S" Center="Node" AttributeType="Scalar" Precision="8">
<DataItem Format="HDF" Center="Node" NumberType="Float" Dimensions="256 
256" Precision="8">
                             a.h5:/S_00000026
</DataItem>
</Attribute>
<Attribute Name="sig" Center="Node"  AttributeType="Tensor" Precision="8">
<DataItem  Format="HDF" NumberType="Float" Dimensions="256 256 9" 
Precision="8">
                             Q.h5:/Q/Q_00000026
</DataItem>
</Attribute>
</Grid>

However, when i load the data, all i get is a blank screen,
Under the information tab, I seem Memory is 0MB but :
number of cells 520200
number of points 599058

What is wrong with my XDMF? I have tried this on 3d data with tensors 
and it works perfectly....

pratik


More information about the ParaView mailing list