erase particles(segmentation fault)
Dear all,
I am building a simple model. I tried to delete some particles in a way suggested in [1]:
[1] https:/
particles are deleted without any problem. but after running even 1 iteration,
Segmentation fault (core dumped)
my script is as below:
# -*- coding: utf-8 -*-
from yade import pack, plot
young=1e8
compFricDegree = 5
finalFricDegree = 35
mn,mx=Vector3(
O.materials.
O.materials.
walls=aabbWalls
wallIds=
psdSizes=
psdCumm=
sp=pack.
sp.makeCloud(
sp.toSimulation
triax=TriaxialS
maxMultiplier=
finalMaxMultip
thickness = 0,
stressMask = 7,
internalCompac
)
newton=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
triax,
newton,
]
O.dt=PWaveTimeS
triax.goal1=
while 1:
O.run(1000,True)
unb=unbalance
print 'porosity', triax.porosity
if unb<0.01 and abs(-10000-
break
bodiesToBeDelet
for b in O.bodies:
if b.id in range(6):
continue
else:
if b.state.
bodiesToBeDe
for b in bodiesToBeDeleted:
O.bodies.
can any one tell me about what is happening??
any help is appreciated id advance
i am using ubuntu 14.04 and yade version is: 2018.02b-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jérôme Duriez
- Solved:
- Last query:
- Last reply: