Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-21 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Rohit John posted a new comment: Hello all, I managed to make the code I had posted earlier faster (#6) by getting an analytical solution for the non linear equations. The code is given below. It affects the

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-19 Thread Jan Stránský
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Open => Answered Jan Stránský proposed the following answer: Hello, nice catch. I suspect eccentricAxisEngine function, the part after "#" line, the angular velocity part. It is entirely based on

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-18 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Answered => Open Rohit John is still having a problem: Dear Jan, I tried the same test, explain in the previous comment, on a clump which is force to rotate about the origin using a penalty force

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-18 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Rohit John posted a new comment: Dear Jan, I performed a simple test on your code. I tried simulating what would happen a sphere hits the clump "pendulum". Then the angular velocity about the origin was plotted

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-06 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Rohit John posted a new comment: Dear Karol and Jan, Thanks for taking time from your work to come up with really creative solutions to my problem. I will test the solutions and let you know what I find. Kind

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-04 Thread Jan Stránský
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Jan Stránský proposed the following answer: My "velocity" contribution (I could not resist and tried the "velocity" approach :-) Recalling the idea: - after InteractionLoop before NewtonIntegrator, forces (i.e.

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-04 Thread Karol Brzezinski
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, I came up with a simple idea, that could work. It doesn't require any optimization tools, so theoretically should be faster.

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-03 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Answered => Open Rohit John is still having a problem: Dear Jan, Thanks for clearing my doubt and your idea. I figured out a method using Lagrangian Dynamics and Lagrangian multipliers. The Idea is

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-03 Thread Jan Stránský
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > From what I understand, the rotationEngine forces the body to rotate about a given axis at a given angular velocity. I want the

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-02 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Needs information => Open Rohit John gave more information on the question: Dear Karol, > aren't those two statements opposite: - You are correct, I made a mistake. It is supposed to be "I am

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-01 Thread Karol Brzezinski
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Open => Needs information Karol Brzezinski requested more information: Hi John, aren't those two statements opposite: >I am trying to simulate a rigid box that is constrained to rotate about an

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-09-01 Thread Rohit John
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Needs information => Open Rohit John gave more information on the question: Hello Jan, I am trying to simulate a rigid box that is constrained to rotate about an axis that does pass through its

Re: [Yade-users] [Question #698572]: Is it possible to constrain the motion of a body along a circle

2021-08-31 Thread Jan Stránský
Question #698572 on Yade changed: https://answers.launchpad.net/yade/+question/698572 Status: Open => Needs information Jan Stránský requested more information: Hello, please provide more information about your situation. Mainly if the constrained body has blocked DOFs (its motion is