[Yade-users] [Question #686076]: Problem of Bodies rotation

2019-11-21 Thread yang yi
change my code as follows?? Thank you very much. Yang Yi positionGround = [ Vector3(0,0,0), Vector3(1,0,0), Vector3(1,1,0), Vector3(0,1,0) ] Ground = pack.sweptPolylines2gtsSurface([positionGround], capStart=True

Re: [Yade-users] [Question #686076]: Problem of Bodies rotation

2019-11-21 Thread yang yi
Question #686076 on Yade changed: https://answers.launchpad.net/yade/+question/686076 yang yi posted a new comment: Thanks for Jan Stránský (honzik) and Chareyre (bruno-chareyre-9) very much. I tired the RotationEngine before using O.bodies[i].state.angVel . However, the speed I cound

Re: [Yade-users] [Question #686076]: Problem of Bodies rotation

2019-11-22 Thread yang yi
Question #686076 on Yade changed: https://answers.launchpad.net/yade/+question/686076 Status: Answered => Solved yang yi confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #686076]: Problem of Bodies rotation

2019-11-22 Thread yang yi
Question #686076 on Yade changed: https://answers.launchpad.net/yade/+question/686076 yang yi posted a new comment: Thank you very much!! Jan Stránský Now I have two problem (1) for using RotationEngine, I hope the following code can change the direction of the plane by the PyRunner

Re: [Yade-users] [Question #687646]: no view about qt.View() and yade.qt.Controller()

2019-12-31 Thread yang yi
Question #687646 on Yade changed: https://answers.launchpad.net/yade/+question/687646 yang yi posted a new comment: I find the controller and O.run() are in different threadings. So I tried to communicate the two threadings with queue. It is hard to me. Please help me.. Thank you -- You

Re: [Yade-users] [Question #687646]: no view about qt.View() and yade.qt.Controller()

2019-12-31 Thread yang yi
Question #687646 on Yade changed: https://answers.launchpad.net/yade/+question/687646 yang yi posted a new comment: Actually, I want to get a loop simulation of the same environment. The above problem could be use run() in the yade command line. But there another problem: how to reset

[Yade-users] [Question #687646]: no view about qt.View() and yade.qt.Controller()

2019-12-31 Thread yang yi
New question #687646 on Yade: https://answers.launchpad.net/yade/+question/687646 My yade is come from GitLib source, and cmake, make, make-install to my computer. I build a symbol link named "yadeImport". The system can run very nice, if I use the command in terminal

Re: [Yade-users] [Question #687646]: no view about qt.View() and yade.qt.Controller()

2020-01-01 Thread yang yi
Question #687646 on Yade changed: https://answers.launchpad.net/yade/+question/687646 Status: Open => Solved yang yi confirmed that the question is solved: I know the answer of the frist question I run my script in the Pycharm, not in the terminal. If I run the code in the terminal l

[Yade-users] [Question #687514]: Ask help for the materials setting

2019-12-24 Thread yang yi
New question #687514 on Yade: https://answers.launchpad.net/yade/+question/687514 I hope to simulate the coal seam collapsing, but my major is computer and control. And I tried several different material about the particle. such as FricMat, CpmMat, ViscElMat But all of them has the

Re: [Yade-users] [Question #687514]: Ask help for the materials setting

2020-01-05 Thread yang yi
Question #687514 on Yade changed: https://answers.launchpad.net/yade/+question/687514 yang yi gave more information on the question: Sorry, maybe my description is not clear. My aim is to establish a environment to simulation the process of coal and rock falling. The upper layer is rock

Re: [Yade-users] [Question #687514]: Ask help for the materials setting

2020-01-06 Thread yang yi
Question #687514 on Yade changed: https://answers.launchpad.net/yade/+question/687514 Status: Open => Solved yang yi confirmed that the question is solved: Hi, Jan Stránský (honzik), thank you for your responce. I have find the answer from the question. -- You received this quest

Re: [Yade-users] [Question #687646]: no view about qt.View() and yade.qt.Controller()

2020-01-06 Thread yang yi
Question #687646 on Yade changed: https://answers.launchpad.net/yade/+question/687646 yang yi posted a new comment: Jan Stránský (honzik), Thank you very much! I will try -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC

2020-05-27 Thread yang yi
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 yang yi posted a new comment: To Jan Stránský (honzik) and Bruno Chareyre (bruno-chareyre) : Thank you very much for you professional response. My the simulation process likes this: The two kinds

[Yade-users] [Question #690973]: running on a server is slower than on a PC

2020-05-26 Thread yang yi
is right. Please kindly help me. If the OS on server is right? If process of installation yade on server right? If the running the yade is right? It makes me very confusion. Thank you very much. Yang Yi -- You received this question notification because your team yade-users

Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC

2020-05-28 Thread yang yi
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 yang yi posted a new comment: To Bruno Chareyre (bruno-chareyre): Thank you very much. I test -j1 and -j8 on my PC, yes. the speed is the same. And I test the command ~$ export OMP_NUM_THREADS=1

Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC

2020-05-28 Thread yang yi
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 Status: Answered => Solved yang yi confirmed that the question is solved: Bruno Chareyre (bruno-chareyre) Thank you very much. It is not a good news for me. OK. I will try. Thank youo -- You recei

[Yade-users] [Question #691026]: Loading the stored the position of plank, but it wrong

2020-05-28 Thread yang yi
New question #691026 on Yade: https://answers.launchpad.net/yade/+question/691026 Dear friend: It is me again. Sorry. The new problem. I design five plank(window), and they rotates around a axis. So I storage the position of them, and hope display the rotation process of them, but the

Re: [Yade-users] [Question #691026]: Loading the stored the position of plank, but it wrong

2020-05-29 Thread yang yi
Question #691026 on Yade changed: https://answers.launchpad.net/yade/+question/691026 yang yi posted a new comment: To Jan Stránský (honzik) : Thank you very much. I attach the script as follow. There are two scripts: (1) the simulation to produce the position of 5 windows (2) display

Re: [Yade-users] [Question #691026]: Loading the stored the position of plank, but it wrong

2020-06-01 Thread yang yi
Question #691026 on Yade changed: https://answers.launchpad.net/yade/+question/691026 yang yi posted a new comment: To Jan Stránský: Thank you very much. I modified the script as follow, there just a plank. In the first It rotates around a axis and the location stored. Then the location load

Re: [Yade-users] [Question #691026]: Loading the stored the position of plank, but it wrong

2020-06-01 Thread yang yi
Question #691026 on Yade changed: https://answers.launchpad.net/yade/+question/691026 yang yi posted a new comment: To Jan Stránský : Thank you very much. I am sorry that the script can not meet MWE. My script is similar with yours. The facet rotate and restore the location , then display

Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC

2020-05-26 Thread yang yi
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 yang yi posted a new comment: Janek Kozicki (cosurgi) , Jan Stránský (honzik) , Bruno Chareyre (bruno-chareyre) Thank you very much for answer my question. According to your suggestion, I checked

Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC

2020-05-26 Thread yang yi
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 yang yi posted a new comment: 1. Jan Stránský (honzik) Than you very much for you quickly response. I explain as the follows (1) The script The script must import torch. The code is use to simulated