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

Good evening,
I wish to simulate a rotation and the easiest way though was to redefine the 
gravity vector.
However, i tried my hand by defining
a=(0,0,0)


O.engines=[

   ForceResetter(),
   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
   InteractionLoop(
# handle sphere+sphere and facet+sphere collisions
      [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()],
      [Ip2_FrictMat_FrictMat_FrictPhys()],
      [Law2_ScGeom_FrictPhys_CundallStrack()]
   ),
   NewtonIntegrator(gravity=a,damping=0.4),
   PyRunner(command='gravity()',iterPeriod=1)

]



def graviy():
        a=(0,0,1)
        return a



which doesnt really do anything, (and i think i have misunderstood the nature 
of the pyrunner functions alltogether)

Thanks for any help!
Cheers

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to