← Back to team overview

yade-users team mailing list archive

Re: [Question #704065]: particle size distribution

 

Question #704065 on Yade changed:
https://answers.launchpad.net/yade/+question/704065

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

in this case of bimodal distribution, you an simply use makeCloud twice (on same SpherePack (!!)):
### MWE
from yade import pack
num1 = 50
num2 = 100
sp = pack.SpherePack() # one sphere pack (!)
mi, ma = (0,0,0), (30,30,30)
sp.makeCloud(mi,ma,1,num=num1)
sp.makeCloud(mi,ma,2,num=num2)
sp.toSimulation()
###

change num1 and num2 to values satisfying your 20% / 80% (mass? volume?
number? ... ?)

Cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.