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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi,

a few minor notes:

> PyRunner(command='fEngine.force[1]+=10',realPeriod=1,initRun=True),
> PyRunner(command='recorder()',realPeriod=1,initRun=True),

use iterPeriod or virtPeriod

> O.run()

use something like O.run(1000,True)

> The engineForce has no effect on the system... :/

the most important thing: put ForceEngine before NewtonIntegrator

cheers
Jan

[1] https://yade-dev.gitlab.io/trunk/user.html#base-engines, "if it
apply force, it should come before NewtonIntegrator ..."

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