Meshio export to gmsh 4.1

Currently exporting a mesh from Salome to Gmsh format with meshio exports it into the gmsh binary file format version 4.0. This combination is a bit unlucky due to issues with the gmsh 4.0 format; in fact, not even gmsh can read a binary gmsh 4.0 file.
The solution would be to export to gmsh 4.1 format [binary or ascii] or to gmsh 4.0 ascii format. To export in ascii one needs to provide the --ascii flag to the meshio call.

Hello,

have you find a solution for this? I am facing a similar issue and looking to export in ascii format.

I haven’t! But I haven’t tried with the most recent version of salome so perhaps that changed?

If you can, go through other mesh formats, it might work!

1 Like

thanks for your answer, no there is no 4.1 exportation nor ascii nor binary either. it looks like the meshio vr inside salome does not have this as supported (eventhought in the documentation is mentionned 4.1)