Question about chose contact model
Hi,
Now I have two types of particles like particleA and particleB, the contact model between particleA-particleA is Edinburgh elasto-plastic adhesion model, but for particleA-particleB and particleB-particleB I want to add an API by myself with no based model, but in the setting of Edinburgh elasto-plastic adhesion model, if I don't add the parameters between particleA-particleB or particleB-particleB, EDEM cannot run with error of missing parameters.
Can I solve this problem?
I tried to solve it by setting the parameters in Edinburgh elasto-plastic adhesion model as 0, but it was still different with no base model.
Regards!
Raheem
Answers
-
Hi Raheem,
There are a couple of options, in one case you would have to customise the EEPA model using the API to tell it to ignore specific combinations, to do this you would need the source code for the model in which case it's best to contact the author - https://www.eng.ed.ac.uk/about/people/dr-john-morrissey
Otherwise you can chain contact models (so long as you are using the latest version of the API). If the EEPA model is set to run first you can input any parameters for particleA-particleB and particleB-particleB and then the EEPA model will pass down the forces it calculates for this combination. You can then just overwrite the calculated forces and add your own.
contactResults.normalForce = MyValue;
The above would overwrite normal force calculated so long as your model was second in the chain. Using += would add to any previously calculated forces.
RegardsStephen
0 -
Stephen Cole_21117 said:
Hi Raheem,
There are a couple of options, in one case you would have to customise the EEPA model using the API to tell it to ignore specific combinations, to do this you would need the source code for the model in which case it's best to contact the author - https://www.eng.ed.ac.uk/about/people/dr-john-morrissey
Otherwise you can chain contact models (so long as you are using the latest version of the API). If the EEPA model is set to run first you can input any parameters for particleA-particleB and particleB-particleB and then the EEPA model will pass down the forces it calculates for this combination. You can then just overwrite the calculated forces and add your own.
contactResults.normalForce = MyValue;
The above would overwrite normal force calculated so long as your model was second in the chain. Using += would add to any previously calculated forces.
RegardsStephen
Hi,
Thanks, I would try to chain contact models, now I am using the EDEM2021, will it work for this version if I change the order? Or only works at the EDEM2022?
Reagrd!
Raheem
0