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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

O.engines can be accessed/modified (or read/write accessed) at any time
of the simulation, it just depends on the user (to access it whenever
he/she wants).

You just need to follow the rules at https://yade-dem.org/doc/user.html
#base-engines, which is what you do here.

You may check it yourself

O.engines
O.engines += [HarmonicMotionEngine(A=[0,0,0.01],f=[0,0,20.0],ids=[0])] # so 
that you can copy paste this example outside of your script, change the ids 
attribute if you want to tailor it to your particular scrit.....
O.engines # you will see the added engine

Jérôme

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