Can YADE generate specific number of polyhedral particles in a packing?

Asked by Lassakorn Eawsakul

I'm making the simulation of gravity deposition for polyhedral particles to fall into container, I wonder if we can generate a pack of polyhedral particles in specific number (I have min/max size in vector for each size I want to generate)

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

yes.

For example, you can use simple spherical makeCloud and then replace spheres with polyhedral particles

Cheers
Jan

Revision history for this message
Lassakorn Eawsakul (jeteawsakul) said :
#2

Thanks for the answer,

Is there any docs or sources where I can find about how to replacing it

Thanks in advance

Revision history for this message
Jan Stránský (honzik) said :
#3

Simply:
###
sp = SpherePack()
sp.makeCloud(...) # specific number, sizes, ...
for center,radius in sp:
    createPolyhedronAtPositionWithSize(center,2*radius) # your own implementation
###

Cheers
Jan

Can you help with this problem?

Provide an answer of your own, or ask Lassakorn Eawsakul for more information if necessary.

To post a message you must log in.