[Paraview] Fwd: Visualization in ParaView/VisIt

Armin Wehrfritz dkxls23 at gmail.com
Thu Jan 29 10:43:24 EST 2015


I just stumbled across this interesting blog:
http://berkgeveci.github.io/2015/01/08/h5py-writer-reader/

If you have some kind of python knowledge, especially the "HDF5Reader" 
part should be very interesting for you.
For this you don't even need the XDMF files.

-Armin



On 01/28/2015 10:55 PM, Martin Huarte Espinosa wrote:
> Dear Armin and Dave: thanks for your replies. I will try.
>
> Martin.
>
> On Wed, Jan 28, 2015 at 2:30 PM, Armin Wehrfritz <dkxls23 at gmail.com
> <mailto:dkxls23 at gmail.com>> wrote:
>
>     For such kind of data I typically write a custom made XDMF [1] file.
>     XDMF is basically a XML wrapper that contains the description of the
>     HDF5 data file.
>     What comes in handy in your cases, is that you have the heavy data
>     already in a HDF5 file.
>
>     I typically write the XDMF file with a hand crafted python script
>     since I typically deal with data sets from various source.
>     However, there is also a XDMF library [2,3], which should provide
>     some convenient advantages.
>
>     The XDMF file format is very well supported by ParaView, or VisIt
>     for that matter.
>
>     I attached 2 XDMF files, so you get an idea what I'm talking of (the
>     HDF5 data files are missing though).
>
>     -Armin
>
>     [1] http://www.xdmf.org/index.php/__Main_Page
>     <http://www.xdmf.org/index.php/Main_Page>
>     [2] http://www.xdmf.org/index.php/__Get_Xdmf
>     <http://www.xdmf.org/index.php/Get_Xdmf>
>     [3] http://www.xdmf.org/index.php/__Write_Xdmf
>     <http://www.xdmf.org/index.php/Write_Xdmf>
>
>
>
>     On 01/28/2015 09:52 PM, Martín Huarte E wrote:
>
>         Dear Paraview community: Good day. I need assistance on
>         visualizing a
>         matlab file? Any tips will be greatly appreciated. Thanks.
>
>
>         Details:
>         I need to visualize temperature distribution in a volume.  The
>         volume is
>         a wedge-like slice of a hollow cylinder (shown in the attached
>         schematic).
>
>         The calculations are made in MATLAB.  The three-dimensional
>         matrices of
>         the solution (T) and the node-coordinates (X, Y and Z) are saved
>         in a
>         HDF5 file.
>
>         So far, I have not been able to make ParaView to visualize the
>         result in
>         the actual geometry. They get the length, width and height of
>         the volume
>         and simply build a cuboid out of them.
>
>         Thanks
>
>         My best, Martín
>         __
>         /Martín Huarte-Espinosa, Ph.D./
>         /Computational Physicist  - //High Performance Computing Specialist/
>         /linkedin.com/pub/martin-__huarte-espinosa/59/6b7/13a
>         <http://linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a>
>         <http://linkedin.com/pub/__martin-huarte-espinosa/59/6b7/__13a
>         <http://linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a>>/
>
>
>
>
>
>         _________________________________________________
>         Powered by www.kitware.com <http://www.kitware.com>
>
>         Visit other Kitware open-source projects at
>         http://www.kitware.com/__opensource/opensource.html
>         <http://www.kitware.com/opensource/opensource.html>
>
>         Please keep messages on-topic and check the ParaView Wiki at:
>         http://paraview.org/Wiki/__ParaView
>         <http://paraview.org/Wiki/ParaView>
>
>         Search the list archives at:
>         http://markmail.org/search/?q=__ParaView
>         <http://markmail.org/search/?q=ParaView>
>
>         Follow this link to subscribe/unsubscribe:
>         http://public.kitware.com/__mailman/listinfo/paraview
>         <http://public.kitware.com/mailman/listinfo/paraview>
>
>
>     _______________________________________________
>     Powered by www.kitware.com <http://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
>
>     Search the list archives at: http://markmail.org/search/?q=ParaView
>
>     Follow this link to subscribe/unsubscribe:
>     http://public.kitware.com/mailman/listinfo/paraview
>
>
>
>
> --
>
> My best, Martín
> __
> /Martín Huarte-Espinosa, Ph.D./
> /Computational Physicist  - //High Performance Computing Specialist/
> /linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a
> <http://linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a>/


More information about the ParaView mailing list