A program to recognize and reward our most engaged community members
Does EDEM has help documents for programming? Which lists and explains all python functions.
Hi Qin,
The documentation is installed with EDEM, this link provides details:
https://help.altair.com/edem/topics/using_edem_py/edempy_c.htm
Also lease see the following video for getting started with EDEMpy
https://youtu.be/kaYJ9HnMm2M?feature=shared
and
https://community.altair.com/community/en/edempy-setting-functions-tutorial?id=kb_article_view&sysparm_article=KB0124345
Regards
Stephen
I'm also looking for other two functions: Function to create particles one by one in a user defined position. Function to give particle constant external force like "Force Controller" for geometry. I'll share the py code after it is done for EDEM community. Thanks.
I'm also looking for other two functions:
Function to create particles one by one in a user defined position.
Function to give particle constant external force like "Force Controller" for geometry.
I'll share the py code after it is done for EDEM community.
Thanks.
You could use EDEMpy 'createFactory' function to generate the particles or the API to create a custom factory:
https://community.altair.com/csm/en/edem-api-tutorial-6-debugging-snooker-factory?id=kb_article_view&sysparm_article=KB0115860
For particle force there is a new rigid link capability which you may find useful:
https://help.altair.com/edem/topics/creator_tree_geometries/rigid_link_condition_t.htm
Or consider API particle body force:
https://community.altair.com/csm/en/edem-api-tutorial-4-field-data-coupling?id=kb_article_view&sysparm_article=KB0037692
Hi Qin, The documentation is installed with EDEM, this link provides details: https://help.altair.com/edem/topics/using_edem_py/edempy_c.htm Also lease see the following video for getting started with EDEMpy https://youtu.be/kaYJ9HnMm2M?feature=shared and https://community.altair.com/community/en/edempy-setting-functions-tutorial?id=kb_article_view&sysparm_article=KB0124345 Regards Stephen
Thank you for useful information.
I'm trying to reproduce the Confined Compressive Test and I found no function to generate cylinder geometry in the document. There are cylinder geometry in interface, how should I realize it in py?
I checked the py document, but found no function to generate poly or cylinder geometry, only cubic, where can I find the code?
Thanks
Qin
I checked the py document, but found no function to generate poly or cylinder geometry, only cubic, where can I find the code? Thanks Qin
hi Qin,
The example is for a cube but you can create any shape. In EDEMpy createGeometry you specify the coordinates and the triangles matrix and that geometry will be created as a CAD geometry in EDEM.
You may find it easier to create a simple geometry and when running the simulation replace it from the command line with the following:
https://help.altair.com/edem/topics/appendix/replace_geometry_from_the_command_line_r.htm?
Could you provide the py example code creating a column with 1m diameter and 1.4m height? The help document is hard to understand.