Matlab 3D array to ParaView (via HDF5 + XDMF)

版本 1.0.1 (2.6 KB) 作者: Manuel A. Diaz
We exemplify how to export a large 3D array for visualization into ParaView using HPC's classical approach: using HDF5 with XDMF files.
255.0 次下载
更新时间 2020/11/3

查看许可证

This snippet exemplifies how to export a 3D array into ParaView without the need of writing a VTK file. This is a classical approach to export large volumes of data preferred in highly performing computational (HPC) scenarios. ( like reading/writing [10,000]^3 arrays )
This example outputs 3 files: the geometry.h5, the field.h5, and the solution.xmf. The 3 files are required to be in the same folder. But for opening the array in ParaView/Visit, only the *.xmf file is initially required. ParaView/VisIt will then load the two h5-files.
More details are found inside the script. Happy coding! ;D

引用格式

Manuel A. Diaz (2024). Matlab 3D array to ParaView (via HDF5 + XDMF) (https://www.mathworks.com/matlabcentral/fileexchange/82043-matlab-3d-array-to-paraview-via-hdf5-xdmf), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.1

Change title

1.0.0