[Paraview] Distortion when loading time varying vector field from raw binary files using xdmf reader

Tobias Benz benzt at in.tum.de
Fri Nov 23 11:55:44 EST 2012


Hi,

I have a time-varying 2D vector field (2D velocities) of the size 256 by 
256 pixels sampled at 294 points in time. Each frame is stored in a raw 
binary file ('uv_0000.raw' to 'uv_0293.raw'). I am using 
'timeseries.xdmf' [1] to load this data into ParaView.

Unfortunately, in ParaView 3.98.0  on both Linux64 [2] and Windows64 
[3], the vector field is displayed heavily distorted.

Am I doing something wrong or is this a bug?

Any advice would be greatly appreciated!

Tobias


[1] Excerpt from 'timeseries.xdmf', full file to be found here: 
http://www.pastebin.ca/2254602

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.2">
<Domain Name="My Domain">
<Grid Name="My Collection" GridType="Collection" CollectionType="Temporal">
<Grid Name="My Uniform Grid" GridType="Uniform">
<Topology Name="Main Topology" TopologyType="2DCoRectMesh" 
Dimensions="255 255"/>
<Geometry Name="Main Geometry" GeometryType="ORIGIN_DXDY">
<DataItem Dimensions="2" NumberType="Float" Precision="4" Format="XML">
                         0 0
</DataItem>
<DataItem Dimensions="2" NumberType="Float" Precision="4" Format="XML">
                         1 1
</DataItem>
</Geometry>
<Time Value="0000" />
<Attribute Name="uv" AttributeType="Vector" Center="Node">
<DataItem Dimensions="255 255 2" NumberType="Float" Precision="4" 
Format="Binary">uv_0000.raw</DataItem>
</Attribute>
</Grid>
<Grid Name="Structured Grid" GridType="Uniform">
<Topology Reference="//Topology[@Name='Main Topology']" /><Geometry 
Reference="//Geometry[@Name='Main Geometry']" />
<Time Value="0001" />
<Attribute Name="uv" AttributeType="Vector" Center="Node">
<DataItem Dimensions="255 255 2" NumberType="Float" Precision="4" 
Format="Binary">uv_0001.raw</DataItem>
</Attribute>
</Grid>

<!--- Left out time steps 0002 to 0292 -->

<Grid Name="Structured Grid" GridType="Uniform">
<Topology Reference="//Topology[@Name='Main Topology']" /><Geometry 
Reference="//Geometry[@Name='Main Geometry']" />
<Time Value="0293" />
<Attribute Name="uv" AttributeType="Vector" Center="Node">
<DataItem Dimensions="255 255 2" NumberType="Float" Precision="4" 
Format="Binary">uv_0293.raw</DataItem>
</Attribute>
</Grid>

</Grid>
</Domain>
</Xdmf>

[2] http://i.imgur.com/eydFz.png
[3] http://i.imgur.com/MOJNX.png <http://i.imgur.com/MOJNX.png?1>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121123/177bc85f/attachment.htm>


More information about the ParaView mailing list