0

I'm working with Gmsh which is a program that can save meshes (FEM)into .gif, .jpg, .png, .mpg, .stl, .su2, .geo, .step, .msh, .bdf and many more.

I need to convert any kind of those files to .h5 file in order to be able to work on another program called parosol. HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data.

Any suggestion about converting files? cheers

1 Answers1

0

As you point out, HDF5 is a very general data file format. The barebones objects in an HDF5 file are datasets, dataspaces, datatypes, groups, and so forth. The HDF Group has an intro here: https://www.hdfgroup.org/HDF5/doc/H5.intro.html

Almost certainly any program (e.g. parasol) that can understand .h5 files as meshes, has a mesh-specific schema to follow on top of the basic HDF5 format. The first question I would be asking is: Does parasol document their schema for meshes? If so, there is hope of a converter. If not, and they keep it proprietary, you are also asking that someone has reverse-engineered the schema.