Question #655866 on Yade changed:
https://answers.launchpad.net/yade/+question/655866

Swapnil posted a new comment:
Jan, I can now understand the PyRunner better. Thanks :)

However, with the addPlotData(), I still have doubts.

I am typing the code in the yade terminal.

I tried the following:

in first line:  def addPlotData():
     ....:      
yade.plot.addData(t=O.time,i=O.iter,eps=-strainer.strain,sigma=-strainer.avgStress)
     .....

in new line:
O.step()

Upon pressing enter it says:

NameError                                 Traceback (most recent call last)
/usr/bin/yade in <module>()

NameError: name 'addPlotData' is not defined

How do we correct this one in order to execute the process and come up
with the desired stress-strain plot?

-- 
You received this question notification because your team yade-users 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

Reply via email to