yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09908
Re: [Question #252203]: is it possible to manually modify interaction forces using PyRunner?
Question #252203 on Yade changed:
https://answers.launchpad.net/yade/+question/252203
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Hello,
The problem is that NewtonIntegrator moves bodies according to sum of
forces/torques, wich is another variable than the (sum of) contact
forces.
In correctly written contact laws (all in Yade !) these two kind of
variables are consistently dealt at the same time. But, if you want to
do the job yourself, you'll have to take care of both tasks. So, you
have also (*) to modify O.forces.f/t(idOfTheBody). See https://www.yade-
dem.org/doc/yade.wrapper.html#forcecontainer
Jérôme
(*) In fact, for such tricks, modifying the interaction force is no more
necessary. It is enough to modify O.forces.f
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.