Re: [Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Bruno Chareyre
Question #695821 on Yade changed: https://answers.launchpad.net/yade/+question/695821 Bruno Chareyre posted a new comment: Note: I found that: 1/ the example for save/reload on the wiki page [1] was obsolete (for some reason the github.com link stopped working), it is fixed now [2]. 2/ in the ex

Re: [Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Jan Stránský
Question #695821 on Yade changed: https://answers.launchpad.net/yade/+question/695821 Jan Stránský posted a new comment: Nice catch :-) one has to be careful when loading saved state to the same script it was saved from.. Jan -- You received this question notification because your team yade-use

Re: [Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Johannes Welsch
Question #695821 on Yade changed: https://answers.launchpad.net/yade/+question/695821 Johannes Welsch posted a new comment: Hello, I think I found the solution. I added the definition of O.engines to the if clause of saved State as it is also saved in the yade.gz file. Now everything works prop

Re: [Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Johannes Welsch
Question #695821 on Yade changed: https://answers.launchpad.net/yade/+question/695821 Status: Open => Solved Johannes Welsch confirmed that the question is solved: Hello, I think I found the solution. I added the definition of O.engines to the if clause of saved State if not savedState: --

Re: [Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Johannes Welsch
Question #695821 on Yade changed: https://answers.launchpad.net/yade/+question/695821 Status: Needs information => Open Johannes Welsch gave more information on the question: Hello Jan, thanks for your quick response > O.engines += [PyRunner(command='UnbalancedForce()',iterPeriod=1000)] I

Re: [Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Jan Stránský
Question #695821 on Yade changed: https://answers.launchpad.net/yade/+question/695821 Status: Open => Needs information Jan Stránský requested more information: Hello, > When I first run the simulation everything works fine, but simulation doesn't > stop when the strain -0.4 is reached, so

[Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Johannes Welsch
New question #695821 on Yade: https://answers.launchpad.net/yade/+question/695821 Hi I'm having a little problem with the PeriTriaxController and saving and loading of simulations. Maybe one of you can help me. I provided a MWE below. My Problems are: - When I first run the simulation everythi