how to export all the individual contacts

Asked by ceguo

Hi,

I want to export all the contacts info (position of the two contact particles <x1,y1,z1> and <x2,y2,z2>, contact normal force magnitude <fn>, etc.) within a periodic packing to a file. Is there any module to do this in yade.export. If not how to add one in yade.export or yade.utils?

Thanks in advance.

Ning

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
ceguo
Solved:
Last query:
Last reply:
Revision history for this message
ceguo (hhh-guo) said :
#1

I found a way to output all individual contacts by looping over O.interactions. All the info I need is contained in intr.geom and intr.phys.

Thanks^^