Hello,
i understand that gmsh has changed to become the main other format exporter, nevertheless it does not have all the formats that meshio have (or at least it does not being added to salome itself.)
in my side, it is medit format .mesh, i was able to export in previous versions correctly with meshio but now i can not export from the gui.
furthemore, there ‘is’ still the possibility to export using python:
`Mesh_1.ExportMESHIO(r’/home/franco/Downloads/a.mesh’, ‘Medit’, Mesh_1)`
but this is working wrong in 9.16. the mesh is simply wrong, the cells are wrongly this was not happening in 9.15.
I sucessfully exported using:
`Mesh_1.ExportGMSHIO(r’/home/franco/Downloads/a.mesh’, ‘Medit’, Mesh_1)`
but please note that the Medit format is not shown in the exporting options. thankfully i knew that gmsh is able to export if not it was impossible to ‘know’ this.
also, the result from ExportGMSHIO and ExportMESHIO in 9.16 gives different results to ExportMESHIO from 9.15.
ExportMESHIO vr 9.16 gives awful results (see previous image)
ExportGMSHIO vr 9.16 gives a 'somewhat correct result’ but it is changing the ordering of the cells/nodes which completly breaks my workflow.
EDIT: okey looks like ExportGMSHIO writes the mesh correctly, the issue was that with the difference between ordering of salome and other formats i was re ordering the mesh before exporting with meshio, where now i should not do it.
nevertheless, meshio export in 9.16 for medit is completly broken.
Hi Franco,
medit format is natively supported, usign Export GMF. That is why it is not provided in other formats.
Christophe
Hello Christophe,
Médit has also .mesh file format that that’s the one I was requiring. In 9.15 it worked with meshio, now with gmshio it looks like it also does (and takes care of the different connectivity order of the hexas) but FYI meshio in 9.16 it is fully broken
Can you try if Export GMF is working for you? GMF is the medit format (I don’t know why it is called like this in SALOME).
hello @cbourcier ,
okey, did not know that GMF == .mesh quite difficult to know before hand. and in this case it works for me, nevertheless i found two issues with 9.16:
- meshio export is not working correctly. origin of my post
- gmshio has a BIG flaw, it is renumbering the mesh, the nodes will NOT have the same numbering/connectivity, i imagine that in the background, salome is importing the med and exporting from gmsh, but this makes it completly unsable for me at least. where i work with the mesh itself.
I will make issues for the two in smesh github. I understand the lowpriority of meshio issue (eventhought it was something working in 9.15) i imagine that down the road salome will migrate to meshlane? but gmshio, well…. thankfully there was baked the GMF, but ifnot, gmshio today from 9.16 can not replace meshio from 9.15
regards