Hello,

I don't know to post this in the paraview or the xdmf mailing list.

I have a very simple xdmf file, with 2D constant rectilinear mesh:


###########test.xdmf############

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="2.0" xmlns:xi="http://www.w3.org/2001/XInclude"; >
<Domain Name="tests/Ascii.pxdmf">
<Grid Name="PGD1" >
<Information Name="Dims" Value="1"  />
<Information Name="Dim0" Value="x"  />
<Topology TopologyType="2DCORECTMESH" Dimensions="3 2" />
<Geometry GeometryType="Origin_DxDy">
<DataItem  Format="XML" NumberType="float" Dimensions="2">
        0.0 0.0
</DataItem>
<DataItem  Format="XML" NumberType="float" Dimensions="2">
        10.0 10.0
</DataItem>
</Geometry>
<Attribute Name="dep_x" Center="Node"  AttributeType="Scalar" >
<DataItem  Format="XML" NumberType="float" Dimensions="4 3">
        1         2  7
        3         4  8
        5        6  9
        10     11 12
</DataItem>
</Attribute>
<Attribute Name="Sigma" Center="Cell"  AttributeType="Scalar" >
<DataItem  Format="XML" NumberType="float" Dimensions="3 2">
        1         2
        3         4
        5        6
</DataItem>
</Attribute>
</Grid>
</Domain>
</Xdmf>


with a 2 by 3 cells and (because is rectilinear) 4 by 3 nodes.

Paraview said (Object Inspector->Information)

Type : Image (Uniform Rectilinear Grid)
Number of cells: 2   (why?????)
Number of Point : 6 (Why ????)

the node field (dep_x) is plotted over the cells and the cell field (Sigma) is not plotted at all.

and also the positions of the nodes are wrong (the image is in the yz plane and not in the xy).

paraview 3.8.1 and 3.9.0 (64 bit kubuntu)

Thanks

Felipe

_______________________________________________
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

Reply via email to