Is there any EDEM mpy function directory?
Does EDEM has help documents for programming? Which lists and explains all python functions.
Best Answers
-
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
Regards
Stephen
1 -
Qin He said:
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.
Hi Qin,
You could use EDEMpy 'createFactory' function to generate the particles or the API to create a custom factory:
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:
Regards
Stephen
1
Answers
-
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
Regards
Stephen
1 -
Stephen Cole_21117 said:
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
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?
0 -
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.
0 -
Qin He said:
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.
Hi Qin,
You could use EDEMpy 'createFactory' function to generate the particles or the API to create a custom factory:
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:
Regards
Stephen
1 -
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
0 -
Qin He said:
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?
Regards
Stephen
0 -
Could you provide the py example code creating a column with 1m diameter and 1.4m height? The help document is hard to understand.
0