[petsc-users] Example for hdf5 output and visualization

Santiago Ospina De Los Rios sospinar at unal.edu.co
Thu Sep 29 12:33:00 CDT 2016


2016-09-29 18:57 GMT+02:00 Praveen C <cpraveen at gmail.com>:

> Dear all
>
> Is there an example  to save hdf5 file on cartesian mesh with time
> dependent solution, that I can visualize in VisIt ?
>
>
If you save the file with a successive numbering at the final of the name,
Visit will recognize it as a time-dependent.

I am able to save in hdf5 and open in VisIt but I cannot get the actual
> mesh coordinates or time dependent data.
>
>
To get the mesh you have to save a vector associated to a DM object,
otherwise, you will get a row of values at the visualization.


> I have seen a script petsc_gen_xdmf.py but that needs lot of information
> in the hdf5 file which I do not know how to create. An example for 2d
> Cartesian mesh would be very useful to learn this.
>
>
Anyway, it's a good question: how to visualize time-dependent hdf5 files in
other viewers such as Paraview just using PETSc calls. Is there a way?

Santiago O.


> Thanks
> praveen
>



-- 

-- 
Att:

Santiago Ospina De Los Ríos
National University of Colombia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160929/c0799bf3/attachment.html>


More information about the petsc-users mailing list