[Paraview] Help with reading vectors from XDMF
Nikolaos Beratlis
nikos.beratlis at gmail.com
Tue Aug 20 10:05:11 EDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130820/d5cfebdc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glyph.png
Type: image/png
Size: 10221 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130820/d5cfebdc/attachment.png>
More information about the ParaView
mailing list