← Back to team overview

yade-users team mailing list archive

Re: [Question #635935]: creating a cloud of cuboids

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Jesse,
yes, periodicity might be the reason, but it is difficult to say without the code. Try
for b O.bodies:
   b.state.pos = O.cell.wrapPt(b.state.pos)
before saving

Back to Bruno's answer, I see no problem there. If you first generate
loose packing of spheres, then you can replace each sphere by any
(smaller) shape and will get loose packing of whatever (elongated
cuboids, ellipsoids...).

cheers
Jan

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