<div dir="ltr">Hi Giuseppe,<div><br></div><div>Your patch for ParaView that sets the block name to the name attribute in the PVD file has just been merged to the master branch.</div><div><br></div><div><a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/454">https://gitlab.kitware.com/paraview/paraview/merge_requests/454</a><br></div><div><br></div><div>Thank you for contributing to ParaView!</div><div><br></div><div>Best regards,</div><div>Cory</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 8:49 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 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' 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' 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 <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: <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>
</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>