← Back to team overview

yade-users team mailing list archive

Re: [Question #683787]: Using ForceEngine to break a single JCFpm bond


Question #683787 on Yade changed:

    Status: Open => Answered

Jan Stránský proposed the following answer:

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


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