EDEM crashed at the beginning of simulation after I added API
I tried to add a api about particle body force to EDEM, in this api, I added force for different type of particles, it worked in simple system(such as 1 or 2 or 3 particles), when I added it to a larger simulation, when I clicked run, EDEM crashed, it's hard to figure out what may cause the problem. Can anybody has thoughts or similar problems.
Answers
-
Hi,
The easiest way to diagnose what's going wrong is to debug your API plugin. We've got a tutorial that shows you how to do this that's a good starting point.
https://community.altair.com/community?id=kb_article&sysparm_article=KB0115860
Richard
0 -
Richard Wood_20774 said:
Hi,
The easiest way to diagnose what's going wrong is to debug your API plugin. We've got a tutorial that shows you how to do this that's a good starting point.
https://community.altair.com/community?id=kb_article&sysparm_article=KB0115860
Richard
Thanks, finally I foundd it was because of vs version, I complied with visual studio 2013, EDEM crashed when I click run, then I complied with visual studio 2019, it works well and I got what I want, thank you all the same.
0