Question #251510 on Yade changed: https://answers.launchpad.net/yade/+question/251510
Jan Stránský proposed the following answer: Hi Laura, after you apply the force, you should IMO let the simulation run a bit instead of checking the position right after the force application (as said by others, even without any motion) you can do something like this: O.engines = [...whatever, but defined just once! ] ... applyForceOnSpecificBody() O.run(100,True) checkThisBodyAfterSomeSimulationSteps() is this what you would like to achieve? cheers Jan 2014-07-22 9:22 GMT+02:00 Jérôme Duriez < [email protected]>: > Question #251510 on Yade changed: > https://answers.launchpad.net/yade/+question/251510 > > Jérôme Duriez proposed the following answer: > Side note about your answer #7. It seems to me that you modified your > DetermineForceRequired() (called periodically through PyRunner), > inserting this new § that redefines O.engines > > In case I'm right, this would be in my opinion completely a mess, and > probably not a solution to your problem. See e.g. https://www.yade- > dem.org/doc/user.html#base-engines if the meaning of O.engines is not > completely clear to you. Otherwise you may disregard this answer. In all > cases, focusing on Bruno's suggestion will certainly help. > > -- > You received this question notification because you are a member of > yade-users, which is an answer contact for Yade. > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp > -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

