how to generate binary particle system

Asked by lip

hello
i want to genetate a particle system with particle of two different size,one large and one samll, is there any function in yade can achieve that? if not,can you give me some adivice?
look forward for your answer

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
Jérôme Duriez (jduriez) said :
#1

Hi,

Obviously there is.

sp = SpherePack()
sp.makeCloud(maxCorner=(1,1,1),psdSizes=(0.1,0.1,0.2,0.2),psdCumm=(0,0.50,0.50,1)) # https://yade-dem.org/doc/yade.pack.html?highlight=psd#yade._packSpheres.SpherePack.makeCloud
sp.toSimulation()

Can you help with this problem?

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

To post a message you must log in.