yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #11775
Re: [Question #270991]: Packing in a predicate excluding the volume already occupied by spheres
Question #270991 on Yade changed:
https://answers.launchpad.net/yade/+question/270991
behzad posted a new comment:
Jan:
Thanks I'll try it.
Bruno:
That's how I generate my clumps cloud:
for i in range(len(temps3050)):
temps3050[i]=pack.SpherePack()
temps3050[i].makeCloud((-0.0045,-0.0045,0.0002),(0.0045,0.0045,0.0019),rMean=coke3050[i][0],rRelFuzz=0.0,num=coke3050[i][1])
O.bodies.append([utils.sphere(c,r, material='coke') for c,r in temps3050[i]])
O.bodies.replaceByClumps(temps_3050[i],[1.0])
Then, I generate the sphere packing (in this case a regular packing) by:
sp=pack.SpherePack()
pred=pack.inAlignedBox((-0.006,-0.006,0),(0.006,0.006,0.002))
O.bodies.append(pack.regularOrtho(pred,radius=8e-5,gap=1e-8, material='coke'))
Then, how can I use the command fromSimulation()?
Cheers,
Behzad
--
You received this question notification because your team yade-users is
an answer contact for Yade.