← Back to team overview

yade-users team mailing list archive

[Question #681518]: makecloud in Cylinder

 

New question #681518 on Yade:
https://answers.launchpad.net/yade/+question/681518

Hi,

 I want to generate particles in a cylinder.My method is 

#################
Cylinder=O.bodies.append(geom.facetCylinder(center=(0.0,0.0,0.0),radius=0.18,height=1,wallMask=7,color=(1,0,0)))
sp=SpherePack()
sp.makeCloud(minCorner=(-0.2,-0.2,-0.1),maxCorner=(0.2,0.2,0.2),rMean=.0045,periodic=False)
sp.toSimulation()
#################

Then the particles settle down.But I think its not perfect.

Is there any way I can fill this cylinder directly when I generate particles.

Thanks,

James

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