https://github.com/tdegeus/xdmfwrite_h5py
XDMF meets h5py: Write XDMF files to interpret HDF5 files
https://github.com/tdegeus/xdmfwrite_h5py
fem hdf5 paraview xdmf
Last synced: about 1 year ago
JSON representation
XDMF meets h5py: Write XDMF files to interpret HDF5 files
- Host: GitHub
- URL: https://github.com/tdegeus/xdmfwrite_h5py
- Owner: tdegeus
- License: mit
- Created: 2020-06-09T12:00:16.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T09:07:10.000Z (over 3 years ago)
- Last Synced: 2025-04-13T17:53:31.176Z (about 1 year ago)
- Topics: fem, hdf5, paraview, xdmf
- Language: Python
- Homepage: https://xdmfwrite-h5py.readthedocs.io
- Size: 40 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/tdegeus/XDMFWrite_h5py/actions)
[](https://readthedocs.org/projects/xdmfwrite_h5py/badge/?version=latest)
Module to write XDMF files for HDF5 files. For example:
```python
with h5py.File(root.with_suffix(".h5")) as file, xh.Grid(root.with_suffix(".xdmf")) as xdmf:
xdmf += xh.Unstructured(file["coor"], file["conn"], "Quadrilateral")
xdmf += xh.Attribute(file["stress"], "Cell")
```
See
**Documentation: [xdmfwrite-h5py.readthedocs.io](https://xdmfwrite-h5py.readthedocs.io/en/latest/)**
for more information and examples.