Dear EDEM experts,
If we have an existing particle packing in a plain ASCII format:
Particle ID radius x y z vx vy vz omega_x omega_y omega_z
1…
2…
How can we import this as an initial packing in EDEM?
Regards,
Hao
Hi Hao,
You may have to write a Custom Factory as an API. You can read in data from a text file (which would be your positions) and then use the Factory API to generate this.
We have a couple of API examples that would be a starting point:
https://community.altair.com/csm?id=kb_article_view&sysparm_article=KB0037689
https://community.altair.com/csm?id=kb_article_view&sysparm_article=KB0115860
However if feasible you can use the Meta Particle functionality, although not directly designed for this it can work quite well for importing data from a text file, as shown in the video here:
Great, thanks Stephen for the quick response, this is exactly what I am searching for.
Best,