how to specifically find interraction number of spheres to a body
Good morning,
I have a list that contains the id's of all the particles in my simulation.
What i wanted to do was return a list of id's whose corresponding particle comes in contact with more than 4(5,6,7,.....) particles
Up until now i ve been using this
def findconnectivit
return len(O.interacti
def connectivityInd
global conIndex
conIndex[:]=[]
for x in loc2glob[:]:
if len(O.interacti
conIndex.
return conIndex
def connectivity():
getHighCon=[]
for x in conIndex[:]:
getHighCon.
return getHighCon
where loc2glob is the index containing the spheres.
However this propably counts interractions with facets as well.
Is there a way to exclude those in the count?
Any help is much appreciated
Thanks
Best regards
John
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask JOHN for more information if necessary.