[EDEM] Can we get energy loss with GPU calcuration

Sakae
Sakae Altair Community Member

Hi,

I'd like to get energy loss after simulation by GPU.

I think currrent .dill file that we use for getting energy loss is available only CPU calculation. Do you have any idea to get it with GPU calculation.

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee

    Hi,

    We are currently developing an Energy loss model to work internally with EDEM, however this is not completed yet.

    The API model here runs on CPU only:

    EDEM API - Contact Model Example: Energy Loss

    However it has recently been updated to run on GPU. To use you need either the .dll (Windows) or .so (Linux) and the .cu file (for GPU) in the same location as the .dem file, otherwise follow the same instructions to use as in the above post.

    We will update the post with the model shortly.

    This is different to the model which is to be released with EDEM 2025.x (or later) which will have more functionality.

    Regards
    Stephen

  • Sakae
    Sakae Altair Community Member

    Hi, thank you for your quick reply.

    I have tried to use it but it seems not to work.

    Please refer to below. My operation is correct?

  • Stephen Cole
    Stephen Cole
    Altair Employee

    Hi Sakae, It looks like the Linux version was updated but not the windows one. The engineer who updated the model is on vacation and back on Monday, we'll attach the updated version then.

    Regards

    Stephen