2D clump in the compression test which the mean stress is constant
Hi all:
I tried to simulate the compression test which the mean stress is constant,
The mean stress remains constant at the beginning,
but as the particles continue to compress,
the mean stress can't remain constant later...
This is my script:
from yade import pack,plot,qt,export
from math import fabs
import numpy as np
O.load(
O.trackEnergy=True
setContactFrict
filename1=
a=np.loadtxt(
for p in O.bodies:
#if isinstance(
p.state.
def servo():
tol=0.01
b=1
sr_x=-.1
sr_y=0.
sr_z=0.
p=-100.
sx_curr=
sy_curr=
# sz_curr=
# sy_req=
# sz_req=
# gz=2*epsilonmax
sry_curr=
srz_curr=
if fabs(sy_
else:
sr_y=sry_curr
O.cell.
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
PyRunner(
NewtonIntegrat
PyRunner(
PyRunner(
]
# plotting
plot.live=True
plot.plots=
# , ' iter':(
# ' iter ':(O.energy.
}
def plotAddData():
plot.addData(
iter=
sxx=utils.
syy=utils.
szz=utils.
exx=O.
eyy=O.
ezz=O.
Z=avgNumInter
Zm=avgNumInte
unbalanced=
t=O.time,
gWork=
# Ep=O.energy[
Edamp=
# Ediss=O.
Ekin=
)
plot.saveDataT
plot.saveDataT
O.run()
#O.cell.
#O.cell.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: