Finding out EDEM version of old simulations

WDS
WDS Altair Community Member

Description:

I have some ‘old’ simulation data and would like to find out in which version of EDEM this was simulated. I have searched into the following files:

  • .h5 data file; nothing found about EDEM version
  • .DEM; unreadable in notepad
  • .dfg; can read in notepad, but nothing found about EDEM version
  • .efd; unreadable in notepad
  • .ess; unreadable in notepad

Does anyone know where the EDEM version of a simulation can be found?

 Thanks in advance!

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited March 13

    HI, There is a version number shown if you open the .dem file with a HDF5 viewer however it's not necessarily 'human readable' in that it gives you an integer such as:

    You can get the same via EDEMpy:

    from edempy import Version
    
    # Path to your DEM file
    file_path = "file_name.dem"
     
    # Get the file version
    file_version = Version.getFileVersion(file_path)
     
    # Print the result
    print(f"File Version: {file_version}")
    

    You could match this against a file created in a known versions, or compare it if it's higher or lower than another file.


    Regards

    Stephen

  • WDS
    WDS Altair Community Member

    Thank you for the reply! So it is not possible to derive the EDEM version from this number, like EDEM2012 of EDEM2023?

  • Stephen Cole
    Stephen Cole
    Altair Employee

    Hi, we don't have a direct list but you can compare it against a known output. I ran a quick test on my computer which has EDEM 2022.1, 2023.1, 2024.0 and 2025.0 installed, decks created in these versions give me 2622218, 2622262, 2622267 and 2622271 respectively as an output.

    Regards

    Stephen

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.