← Back to team overview

yade-users team mailing list archive

Re: Python force - plot

 

> 1) How do I apply a force (not the gravity) to the bodies? Which
> engine should I call?
ForceEngine:

https://www.yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.ForceEngine

> 2) I get this error using the PeriodicPythonRunner engine to create
> some plots:
> 
> NameError: name 'myAddPlotData' is not defined
That is weird... you have O.run(...) before def myAddPlotData():, right?





Follow ups

References