yade-users team mailing list archive
Mailing list archive
Re: [Question #681521]: start an engine at a certain time
Question #681521 on Yade changed:
Status: Open => Answered
Jérôme Duriez proposed the following answer:
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
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 += [HarmonicMotionEngine(A=[0,0,0.01],f=[0,0,20.0],ids=)] # 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
You received this question notification because your team yade-users is
an answer contact for Yade.