simulation of uniaxial compression test with precracked
Hi:
I want to simulate the closed pre-crack example in paper[1] . In paper[1], the author use two methods to creat the model. And I have some questions about creating pre-crack model. Here is my question:
1. About method 1 "removing the cohesive feature of all interactions located along the flaw surface". Can i do this using 'i.phys.
2.About method 2 "using smooth joint method". I tried using SJM in a uniaxial compression simulation. But there was a problem with the simulation, and particles disappeared when the simulation started. Here is my script:
###########
from yade import ymport, utils, plot,pack
readParamsFromT
intRadius=1.25,
dtSafety=.8,
damping=0.4,
strainRateTens
strainRateComp
setSpeeds=True,
# 1=tension, 2=compression (ANDed; 3=both)
doModes=3,
specimenLength=.1,
specimenRadius
sphereRadius=
# isotropic confinement (should be negative)
isoPrestress=0,
)
#material
sphereMat=
#body
pred = pack.inCylinder
sp=pack.
sp.toSimulation
#uniaxial function
bb=uniaxialTest
negIds,
O.dt=dtSafety*
import gts
# joint
v1 = gts.Vertex(
v2 = gts.Vertex(
v3 = gts.Vertex(
v4 = gts.Vertex(
e1 = gts.Edge(v1,v2)
e2 = gts.Edge(v2,v4)
e3 = gts.Edge(v4,v1)
f1 = gts.Face(e1,e2,e3)
e4 = gts.Edge(v4,v3)
e5 = gts.Edge(v3,v2)
f2 = gts.Face(e2,e4,e5)
s1 = gts.Surface()
s1.add(f1)
s1.add(f2)
facet = gtsSurface2Face
O.bodies.
yade.qt.View()
yade.qt.
O.saveTmp()
# identification of spheres onJoint, and so on:
execfile(
#O.engines
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
UniaxialStrain
PyRunner(
]
#plot stress-strain curve
plot.plots=
plot.plot(
def addPlotData():
yade.plot.
plot.saveDataT
O.timingEnabled
#### manage interaction detection factor during the first timestep and then set default interaction range ((cf. A DEM model for soft and hard rock, Scholtes & Donze, JMPS 2013))
O.step();
### initializes the interaction detection factor
SSgeom.
is2aabb.
#SIMULATION REALLY STARTS HERE
strainer.dead=0
O.run(20000,1)
###########
Thanks for your help
changdong Liu
[1]https:/
doi:10.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Luc Scholtès
- Solved:
- Last query:
- Last reply: