MED Export problems
Hello,
there seems to be something wrong with the ordering with the HEX27 elements. static const int map[27] = {0, 1, 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 16, 17, 18, 19, 12, 13, 14, 15, 20, 22, 21, 23, 24, 25, 26};
This happens only if the MED file is read by SALOME 9.4. If it is reread with gmsh everything is fine. I don't know what is now the correct one SALOME or gmsh? Code aster seems also to have problems.
The export to HEX20 works when the exported file is read by SALOME 9.4. However, if I reread it with gmsh it is distorted.
So I think with MED 4.0.0 something got mixed up between writing and reading. I don't understand why this is happening, is there something different used for reading the MED file than the med2mshNodeIndex() function or does this come from the MED-library itself? Since, the documentation of the MED format is in that perspective not easy to understand, I am not able to find the right ordering by myself.
I also realized that for fully quadratic elements export in MED format 18 node prisms are not supported. However, apparently these exist in MED 4.0.0. I don't know if this is very hard to implement. I assume that some small changes in CModelIO_MED.cpp would be needed. I think it would be a nice feature to have as well.
Thank you very much in advance, Tristan