[SOLVED] Problems with import MED mesh
Posted: Fri Apr 01, 2016 6:13 pm
Hello,
I am completely new to Code Saturne and I am just trying out the cavity tutorial which I know worked out of the box for my colleagues. I believe I followed the guidelines correctly, but of course can't be 100% sure. My problem is that Code Saturne doesn't accept my Salome mesh and complains with the following error:
I understand that the error is about exceeding a minor version of the MED file. I have checked it and indeed my Salome saves to 3.1 MED file whereas the MED library on my Ubuntu is 3.0.6. I've tried two Salomes already, the universally statically linked and the Ubuntu one. I've also checked that exporting to STL correctly visualised in paraview. C_S is compiled in version 4.0.4 as latest stable. Writing this up, I realized I may compile a development version too, so I'll give it a go presently, but this should suffer from the same problem.
I would like to ask if this is a known issue or if I am doing something wrong with the tutorial after all. Please let me know.
I am completely new to Code Saturne and I am just trying out the cavity tutorial which I know worked out of the box for my colleagues. I believe I followed the guidelines correctly, but of course can't be 100% sure. My problem is that Code Saturne doesn't accept my Salome mesh and complains with the following error:
Code: Select all
MEDversionedApi3C.c [50] : Cette bibliothèque MED n'est pas capable de lire un fichier MED dont le mineur de la versionexcède celui de la bibliothèque.
MEDversionedApi3C.c [51] : La version demandée est :
MEDversionedApi3C.c [51] : _fversionMMR = 310
MEDversionedApi3C.c [116] : Impossible d'obtenir une implémentation de :
MEDversionedApi3C.c [117] : key = "_MEDmeshInfoByName"
MEDversionedApi3C.c [118] : en version :
MEDversionedApi3C.c [119] : _fversionMMR = 310
MEDversionedApi3C.c [120] : Vérifiez votre fichier .med
MEDmeshInfo.c [83] : Erreur d'appel de l'API
MEDmeshInfo.c [83] : du maillage
MEDmeshInfo.c [84] : meshname = "Cavity_mesh"
MEDmeshInfo.c [84] : _meshpath = "/ENS_MAA/Cavity_mesh"
MEDmeshInfo.c [84] : "MEDmeshInfoByName" = "MEDmeshInfoByName"
Error in preprocessor execution
===============================
../../../code_saturne-4.0.4/preprocessor/pre-post/ecs_pre_med.c:1624: Fatal error.
MED: error reading file "/home/robert/documents/sandbox/code_saturne-tutorials/shear_driven_cavity/MESH/Cavity_mesh.med".
Name of mesh read : "Cavity_mesh"
Dimension read : "0"
Call stack
1: 0x42a382 (cs_preprocess)
2: 0x40f09b (cs_preprocess)
3: 0x406692 (cs_preprocess)
4: 0x7ffa89daeec5 (libc.so.6)
5: 0x406efa (cs_preprocess)
End of stack
I would like to ask if this is a known issue or if I am doing something wrong with the tutorial after all. Please let me know.