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

Attachment: array4d_1.h5
Description: Binary data

Attachment: array4d_1.xmf
Description: Binary data


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,  <[email protected]> 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

_______________________________________________
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

Reply via email to