← Back to team overview

yade-users team mailing list archive

Re: [Question #650016]: What is the best way to create a cuboidal box of particles?

 

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

    Status: Answered => Open

Hashir Ahmad is still having a problem:
Here's what I am trying:

pred = pack.inParallelepiped((0,0,0),(4,0,0),(0,2,0),(0,0,2))
sp = pack.randomDensePack(pred,spheresInCell=2000,radius=3.5e-3)
O.bodies.append(sp)

The same code is working for the hyperboloid example given in the
documentation. But not for the parallelepiped. It never goes past the
"No suitable packing in....." message.

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