EDEM API: Custom contact model to change particle properties
Bharath Rangavittal
Altair Community Member
Answers
-
Hi,
Short version, no. There's no way around making those const values non-const, meaning there's no way to modify the Young's modulus value that is coming from EDEM.
The way around this is to make your own Young's modulus variable and replace all occurrences of EDEM's Young's modulus inside an API plugin of whatever contact model you want to use.
For example, if you are using the Hertz Mindlin, you can start from the API version of the model here:
https://community.altair.com/community?id=kb_article&sysparm_article=KB0113635
and adjust with your own custom Young's modulus variable.
Cheers,
Richard
1