Straining rate in PeriTriaxController
Hi all,
I have a question regarding PeriTriaxContro
Now, if I reset the cell transformation by activating the following block in the script ....
#O.cell.
#O.run(1,True)
... with this modification the increments become almost the same.
My questions are:
1) why the same rates produce different strain increments?
2) why resetting the cell transformation changes the increments of strain afterwards?
I really appreciate if you can help me understand what I am doing wrong. This has been bugging me for more than a week now.
Thanks a lot!
-------
from yade import pack,qt
O.periodic=True
O.cell.
sp=pack.
radius=5e-3
num=sp.
O.bodies.
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
PeriTriaxContr
NewtonIntegrat
]
O.dt=PWaveTimeS
while 1:
O.run(1000, True)
unb=unbalance
print 'unbalanced force:',unb,' xx stress=
if unb<1e-3 and abs((-1e4-
break
rate = 1e-5
triax.stressMask=4
O.cell.
triax.maxStrainRate = [rate,rate,0.0]
#triax.growDamping = 0.0
######## to be activated for comparison
#O.cell.
#O.run(1,True)
##############
eps_xx, eps_yy = triax.strain[0], triax.strain[1]
#eps_xx, eps_yy = O.cell.trsf[0,0], O.cell.trsf[1,1]
eps_xy = O.cell.trsf[0,1]
dummy_deps = -1
triax.goal=
nT = 100
O.run(nT,True)
dexx = triax.strain[0] - eps_xx
deyy = triax.strain[1] - eps_yy
dexy = O.cell.trsf[0,1] - eps_xy
print 'dexx=', dexx, ' deyy=',deyy, ' dexy=',dexy
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply: