Re: [Yade-users] [Question #692935]: fabricTensor

2020-09-16 Thread Leonard
Question #692935 on Yade changed: https://answers.launchpad.net/yade/+question/692935 Status: Answered => Solved Leonard 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 answer

[Yade-users] [Question #692945]: How many threads should be selected to achieve the best speed?

2020-09-16 Thread Wang Yu
New question #692945 on Yade: https://answers.launchpad.net/yade/+question/692945 Hello I am confused about OpenMP threads in Yade 1. In my understanding, the number of cores and threads are different, with two threads per core, but the doc notes that -j and --cores seem to be equivalent? Shoul

Re: [Yade-users] [Question #692945]: How many threads should be selected to achieve the best speed?

2020-09-16 Thread Jan Stránský
Question #692945 on Yade changed: https://answers.launchpad.net/yade/+question/692945 Status: Open => Answered Jan Stránský proposed the following answer: The "best speed" very much depends on your simulation. The best is to try several -j options and measure the time. Cheers Jan -- You re

Re: [Yade-users] [Question #692945]: How many threads should be selected to achieve the best speed?

2020-09-16 Thread Wang Yu
Question #692945 on Yade changed: https://answers.launchpad.net/yade/+question/692945 Status: Answered => Open Wang Yu is still having a problem: Thanks Jan, I have just tried some simulations. I use different "-j" and "--cores"parameters and found that : When I use "-j 20" the speed is fas

Re: [Yade-users] [Question #692945]: How many threads should be selected to achieve the best speed?

2020-09-16 Thread Jérôme Duriez
Question #692945 on Yade changed: https://answers.launchpad.net/yade/+question/692945 Status: Open => Answered Jérôme Duriez proposed the following answer: As for 1, the "2 threads per core" idea assumes hyperthreading, which is hardware-dependent. I tend myself to see "thread" and (logical,

Re: [Yade-users] [Question #692945]: How many threads should be selected to achieve the best speed?

2020-09-16 Thread Robert Caulk
Question #692945 on Yade changed: https://answers.launchpad.net/yade/+question/692945 Robert Caulk requested more information: >why isn't speed the best when using the maximum number of threads? There could be quite a few reasons for this. Impossible to answer without an MWE [1]. Cheers, Robert

Re: [Yade-users] [Question #692613]: Order of defining object and engine is causing problems

2020-09-16 Thread Launchpad Janitor
Question #692613 on Yade changed: https://answers.launchpad.net/yade/+question/692613 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 notifi

[Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Rohit John
New question #692956 on Yade: https://answers.launchpad.net/yade/+question/692956 Hello, I want to simulate the motion of debris (a cube made of pfacet) and a group of cylinders orbiting around the Earth. To do this, I want to use the Clohessy–Wiltshire equations [1]. I thought I could use the

[Yade-users] [Question #692957]: Use PotentialBlock to create polyhedrons of different sizes and let them fall freely

2020-09-16 Thread weijie
New question #692957 on Yade: https://answers.launchpad.net/yade/+question/692957 Dear all, I use the PotentialBlocks module to create polyhedrons of different sizes. The sizes of the three polyhedrons are 0.0035, 0.0075, and 0.02. Let these polyhedrons accumulate under the action of gravity, b

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Robert Caulk
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Status: Open => Needs information Robert Caulk requested more information: Hello, I am a little confused. >The CentralGravityEngine will not work because the length scale involved would be of the order of

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Janek Kozicki
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: Hi, this is a very nice idea. If you want the qglviewer camera to follow your debirs you can for example use function https://yade- dem.org/doc/yade.qt.html#yade.qt._GLViewer.

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Janek Kozicki
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: Heh, sorry. I didn't use easier to read refs [1][2][3][4]. [1] https://yade-dem.org/doc/yade.qt.html#yade.qt._GLViewer.center [2] https://yade-dem.org/doc/yade.wrapper.html#fi

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Rohit John
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Status: Needs information => Open Rohit John gave more information on the question: Hello, Thanks for your answers reply to Robert's comments. > Even if what you say is true (which seems odd to me), why s

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Janek Kozicki
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: Yeah, CentralGravityEngine is a really bad name. I don't think it is used very often in yade so we could rename it to something like CentralAccelerationEngine. Then you could u

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Janek Kozicki
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: > Can I add a new function for defining a the forces using the > Clohessy–Wiltshire equationsin the GravityEngines.cpp > based on the other functions in the file? Are there ot