yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #21187
[Question #685653]: problem about makeClumpCloud()
New question #685653 on Yade:
https://answers.launchpad.net/yade/+question/685653
Hi Yade developers & users,
The version of Yade I installed is the 2018.02b version. I'd like to generate the initial packing of the cloud of clumps in a rectangular box whose length is 2 in the x-direction, height is 4 in the y-direction and width is 2 in the z-direction. But it seems to don't work once the O.periodic=True is uncommented in the following codes because the box is a square box in 3d view.
Here are the codes:
# O.periodic=True
sp=pack.SpherePack()
c1=pack.SpherePack([((0,0,0),.03333),((.03,0,0),.017),((0,.03,0),.017)])
sp.makeClumpCloud((0,0,0),(2,4,2),[c1],periodic=True,num=500)
sp.toSimulation()
Thank you.
--
You received this question notification because your team yade-users is
an answer contact for Yade.