[Paraview] HDF5 files with time dimension & ParaView
Eric E. Monson
emonson at cs.duke.edu
Wed Aug 4 10:45:25 EDT 2010
Hey Pawel,
I think I got 4D->time to work with ParaView and Xdmf using a little test data set I wrote. I was able to use the "HyperSlab" functionality in Xdmf to pick out the correct data set from the 4th dimension for each time step.
Note: The only problem I'm having so far is that it loads into the ParaView git development head and PV 3.6.2 just fine, but PV 3.8.0 crashes. (At times there have been problems with reading Xdmf files using HyperSlab, so maybe I'm doing something wrong, or maybe there were some bugs with the Xdmf reader in 3.8.0...?)
The little HDF5 file I generated just has a 5x5x5x3 array of 32-bit integers where the "time" axis is the 4th dimension, and the grid contains all ones in the first step, twos in the second and threes in the third block. I'll attach both the HDF5 file and the .xmf file.
Hope this helps,
-Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: array4d_1.h5
Type: application/octet-stream
Size: 3548 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100804/ec3f5eae/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: array4d_1.xmf
Type: application/octet-stream
Size: 3118 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100804/ec3f5eae/attachment-0003.obj>
-------------- next part --------------
On Aug 3, 2010, at 4:34 PM, Berk Geveci wrote:
> Xdmf may allow you to do this. I am not 100% sure. See
> xdmf.org. Please report back here if you try it out.
>
> Best,
> -berk
>
> On Fri, Jul 30, 2010 at 2:41 PM, <pkj22 at eng.cam.ac.uk> wrote:
>> Greetings ParaView Users,
>>
>> I am currently running simulations using MEEP (
>> http://ab-initio.mit.edu/wiki/index.php/Meep ), which generates output files
>> in HDF5 format. Opening HDF5 3-dimensional files works ok with ParaView (it
>> is recognized as Pixie 1.0 - I normally convert these files to VTK for
>> convenience). However, MEEP can also generate 4-D HDF5 files, where the
>> fourth dimension is time. Is there a way to view such files in ParaView and
>> navigate along the time axis?
>> Thank you in advance :-)
>>
>> Pawel Jasnos
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list