<div dir="ltr"><div>Giuseppe,</div><div><br></div>paraview-developers would be a good place for such a discussion.<div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 5, 2015 at 3:17 AM, Giuseppe Bilotta <span dir="ltr"><<a href="mailto:giuseppe.bilotta@gmail.com" target="_blank">giuseppe.bilotta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Cory,<br>
<br>
thank you for merging the patch, it definitely solves my issue ;-)<br>
<br>
In the mean time I've also started looking into the segfault when PVD<br>
files link to other PVD files. This was easy to find and fix, so I'll<br>
prepare a new patch soon, but I'll need some help to implement actual<br>
proper nested PVD support (assuming it's ever needed). Where would be<br>
the most appropriate place to discuss this? Here? the -developers ML?<br>
A pull request for a WIP patchset?<br>
<br>
Giuseppe<br>
<span class="im HOEnZb"><br>
On Wed, Nov 4, 2015 at 5:44 PM, Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>> wrote:<br>
> Hi Giuseppe,<br>
><br>
> Your patch for ParaView that sets the block name to the name attribute in<br>
> the PVD file has just been merged to the master branch.<br>
><br>
> <a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/454" rel="noreferrer" target="_blank">https://gitlab.kitware.com/paraview/paraview/merge_requests/454</a><br>
><br>
> Thank you for contributing to ParaView!<br>
<br>
<br>
<br>
><br>
</span><div class="HOEnZb"><div class="h5">> On Mon, Nov 2, 2015 at 8:49 AM, Giuseppe Bilotta<br>
> <<a href="mailto:giuseppe.bilotta@gmail.com">giuseppe.bilotta@gmail.com</a>> wrote:<br>
>><br>
>> Hello all,<br>
>><br>
>> I have the following situation: I have multiple dataset created by the<br>
>> same simulation, evolving in time. I'm currently presented wit two<br>
>> options to preserve time information:<br>
>><br>
>> Option 1: I create a pvd in the form:<br>
>><br>
>> <?xml version='1.0'?><br>
>> <VTKFile type='Collection' version='0.1'><br>
>> <Collection><br>
>> <DataSet timestep='0' part='1' name='Planes' file='PLANES.vtu'/><br>
>> <DataSet timestep='0' part='2' name='WaveGages'<br>
>> file='WaveGage_00000.vtu'/><br>
>> <DataSet timestep='0' part='3' name='Particles' file='PART_00000.vtu'/><br>
>> <DataSet timestep='0.00049' part='1' name='Planes' file='PLANES.vtu'/><br>
>> <DataSet timestep='0.00049' part='2' name='WaveGages'<br>
>> file='WaveGage_00001.vtu'/><br>
>> <DataSet timestep='0.00049' part='3' name='Particles'<br>
>> file='PART_00001.vtu'/><br>
>> <!-- etc for the other timesteps --><br>
>> </Collection><br>
>> </VTKFile><br>
>><br>
>> which is efficient (single index file) but annoying UI-wise (since the<br>
>> names of the data sets are not used in the muti-block inspector or in<br>
>> the extract block filter)<br>
>><br>
>> Option 2: I have the pvd point, for each timestep, to a single .vtm<br>
>> file which in turns points to the multiple vtu files for that<br>
>> timestep: so the pvd is like<br>
>><br>
>> <?xml version='1.0'?><br>
>> <VTKFile type='Collection' version='0.1'><br>
>> <Collection><br>
>> <DataSet timestep='0' group='' part='0' file='data_00000.vtm'/><br>
>> <DataSet timestep='0.00049' group='' part='0' file='data_00001.vtm'/><br>
>> </Collection><br>
>> </VTKFile><br>
>><br>
>> and each vtm is like:<br>
>><br>
>> <?xml version='1.0'?><br>
>> <VTKFile type='vtkMultiBlockDataSet' version='1.0'><br>
>> <vtkMultiBlockDataSet><br>
>> <DataSet index='0' name='Planes' file='PLANES.vtu'/><br>
>> <DataSet index='1' name='WaveGages' file='WaveGage_00000.vtu'/><br>
>> <DataSet index='2' name='Particles' file='PART_00000.vtu'/><br>
>> </vtkMultiBlockDataSet><br>
>> </VTKFile><br>
>><br>
>> This has the advantage that the name of each dataset appears in the<br>
>> block extraction tool, but the disadvantage that I have to create one<br>
>> additional file per timestep (which may be a LOT of extra files)<br>
>><br>
>> I've also tried Option 3: a pvd pointing to one pvd per block, and<br>
>> each pvd having the time series for that block, but this simply<br>
>> segfaults paraview.<br>
>><br>
>> So my question is: is there a way to combine the compactness offered<br>
>> Option 1 with the possibility to see the block names in the UI offered<br>
>> by Option 2? I've also tried to play around with the group option in<br>
>> the pvd dataset entries, to no effect (and I'm still not clear on the<br>
>> difference between group and part, so any clarification on this is<br>
>> also welcome).<br>
>><br>
>> Thanks in advance and best regards,<br>
>><br>
>><br>
>> --<br>
>> Giuseppe "Oblomov" Bilotta<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Cory Quammen<br>
> R&D Engineer<br>
> Kitware, Inc.<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Giuseppe "Oblomov" Bilotta<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>