Parametric studies -Datas problem
Hy Everybody,
I'm a newbie in Yade, for this reason please help me. I would like to make a parametric study of Triaxial test. I would like to change any parameters in the simulations. For this I used the yade batch mode, and everything was good. A little problem for me: I want to make a diagram from normal and shear forces based on the multiple simulations with one script. How can I save specified datas in all simulation than (if all of the simulations done) process these datas.
I hade been testing functions, for and while loops, but these were not good.
def Gravitydepos():
# basic simulation showing sphere falling ball gravity,
# bouncing against another sphere representing the support
# DATA COMPONENTS
# add 2 particles to the simulation
# they the default material (utils.defaultMat)
O.bodies.append([
# fixed: particle's position in space will not change (support)
utils.
# this particles is free, subject to dynamics
utils.
])
# FUNCTIONAL COMPONENTS
# simulation loop -- see presentation for the explanation
O.engines=[
ForceReset
InsertionS
Interactio
),
# apply gravity force to particles
GravityEng
# damping: numerical dissipation of energy
NewtonInte
]
# set timestep to a fraction of the critical timestep
# the fraction is very small, so that the simulation is not too fast
# and the motion can be observed
O.dt=
# save the simulation, so that it can be reloaded later, for experimentation
O.saveTmp()
I can not call this function. please help me! Thanks a lot!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jérôme Duriez
- Solved:
- Last query:
- Last reply: