<div dir="ltr">I already tried XPath pointers, but it takes a few seconds in ParaView when I click to the next time frame --- <div>whereas it takes only 0.1s to change the color when I switch the Active Variable for the ColorMap in ParaView's dropdown. </div><div>I thought using SubSet, ParaView might "recognize" that it is actually all the same geometry. </div><div>But meanwhile I assume ParaView always thinks the geometry might change between timeframes </div><div>and takes much time for switching between timeframes no matter what file format I use. </div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-25 19:24 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) <span dir="ltr"><<a href="mailto:andrew.j.burns35.ctr@mail.mil" target="_blank">andrew.j.burns35.ctr@mail.mil</a><wbr>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From my understanding of your method, you want to use the progression of "time" to iterate across attribute displays?<br>
<br>
You don't need GridType="Subset" for that (and I don't think Xdmf3 uses that designation anyway). Just use XPointers to point the grids to the topology and geometry of the first one.<br>
<span><br>
Andrew Burns<br>
Software Engineer | SAIC<br>
Phone: <a href="tel:410-306-0409" value="+14103060409" target="_blank">410-306-0409</a><br>
ARL DSRC<br>
<a href="mailto:andrew.j.burns35.ctr@mail.mil" target="_blank">andrew.j.burns35.ctr@mail.mil</a><br>
<br>
-----Original Message-----<br>
From: ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@parav<wbr>iew.org</a>] On Behalf Of Daniel Frisch<br>
</span><span>Sent: Wednesday, January 25, 2017 1:14 PM<br>
To: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
Subject: Re: [Paraview] [Non-DoD Source] XDMF crash<br>
<br>
All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.<br>
<br>
<br>
______________________________<wbr>__<br>
<br>
<br>
<br>
</span><div><div class="m_6593965085984376092h5">Hello Mr. Burns, thank you very much for your helpful answer. I changed the XDMF file. But now I have another question.<br>
<br>
Now I have problems with GridType="SubSet". ParaView doesn't view the second and third timestep. Their grids are referenced as SubSet from the first grid.<br>
<br>
This is the reason why I am doing all this: I want ParaView change the color on a static, fixed, large geometry as quickly as if I switched the surface coloring variable in the Active Variables Controls dropdown, but using the time playback features. It is very inconvenient to change the "timestep" by selecting an other variable in a Color Map drop-down menu with thousands of entries. Is this even possible in ParaView?<br>
<br>
<br>
<br>
<br>
This is my XDMF content:<br>
<br>
<br>
<?xml version="1.0" ?><br>
<br>
<Xdmf><br>
<br>
<Domain><br>
<br>
<Grid CollectionType="Temporal" GridType="Collection" Name="TimeSeriesGrid"><br>
<br>
<Grid GridType="Uniform" Name="MainGrid"><br>
<br>
<Time Value="0"/><br>
<br>
<Topology NumberOfElements="8" TopologyType="Triangle"><br>
<br>
<DataItem DataType="Int" Dimensions="8 3" Format="XML">2 5 1 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 8 4 5</DataItem><br>
<br>
</Topology><br>
<br>
<Geometry GeometryType="XYZ"><br>
<br>
<DataItem Dimensions="9 3" Format="XML">-1 1 2 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 .2</DataItem><br>
<br>
</Geometry><br>
<br>
<Attribute Center="Node" Name="Values"><br>
<br>
<DataItem Dimensions="9" Format="XML">0 0 0 0 0 1 1 1 1</DataItem><br>
<br>
</Attribute><br>
<br>
</Grid><br>
<br>
<Grid GridType="Subset" Name="T1" Section="All"><br>
<br>
<Grid Name="Target" Reference="XML">/Xdmf/Domain/G<wbr>rid/Grid[@Name="MainGrid&<wbr>quot;]</Grid><br>
<br>
<Time Value="0.5"/><br>
<br>
<Attribute Center="Node" Name="Values"><br>
<br>
<DataItem Dimensions="9" Format="XML">0 1 2 3 4 5 6 7 8</DataItem><br>
<br>
</Attribute><br>
<br>
</Grid><br>
<br>
<Grid GridType="Subset" Name="T2" Section="All"><br>
<br>
<Grid Name="Target" Reference="XML">/Xdmf/Domain/G<wbr>rid/Grid[@Name="MainGrid&<wbr>quot;]</Grid><br>
<br>
<Time Value="1"/><br>
<br>
<Attribute Center="Node" Name="Values"><br>
<br>
<DataItem Dimensions="9" Format="XML">8 7 6 5 4 3 2 1 0</DataItem><br>
<br>
</Attribute><br>
<br>
</Grid><br>
<br>
</Grid><br>
<br>
</Domain><br>
<br>
</Xdmf><br>
<br>
<br>
</div></div>2017-01-25 16:58 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) <<a href="mailto:andrew.j.burns35.ctr@mail.mil" target="_blank">andrew.j.burns35.ctr@mail.mil</a> < Caution-mailto:<a href="mailto:andrew.j.burns35.ctr@mail.mil" target="_blank">andrew.j.burns3<wbr>5.ctr@mail.mil</a> > >:<br>
<span><br>
<br>
This is because the Xdmf3 reader does not support the Hyperslab Timetype. One Time item per grid is the preferred method.<br>
<br>
Andrew Burns<br>
Software Engineer | SAIC<br>
</span> Phone: <a href="tel:410-306-0409" value="+14103060409" target="_blank">410-306-0409</a> < tel:<a href="tel:410-306-0409" value="+14103060409" target="_blank">410-306-0409</a> ><br>
ARL DSRC<br>
<a href="mailto:andrew.j.burns35.ctr@mail.mil" target="_blank">andrew.j.burns35.ctr@mail.mil</a> < Caution-mailto:<a href="mailto:andrew.j.burns35.ctr@mail.mil" target="_blank">andrew.j.burns3<wbr>5.ctr@mail.mil</a> ><br>
<span><br>
-----Original Message-----<br>
From: ParaView [Caution-mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounc<wbr>es@paraview.org</a> < Caution-mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounce<wbr>s@paraview.org</a> > ] On Behalf Of Daniel Frisch<br>
Sent: Wednesday, January 25, 2017 8:25 AM<br>
</span><span> To: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a> < Caution-mailto:<a href="mailto:paraview@paraview.org" target="_blank">paraview@paravi<wbr>ew.org</a> ><br>
Subject: [Non-DoD Source] [Paraview] XDMF crash<br>
<br>
All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.<br>
<br>
<br>
______________________________<wbr>__<br>
<br>
<br>
<br>
I generated the following XDMF file and tried to open it in ParaView. When I open it, I get a dialog with three readers to choose:<br>
- XDMF reader<br>
- XDMF3 reader<br>
- XDMF3 reader (Top Level Partition)<br>
<br>
I can open the file with "XDMF reader", but when I open it with the other two readers, ParaView (5.1.0 64-bit Mac) crashes.<br>
<br>
Application Specific Information:<br>
terminating with uncaught exception of type XdmfError: 'Value' not in itemProperties in XdmfTime::populateItem<br>
abort() called<br>
<br>
</span> But I generated the file according to this recommendation < Caution-Caution-<a href="http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview" rel="noreferrer" target="_blank">http://www.par<wbr>aview.org/Wiki/ParaView/Data_<wbr>formats#Reading_a_time_varying<wbr>_Raw_file_into_Paraview</a> < Caution-<a href="http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview" rel="noreferrer" target="_blank">http://www.paraview.or<wbr>g/Wiki/ParaView/Data_formats#<wbr>Reading_a_time_varying_Raw_<wbr>file_into_Paraview</a> > > and according to the XDMF3 < Caution-Caution-<a href="http://www.xdmf.org/index.php/XDMF_Model_and_Format" rel="noreferrer" target="_blank">http://www.xdm<wbr>f.org/index.php/XDMF_Model_and<wbr>_Format</a> < Caution-<a href="http://www.xdmf.org/index.php/XDMF_Model_and_Format" rel="noreferrer" target="_blank">http://www.xdmf.org/in<wbr>dex.php/XDMF_Model_and_Format</a> > > standard. When I try to open this public example < Caution-Caution-<a href="http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview" rel="noreferrer" target="_blank">http://www.par<wbr>aview.org/Wiki/ParaView/Data_<wbr>formats#Reading_a_time_varying<wbr>_Raw_file_into_Paraview</a> < Caution-<a href="http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview" rel="noreferrer" target="_blank">http://www.paraview.or<wbr>g/Wiki/ParaView/Data_formats#<wbr>Reading_a_time_varying_Raw_<wbr>file_into_Paraview</a> > > with XDMF3 in ParaView, it crashes, too.<br>
<div class="m_6593965085984376092HOEnZb"><div class="m_6593965085984376092h5"><br>
<br>
<br>
Now this is the content of my XDMF file:<br>
<br>
<br>
<?xml version="1.0" ?><br>
<br>
<Xdmf><br>
<br>
<Domain><br>
<br>
<Topology NumberOfElements="8" TopologyType="Triangle"><br>
<br>
<DataItem DataType="Int" Dimensions="8 3" Format="XML">2 5 1 2 6 5 2 7 6 2 3 7 8 7 3 4 8 3 1 5 4 8 4 5</DataItem><br>
<br>
</Topology><br>
<br>
<Geometry GeometryType="XYZ"><br>
<br>
<DataItem Dimensions="9 3" Format="XML">-1 1 2 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 .2 0 1 .2</DataItem><br>
<br>
</Geometry><br>
<br>
<Grid CollectionType="Temporal" GridType="Collection" Name="TimeSeriesGrid"><br>
<br>
<Time TimeType="HyperSlab"><br>
<br>
<DataItem Dimensions="3" Format="XML" NumberType="Float">0.0 1.0 2</DataItem><br>
<br>
</Time><br>
<br>
<Grid GridType="Uniform" Name="T1"><br>
<br>
<Topology Reference="/Xdmf/Domain/Topolo<wbr>gy[1]"/><br>
<br>
<Geometry Reference="/Xdmf/Domain/Geomet<wbr>ry[1]"/><br>
<br>
<Attribute Center="Node" Name="Values"><br>
<br>
<DataItem Dimensions="9" Format="XML">0 1 2 3 4 5 6 7 8</DataItem><br>
<br>
</Attribute><br>
<br>
</Grid><br>
<br>
<Grid GridType="Uniform" Name="T2"><br>
<br>
<Topology Reference="/Xdmf/Domain/Topolo<wbr>gy[1]"/><br>
<br>
<Geometry Reference="/Xdmf/Domain/Geomet<wbr>ry[1]"/><br>
<br>
<Attribute Center="Node" Name="Values"><br>
<br>
<DataItem Dimensions="9" Format="XML">8 7 6 5 4 3 2 1 0</DataItem><br>
<br>
</Attribute><br>
<br>
</Grid><br>
<br>
</Grid><br>
<br>
</Domain><br>
<br>
</Xdmf><br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>