Calculation of the number of contact point in the particles
Hi,
I have a question about estimating the contact number of every particle when the particles are stopped.
I am studying the effect of the porosity of the powder layer on the electrical resistance.
First, in this code, the spherical powder is replaced with some crump powder and falls into facetBox by gravitational force.
I'd like to get the number of contact points between particles after the sphere pack falling because it is one of the crucial points for the electroconductivity of the powder layer.
Moreover, I would like to get the number of contact points of the clamp powder and that of spherical powder separately.
but, I'm a beginner of YADE, please give me some advice about this problem.
The code is as follows:
*******
from yade import pack, qt, plot, utils, geom, export, ymport
#Base plates properties
Baseplate=
#Create base plate using facets
O.bodies.
#powder properties
PB=O.materials.
#create Spherepack
sp=pack.
#Paricle size distribution of ball milled powder
sp.makeCloud(
#Make the cloud
sp.toSimulation
#Clump setting (by Circularity)
#0.8:
relRadList1 = [1,.45]
relPosList1 = [[0,0,0]
#0.6:
relRadList2 = [1,.7]
relPosList2 = [[0,0,0],[0.6,0,0]]
#0.4:
relRadList3 = [1,1,1]
relPosList3 = [[1,0,0]
#0.2:
#relRadList4 = [1,1,1,1,1,1]
#relPosList4 = [[1,0,0]
templates= []
templates.
templates.
templates.
#templates.
#Clump fraction :
CP=O.bodies.
O.engines=[
ForceResetter(), #reset forces
InsertionSor
InteractionLoop( # handle sphere+sphere and facet+sphere collisions
[
[
[
),
NewtonIntegrat
]
#PyRunner(
O.dt=.85*
qt.View()
qt.Controller()
O.saveTmp('yim')
#utils.
#Contact number of particles
bodyList = []
for i in O.bodies:
if i.isClump:
bodyList.
len(O.bodies[
*******
Thanks,
YIM
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: