period triaxial test and apply shear stress
Hello, everyone, my program runs out of some problems, I want to consult.
My code is divided into three parts, generate particles in the packing,consolidate the packing to reach the required confining pressure,shear the packing to have the required initial shear stress, respectively.
When I applied the shear stress in the third part of the code , I applied the shear speed O.cell.
I don't know why.
Here is my code
#######
### generate particles in the packing ###
#######
from yade import plot
from yade import pack,qt
O.periodic=True
O.cell.
radius=0.4e-3
O.materials.
sp=pack.
sp.makeCloud(
O.bodies.
V_sphere=
V_cell=
print 'void ratio:'
O.save(
qt.View()
#######
### consolidate the packing to reach the required confining pressure ###
#######
from yade import plot,qt
from yade.pack import *
O=Omega()
O.load(
radius=0.4e-3
for b in O.bodies:
b.mat.
V_sphere=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
PeriTriaxContr
NewtonIntegrat
]
def triaxDone():
print 'Here we are: stress'
O.pause()
O.dt=0.
O.run()
O.wait()
for b in O.bodies:
b.mat.
for i in O.interactions:
i.phys.
O.engines[
O.engines[
O.engines[
for i in O.interactions:
un=i.
i.phys.unMax=un
O.save(
#######
### shear the packing to have the required initial shear stress ###"
#######
from yade.pack import *
O=Omega()
O.load(
O.engines=
O.engines[
O.engines[
O.run(1,True)
V_sphere=
Pn=10000
cycle=0
g0=O.cell.
def triaxDone():
print 'Here we are: stress'
O.pause()
O.cell.
O.dt=utils.
time=0
count=0
count1=0
zero=1
stop=0
while 1:
#O.run(
O.run(100,True)
count=count+1
count1=count1+1
gamma=
stress=
sigmazx=
sigmazz=
if abs(sigmazx)>26:
count=0
count1=0
O.cell.
O.save(
break
print 'Speed:
Thanks for your help
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: