confused by UniaxialStrainer's parameters and uniaxial compression test
Dear all,
As a beginner of Yade,I want to start with the uniaxial compression test.I refer to the code of many people on the forum.
When I run the following code, no matter how to modify the parameters of UniaxialStrainer(), I can't get the ideal stress-strain curve.The problems are as follows:
1.When the following code is run, the strain increases and the stress remains constant after an instantaneous increase.
2.When I changed the parameter asymmetry of uniaxialstrain() to 1, the cylinder was scattered from below, which puzzled me.
3.In the above process, I am also puzzled by the positive and negative values of stress and strain.In my understanding, when strainrate is set to a negative value, the stress and strain are both compressive, then both are negative. But the actual situation doesn't seem to be like this. I don't know if I understand it right.
Can anyone help me? Thanks!!
#######code####
from yade import pack,qt,plot
sphere_radius=2e-3
normalCohesion=1e9
shearCohesion=1e9
RollingStiffness=1
material_
sp=pack.
sp.toSimulation
for b in O.bodies:
b.shape.
factor=1.5
damping=0.4
strainRate_
renderer=
renderer.
bb=uniaxialTest
negIds,
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
PyRunner(
PyRunner(
]
O.dt=0
O.step()
bo1s.aabbEnlarg
ig2ss.interacti
O.dt=0.
for i in O.interactions:
i.phys.
O.engines=
dim=utils.
if strainRate_
layerSize=.05
height=
for b in O.bodies:
if isinstance(
if(b.
b.shape.
for i in O.interactions:
if isinstance(
if O.bodies[
i.phys.
i.phys.
def addPlotData():
plot.addData(
def stopIfDamaged():
if O.iter<2 or 'sigma' not in plot.data : return
sigma=
extremum=
if extremum==0 : return
if abs(sigma[
print('damaged')
O.pause()
plot.plots=
plot.plot()
O.saveTmp()
Thank you for your help!!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ziyu Wang
- Solved:
- Last query:
- Last reply: