Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2023-03-19 10:44:31

Cloud10
Member
Registered: 2016-04-01
Posts: 6

unreadable MED results file

Hi,
I am working with a very simple case in Salome Meca 2022 only for setup purposes. The mesh is a simple box with one face fixed and the other with axial nodal forces. I write the results, using this command:

IMPR_RESU(FORMAT='MED',
          RESU=_F(RESULTAT=reslin),
          UNITE=80,
          VERSION_MED='4.0.0')

(I also tried with different MED versions, tried adding the mesh...). The rmed file that I get can be post-processed in AsterStudy (I see al the fields that I computed) but it turns to be unreadable in paravis. I also tried to open it in Salome 9.10 and I get the following error:

/volatile2/projet/salome/jenkins/workspace/SALOMEBuilder/SALOME-9.10.0-CO7/SOURCES/medfile/src/ci/MEDfileVersionOpen.c [72] : Erreur à l'ouverture du fichier
/volatile2/projet/salome/jenkins/workspace/SALOMEBuilder/SALOME-9.10.0-CO7/SOURCES/medfile/src/ci/MEDfileVersionOpen.c [72] : /home/claudio/Projects/Studies/BeamProperties/C_Section/sample-sections/04_StressRecover/Aster/Box_test/box_test.rmed
HDF5-DIAG: Error detected in HDF5 (1.10.3) thread 140446565542080:
  #000: /volatile2/projet/salome/jenkins/workspace/SALOMEBuilder/SALOME-9.10.0-CO7/SOURCES/hdf5/src/H5F.c line 664 in H5Fclose(): not a file ID
    major: File accessibilty
    minor: Inappropriate type
/volatile2/projet/salome/jenkins/workspace/SALOMEBuilder/SALOME-9.10.0-CO7/SOURCES/medfile/src/ci/MEDfileClose.c [42] : Erreur à la fermeture du fichier
/volatile2/projet/salome/jenkins/workspace/SALOMEBuilder/SALOME-9.10.0-CO7/SOURCES/medfile/src/ci/MEDfileClose.c [42] :

I have tried more complicated cases where I write the results only on specific groups and the resulting rmed file is good. As far as I remember the IMPRE_RESU above should be enough. I have also tried with the previous version of Salome_Meca and I got the same error. I am attaching the message  file.
Any help is much apprecieted.
Thank you
Claudio


Attachments:
message, Size: 27.16 KiB, Downloads: 20

Offline