<div dir="ltr">Hello,<div><br></div><div>thanks for the response. I managed to create and xdmf file that seems to be working. </div><div><br></div><div>But I want to know if I can make the file more concise. I am dealing with a simple cube of dimension 512^3 for all time steps and the name of my variables and everything remains the same. Only the filename changes. Right now my xmf file looks like this:</div>
<div><br></div><div>------------------------------------------------------------------------------------------------------------------------</div><div><div><?xml version="1.0" ?></div><div><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []></div>
<div><Xdmf Version="2.0"></div><div> <Domain></div><div><!-- First time step --></div><div> <Grid Name="Box" GridType="Collection" CollectionType="Temporal"></div>
<div> <Grid Name="Box 0" GridType="Uniform"></div><div> <Topology TopologyType="3DCoRectMesh" Dimensions="512 512 512"/></div><div> <Geometry GeometryType="ORIGIN_DXDYDZ"></div>
<div> <DataItem DataType="Float" Dimensions="3" Format="XML">0.0 0.0 0.0</DataItem></div><div> <DataItem DataType="Float" Dimensions="3" Format="XML">0.1 0.1 0.1</DataItem></div>
<div> </Geometry></div><div> <Time Value="0.0" /></div><div> <Attribute Name="w1" AttributeType="Scalar" Center="Node"></div><div> <DataItem Dimensions="512 512 512" NumberType="Float" Precision="4" Format="HDF"></div>
<div> w1_111.h5:/w1</div><div> </DataItem></div><div> </Attribute></div><div> </Grid></div></div><div><div><!-- second time step --></div><div> <Grid Name="Box 7" GridType="Uniform"></div>
<div> <Topology TopologyType="3DCoRectMesh" Dimensions="512 512 512"/></div><div> <Geometry GeometryType="ORIGIN_DXDYDZ"></div><div> <DataItem DataType="Float" Dimensions="3" Format="XML">0.0 0.0 0.0</DataItem></div>
<div> <DataItem DataType="Float" Dimensions="3" Format="XML">0.1 0.1 0.1</DataItem></div><div> </Geometry></div><div> <Time Value="2.0" /></div>
<div> <Attribute Name="w1" AttributeType="Scalar" Center="Node"></div><div> <DataItem Dimensions="512 512 512" NumberType="Float" Precision="4" Format="HDF"></div>
<div> w1_465.h5:/w1</div><div> </DataItem></div><div> </Attribute></div><div> </Grid></div><div> </Grid></div><div> </Domain></div><div></Xdmf></div></div><div>
------------------------------------------------------------------------------------------------------------------------<br></div><div><br></div><div style>But if I want to read like 10 variables from the same file, and I have around 100 time steps, this file can become extremely long and ugly. Is there a more elegant format of XMF file? It seems stupid to repeat the grid and variable name information again and again unless they really change.</div>
<div style><br></div><div style>Thanks</div><div style>Pradeep</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/17 Felipe Bordeu <span dir="ltr"><<a href="mailto:felipe.bordeu@ec-nantes.fr" target="_blank">felipe.bordeu@ec-nantes.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can generate one (and only one) xdmf file with "temporal information", pointing to each one of your HDF5 files. So ParaView will be aware of the temporal dimension of your data.<br>
<br>
More info in <a href="http://www.xdmf.org/index.php/XDMF_Model_and_Format" target="_blank">http://www.xdmf.org/index.php/<u></u>XDMF_Model_and_Format</a>.<br>
<br>
Felipe<br>
<br>
<br>
Le 17/01/2013 03:17, Pradeep Jha a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello,<br>
<br>
I have multiple HDF5 data files containing information at different time steps of a flow simulation. I am using a XDMF file to visualize them.<br>
<br>
I want to visualize the evolution of a particular iso-surface and data over a slice. How can I perform the same set of operation over all these files and then combine them together to make a movie out of it? Should I save a python state file of one time step and then use pvpython to combine all these python state files? There are over 1000 time steps, so I cannot do it manually.<br>
<br>
Also, is there any specific trick to make the movie in real time?<br>
<br>
Thanks,<br>
Pradeep<br>
<br></div></div>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<u></u>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/<u></u>mailman/listinfo/paraview</a><br>
</blockquote>
<br>
<br>
-- <br>
Felipe Bordeu Weldt<br>
Ingénieur de Recherche<br>
------------------------------<u></u>-------<br>
Tél. : <a href="tel:33%20%280%292%2040%2037%2016" value="+13302403716" target="_blank">33 (0)2 40 37 16</a> 57<br>
Fax. : <a href="tel:33%20%280%292%2040%2074%2074" value="+13302407474" target="_blank">33 (0)2 40 74 74</a> 06<br>
<a href="mailto:Felipe.Bordeu@ec-nantes.fr" target="_blank">Felipe.Bordeu@ec-nantes.fr</a><br>
Institut GeM - UMR CNRS 6183<br>
École Centrale Nantes<br>
1 Rue de La Noë, 44321 Nantes, FRANCE<br>
------------------------------<u></u>-------<br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<u></u>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/<u></u>mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>