[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

  • Sakae
    Sakae Altair Community Member

    Hi, could you send me Windows version?

    Thank you for your support

  • Renan
    Renan
    Altair Employee

    Hi Sakae,

    Here's the Windows version of the Energy Loss API

  • Sakae
    Sakae Altair Community Member

    Thank for your support.

    I have tried to use it , then it have worked well.

    But I wonder the result with my past calcuration by CPU and my

    new calculation by GPU is totally different. Why it happend, is there any idea?