New question #682172 on Yade: https://answers.launchpad.net/yade/+question/682172
Hi, I generated some spheres in a cylinder.The following script shows how I generated them. ################################## #material sphere1=O.materials.append(FrictMat(young=6e5,poisson=0.3,density=2460,frictionAngle=float(atan(0.3)),label='sphere1')) #Cylinder drumradius=0.071 drumheight=0.005 Cylinder=O.bodies.append(geom.facetCylinder(center=(drumheight/2,drumradius*1.5,drumradius*1.5),radius=drumradius,height=drumheight*2,wallMask=4,orientation=Quaternion(Vector3(0,1,0),(pi/2.0)),segmentsNumber=24,color=(1,0,0),material='sphere1')) #spheres pred1 = pack.inCylinder((-drumheight/2,drumradius*1.5,drumradius*1.5),drumheight/2,drumradius*1.5,drumradius*1.5),drumradius*0.8) sphs1 = pack.randomDensePack(pred1,radius=0.0006,material=sphere1,spheresInCell=3000) O.bodies.append(sphs1) But after running,some spheres fly out of the boundry.Maybe: 1.young=6e5 is too small 2.My O.dt=1*PWaveTimeStep() is too big I don't want to increase young and decrease O.dt,because it will increase the simulation time. How about making the wall of the cylinder a little thicker to keep out the particles inside? Thanks, James -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

