yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20433
Re: [Question #683176]: how to use clump to make a desired shape
Question #683176 on Yade changed:
https://answers.launchpad.net/yade/+question/683176
Status: Needs information => Open
lip gave more information on the question:
> uniform vs. PSD?
i want to use PSD
> create new spheres for it or use existing spheres from larger assemblies?
i want to create new spheres for it
> it is really not clear what you want to do.
what i want to do is that:
first,create a clump such as :
clump1=O.bodies.appendClumped([\
sphere([0,0,1], material=Mat, radius=0.5),\
sphere([0.2,0,1], material=Mat, radius=0.5)\
])
second,create a binary sphere particles system contained both big and small particles,like that:
sp=pack.SpherePack()
sp.makeCloud((0.2,0.2,2),(2.4,2.4,18),psdSizes=[0.1,0.1,0.4,0.4],psdCumm=(0.0,0.8,0.8,1),seed=1,porosity=1)
third, replace the big sphere particles by cerated clump,like that:
for r,c in sp:
if r>0.1:
....#replace the sphere by clump
--
You received this question notification because your team yade-users is
an answer contact for Yade.