ViscEl Contact Modell
Hallo All,
I ahve the Problem when i use the [Ip2_ViscElMat_
[
Running script Rahmenscher82a.py
WARN /home/wuxin/
ERROR /home/wuxin/
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
The Scripe ist :
# gravity deposition, continuing with oedometric test after stabilization
# shows also how to run parametric studies with yade-batch
#######
from yade import utils
from numpy import linspace
from numpy import arange
import gts
import itertools
from yade import pack
#######
# The components of the batch are:
# 1. table with parameters, one set of parameters per line (ccc.table)
# 2. utils.readParam
# 3. the simulation muse be run using yade-batch, not yade
#
# $ yade-batch --job-threads=1 03-oedometric-
#
rMean=.0096
rRelFuzz=.0016
maxLoad=4500
#minLoad=500
frictionAngleSt
frictionAngleBo
tc = 0.001
en = 0.3
es = 0.3
a=0.05
#id_SphereMat=
#id_WallMat=
id_SphereMat=
id_WallMat=
steel=O.
spheremat=
# load parameters from file if run in batch
# default values are used if not run from batch
#utils.
# make rMean, rRelFuzz, maxLoad accessible directly as variables later
#from yade.params.table import *
# create box with free top, and ceate loose packing inside the box
from yade import pack, plot,qt
fIDSI=O.
fIDSII=
sp=pack.
sp.makeCloud(
sp.toSimulation
O.engines=[
ForceResetter(),
# sphere, facet, wall
InsertionSor
InteractionLoop(
# the loading plate is a wall, we need to handle sphere+sphere, sphere+facet, sphere+wall
[
[
[
),
GravityEngin
NewtonIntegr
# the label creates an automatic variable referring to this engine
# we use it below to change its attributes from the functions called
qt.SnapshotE
PyRunner(
TranslationE
]
O.dt=.25*
#Transl.
#qt.Controller()
#qt.View()
# the following checkUnbalanced, unloadPlate and stopUnloading functions are all called by the 'checker'
# (the last engine) one after another; this sequence defines progression of different stages of the
# simulation, as each of the functions, when the condition is satisfied, updates 'checker' to call
# the next function when it is run from within the simulation next time
def AngVel():
for b in O.bodies:
if isinstance(
# check whether the gravity deposition has already finished
# if so, add wall on the top of the packing and start the oedometric test
# besides unbalanced force evolution, also plot the displacement-force diagram
plot.plots=
plot.plot()
#######
#O.saveTmp()
qt.Controller()
qt.View()
r=qt.Renderer()
#r.lightPos=
#######
O.run()
# when running with yade-batch, the script must not finish until the simulation is done fully
# this command will wait for that (has no influence in the non-batch mode)
utils.waitIfBatch()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Xin Wu
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Xin Wu