Particle replacment works at EDEM version 2020 but not work for 2021
Hi EDEM Engineer,
I have implemented the particle breakage (based on Breakage model_CCM_2_3_CF_2_1) and work well at version EDEM 2020.3. While when I updated the EDEM version 2021.2 and setting the same as before, all the particles in the current timestep were replaced by predefined small particles. Are some parameters have been revised in the new version API?
By the way, When I go back to version 2020.3, the previous code also did not work at EDEM2020 (the part "CHertzMindlinWithBreakage::setup" didn't run and the particle cannot be replaced by small particles even at very small breakage forces). Are some environments were covered by the new version of EDEM?
Thank you!
Regards,
Dazhao Gou
Best Answer
-
Hi,
Any models compiled with 2020.3 should work with 2021.2 - we should only be adding functionality to the API, not removing it. The fact that it doesn't work with 2020.3 implies there's something wrong with the model, as opposed to anything specifically in EDEM.
All I can suggest is debugging the model as you run it, inserting breakpoints and seeing where the plugin fails. This is the only surefire way of determining where the fault is coming from.
Cheers,
Richard0
Answers
-
Hi,
Any models compiled with 2020.3 should work with 2021.2 - we should only be adding functionality to the API, not removing it. The fact that it doesn't work with 2020.3 implies there's something wrong with the model, as opposed to anything specifically in EDEM.
All I can suggest is debugging the model as you run it, inserting breakpoints and seeing where the plugin fails. This is the only surefire way of determining where the fault is coming from.
Cheers,
Richard0