← Back to team overview

yade-users team mailing list archive

[Question #280717]: Dense Packing of Normal Distribution in Rectangular Prism

 

New question #280717 on Yade:
https://answers.launchpad.net/yade/+question/280717

I am trying to pack a normal distribution of particles into a rectangular prism. The porosity should be about 0.45, but I don't know how many particles there should be. I have tried using the code below, but I just get smaller particles instead of denser packing. 

rmin = 10e-6
rmax = 150e-6
ravg = (rmin+rmax)/2.0

sp=pack.SpherePack()
sp.makeCloud(minCorner=Vector3(0.,0.,0.),maxCorner=Vector3(5,5,0.6),num=10000,porosity=0.45,psdSizes=[0.01,0.08,0.15],psdCumm=[0,0.5,1])
sp.toSimulation()

I also tried to use randomDensePack(), but I couldn't make a normal distribution. Is there a different method I should be using?

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