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

2021-03-22 Thread Chien-Cheng Hung
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Answered => Solved Chien-Cheng Hung confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users

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

2021-03-21 Thread Karol Brzezinski
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

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

2021-03-21 Thread Chien-Cheng Hung
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Answered => Open Chien-Cheng Hung is still having a problem: Hi Karol, Thanks for showing me an example. In your example, why do you add sp.fromSimulation() after shiftBodies(...)? I can see the

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

2021-03-21 Thread Bruno Chareyre
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Bruno Chareyre proposed the following answer: Hi, I confirm TesselationWrapper may have issues with space periodicity, but not because of this: > " Hypothetically: If the particle in state 0 is on the right

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

2021-03-21 Thread Karol Brzezinski
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, here you have the two approaches compared: centers = [] for x in range(3): for y in range(3): for

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

2021-03-20 Thread Chien-Cheng Hung
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Answered => Open Chien-Cheng Hung is still having a problem: Hi Karol, Thank you for your reply. Those comments are very helpful. >> You set something like "O.bodies[i].state.dynamics = False", I

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

2021-03-20 Thread Karol Brzezinski
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, I tried to run your code and I couldn't save the file at al (Ubuntu 20.04 Yade 2020.01a )l, due to the CGAL ERROR: assertion

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

2021-03-19 Thread Chien-Cheng Hung
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Answered => Open Chien-Cheng Hung is still having a problem: Hi Bruno, Thanks for your quick reply. I've minimized my script as much as possible. I also tested it and the running time should be

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

2021-03-19 Thread Bruno Chareyre
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, i have assumptions on why it would be the case but nothing sure. Could you please provide a minimal working example of the problem?

[Yade-users] [Question #696150]: Output specific bodies using TW.setState

2021-03-19 Thread Chien-Cheng Hung
New question #696150 on Yade: https://answers.launchpad.net/yade/+question/696150 Hi all, Followed by my previous question [1], I found that the output micro-strain VTK plain text file from the TW.defToVtk [2] cannot be opened in the Paraview if the DOFs (degree of freedoms) of particles are