yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17751
Re: [Question #670751]: export shear band particle ID
Question #670751 on Yade changed:
https://answers.launchpad.net/yade/+question/670751
Status: Open => Answered
Bruno Chareyre proposed the following answer:
Hi,
I don't know a general answer to your question. You could first introduce a local variable to determine if a given subregion is sheared or not, then assign per-particle value of this variable and choose a threshold to classify them.
Exporting them after classification is a simple technical detail [1]. Defining what you call a shear band is the challenging part.
I hope it helps
Bruno
[1]
for b in O.bodies:
if isSheared(b):
print b.id
--
You received this question notification because your team yade-users is
an answer contact for Yade.