Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-23 Thread Jan Stránský
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Jan Stránský posted a new comment: Do you still have the old version with the error? if yes, please send it anyway. As Anton mentioned, there may be a bug, which is active only in some ciecumstances. Jan 2012/10

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-23 Thread Jan Stránský
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Jan Stránský posted a new comment: Do you still have the old version with the error? if yes, please send it anyway. As Anton mentioned, there may be a bug, which is active only in some ciecumstances. Jan 2012/10

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-23 Thread Jan Stránský
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Jan Stránský posted a new comment: Do you still have the old version with the error? if yes, please send it anyway. As Anton mentioned, there may be a bug, which is active only in some ciecumstances. Jan 2012/10

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Nait
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Nait posted a new comment: To Anton and Jan, I have double checked my script and found the error: one of my walls (boundary) is included in the list of bodies to be deleted. Maybe the message I mentioned above i

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Anton Gladky
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Anton Gladky posted a new comment: Hi, 2012/10/22 Nait : >However, when I continue my simulation, the following message > show > > egmentation fault (core dumped) please, provide a script, which causes the segf

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Nait
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Nait posted a new comment: To Jan, With your help I can now construct a simple tunnel by deleting some particles. However, when I continue my simulation, the following message show egmentation fault (core dumpe

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Nait
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Status: Answered => Solved Nait confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because you are a member of yade-users, which

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Jan Stránský
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Status: Open => Answered Jan Stránský proposed the following answer: Well, it depends on how you define convergence and convergence problems :-) if you apply compressive stress on the boundaries and some dam

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Nait
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Status: Answered => Open Nait is still having a problem: To Christian Jakob (jakob-ifgt): Thanks for your suggestions. To Jan Stránský (honzik): Thanks for your suggestions. If I have applied stress on t

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Jan Stránský
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Jan Stránský proposed the following answer: Hello, to delete certain particle, use [1] O.bodies.erase(bodyId) if you have e.g. a list of bodies that you want to delete, you can use something like this: bodies

Re: [Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Christian Jakob
Question #211937 on Yade changed: https://answers.launchpad.net/yade/+question/211937 Status: Open => Answered Christian Jakob proposed the following answer: You can use following command: O.bodies.erase(id_of_the_body) -- You received this question notification because you are a member of

[Yade-users] [Question #211937]: Delete some particles in a package

2012-10-22 Thread Nait
New question #211937 on Yade: https://answers.launchpad.net/yade/+question/211937 Hi, I am trying to simulate tunnel construction in YADE. I hope to generate a package of particles and apply stress on all the boundaries and then delete some particles in the package in order to simulate the tunn