Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-03-01 Thread MOHAMMAD MOHSENI
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 Status: Answered = Solved MOHAMMAD MOHSENI 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

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-28 Thread MOHAMMAD MOHSENI
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 Status: Answered = Open MOHAMMAD MOHSENI is still having a problem: Dear Jan I changed the code as you said but still have errors , can you please kindley help me with this from yade import pack, plot

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-28 Thread Jan Stránský
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 Status: Open = Answered Jan Stránský proposed the following answer: Hi Mohammad, if you wrote to the email complete code, the second error is because of missing final braces: plot.addData( i=O.iter,

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-28 Thread Christian Jakob
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 Christian Jakob posted a new comment: hi, from your script i see some problems. i am not sure, if this solves all errors ... for 1. : wrong: def plotAddData(): pos = b.state.pos plot.addData( i=O.iter,

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-28 Thread Jan Stránský
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 Jan Stránský proposed the following answer: I supposed that indents were missing from copy-paste process.. the function plotAddData work and did not result in SyntaxError, but I don't know yet how to solve the

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-28 Thread MOHAMMAD MOHSENI
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 MOHAMMAD MOHSENI posted a new comment: Ok , I will send the whole code to your Email (honzik.stran...@gmail.com ) Thanks for your helps -- You received this question notification because you are a member of

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-28 Thread Jan Stránský
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 Jan Stránský proposed the following answer: Hello Mohammad, just in case somebody else (or in the future) found this information useful: in the simulation script, you have to run at least one simulaton step,

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-22 Thread Jan Stránský
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 Status: Open = Answered Jan Stránský proposed the following answer: Hello Mohammad, for both your questions there is number of solutions. If you want to track position of one particle, you can do it with

Re: [Yade-users] [Question #222563]: tracking a sphere in a pack

2013-02-22 Thread MOHAMMAD MOHSENI
Question #222563 on Yade changed: https://answers.launchpad.net/yade/+question/222563 MOHAMMAD MOHSENI posted a new comment: many Thanks for your comprehensive respond Jan , hope it works . -- You received this question notification because you are a member of yade-users, which is an answer