How to calculate bond (interaction) breakage ratio
Asked by
Leonard
Hi,
I am working on a drained triaxial compression test and I'd like to know how to gain the bond (i.e., interaction) breakage ratio (defined as number of broken initial interactions over number of initial interactions).
For getting number of initial interactions, I did it as:
iniIntrs=[]
for i in O.interactions:
if i.isReal:
iniIntrs.
so len(iniIntrs) is the number of initial interactions.
However, I didn't come up with an effective way to get the number of broken initial interactions at current step, do you have any ideas?
Thanks
Leonard
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Leonard
- Solved:
- Last query:
- Last reply:
To post a message you must log in.