<HTML>
<HEAD>
<TITLE>Re: [Paraview] Problem with temporal filter and multi-block data</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I actually disagree with that statement. The issue with 6662 is that the pipeline is sometimes stuffing data in a vtkTemporalDataSet when it should not. If you look carefully at 9089, you will see that in fact the data is supposed to be in vtkTemporalDataSet; the downstream temporal interpolation filter will not work otherwise. The error occurs even when the data really should be in temporal form.<BR>
<BR>
In my mind 9089 is a fairly serious issue; the executive is failing to properly use a filter that does not directly support temporal data. Issue 6662 is just a minor inconvenience; as long as temporal data is being handled correctly, the only effect to the user should be an odd reporting of temporal data set in the information panel.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 6/2/09 12:57 AM, "John Biddiscombe" <<a href="biddisco@cscs.ch">biddisco@cscs.ch</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>This is yet another manifestatrion of<BR>
<a href="http://public.kitware.com/mantis/view.php?id=6662">http://public.kitware.com/mantis/view.php?id=6662</a><BR>
<BR>
which I will try to look at this week or next.<BR>
<BR>
I'm linking the bugs.<BR>
<BR>
JB<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> Re: [Paraview] Problem with temporal filter and multi-block data That clarified it. I am able to reproduce the problem now, and I see that it is in fact a bug. I submitted a report for this.<BR>
<BR>
<a href="http://www.paraview.org/Bug/view.php?id=9089">http://www.paraview.org/Bug/view.php?id=9089</a><BR>
<BR>
Thanks for bringing this to our attention.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 5/31/09 1:07 AM, "Christian Wellmann" <<a href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a>> wrote:<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Ken,<BR>
<BR>
the order of operations is:<BR>
-load the data<BR>
-attach the ExtractBlock to the reader<BR>
-attach my temporal filter to the ExtractBlock filter<BR>
<BR>
If my data doesn't consists of multiple parts, so I don't have to use<BR>
the ExtractBlock, my temporal filter works fine.<BR>
<BR>
christian<BR>
<BR>
2009/5/29 Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>>:<BR>
> I am confused about the order of operations you are doing to get the error<BR>
> (since it apparently only happens if you do things in a certain way). Are<BR>
> you loading the data, attaching your temporal filter to the reader, and then<BR>
> attaching the extract block to your temporal filter? Or are you loading the<BR>
> data, attaching extract block to the reader, and then attaching your<BR>
> temporal filter to extract block? Or are you loading the data, attaching<BR>
> the temporal filter to the reader, and then attaching extract block to the<BR>
> reader too?<BR>
><BR>
> -Ken<BR>
><BR>
><BR>
> On 5/29/09 3:32 AM, "Christian Wellmann" <<a href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a>><BR>
> wrote:<BR>
><BR>
> Hi all,<BR>
><BR>
> I use paraview to view results of transient combined finite discrete<BR>
> element analyses.<BR>
> My *.pvd input files look like this:<BR>
><BR>
> <?xml version="1.0"?><BR>
> <VTKFile type="Collection" version="0.1" byte_order="LittleEndian"><BR>
> <Collection><BR>
> <DataSet timestep="0,0000000000e+00" group="0" part="0"<BR>
> file="se_relax_p_000000000.vtp"/><BR>
> <DataSet timestep="0,0000000000e+00" group="0" part="1"<BR>
> file="se_relax_c_000000000.vtp"/><BR>
> <DataSet timestep="0,0000000000e+00" group="0" part="2"<BR>
> file="se_relax_r_000000000.vtp"/><BR>
> <DataSet timestep="0,0000000000e+00" group="0" part="3"<BR>
> file="se_relax_f_000000000.vtu"/><BR>
> <DataSet timestep="1,0000000000e-03" group="0" part="0"<BR>
> file="se_relax_p_000002000.vtp"/><BR>
> <DataSet timestep="1,0000000000e-03" group="0" part="1"<BR>
> file="se_relax_c_000002000.vtp"/><BR>
> .<BR>
> .<BR>
> .<BR>
><BR>
> The results are stored for each part (DE, contact, rigid-boundaries,<BR>
> FE) and time step in a single *.vtp / *.vtu file.<BR>
> I can load the *.pvd file into paraview apply non-temporal filters to<BR>
> the single parts and animate without problems.<BR>
> Now I wrote a temporal filter to show the trajectories of data points.<BR>
> It requires a time series of datasets<BR>
> with constant number of points and generates the trajectories of the<BR>
> points as a single PolyData.<BR>
> The filter works fine if my input does not consist of multiple parts:<BR>
><BR>
> <?xml version="1.0"?><BR>
> <VTKFile type="Collection" version="0.1" byte_order="LittleEndian"><BR>
> <Collection><BR>
> <DataSet timestep="0,0000000000e+00" group="0" part="0"<BR>
> file="se_relax_p_000000000.vtp"/><BR>
> <DataSet timestep="1,0000000000e-03" group="0" part="0"<BR>
> file="se_relax_p_000002000.vtp"/><BR>
> <DataSet timestep="2,0000000000e-03" group="0" part="0"<BR>
> file="se_relax_p_000004000.vtp"/><BR>
> .<BR>
> .<BR>
> .<BR>
><BR>
> But if I load my complete data with multiple parts and apply the<BR>
> ExtractBlock filter first to show the<BR>
> trajectories for one part only, ParaView complains:<BR>
><BR>
> ERROR: In<BR>
> /home/wellmann/program/ParaView-3.4.0/VTK/Filtering/vtkDemandDrivenPipeline.cxx,<BR>
> line 822<BR>
> vtkCompositeDataPipeline (0x1e6bbc0): Input for connection index 0 on<BR>
> input port index 0 for algorithm vtkExtractBlock(0x11f4ddc0) is of<BR>
> type vtkTemporalDataSet, but a vtkMultiBlockDataSet is required.<BR>
><BR>
> In writing the filter I tried to follow the "Time Dependent Processing<BR>
> in a Parallel Pipeline Architecture" paper<BR>
> and was geared to the vtkTemporalInterpolation filter. However I am<BR>
> not confident about how this temporal<BR>
> stuff works out: In my understanding my filter tells the upstream part<BR>
> of the pipeline to loop over the requested<BR>
> time steps and join the data into a TemporalDataSet that my<BR>
> vtkTrajectories filter can work with. Indeed if I connect<BR>
> any non temporal filter to the upstream pipeline part (instead of the<BR>
> vtkTrajectories filter) I can animate over the time-steps<BR>
> so the upstream pipeline is able to provide data sets for each time<BR>
> step. Furthermore, as said above, the filter works<BR>
> fine if there is no multiblock data as source of the pipeline.<BR>
><BR>
> Thanks for any hints, Christian<BR>
> (the filter files are attached)<BR>
><BR>
> --<BR>
> Christian Wellmann<BR>
> Institute of Continuum Mechanics<BR>
> Leibniz Universitaet Hannover<BR>
> Appelstr. 11<BR>
> 30167 Hannover, Germany<BR>
> phone: +49 511 762 2285<BR>
> fax: +49 511 762 5496<BR>
> email: <a href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a><BR>
><BR>
><BR>
><BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> ***********<BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>> <BR>
><BR>
><BR>
<BR>
<BR>
<BR>
--<BR>
Christian Wellmann<BR>
Institute of Continuum Mechanics<BR>
Leibniz Universitaet Hannover<BR>
Appelstr. 11<BR>
30167 Hannover, Germany<BR>
phone: +49 511 762 2285<BR>
fax: +49 511 762 5496<BR>
email: <a href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a><BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'> **** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>> <BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
<HR ALIGN=CENTER SIZE="4" WIDTH="90%"><BR>
_______________________________________________<BR>
Powered by www.kitware.com <<a href="http://www.kitware.com">http://www.kitware.com</a>> <BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>