← Back to team overview

yade-users team mailing list archive

Re: [Question #685653]: problem about makeClumpCloud()

 

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

    Status: Needs information => Open

Rong Zhao gave more information on the question:
Thank your reply, Robert Caulk.

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 using the following 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()

*******************

But the problem I met is that the packing is not in a  rectangular box,
it is in a square box whose length is 2 in all three directions when I
view it in GUI.

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