Can edemAPI achieve geometry that only comes into contact with one type of particle, but not with other particles?

bigshow
bigshow Altair Community Member
edited April 9 in Community Q&A
Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited April 8

    Hi Xixihaha,

     

    You can ignore the contacts from specified particle types.  All particle - geometry contacts are detected however you do get given the particle name.  You can write a model to apply zero force to those particle types.  

    In the recent versions of the API the forces are chained, so if you have a model at the end of the chain which overwrites and sets the force to =0 then this will overwrite the forces calculatedfrom other models in the chain and just return 0.

     

    There is a similar example here EDEM API - Contact Model Example: Removing Particles

     

     

    Regards

    Stephen

  • bigshow
    bigshow Altair Community Member
    edited April 9

    Hi Xixihaha,

     

    You can ignore the contacts from specified particle types.  All particle - geometry contacts are detected however you do get given the particle name.  You can write a model to apply zero force to those particle types.  

    In the recent versions of the API the forces are chained, so if you have a model at the end of the chain which overwrites and sets the force to =0 then this will overwrite the forces calculatedfrom other models in the chain and just return 0.

     

    There is a similar example here EDEM API - Contact Model Example: Removing Particles

     

     

    Regards

    Stephen

    thank you very much