saving the data after simulation
I am running the following script to perform a certain test (penetration of a sphere into an assembly of other spheres). However, I am facing problems saving the plotted data. My script is as follows:
from yade import pack,plot
import os
pred=pack.
sp=pack.
O.bodies.append(sp)
yade.qt.
idSteel=
hammer=
hammerID=
hammer.
calm()
hammer.
O.engines=
def addPlotData():
Dz=hammer.
Fz=O.
plot.
plot.plots=
plot.plot()
O.dt=0.
O.saveTmp()
O.run()
#plot.saveDataT
print os.path.
The last line is what I have to figure out in order to save the required data. I, however, do not see any data file by the name "representary1" at the mentioned location. The terminal displays the following message:
TCP python prompt on localhost:9003, auth cookie `ssdeyc'
XMLRPC info provider on http://
Running script pentry1.py
No suitable packing in database found, running PERIODIC compression
/usr/lib/
warnings.
/home/zg/
[[ ^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
-----
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Swapnil for more information if necessary.