Replace by clump
Hello everybody.
I am beginner in yade.
I created a specific aggregate grading with 'psdSizes & psdCumm ' in ' makeCloud '.
Now I want to select two specific ranges of particles and replac them with two different Clumps.
It is a part of my code ####product trash#####
a=[0,.005,
b=[0,.005,
c=[0,.005]
d=[]
for i in a:
for j in b:
for k in c:
d.append(
for i in d:
O.bodies.
######clump 1#####
clump=O.
#####aggregate#####
from yade import pack
sp=pack.
sp.makeCloud(
sp.toSimulation()
######replace######
for b in O.bodies:
if b.shape.
pass
else:
#the particle should be replaced by clump1. #######
Please guide me in replace part.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Karol Brzezinski
- Solved:
- Last query:
- Last reply: