← Back to team overview

yade-users team mailing list archive

Re: [Question #224056]: One size packing of spheres

 

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

    Status: Answered => Solved

Eugen Kubowsky confirmed that the question is solved:
Hi,
thanks for this!
setting rRelFuz=0 with makeCloud works fine.
Best example script is:
examples/packs.packs.py

There you can find various ways of adding e.g. packs.
I use this one:
    kw={'material':0}
    O.bodies.append(pack.regularHexa (pack.inCylinder((+1,1,+2.5),(0,3,+5),1),radius=.1,gap=0.1,color=(0,1,1),**kw))
This gives you a cylinder filled with equally sized spheres (which are not clumped together. If you want a clumped packing use "appendClumped" instead).
But be careful with setting "gap". If you set it too low, your packing will explode

Maybe this helps somebody else

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.