Hi All,
Please find attached a patch to sfepy/fem/meshio.py for basic read support for MED format meshes. I'm attaching the patch here since github seems to be down in the US. MED is the native mesh format for the very powerful open-source meshing tools salome [1] and pythonocc [2].
Actually, it is very incomplete, but seems to work with the provided example mesh (Mesh_1.med). I only tried loading the mesh with postproc.py, so I haven't run any calculations on it yet (I assume that should work ok). So far, it only supports 3D 8-node hexahedral elements, so I suppose it is more of an example of reading the format than an actual final production code. :) I hope it can be generalized to work with more MED meshes.
I found some French documentation on MED in the source packages at [1]; I used google docs to translate it to English, so if someone wants a copy of that, let me know. I'm looking for a better English version of these docs.
Best regards, Logan
[1] http://www.salome-platform.org [2] http://www.pythonocc.org
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.