I have following XDMF file:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude"; Version="2.2">
  <Information Name="MetaData" Value="ID-23454"/>
  <Domain>
    <Grid Name="Eulerian Grid" GridType="Uniform">
      <Topology TopologyType="3DRectMesh" NumberOfElements="   1    2
 2"/>
      <Geometry GeometryType="VXVYVZ">
        <DataItem Dimensions="2" NumberType="Float" Format="XML">
         0.0 1.0
        </DataItem>
        <DataItem Dimensions="2" NumberType="Float" Format="XML">
         0.0 1.0
        </DataItem>
        <DataItem Dimensions="1" NumberType="Float" Format="XML">
         0.0
        </DataItem>
      </Geometry>
      <Attribute Name="Velocity" AttributeType="Vector" Center="Cell">
        <DataItem Dimensions="  1 2 2 3" Function="JOIN($0, $1, $2)"
ItemType="Function">
         <DataItem Dimensions="1 2 2" NumberType="Float" Format="XML">
         1.0 -1.0 1.0 -1.0
        </DataItem>
         <DataItem Dimensions="1 2 2" NumberType="Float" Format="XML">
         1.0 -1.0 1.0 -1.0
        </DataItem>
         <DataItem Dimensions="1 2 2" NumberType="Float" Format="XML">
         0.0 0.0 0.0
        </DataItem>
       </DataItem>
      </Attribute>
   </Grid>
  </Domain>
</Xdmf>

I can read it into Paraview but when I try to plot vectors using the Glyph
Filter the vectors are not correct (see attached picture). What am I doing
wrong?

Kind regards,

Nikos

<<attachment: glyph.png>>

_______________________________________________
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