Re: [Yade-users] [Question #657061]: Compression strength

2017-08-31 Thread SayedHessam
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 Status: Answered => Solved SayedHessam confirmed that the question is solved: Thanks a lot, Jan, my problem solved. -- You received this question notification because your team yade-users is an answer

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-31 Thread Jan Stránský
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 Jan Stránský proposed the following answer: Hello, > YADE gives me an error. please always be as specific as possible, e.g. what kind of error, ideally copying it from terminal here. In this case I expect

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-30 Thread SayedHessam
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 SayedHessam posted a new comment: Dear Jan, Thank you for your handy responses and comments. However, I have modified my script based on your last comments but now I can not run my model anymore. Even when I

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-29 Thread Jan Stránský
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 Jan Stránský proposed the following answer: Concerning load, just do ### def plotAddData(): f = O.forces.f(3)[1] d = 2*rayon_g load = f/pow(d,2) plot.addData( dspl =

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-29 Thread SayedHessam
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 SayedHessam posted a new comment: Hi Jan, Maybe this question it can be silly but if my idea is wrong about loading in my script, How can I define the load for my model? Cheers Sam -- You received this

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-29 Thread SayedHessam
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 SayedHessam posted a new comment: Dear Jan, Thanks for your reply. However, according to my attached script, I want to model my clumps to measure its uniaxial strength of my clumps. I tried to write up a

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-29 Thread Jan Stránský
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > How can I change force to load in my script? to change a label, just change force to load: ### ... plot.addData(

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-29 Thread SayedHessam
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 Status: Answered => Open SayedHessam is still having a problem: Dear Jan, Thank you for your perfect response. However, my result is different than my reference. Because the graph is based on LOAD and

Re: [Yade-users] [Question #657061]: Compression strength

2017-08-28 Thread Jan Stránský
Question #657061 on Yade changed: https://answers.launchpad.net/yade/+question/657061 Status: Open => Answered Jan Stránský proposed the following answer: Hi Sam, define a function which records the data ### def plotAddData(): plot.addData( dspl = O.bodies[3].state.displ()[1],

[Yade-users] [Question #657061]: Compression strength

2017-08-28 Thread SayedHessam
New question #657061 on Yade: https://answers.launchpad.net/yade/+question/657061 Hi there! I have written up a simple script about compression strength of a sand particle and I want to plot the load-displacement graph from my script but I really do not know how can plot it or how can I add