← Back to team overview

yade-users team mailing list archive

[Question #245072]: exciting box

 

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

Hello all,
I just try to model a box partially filled with particle and i want to excite this box with a force or with displacement that affect the movement of particle.
As a first step I model a box with one particle but my model don't make the box in movement .
I have no idea where is wrong
Thanks
Best regards 
O.materials.append(FrictMat(young=30e9,density=1000,poisson=.2,frictionAngle=.5))

# create rectangular box from facets
O.bodies.append(utils.geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=63))
O.bodies.append([sphere([0.5,0.5,0.5],.05)])
O.bodies[12].state.vel=(0,0,3)



O.engines=[
   ForceResetter(),
   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
   InteractionLoop(
      # handle sphere+sphere and facet+sphere collisions
      [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()],
      [Ip2_FrictMat_FrictMat_FrictPhys()],
      [Law2_L3Geom_FrictPhys_ElPerfPl()]
   ),
   GravityEngine(gravity=(0,0,-9.81)),
   ForceEngine(ids=[0],force=(10,0,0)),
   ForceEngine(force=(10,0,0),ids=[0]),
   ForceEngine(force=(10,0,0),ids=[1]),
   NewtonIntegrator(damping=0.4),
]
O.dt=.5*utils.PWaveTimeStep()

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.