GPU Factory API

Dazhao Gou_20984
Dazhao Gou_20984 Altair Community Member
edited November 2021 in Community Q&A

Hi EDEM Engineering,

I have simulated the particle breakage using particle replacement, and it works on CPU (using the functions:createParticle and calculateForce). How to transfer it to the GPU API. The tutorial in Script&Model Library only lists the contact model-related GPU API examples. Can I use the GPU API to simulate particle breakage using particle replacement?

Thank you!

 

Regards,

Dazhao

Tagged:

Best Answer

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited November 2021 Answer ✓

    Hi Dazhao,

    The tutorial here - https://community.altair.com/csm?id=kb_article_view&sysparm_article=KB0037689 has the GPU-API version of the particle replacement (breakage) model, the last section of the tutorial doc gives an overview of how the GPU files are implemented.

    Also if you go to your EDEM installation folder API section, for example:

    C:\Program Files\Altair\2021.2\EDEM2021.2\src\Api\Help

     

    And run the index.html this brings up the API help which outlines the relevant functions.

    Regards

    Stephen

     

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited November 2021 Answer ✓

    Hi Dazhao,

    The tutorial here - https://community.altair.com/csm?id=kb_article_view&sysparm_article=KB0037689 has the GPU-API version of the particle replacement (breakage) model, the last section of the tutorial doc gives an overview of how the GPU files are implemented.

    Also if you go to your EDEM installation folder API section, for example:

    C:\Program Files\Altair\2021.2\EDEM2021.2\src\Api\Help

     

    And run the index.html this brings up the API help which outlines the relevant functions.

    Regards

    Stephen