← Back to team overview

yade-users team mailing list archive

Re: [Question #404328]: contact position at the end of the simulation

 

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

Bruno Chareyre proposed the following answer:
Hi,
Another quick comment. Using a PyRunner is a bit overkill for this particular need. If you want to run 5000 then export (Jan suggested that already but it you may miss it in his dense message), then the straight method is to really do it as it reads:
O.run(5000,True)
for i in O.interactions:
    ...
    yade.plot.addData(x1=x1,x2=x2,x3=x3) #see Jan's comment on not using addData
plot.saveDataTxt(OUT1)

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