how to record the force applied on the plate
Hello everyone:
I am a new user for yade. I did some changes according to the oedometric test example [1] and trying to simulate a simple soil cutting process with a plate moving in horizontal direction. However, I met one problem that I cannot record the force acted on the plate. Did anyone know how to solve that? It's really confused me a lot. The following is the code:
readParamsFromT
from yade.params.table import *
from yade import pack, plot
O.bodies.
sp=pack.
sp.makeCloud(
sp.toSimulation()
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
NewtonIntegr
PyRunner(
]
O.dt=.5*
def checkUnbalanced():
if O.iter<5000: return
if unbalancedForce
O.bodies.
global plate
plate=
plate.
O.engines=
checker.
def unloadPlate():
if abs(O.forces.
plate.
checker.
def stopUnloading():
if abs(O.forces.
plot.
O.pause()
def addPlotData():
if not isinstance(
plot.
F=O.
plot.
plot.plots=
plot.plot()
O.run()
waitIfBatch()
Also, I would like to konw how to add a rectangle rigid plate boundary which I can define the size rather than a triangle.
Thank you so much and wish have a good day!
REgards.
Ting
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- mohsen
- Solved:
- Last query:
- Last reply: