[petsc-users] SNES ex12 visualization

Matthew Knepley knepley at gmail.com
Thu Sep 14 10:00:41 CDT 2017


On Thu, Sep 14, 2017 at 10:30 AM, Adriano Côrtes <adrimacortes at gmail.com>
wrote:

> Dear all,
>
> I am running the SNES ex12  and I'm passing the options -dm_view
> hdf5:sol.h5 -vec_view hdf5:sol.h5::append to generate an output file. The
> .h5 file is generated, but I'm not being able to load it in Paraview
> (5.4.0-64bits). Paraview recognizes the file and offers severel options to
> read it, here is the complete list
>
> Chombo Files
> GTC Files
> M3DC1 Files
> Multilevel 3D Plasma Files
> PFLOTRAN Files
> Pixie Files
> Tetrad Files
> UNIC Files
> VizSchema Files
>
> The problem is none of the options above work :(
> I'm using the configure option '-download-hdf5' and it installs hdf5
> version 1.8.18
> Any hint of how to fix it and have the visualization working?
>

Yes, Paraview does not directly read HDF5. It needs you to tell it what the
data in the HDF5 file means. You do
this by creating a *.xdmf file, which is XML. We provide a tool

  $PETSC_DIR/bin/petsc_gen_xdmf.py <HDF5 file>

which should automatically produce this file for you. Let us know if it
does not work.

  Thanks,

    Matt


>
> Best regards,
> Adriano.
>
> --
> Adriano Côrtes
> =================================================
> *Campus Duque de Caxias and*
> *High-performance Computing Center (NACAD/COPPE)*
> Federal University of Rio de Janeiro (UFRJ)
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

http://www.caam.rice.edu/~mk51/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170914/57c5059c/attachment-0001.html>


More information about the petsc-users mailing list