Question #694203 on Yade changed:
https://answers.launchpad.net/yade/+question/694203

    Status: Answered => Open

Dennis Defri is still having a problem:
Thank you Bruno for the help, but I cannot modify it well, could you help me 
which part?
I did like this, but the spherepack is going up pushing the big sphere.

And actually can we put the spherepack on the bottom of facet? not
floating.

##SCRIPT

##Define Geometry
weight=100
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,0])]

O.dt=PWaveTimeStep()

O.save('/tmp/d.xml.bz2')

-- 
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

Reply via email to