← Back to team overview

yade-users team mailing list archive

Re: [Question #696150]: Output specific bodies using TW.setState

 

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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi,

I didn't use spherePack to generate granular packing. I "copied" the
current state of simulation to the sphere pack using
sp.fromSimulation(), so I could easily save positions of spheres to txt
file. This was my first idea, not necessarily the best. Now I think that
you could also use exportSpheres() function from export module [1].

Best wishes, 
Karol

[1] https://yade-dem.org/doc/yade.export.html

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