[Paraview] pvti example with data in cells question
Nikolay Khokhlov
k_h at inbox.ru
Thu Nov 5 07:49:59 EST 2015
Hello,
I'm trying to use pvti format to save data.
I've create example with 8 cells, but I've got different view when open files *.vti and file pvti separately (image attached).
What could be the problem?
File x.pvti:
<?xml version="1.0"?>
<VTKFile type="PImageData" version="0.1">
<PImageData WholeExtent="0 4 0 2 0 0" Origin="0.000000 1.000000 0.000000" Spacing="0.100000 0.100000 0.000000" GhostLevel="0">
<Piece Extent="0 2 0 2 0 0" Source="./1.vti"/>
<Piece Extent="2 4 0 2 0 0" Source="./2.vti"/>
<PCellData Scalars = "vx" >
<PDataArray type="Float32" Name="vx" />
</PCellData>
</PImageData>
</VTKFile>
File 1.vti:
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1">
<ImageData WholeExtent="0 2 0 2 0 0" Origin="0.000000 1.000000 0.000000" Spacing="0.100000 0.100000 0.000000">
<Piece Extent="0 2 0 2 0 0">
<CellData Scalars = "vx" >
<DataArray type="Float32" Name="vx" format="ascii">
1 2 3 4
</DataArray>
</CellData>
</Piece>
</ImageData>
</VTKFile>
File 2.vti:
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1">
<ImageData WholeExtent="0 2 0 2 0 0" Origin="0.200000 1.000000 0.000000" Spacing="0.100000 0.100000 0.000000">
<Piece Extent="0 2 0 2 0 0">
<CellData Scalars = "vx" >
<DataArray type="Float32" Name="vx" format="ascii">
5 6 7 8
</DataArray>
</CellData>
</Piece>
</ImageData>
</VTKFile>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151105/cd37a4a9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvtiex1.png
Type: image/png
Size: 8066 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151105/cd37a4a9/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.vti
Type: application/octet-stream
Size: 400 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151105/cd37a4a9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.vti
Type: application/octet-stream
Size: 401 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151105/cd37a4a9/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.pvti
Type: application/octet-stream
Size: 425 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151105/cd37a4a9/attachment-0002.obj>
More information about the ParaView
mailing list