Obtain the contact number of each particles in the primary fabric (only consider large contact force pairs)
Asked by
Zheng
Hi all,
In my simulation, I want to calculate the contact number of each particles in the primary fabric (only consider the contact pairs larger than the average contact force).
To obtain the average contact force (avgForce), I use the following and it works OK:
for i in O.interactions:
fn = i.phys.
forceInac
forceInac
avgForce=
To get the contact number of each particles , I use:
for b in O.bodies:
However, as my question above, how to give a criteria to obtain the contact number of each particles by considering the contact pairs with large contact forces only?
Thanks,
Zheng
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:
To post a message you must log in.