yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20833
Re: [Question #683787]: Using ForceEngine to break a single JCFpm bond
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.