batch-table
Dear all,
When I practice using the batch-table in bouncing sphere script, the data file is empty. The modified script is as follows:
#
readParamsFromT
from yade.params import table
from yade import plot
O.bodies.append([
# fixed: particle's position in space will not change (support)
sphere(
# this particles is free, subject to dynamics
sphere(
])
sphere1=
z=sphere1.
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
# Apply gravity force to particles. damping: numerical dissipation of energy.
NewtonIntegrat
PyRunner(
PyRunner(
]
O.dt=.5e-
O.trackEnergy=True
def checkUnbalanced():
if unbalancedForce
O.pause()
plot.
def addPlotData():
plot.plots=
plot.plot()
O.run()
waitIfBatch()
O.saveTmp()
#
After running the script, the error information is as follows,
#
Using python version: 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0]
Will run simulation(s) ['1batch.py'] using `/usr/bin/yade', nice value 10, using max 1 cores.
Will use table `params.txt', with available lines 2, 3, 4.
Will use lines 2 (damping=.6), 3 (damping=.4), 4 (damping=.2).
Master process pid 63773
Job summary:
#0 (damping=.6): YADE_BATCH=
#1 (damping=.4): YADE_BATCH=
#2 (damping=.2): YADE_BATCH=
http://
#0 (damping=.6) started on Tue Jul 14 17:14:35 2020
#0 (damping=.6) FAILED (exit status 34304), duration 00:00:13, log 1batch.
#1 (damping=.4) started on Tue Jul 14 17:14:48 2020
#1 (damping=.4) FAILED (exit status 34304), duration 00:00:15, log 1batch.
#2 (damping=.2) started on Tue Jul 14 17:15:04 2020
#2 (damping=.2) FAILED (exit status 34304), duration 00:00:27, log 1batch.
All jobs finished, total time 00:00:57
Log files: 1batch.
Bye.
#
Could you tell me where is wrong in the script and how to deal with it?
Thanks a lot!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: