← Back to team overview

yade-users team mailing list archive

Re: [Question #691907]: How to calculate bond (interaction) breakage ratio

 

Question #691907 on Yade changed:
https://answers.launchpad.net/yade/+question/691907

    Status: Open => Answered

Jan Stránský proposed the following answer:
good point on the ids order.
you can change
set((i.id1,i.id2) for i in O.interactions)
to
set(tuple(sorted((i.id1,i.id2))) for i in O.interactions)
to have the stored ids sorted.

The order of id1,id2 is not changed for existing interaction.
So if your original interaction is (1,2), than if you get (2,1) would mean that it is another interaction (and the original one is broken).

Which implies another note: what if the original interaction is broken
and then the two particles come to contact again after some time? You
would get again e.g. (1,2), it would be actually broken interaction but
using this approach you would count it as initial..

What material model you use? How are broken / non-cohesive interactions
different from initial interactions?

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.