← Back to team overview

yade-users team mailing list archive

Re: [Question #685082]: errors in plot, print, save file, micro data, time step, 3D show

 

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

    Status: Answered => Open

ehsan benabbas is still having a problem:
Hi Jan and thank you for your help.

1- problem solved

2- the output is: 
(I add these lines to O.engines: 
VTKRecorder(fileName='3d-vtk-',recorders=['all'],iterPeriod=1000),
qt.SnapshotEngine(fileBase='3d-',iterPeriod=200,label='snapshot'),
PyRunner(command='finish()',iterPeriod=20000)
PyRunner(command='checkUnbalanced()',realPeriod=2),)

ehsan@ehsan:~/Desktop/mycodes/test$ /home/ehsan/yade/install/bin/yade-2019-08-08.git-775ae74 test.py
Welcome to Yade 2019-08-08.git-775ae74 
Using python version: 3.6.8 (default, Oct  7 2019, 12:59:55) 
[GCC 8.3.0]
TCP python prompt on localhost:9000, auth cookie `skydue'
XMLRPC info provider on http://localhost:21000
Running script test.py
Traceback (most recent call last):
  File "/home/ehsan/yade/install/bin/yade-2019-08-08.git-775ae74", line 336, in runScript
    execfile(script,globals())
  File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 81, in execfile
    code = compile(source, filename, "exec")
  File "test.py", line 43
    VTKRecorder(fileName='3d-vtk-',recorders=['all'],iterPeriod=1000),
              ^
SyntaxError: invalid syntax
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]

In [1]: <WARNING> InsertionSortCollider:261 virtual void InsertionSortCollider::action(): verletDist is set to 0 because no spheres were found. It will result in suboptimal performances, consider setting a positive verletDist in your script.
<WARNING> Shop:445 static Real Shop::PWaveTimeStep(boost::shared_ptr<Scene>): PWaveTimeStep has not found any suitable spherical body to calculate dt. dt is set to 1.0

3- lets say I want all forces . I want to plot the data and even save
the data on a file.

4- problem is solved

5-  problem solved

6- I will work on this "TriaxialStressController" and ask if I have any
questions.

Thank you again for your valuable helps.

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