Re: [Yade-users] [Question #647852]: Using openmp in a python script.

2017-07-24 Thread Bruno Chareyre
Question #647852 on Yade changed: https://answers.launchpad.net/yade/+question/647852 Bruno Chareyre proposed the following answer: >so I re-phrase my question: Is there a possible way on how I could loop through the objects and addforces every timestep without compromising on the performance?

Re: [Yade-users] [Question #652267]: How to reverse the direction of an axis in the plot?

2017-07-24 Thread Bruno Chareyre
Question #652267 on Yade changed: https://answers.launchpad.net/yade/+question/652267 Status: Open => Answered Bruno Chareyre proposed the following answer: Hello, yade.plot is just a simple interface between yade and matplotlib and I'm not sure it will let you revert an axis easily.

Re: [Yade-users] [Question #652260]: Graphical Interface

2017-07-24 Thread Robert Caulk
Question #652260 on Yade changed: https://answers.launchpad.net/yade/+question/652260 Status: Open => Answered Robert Caulk proposed the following answer: 1- In simulation tab, what does the Reference button do? Reference resets the orbital center 2- In Display tan, when i check/uncheck

Re: [Yade-users] [Question #652282]: Why do the particles go up when all the forces(including gravity) are applied in the downward direction?

2017-07-24 Thread Robert Caulk
Question #652282 on Yade changed: https://answers.launchpad.net/yade/+question/652282 Status: Open => Answered Robert Caulk proposed the following answer: Hello Hashir, You apply gravity in the upward direction with: NewtonIntegrator(damping=0,gravity=[0,0,9.81],label='newtonInt') If you

Re: [Yade-users] [Question #652261]: at the beginning steps, the stresses are the same when i use different young of balls

2017-07-24 Thread Wang Wang
Question #652261 on Yade changed: https://answers.launchpad.net/yade/+question/652261 Status: Answered => Open Wang Wang is still having a problem: OK, I have edit the code in Yade so that you can see what i met. the code is :

Re: [Yade-users] [Question #652260]: Graphical Interface

2017-07-24 Thread mohsen
Question #652260 on Yade changed: https://answers.launchpad.net/yade/+question/652260 mohsen posted a new comment: Hi Robert Thansk @1. May you please give an example of how does Reference button make changes? Indeed I do not know 'orbital center' @2 Thanks @ 3 I am using KUbuntu 16.04 --

[Yade-users] [Question #652966]: utils.getStressAndTangent()

2017-07-24 Thread Wang Wang
New question #652966 on Yade: https://answers.launchpad.net/yade/+question/652966 from your website, i can see there is a command called utlis.getStressAndTangent() which can give a macroscopic Tangent. However, the program with such command has error: AttributeError: 'module' object has no

[Yade-users] [Question #652968]: Implementing Local Damping

2017-07-24 Thread Nima Goudarzi
New question #652968 on Yade: https://answers.launchpad.net/yade/+question/652968 Hello All, I am trying to implement a new code using c++. My model is mainly based on HM but due to the quasi-static nature of the simulations, I first prefer to avoid using viscous damping (cn=cs=0) and

Re: [Yade-users] [Question #652282]: Why do the particles go up when all the forces(including gravity) are applied in the downward direction?

2017-07-24 Thread Hashir Ahmad
Question #652282 on Yade changed: https://answers.launchpad.net/yade/+question/652282 Hashir Ahmad posted a new comment: Hi Jan Sorry for that. You can put "young = 5e6". -- You received this question notification because your team yade-users is an answer contact for Yade.

[Yade-users] [Question #652282]: Why do the particles go up when all the forces(including gravity) are applied in the downward direction?

2017-07-24 Thread Hashir Ahmad
New question #652282 on Yade: https://answers.launchpad.net/yade/+question/652282 I have constructed a rectangular box of particles with walls surrounding it and opened at the top. I applied some downward force on a facetCylinder with wallMask=2(i.e a circular plate) kept on the top of the box.

Re: [Yade-users] [Question #652282]: Why do the particles go up when all the forces(including gravity) are applied in the downward direction?

2017-07-24 Thread Jan Stránský
Question #652282 on Yade changed: https://answers.launchpad.net/yade/+question/652282 Jan Stránský posted a new comment: Hi Hashir, please try the scripts to be working before posting them. Here I got "NameError: name 'young' is not defined". thanks Jan -- You received this question

Re: [Yade-users] [Question #650740]: How to apply force on a certain area normally and at an angle?

2017-07-24 Thread Hashir Ahmad
Question #650740 on Yade changed: https://answers.launchpad.net/yade/+question/650740 Status: Answered => Open Hashir Ahmad is still having a problem: Hi Jan This really helped. I took reference from PIDController.py How to apply the same force at an angle? Regards Hashir -- You received

[Yade-users] [Question #652297]: Feng Chen's Yade-OpenFoam coupling model.

2017-07-24 Thread Ed Carlos Alves Rocha
New question #652297 on Yade: https://answers.launchpad.net/yade/+question/652297 Hello everyone! In Feng Chen's Yade-OpenFoam coupling model how can I start the Yade loop with OpenFoam? How do I write the FluidDragForceEngine function / engine in the simulation python file on the CFD-DEM