[Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Yor1
New question #269486 on Yade: https://answers.launchpad.net/yade/+question/269486 Hello, I try to model a 3-point bending test with YADE. To model it, i have to exercise a velocity on the high piston. The problem is that i want to model the cracks in the beam resulted by the 3-point bending test

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Status: Open => Answered Bruno Chareyre proposed the following answer: https://yade-dem.org/wiki/Howtoask -- You received this question notification because you are a member of yade-users, which is an answ

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Bruno Chareyre proposed the following answer: Yes you can have two engines in a script. -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Yor1
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Yor1 posted a new comment: Thank you for the answer. My problem, when i use two engines, the piston don't move. -- You received this question notification because you are a member of yade-users, which is an ans

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Bruno Chareyre proposed the following answer: Please read again #1 :) -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Jérôme Duriez
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Jérôme Duriez proposed the following answer: Hi, Indeed, every Yade simulations require usually much more than 2 engines. As such, it is possible. As for your problem, the error message points you to line 121 o

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Yor1
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Status: Answered => Solved Yor1 confirmed that the question is solved: Thanks for your advices, it is my first time that i use the mailing list. I'm trying to model 3-points pending test. I am beginner in YA

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Yor1
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Yor1 posted a new comment: I think that i pushed a wrong icon tha's why it displays "solved" I am sorry -- You received this question notification because you are a member of yade-users, which is an answer cont

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Jérôme Duriez
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Jérôme Duriez posted a new comment: Indeed, there is a mistake there You did not define only 2 engines, but two *lists of engines* ! O.engines is a *list of engine*, it corresponds to https://yade-dem.org/

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Jérôme Duriez
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Jérôme Duriez posted a new comment: Just a side note as I may have exaggerated a little in my previous answer. It is possible to define several times O.engines in a script, but with the purpose redefining the eng

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-22 Thread Yor1
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Yor1 posted a new comment: I try to impose the velocity on the piston without using O.engines To impose the velocity i write: O.bodies[piston].state.vel[1]=1 and this a part of the script: from yade import ympor

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-22 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Bruno Chareyre posted a new comment: Dear Yor1, Error messages are usually of great help. The complete message includes a very important part that you skipped: File "test.py", line 22, in O.bodies[piston].

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-22 Thread Yor1
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Yor1 posted a new comment: My problem is resolved with imposing the velocity on every facet. Thank you Bruno and Jerome for your advices :D -- You received this question notification because you are a member of