Import CAD file in EDEM V2022.3

jc_794
jc_794 Altair Community Member

Dear Altair Community,

I am encountering an issue when trying to import CAD files into EDEM v2022.3. The loading bar gets stuck at 2%, preventing the import from completing. However, the same CAD file imports smoothly in EDEM v2024.1.

I have tried several troubleshooting steps, such as changing the file location to a shorter path, but the issue persists.

I have attached two files to this post for reference. Could you please advise on how to successfully import them in EDEM v2022.3? I need to use this version because I am coupling EDEM with HyperStudy, and it seems that only v2022.3 works well with my EDEMPy post-processing script.

I appreciate any suggestions or insights you may have.

Best regards,
Jipei

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee

    Hi Jipei,

    This looks like it might be a bug, that is fixed in the latest version. I don't have a specific workaround but you could try a different file format? I would expect STEP or IGES typically to work OK.

    Also it seems it's worth updating the script if this is causing some limitations. There are a few format changes required between versions, the typical issue is that some of the older versions specify deck.creatorData and the newer versions require deck.creatorData[0] but there may be some other changes required.

    deck.creatorData[0] means reading the data from the EDEM creator at time-step 0, this is because things like particle types and shapes can change if the user stops the simulation at non-zero time point and makes a change to the particle definitions, you can also update the scripts to check all time-steps or last time-step to ensure all particle types are captured, but adding [0] often works OK.


    Regards

    Stephen

  • PrasadAvilala
    PrasadAvilala
    Altair Employee

    Hi Jipei,

    I agree with Stephen Comments but as a last method i want to suggest one step might be worth to check.

    Please import the CAD in 2024.1 and go to analyst export the geometry as .stl and then import .stl file in EDEM v2022.3

    This should work i feel.

    Thanks,

    Prasad A

  • jc_794
    jc_794 Altair Community Member

    Hi Prasad,

    Thank you very much, this way works!

    Sincerely,

    Jipei

  • jc_794
    jc_794 Altair Community Member

    Hi Stephen,

    Thank you for providing these pathways! I used STEP files and they work well now.

    Sincerely,

    Jipei