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

    Status: Open => Answered

Jan Stránský proposed the following answer:
The specific use depends on "extract"/"record" (print, save, save
format, ...), when (periodically, just at the end of simulation, ...),
the simulation itself (mill is made of facets? boxes? ...?) etc. etc.
(please provide a MWE [1])

But the core is to loop over all interactions, skip those you are not
interested in and get the desired info from the interactions.

###
for i in O.interactions:
   if isNotInteresting(i):
      continue
   fn = i.phys.normalForce
   fs = i.phys.shearForce
   cp = i.geom.contactPoint
   # store, print, save, ..........
###

cheers
Jan

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to