← Back to team overview

yade-users team mailing list archive

Re: [Question #655866]: Rel. to Uniaxial test

 

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

Swapnil posted a new comment:
Thanks Jan, I tried this. As follows:

zg@ZG-Yade ~ $ cd scriptf
zg@ZG-Yade ~/scriptf $ yade script1.py
Welcome to Yade 1.20.0 
TCP python prompt on localhost:9001, auth cookie `uskyea'
XMLRPC info provider on http://localhost:21001
Running script script1.py
Traceback (most recent call last):
  File "/usr/bin/yade", line 182, in runScript
    execfile(script,globals())
  File "script1.py", line 12
    yade.plot.addData(t=O.time,i=O.iter,eps=-strainer.strain,sigma=-strainer.avgStress)
       ^
IndentationError: expected an indented block
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]]
[0;34mYade [[1;34m1[0;34m]: [0m
-------
I do not see anything in the simulation window as well. What mistake am I making?

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.