negative volume for an ordinary pore, stack smashing detected
Hello,
I'm trying to duplicate the hydraulic fracturing process in Papachristos et al., 2017[1]. As a very newbie of Yade, I just start from the existing example. The fractured rock is modified from example/
negative volume for an ordinary pore (temp warning, should still be safe)
negative volume for an ordinary pore (temp warning, should still be safe)
negative volume for an ordinary pore (temp warning, should still be safe)
negative volume for an ordinary pore (temp warning, should still be safe)
negative volume for an ordinary pore (temp warning, should still be safe)
negative volume for an ordinary pore (temp warning, should still be safe)
negative volume for an ordinary pore (temp warning, should still be safe)
*** stack smashing detected ***: <unknown> terminated
Aborted (core dumped)
I searched around the forum, even though there were similar questions posted before, but I have no luck finding a effective solution for me. Here is the script (the parallellepiped
=======
from __future__ import print_function
O=Omega()
from yade import plot, pack,utils,ymport
#### controling parameters
packing=
smoothContact=True
jointFrict=
jointDil=radians(0)
output=
maxIter=10000
#### Import of the sphere assembly
def sphereMat(): return JCFpmMat(
print("\n In case of errors please look at README about generating parallellepiped
O.bodies.
## preprocessing to get dimensions of the packing
dim=utils.
dim=utils.
xinf=dim[0][0]
xsup=dim[1][0]
X=xsup-xinf
yinf=dim[0][1]
ysup=dim[1][1]
Y=ysup-yinf
zinf=dim[0][2]
zsup=dim[1][2]
Z=zsup-zinf
## preprocessing to get spheres dimensions
R=0
Rmax=0
numSpheres=0.
for o in O.bodies:
if isinstance(
numSpheres+=1
R+=o.
if o.shape.
Rmax=
Rmean=R/numSpheres
inFile=
for line in inFile:
if '#' in line : continue
id = int(line.
onJ = int(line.
nj = int(line.
j11 = float(line.
j12 = float(line.
j13 = float(line.
j21 = float(line.
j22 = float(line.
j23 = float(line.
j31 = float(line.
j32 = float(line.
j33 = float(line.
O.bodies[
O.bodies[
O.bodies[
O.bodies[
O.bodies[
inFile.close
#### joint strength degradation
for i in O.interactions:
if i.phys.isOnJoint :
if i.phys.isCohesive:
i.phys.
i.phys.FnMax=0.
i.phys.FsMax=0.
newton=
interactionRadi
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
FlowEngine(
GlobalStiffnes
newton,
]
from yade import qt
v=qt.Controller()
v=qt.View()
flow.dead=0
flow.defToleran
flow.meshUpdate
flow.useSolver=3
flow.permeabili
flow.viscosity=1
flow.boundaryUs
flow.fluidBulkM
flow.fluidRho=1000
O.dt=0.1e-4
O.dynDt=False
flow.updateTria
flow.bndCondIsP
flow.bndCondVal
flow.imposeFlux
O.run(1,1)
=======
Can anyone help me with this? Or any tips or tricks.
Thank you
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jiannan Wang
- Solved:
- Last query:
- Last reply: