Periodic triaxial test
hello all,
1. How can I control strain in the "PeriTriaxContr
2.Is it possible to add shear on the boundary condition with this engine?
3. another question is that I can not draw diagram of Stress in compaction direction vs strain in compaction direction. what is the problem in your opinion?
my code is:
from yade import utils, plot
from yade import pack, qt
from datetime import datetime
O.periodic=True
O.cell.
O.materials.
nums=['t']
mats=['Coke']
coke=(5e-3,1000)
nums=pack.
nums.makeCloud(
O.bodies.
sigmaIso=-1e5
O.engines=[
ForceReset
InsertionS
Interactio
),
PeriTriaxC
goal=
dynCell=
maxUnbalanced
doneHook=
),
NewtonInte
PyRunner(
]
O.dt=0.
def addPlotData():
plot.addData(
sxx=triax.
exx=triax.
# print 'normal stress', triax.stress[2]
# print 'normal strain', triax.strain[2]
plot.plots=
plot.plot()
def compactionFinis
O.cell.
triax.
triax.stressMask=3
triax.
triax.
triax.
def triaxFinished():
print 'Finished'
O.pause()
The code does not draw "plot.plots=
Best Regards
Alireza
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply: