yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23775
Re: [Question #692328]: How to export the overlap data
Question #692328 on Yade changed:
https://answers.launchpad.net/yade/+question/692328
Status: Open => Answered
Jan Stránský proposed the following answer:
> I have tried
please be more specific (show the changes)
e.g. uncomment the O.run command:
###
O.run(100000,True)
overlaps = [i.geom.penetrationDepth for i in O.interactions]
with open ("overlaps.dat","w") as f:f.writelines(str(o)+"\n" for o in overlaps)
###
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.