yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15157
Re: [Question #643163]: Friction at interface simulation using Yade
Question #643163 on Yade changed:
https://answers.launchpad.net/yade/+question/643163
Status: Answered => Open
Jason Hsin is still having a problem:
Hi Bruno,
Thanks for the answer.
I'm currently just playing around with the simulation and trying to build the code from scratch. However, at the stage of simply creating sphere packed cylindrical volume, without imposing any complicated interaction, the particles seems to fly around with no sign of bonding in between.
Here is the code.
Thanks for the help in advance
=========================
from yade import pack
idParticulate=O.materials.append(CohFrictMat(young=30e9,poisson=0.2,alphaKr=3,alphaKtw=3,density=2700,frictionAngle=0.6))
## construct the predicate first
pred=pack.inCylinder(centerBottom=(0,0,-.05),centerTop=(0,0,.05),radius=.05)
## alternatively: pack.inHyperboloid((0,0,-.1),(0,0,.1),.05,.03)
## pack the predicate with spheres (will be explained later)
spheres=pack.randomDensePack(pred,spheresInCell=2000,radius=3.5e-3)
## add spheres to simulation
O.bodies.append(spheres)
O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom6D()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom6D_FrictPhys_CohesionMoment()]
),
NewtonIntegrator(damping=.2),
]
--
You received this question notification because your team yade-users is
an answer contact for Yade.