Re: [Yade-users] [Question #701803]: Use of O.Step and O.Pause when saving Packing

2022-05-18 Thread Gianni Pellegrini
Question #701803 on Yade changed: https://answers.launchpad.net/yade/+question/701803 Status: Answered => Solved Gianni Pellegrini confirmed that the question is solved: Thanks Robert Caulk, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #701803]: Use of O.Step and O.Pause when saving Packing

2022-05-16 Thread Robert Caulk
Question #701803 on Yade changed: https://answers.launchpad.net/yade/+question/701803 Status: Open => Answered Robert Caulk proposed the following answer: >>I assigned a new material and just use O.Step() in a loop. This is not really the reason for O.step, although it works. The best way

Re: [Yade-users] [Question #701803]: Use of O.Step and O.Pause when saving Packing

2022-05-16 Thread Gianni Pellegrini
Question #701803 on Yade changed: https://answers.launchpad.net/yade/+question/701803 Gianni Pellegrini gave more information on the question: Just to add: if instead I add O.interactions.clear() after each O.Step() (not after), the results will be identical (pressure and void ratio) at each

Re: [Yade-users] [Question #701803]: Use of O.Step and O.Pause when saving Packing

2022-05-16 Thread Gianni Pellegrini
Question #701803 on Yade changed: https://answers.launchpad.net/yade/+question/701803 Status: Answered => Open Gianni Pellegrini is still having a problem: Hello Robert, thank you for your answer. Yes, I meant that it occurs randomly so sometimes the file is created, other times not.

Re: [Yade-users] [Question #701803]: Use of O.Step and O.Pause when saving Packing

2022-05-15 Thread Robert Caulk
Question #701803 on Yade changed: https://answers.launchpad.net/yade/+question/701803 Status: Open => Answered Robert Caulk proposed the following answer: Hello, Yade reads your script sequentially. If you write O.run(#iters,1), then it will run #iters before moving to the next command in

[Yade-users] [Question #701803]: Use of O.Step and O.Pause when saving Packing

2022-05-15 Thread Gianni Pellegrini
New question #701803 on Yade: https://answers.launchpad.net/yade/+question/701803 Hi, I think I did not get how O.Step and O.Pause are supposed to work. In a basic triaxial testing script, I am using the following function to save the packing. Before doing that , I would like to change some