← Back to team overview

yade-users team mailing list archive

Re: [Question #688846]: How to pack sphere full box ?

 

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

veerawat posted a new comment:
sorry for  my English sir. it's hard for me. i try the best. so i made a
box by this code

O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=63))

and then i made a particle sphere of sand by this code

O.materials.append(FrictMat(density=1000,young=1e4,poisson=0.3,frictionAngle=radians(30),label='sphereMat'))

# sphere packing is not equivalent to particles in simulation, it contains only the pure geometry
sp=pack.SpherePack()
# generate randomly spheres with uniform radius distribution
O.materials.append(FrictMat(density=1000,young=1e4,poisson=0.3,frictionAngle=radians(30),label='sphereMat'))

sp.makeCloud((0,0,0),(1,1,1),rMean=.03,rRelFuzz=.01,num=10000,seed=10000)
# add the sphere pack to the simulation
sp.toSimulation()

So when i play it .particle in the box are not full . what should i
change ? what is it wrong ?

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