corrupted double-linked list
Hi all,
I am running my Yade model. when the Yade model is small (8000 particles), the code works well. But when the same model has 1000000 particles, I get the following error:
corrupted double-linked list
Aborted (core dumped)
Can anyone help me understand why I get this error? The model compiles well, but when the first iteration is solved, the error appears.
Thank you for your help.
MY CODE:
#MATERIAL PROPERTIES
intR = 0.20 #connectivity parameter
DENS = 2500.00 #Density (kg/mm^3)
YOUNG = 1800.00 #Young's modulus (N/mm^2)
FRICT = 18.00 #Friction angle (degrees)
ALPHA = 0.20 #Poisson's ratio
TENS = 100.00 #Tensile strength (N/mm^2)
COH = 1000.00 #Shear strength (N/mm^2)
mn,mx=Vector3(
#CREATING NODES
with open('Nodes.txt') as f:
Nodes = [[float(x) for x in line.split()] for line in f]
O.materials.
walls=aabbWalls
wallIds=
# PARTICLES
for i in range(1000000):
if Nodes[i][3] == 1:
O.bodies.
else:
O.bodies.
nbSpheres = 1000000.00
# PRINTING
from yade import plot
from pprint import pprint
# SIMULATION LOOP
O.engines=[
ForceResett
InsertionSo
Interaction
),
GlobalStiff
DFNFlowEngi
NewtonInteg
PyRunner(
PyRunner(
]
#WRITTING RESULTS
number = 0
def Writting():
global number
number = number + 1
f= open("Info%d.txt" %(number),"w+")
f.write("%5.10f \n" % (O.time))
f.write("%5.10f \n" % (flow.getPorePr
for i in range (20000):
f.write("%5.10f \n" % (SaveDataNodes[
f.close()
def history():
plot.
#Apply Qin (volume flow rate) in the center of the model.
flow.dead = 0
flow.defToleran
flow.meshUpdate
flow.useSolver=3
flow.permeabili
flow.viscosity=10
flow.bndCondIsP
flow.bndCondVal
flow.boundaryUs
O.dt= 0.0010000000
O.dynDt=False
ti = O.time
O.engines=
O.engines=
def Pumping():
if O.time<(ti+0.2):
flow.
else:
flow.
def BreakingBonds():
global Bonds0
CurrentBonds = 0
for ii in O.interactions:
CurrentBonds+=1
if Bonds0 > CurrentBonds:
Bonds0 = CurrentBonds
print(
print(O.time)
Writting()
#PLOTTING
plot.plots=
plot.plot()
#CREATING CONNECTIVITY
with open('Connectiv
Connectivity = [[int(x) for x in line.split()] for line in f]
#CREATING INTERACTIONS
for i in range(5905449):
if Connectivity[i][2] == 1:
createInter
Connectivity.
#CREATING SAVEDATA
with open('SaveDataN
SaveDataNodes = [[int(x) for x in line.split()] for line in f]
#BOUND COUNT
Bonds0=0
for i in O.interactions:
Bonds0+=1
print (Bonds0)
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: