← Back to team overview

yade-users team mailing list archive

[Question #678637]: spheres pass through cylinder

 

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

hi every one ,
i have two questions :
1_ i wrote a script of falling spheres into cylinder , the problem is that the spheres pass through it (like it doesn't exist ) 
why it doesn't work ? 
2_ there's command in yade to make spheres semi-transparent ?

the script is :
from yade import pack

density=2500
young=70000
r=.5
constant_damping=0.01

#material of cylinder
Mat1 = O.materials.append(ViscElMat(kn=10.0e4,ks=10.0e4,frictionAngle=0.455,density=2650.0))

#material of spheres
Mat2 = O.materials.append(CohFrictMat(poisson=.22,young=young,density=density))

# create sphere packing
sp=pack.SpherePack()
sp.makeCloud((-7.2,-7.2,18.),(7.2,7.2,82.9),rMean=r,rRelFuzz=0,num=6000,seed=1)
sp.toSimulation(color=(0,1,0),material=Mat2)

# create Cylinder 
Cylinder=O.bodies.append(geom.facetCylinder((0,0,30.),10.0,height=60.0,wallMask=6,segmentsNumber=64,material=Mat1))

# interactions 
O.engines=[
    ForceResetter(),
    InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
    InteractionLoop(
      
        [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()],
        [Ip2_FrictMat_FrictMat_FrictPhys()],
        [Law2_ScGeom_FrictPhys_CundallStrack()]
    ),
    NewtonIntegrator(gravity=(0,0,-9.81),damping=constant_damping),
    
 ]
O.dt=PwaveTimeStep()


thanks in advance 

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