[vtkusers] HDF5 with VTK
Michael Rice
marice at knology.net
Tue Jan 22 19:36:02 EST 2008
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).
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.
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.
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
More information about the vtkusers
mailing list