importation of MED mesh files types
Functionality to add/problem to solve
Following my post about ideasunvToFoam (). This format does not allow the importation of meshes with pyramid elements. so if a mesh has even one single pyramid cell, it is not possible to import it from salome to OpenFOAM easily. Salome has its native format MED, which can save pyramid elements as any arbitrary polyhedral cell type. The need from these functionality is clear and has been there since long time
Target audience
Salome has the capacity to combine structured & unstructured meshes in a conformal way. also to create meshes respecting the edges of a geometry. The audience is the common OpenFOAM user who wants to use other opensource meshers inside salome.
Proposal
adding a medToFoam which would import directly the MED format files to OpenFOAM
What does success look like, and how can we measure that?
being able to import meshes directly from salome output without intermediate formats.
Links / references
some references that could help:
- first a foamToMed already exists (import of openfoam meshes to salome) could be helpful https://github.com/mortbauer/foamMeshToMED
- there exist also a python script to export meshes directly from salome to FOAM format (which I don't think could be useful for the development, as it does not passes thought MED format but in any case I post it) https://github.com/psicofil/salomeToOpenFOAM
- The MED format has been integrated to paraview, their reader could help the development? https://discourse.paraview.org/t/med-format-native-support-in-paraview/7028