[vtkusers] HDF5 with VTK

Dominik Szczerba domi at vision.ee.ethz.ch
Wed Jan 23 03:02:39 EST 2008


On Wednesday 23 January 2008 01.36:02 Michael Rice wrote:
> Emmanuel -
> 
> I've read the responses you've received so far, but I still have 2  
> questions:
> 
> 1. Is your CFD data already in HDF5 format?
> 
> 2. What part of HDF5 is only available on UNIX? I've used HDF5,  
> including several of the HDF5 utilities, on many platforms, including  
> Windows.
> 
> There is a HDF5 Mesh format and API. This is really just a formal  
> specification for how to organize an HDF5 file to store a meshed  
> geometry (structured or unstructured) and associated data (such as  
> your flow field data).

Which one? The one I found in google is abandoned for a longer while and not 
supported by anybody.

> 
> If your data is not already in HDF5 format, I would suggest that you  
> simply write a small program to convert your CFD data directly into a  
> VTK native format; I think the VTK docs explain the .vtk file format.

This will never work for large datasets, no compression is possible, no 
parallel IO, lots of extra space required.

> 
> If your data is already in HDF5 format, you might be able to use the  
> H5dump utility (this is a stand alone application) to dump your data  
> into an ASCII file format and then write a separate utility to convert  
> this ASCII file into a .vtk file.

as above.

-- Dominik

> 
> Michael
> 
> On Jan 22, 2008, at 10:18 AM, Ogedengbe, Emmanuel wrote:
> 
> > After installation of VTK for use with purely C++ on windows, I have  
> > been struggling with how to get started with reading my CFD datasets  
> > for visualization. I have done some research with HDF5 but having  
> > problem with having to go into increasing number of third party  
> > software and libraries. Recently, I learnt that H5utils can convert  
> > HDF5 datasets into the formats required by other free visualization  
> > software like VTK. But it’s only for UNIX systems, though it appears  
> > help can come from CygWin .
> >
> > Can anyone help? I just want to visualize simple 2D/3D grid-based  
> > scalar and vector flow fields simulated with my native codes.
> >
> >
> > Thanks in anticipation
> >
> > Emmanuel
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: 
http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: 
http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 



-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list