User Tools

Site Tools


hdf5_xdmf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hdf5_xdmf [2020/09/01 14:39] – created jefersonhdf5_xdmf [2020/09/01 14:44] (current) jeferson
Line 3: Line 3:
 Paraview enables to process data in HDF format. To do so, the result mey to be split in two files a .xmdf, which is loaded by paraview, and a .h5 storing the mesh properties (points and connectivity) as well as attributes (lists such as velocity, displacement etc). Paraview enables to process data in HDF format. To do so, the result mey to be split in two files a .xmdf, which is loaded by paraview, and a .h5 storing the mesh properties (points and connectivity) as well as attributes (lists such as velocity, displacement etc).
  
-To implement such option, HDF5 library needs to be installed for instance by adding --download-hdf5 in the configure step when installing PETSc library. Then, load in your code the library "#include <petscviewerhdf5.h>"+To implement such option, HDF5 library needs to be installed for instance by adding download-hdf5 in the configure step when installing PETSc library. Then, load in your code the library "#include <petscviewerhdf5.h>"
  
-.xdmf files are similar to .vtu and to find more information about its formatting [[http://www.xdmf.org/index.php/XDMF_Model_and_Format|click here]].+.xdmf files are similar to .vtu and to find more information about its formatting [[http://www.xdmf.org/index.php/XDMF_Model_and_Format|click here]]. For more information through HDF files [[https://www.hdfgroup.org/|click here]].
  
-Here is an example of a .xdmf file loading results from a .h5 file:+Here is an example of a .xdmf file loading results from a .h5 file and the corresponding source code: 
 + 
 +In this example, only quadratic triangle finite elements are employed, but .xdmf files allows the use of several elements, as well as mixed topologies.
  
  
hdf5_xdmf.1598971166.txt.gz · Last modified: by jeferson