graphs plotting (?)
Hi there!
I want to get Text result file from my model but I do not know why it is impossible.
Please guide me how can I do that.
Here is my script:
from yade import pack
from math import *
from yade import plot
from yade import qt
vitesse=0.1
cohN=1e5
cohT=1e5
E=70e9
nu=0.5
d=2658
phi=35
rayon_s=0.005
rayon_g=0.05
rayon_boite=
espace=0.0
gravity=0
O.materials.
O.materials.
mn,mx=(
walls=utils.
wallIds=
sp=pack.
O.bodies.append(sp)
def plotAddData():
f = O.forces.f(3)[1]
d = 2*rayon_g
load = f
plot.addData(
dspl = O.bodies[
load = load)
plot.
O.engines=[
ForceResett
InsertionSo
Interaction
),
GlobalStiff
Translation
translation
ids=[3],
label='tl',
velocity=
),
NewtonInteg
PyRunner(
]
O.step()
for i in O.interactions:
i.phys.unp = i.geom.
print len([i for i in O.interactions])
O.dt=utils.
O.usesTimeStepp
yade.qt.
qt.View()
plot.plots = {'dspl': 'load'}
plot.plot()
O.saveTmp()
Best regards
Sam
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sam
- Solved:
- Last query:
- Last reply: