← Back to team overview

yade-users team mailing list archive

Re: [Question #687872]: How to record a contact pair's contact information

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Assuming your contacts physics are (or derive from) NormShearPhys,
contact forces components are

- contact.phys.normalForce # contact = your interaction of interest
- contact.phys.shearForce.

See [1] and the line after

As for the txt output, see [2] and plot.saveDataTxt() [3] as well as the
whole world wide web for Python Input/Output to text files (Yade
terminal is Python terminal)

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.NormShearPhys.normalForce
[2] https://yade-dem.org/doc/user.html#tracking-variables
[3] https://yade-dem.org/doc/yade.plot.html#yade.plot.saveDataTxt

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