Hi Henrik,

There is a small bug in the vti files. It probably worked in earlier
version of ParaView by coincidence. You need to set the WholeExtent for
each vti file to be the subset that file contains, not what the whole used
by the pvti file. So in your case, the WholeExtent and piece Extent should
be the same in each vti file. In this example, here are the values for each
file:

    0      36       0      25       0      25  output_I00001_P00000.vti
    0      36      25      50       0      25  output_I00001_P00001.vti
    0      36       0      25      25      50  output_I00001_P00002.vti
    0      36      25      50      25      50  output_I00001_P00003.vti

Once you make this change, it should work fine. As a rule of thumb, you
should be able to open each vti file independently and get proper values.

Best,
-berk





On Sun, May 11, 2014 at 4:55 AM, Henrik Juul Spietz
<s082...@student.dtu.dk>wrote:

> Sure.
>
> I've also attached the state file which can be used for making the plot.
>
> > Hi Henrik,
> >
> > Do yo have an example dataset that you can share?
> >
> > Thanks,
> > -berk
> >
> >
> > On Thu, May 1, 2014 at 7:06 AM, Henrik Juul Spietz
> > <s082...@student.dtu.dk>wrote:
> >
> >> Hi,
> >>
> >> I'm using pvti-format for processing partioned data in Paraview running
> in
> >> serial.
> >>
> >> I have been using version 3.14.1 of Paraview, which e.g. is able to
> produce an isosurface plot from my data (plot_v3141.png).
> >>
> >> After updating to version 4.1 the same plot only shows data from a
> single
> >> partition (plot_v4100.png).
> >>
> >> I wonder if this is a bug in the newer version or if this is due to a
> change in the pvti-format?
> >>
> >> Thanks,
> >> Henrik
> >>
> >>
> >> My files look like below:
> >>
> >>
> >> output_I00001.pvti:
> >>
> >> <?xml version="1.0"?>
> >> <VTKFile type="PImageData" version="0.1" byte_order="LittleEndian">
> >>   <PImageData WholeExtent="       0      50       0      80       0
> >> 80" Ghostlevel="0" Origin=" -0.781320977896E+00 -0.125036274747E+01
> -0.125036274746E+01" Spacing="  0.312500000000E-01  0.312500000000E-01
> 0.312500000000E-01">
> >>     <PCellData Vectors="output">
> >>       <PDataArray type="Float64" Name="vorticity" NumberOfComponents="3"
> >> format="appended" offset="0"/>
> >>       <PDataArray type="Float64" Name="velocity" NumberOfComponents="3"
> >> format="appended" offset="0"/>
> >>     </PCellData>
> >>     <Piece Extent="       0      50       0      40       0      40"
> >> Source="output_I00001_P00000.vti"/>
> >>     <Piece Extent="       0      50      40      80       0      40"
> >> Source="output_I00001_P00001.vti"/>
> >>     <Piece Extent="       0      50       0      40      40      80"
> >> Source="output_I00001_P00002.vti"/>
> >>     <Piece Extent="       0      50      40      80      40      80"
> >> Source="output_I00001_P00003.vti"/>
> >>   </PImageData>
> >> </VTKFile>
> >>
> >>
> >> output_I00001_P00000.vti:
> >>
> >> <?xml version="1.0"?>
> >> <VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
> >>   <ImageData WholeExtent="       0      50       0      80       0
> >> 80" Ghostlevel="0" Origin=" -0.781320977896E+00 -0.125036274747E+01
> -0.125036274746E+01" Spacing="  0.312500000000E-01  0.312500000000E-01
> 0.312500000000E-01">
> >>     <Piece Extent="       0      50       0      40       0      40">
> >>       <PointData></PointData>
> >>       <CellData>
> >>         <DataArray type="Float64" Name="vorticity"
> >> NumberOfComponents="3"
> >> format="appended" offset="         0"/>
> >>         <DataArray type="Float64" Name="velocity" NumberOfComponents="3"
> >> format="appended" offset="   1920004"/>
> >>       </CellData>
> >>     </Piece>
> >>   </ImageData>
> >>   <AppendedData encoding="raw">
> >>     ...data...
> >>   </AppendedData>
> >> </VTKFile>
> >>
> >>
> >> output_I00001_P00001.vti:
> >>
> >> <?xml version="1.0"?>
> >> <VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
> >>   <ImageData WholeExtent="       0      50       0      80       0
> >> 80" Ghostlevel="0" Origin=" -0.781320977896E+00 -0.125036274747E+01
> -0.125036274746E+01" Spacing="  0.312500000000E-01  0.312500000000E-01
> 0.312500000000E-01">
> >>     <Piece Extent="       0      50      40      80       0      40">
> >>       <PointData></PointData>
> >>       <CellData>
> >>         <DataArray type="Float64" Name="vorticity"
> >> NumberOfComponents="3"
> >> format="appended" offset="         0"/>
> >>         <DataArray type="Float64" Name="velocity" NumberOfComponents="3"
> >> format="appended" offset="   1920004"/>
> >>       </CellData>
> >>     </Piece>
> >>   </ImageData>
> >>   <AppendedData encoding="raw">
> >>     ...data...
> >>   </AppendedData>
> >> </VTKFile>
> >>
> >>
> >> output_I00001_P00002.vti:
> >>
> >> <?xml version="1.0"?>
> >> <VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
> >>   <ImageData WholeExtent="       0      50       0      80       0
> >> 80" Ghostlevel="0" Origin=" -0.781320977896E+00 -0.125036274747E+01
> -0.125036274746E+01" Spacing="  0.312500000000E-01  0.312500000000E-01
> 0.312500000000E-01">
> >>     <Piece Extent="       0      50       0      40      40      80">
> >>       <PointData></PointData>
> >>       <CellData>
> >>         <DataArray type="Float64" Name="vorticity"
> >> NumberOfComponents="3"
> >> format="appended" offset="         0"/>
> >>         <DataArray type="Float64" Name="velocity" NumberOfComponents="3"
> >> format="appended" offset="   1920004"/>
> >>         </CellData></Piece></ImageData><AppendedData encoding="raw">
> ...data...
> >>       </AppendedData>
> >> </VTKFile>
> >>
> >>
> >> output_I00001_P00003.vti:
> >>
> >> <?xml version="1.0"?>
> >> <VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
> >>   <ImageData WholeExtent="       0      50       0      80       0
> >> 80" Ghostlevel="0" Origin=" -0.781320977896E+00 -0.125036274747E+01
> -0.125036274746E+01" Spacing="  0.312500000000E-01  0.312500000000E-01
> 0.312500000000E-01">
> >>     <Piece Extent="       0      50      40      80      40      80">
> >>       <PointData></PointData>
> >>       <CellData>
> >>         <DataArray type="Float64" Name="vorticity"
> >> NumberOfComponents="3"
> >> format="appended" offset="         0"/>
> >>         <DataArray type="Float64" Name="velocity" NumberOfComponents="3"
> >> format="appended" offset="   1920004"/>
> >>       </CellData>
> >>     </Piece>
> >>   </ImageData>
> >>   <AppendedData encoding="raw">
> >>     ...data...
> >>   </AppendedData>
> >> </VTKFile>
> >> _______________________________________________
> >> 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
> >>
> >>
> >
>
>
_______________________________________________
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