yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #24483
[Question #694203]: spherepack not under gravity and stays on the bed/base
New question #694203 on Yade:
https://answers.launchpad.net/yade/+question/694203
Dear all,
I am trying to drop the big sphere into the spherepack, but I have a condition that I cannot solve:
1.How to make the spherepack is not under the gravity? so it remains not moving, but when the big sphere has dropped, the spherepack will move/be scattered because of big sphere's weight.
2. Can we make the spherepack stays on the base of facet? because my model is like floating, I already tried to make really really small for the distance from spherepack to base of facet and it does not work.
##SCRIPT
##Define Geometry
O.bodies.append([utils.sphere(center=(.35,-.35,3),radius=.4)])
##Sphere pack in box shape
from yade import pack, timing
O.bodies.append(geom.facetBox((.35,-.35,1.5),(.499,-.499,1.5),wallMask=31))
sp=pack.SpherePack()
sp.makeCloud((-.1,.1,-.009),(.8,-.8,.5),rMean=.03,rRelFuzz=.2,num=2000)
sp.toSimulation()
##Engines and Constitutive Law
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(damping=0.01,gravity=[0,0,-9.81])]
O.dt=PWaveTimeStep()
####################################
What should i do? Thank you for your any suggestions.
Cheers!
--
You received this question notification because your team yade-users is
an answer contact for Yade.