[Yade-users] [Question #688164]: Recording Force and Position

2020-01-21 Thread mrhappy
New question #688164 on Yade: https://answers.launchpad.net/yade/+question/688164 Hi, I am want to run a simulation where I have two balls. I want to record the force and the displacment of one of the balls (O.bodies[1]) using plot.addData. Currently, I can store the time at every 1000

[Yade-users] [Question #688165]: Error after pressing the "Play" button

2020-01-21 Thread ehsan benabbas
New question #688165 on Yade: https://answers.launchpad.net/yade/+question/688165 Hi everyone, I am using Ubuntu 18.04, and Yade 2019-08-08.git-775ae74 I use the Triaxial code by Bruno Chareyre [1] to run triaxial simulation on my specimen and only made the following changes in [1]:

Re: [Yade-users] [Question #688060]: Extracting micro variables from Triaxial test

2020-01-21 Thread Jan Stránský
Question #688060 on Yade changed: https://answers.launchpad.net/yade/+question/688060 Status: Open => Answered Jan Stránský proposed the following answer: > but it's just a line yes, it is a data saved in JSON format. Completely satisfying the requirement "save them in a text file" > this

Re: [Yade-users] [Question #688134]: Not rational result in the Triaxial code

2020-01-21 Thread Jan Stránský
Question #688134 on Yade changed: https://answers.launchpad.net/yade/+question/688134 Status: Open => Needs information Jan Stránský requested more information: Hello, please provide a working code. I have tried it, resulting in File "e.py", line 55 triax.porosity) ^ SyntaxError:

Re: [Yade-users] [Question #687781]: How to make a dense sample of sand with distributemass=False?

2020-01-21 Thread Launchpad Janitor
Question #687781 on Yade changed: https://answers.launchpad.net/yade/+question/687781 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question

Re: [Yade-users] [Question #688040]: dimensions of an imported body

2020-01-21 Thread Rioual
Question #688040 on Yade changed: https://answers.launchpad.net/yade/+question/688040 Status: Answered => Open Rioual is still having a problem: Hello Jan, I just did what you propose but I have an error message, possibly very basic mistake ??:

Re: [Yade-users] [Question #688040]: dimensions of an imported body

2020-01-21 Thread Jan Stránský
Question #688040 on Yade changed: https://answers.launchpad.net/yade/+question/688040 Status: Open => Answered Jan Stránský proposed the following answer: O.bodies.append returns list of ids (as suggested also by fctIdscylinder name). My solution assumes list of bodies. Do facet =

Re: [Yade-users] [Question #688134]: Not rational result in the Triaxial code

2020-01-21 Thread ehsan benabbas
Question #688134 on Yade changed: https://answers.launchpad.net/yade/+question/688134 Status: Needs information => Open ehsan benabbas gave more information on the question: Hello, >> File "e.py", line 55 triax.porosity) Yes, you are right. Please change it to this: n =

Re: [Yade-users] [Question #688060]: Extracting micro variables from Triaxial test

2020-01-21 Thread ehsan benabbas
Question #688060 on Yade changed: https://answers.launchpad.net/yade/+question/688060 Status: Answered => Open ehsan benabbas is still having a problem: Thank you so much Jan. Tha solved my problem. Is there any way to print those in a txt file like in a x_y_z_r format? something like that?

[Yade-users] [Question #688156]: How to create a regular prism in Yade

2020-01-21 Thread Huang peilun
New question #688156 on Yade: https://answers.launchpad.net/yade/+question/688156 Hi, I just begin to learn Yade. I'm wondering if there is a function or method to create a regular prism without calculate the coordinates of each vertexes by myself. And if there is a method to create a

Re: [Yade-users] [Question #688164]: Recording Force and Position

2020-01-21 Thread mrhappy
Question #688164 on Yade changed: https://answers.launchpad.net/yade/+question/688164 mrhappy gave more information on the question: I did the following, but it give an error. def addPlotData(): plot.addData(t=O.time,dis = O.bodies[1].state.displ(),) O.engines=[ ## Resets forces

Re: [Yade-users] [Question #688164]: Recording Force and Position

2020-01-21 Thread mrhappy
Question #688164 on Yade changed: https://answers.launchpad.net/yade/+question/688164 mrhappy gave more information on the question: The position can be found with the following line of code: plot.addData(t=O.time,DX1 = O.bodies[1].state.pos[0],DY1 = O.bodies[1].state.pos[1],DZ1 =

Re: [Yade-users] [Question #688164]: Recording Force and Position

2020-01-21 Thread mrhappy
Question #688164 on Yade changed: https://answers.launchpad.net/yade/+question/688164 Status: Open => Solved mrhappy confirmed that the question is solved: The force can be found from this: FX1 = O.forces.f(1)[0] -- You received this question notification because your team yade-users is an