[Paraview] pvti and PointData without ghost cells

Nikolay Khokhlov k_h at inbox.ru
Tue Nov 3 09:15:28 EST 2015


 Hello,
I'm trying to use pvti to store values at grid nodes (not cells).
So I use PointData. When I use serial saving with vti everything is ok.
But when I use pvti something gone wrong.
What I see and what I want to see has shown at picture bug.png.

Here is my files.

./grid2_000009.pvti
<?xml version="1.0"?>
<VTKFile type="PImageData" version="0.1" byte_order="LittleEndian">
  <PImageData WholeExtent="0 10 0 10 0 0" Origin="0.000000 1.000000 0.000000" Spacing="0.100000 0.100000 0.000000">
    <Piece Extent="0 6 0 11 0 1" Source="./grid2_0_000009.vti"/>
    <Piece Extent="6 11 0 11 0 1" Source="./grid2_1_000009.vti"/>
      <PPointData Scalars = "vx" >
        <PDataArray type="Float32" Name="vx" format="ascii">

        </PDataArray>
      </PPointData>
  </PImageData>
</VTKFile>

./grid2_0_000009.vti
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
  <ImageData WholeExtent="0 5 0 10 0 0" Origin="0.000000 1.000000 0.000000" Spacing="0.100000 0.100000 0.000000">
    <Piece Extent="0 5 0 10 0 0">
      <PointData Scalars = "vx" >
        <DataArray type="Float32" Name="vx" format="ascii">
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
        </DataArray>
      </PointData>
    </Piece>
  </ImageData>
</VTKFile>

./grid2_1_000009.vti
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
  <ImageData WholeExtent="0 4 0 10 0 0" Origin="0.600000 1.000000 0.000000" Spacing="0.100000 0.100000 0.000000">
    <Piece Extent="0 4 0 10 0 0">
      <PointData Scalars = "vx" >
        <DataArray type="Float32" Name="vx" format="ascii">
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
        </DataArray>
      </PointData>
    </Piece>
  </ImageData>
</VTKFile>

Thanks.


Best regards,
Nikolay Khokhlov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151103/984ac09d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.png
Type: image/png
Size: 29619 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151103/984ac09d/attachment.png>


More information about the ParaView mailing list