No groups from mesh being recognised after importing .h5 file

,

Sorry that I have seen the discussion here now. The mentioned export script is partly a copy of dolfin-convert with “only” the part needed to do read/write conversion of a med to xml and then added a simple xml to h5 conversion by using dolfin’s HDF5File(…). No big changes in the code other than reading and writing.

Anyone is encouraged to use it by downloading from my web site

http://bilenemek.abali.org

Specifically by clicking supply code #027 or directly this link

https://bilenemek.abali.org/src/bib/027.zip

The med file from Salome is used to mark boundaries with any name that is then written out as an additional textfile such that the h5 file can be directly used in the simulation. Nothing fancy but very useful for application with several materials and boundary conditions.

The problem is in the installation. I cannot replicate the problem by starting with med file and using my script once in Ubuntu directly and once in docker via the latest dolfin legacy image: ghcr.io / scientificcomputing / fenics:2024-02-19

more info about this image is here

1 Like