Re: [Yade-users] [Question #697363]: force and identify

2021-06-06 Thread fan yang
Question #697363 on Yade changed: https://answers.launchpad.net/yade/+question/697363 Status: Needs information => Open fan yang gave more information on the question: Dear Jan: Thank you for your reply. 1.The spherical sample is 'trimmed' from the cubic sample that contains generated partic

Re: [Yade-users] [Question #697421]: The problem of plot

2021-06-06 Thread Janek Kozicki
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Status: Open => Answered Janek Kozicki proposed the following answer: Try https://yade- dem.org/doc/yade.plot.html#yade.plot.setLiveForceAlwaysUpdate -- You received this question notification because your

Re: [Yade-users] [Question #697421]: The problem of plot

2021-06-06 Thread Janek Kozicki
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Janek Kozicki proposed the following answer: "ValueError: shape mismatch" this happens because a plot uses two lists of points: arguments (say "x") and values (say "y"). Plotting happens at the same time when cal

Re: [Yade-users] [Question #697421]: The problem of plot

2021-06-06 Thread Zhicheng Gao
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Status: Answered => Open Zhicheng Gao is still having a problem: Thanks, Janek. I still have a problem, I use the O.cell.trsf=Matrix3.Identity to set the current cell configuration to be the reference one, b

Re: [Yade-users] [Question #697421]: The problem of plot

2021-06-06 Thread Zhicheng Gao
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Zhicheng Gao gave more information on the question: Dear Janek, According to your suggestion, I add plot.setLiveForceAlwaysUpdate(True) to my code, but the following error occurred: Traceback (most recent cal

Re: [Yade-users] [Question #697421]: The problem of plot

2021-06-06 Thread Janek Kozicki
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Status: Open => Answered Janek Kozicki proposed the following answer: AttributeError: 'module' object has no attribute 'setLiveForceAlwaysUpdate' You need to upgrade your version to 2021.01a, this was fixed

Re: [Yade-users] [Question #697421]: The problem of plot

2021-06-06 Thread Zhicheng Gao
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Status: Answered => Solved Zhicheng Gao confirmed that the question is solved: Thanks Janek Kozicki, that solved my question. -- You received this question notification because your team yade-users is an a

[Yade-users] [Question #697432]: Why doesn't the strain equal to zero

2021-06-06 Thread Zhicheng Gao
New question #697432 on Yade: https://answers.launchpad.net/yade/+question/697432 I use the O.cell.trsf=Matrix3.Identity to set the current cell configuration to be the reference one, but when I use print(O.cell.trsf, triax.strain) to print the current strain, the strain matrix is not equal to

[Yade-users] [Question #697433]: Instantiating a new FlowEngine after removing does not work

2021-06-06 Thread Zhicheng Gao
New question #697433 on Yade: https://answers.launchpad.net/yade/+question/697433 Hi, I'm also trying to remove some particles from the simulation while using FlowEngine engine to simulate a fluid flow. According to Questions #452277 and #670889, I used the simple method of instantiating a bra

Re: [Yade-users] [Question #697379]: Optimise material parameter

2021-06-06 Thread Jan Stránský
Question #697379 on Yade changed: https://answers.launchpad.net/yade/+question/697379 Jan Stránský posted a new comment: > When I run the the code in terminal, I am getting error message saying "myscript.py is not responding". where you get the error? Int the terminal? From GUI? > -The simulatio

Re: [Yade-users] [Question #697363]: force and identify

2021-06-06 Thread Jan Stránský
Question #697363 on Yade changed: https://answers.launchpad.net/yade/+question/697363 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > 1 + 3 still, please be more specific. What is "the exterior"? Particles forming a convex hull? Particles close enough to the tr

Re: [Yade-users] [Question #697432]: Why doesn't the strain equal to zero

2021-06-06 Thread Jan Stránský
Question #697432 on Yade changed: https://answers.launchpad.net/yade/+question/697432 Status: Open => Needs information Jan Stránský requested more information: Hello, please read [1] and try to provide code in the form of MWE M = minimal. This code is far from minimal, vast majority of the

Re: [Yade-users] [Question #697432]: Why doesn't the strain equal to zero

2021-06-06 Thread Zhicheng Gao
Question #697432 on Yade changed: https://answers.launchpad.net/yade/+question/697432 Status: Needs information => Open Zhicheng Gao gave more information on the question: I'm sorry to provide a lot of useless code, the key code is : O.cell.trsf=Matrix3.Identity print(O.cell.trsf, triax.strai