yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #26104
Re: [Question #698498]: How to use cellRepeat
Question #698498 on Yade changed:
https://answers.launchpad.net/yade/+question/698498
Status: Open => Solved
Leonard confirmed that the question is solved:
Hi,
I made some attempts and seems got how to use cellRepeat.
Below is a MWE.
################
from yade import pack; from math import *
O.periodic=True
sp=pack.SpherePack()
sp.makeCloud((0,0,0),(5,5,5),rMean=.5,rRelFuzz=.5,periodic=True,num=20)
sp.cellRepeat((1,1,3))
## don't forget to put them into simulation by using sp.toSimulation()
sp.toSimulation()
Thanks!
Leonard
--
You received this question notification because your team yade-users is
an answer contact for Yade.