🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

The API of electrostatic force between particles or particle and wall

User: "Alice Sun"
Altair Community Member
Updated by Alice Sun

I want to write an API for electrostatic force between particles or particle and wall. 

Do I choose to use the contact model or particle body force model?

Besides, can I get a related API or simialr one to help me writing it?

Thank you very much

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "RWood"
    Altair Employee
    Accepted Answer
    Updated by RWood

    Hi,

    If you want to recreate the Electrostatics model as a plugin, exactly as it is in EDEM, you can't. The Electrostatics in EDEM uses a screening method that is not exposed to the API.

    However, if you wanted to implement something similar, then you would do this through a contact model and possibly a body force on top. The contact model is essential though as you need to determine the nearest neighbours, which you would do through using a contact radius > physical radius. Without the screening method we use for the in-built model though you might have to have a very large contact radius to capture all the nearest neighbours, which can get expensive if you have a lot of contacts.

    Cheers,
    Richard