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

Hi,

I want to add HarmonicMotionEngine(A=[0,0,0.01],f=[0,0,20.0],ids=Cylinder) when 
the simulation runs to 2 seconds.How can I do it?

Using O.engines += ?

Thanks, 

Feng

###################
Cylinder=O.bodies.append(geom.facetCylinder(center=(0.0,0.0,1),radius=0.18,height=1,wallMask=7,segmentsNumber=20,color=(1,0,0),material='sphere'))

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=0.1), 
    ]

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