[sympy] sympy physics mechanics. Forces

2022-02-01 Thread Peter Stahlecker
For what it is worth: With *KM.auxiliary_eqs* one gets the forces acting on, say, the point where some multi body system is attached to. I tried to see, if one could also get the forces needed to make a particle move in on predetermined path. In the simple example attached (where the result is

Re: [sympy] Sympy physics mechanics

2022-01-29 Thread Peter Stahlecker
Dear Jason, I think my code is short, but I will have to ask my son how to attach a file to gmail. Thanks, Peter On Sat 29. Jan 2022 at 17:09, Jason Moore wrote: > Peter, > > The ideal way to do this is to paste the code into the email or in a > Github discussion. Making the code as short as pos

Re: [sympy] Sympy physics mechanics

2022-01-29 Thread Jason Moore
Peter, The ideal way to do this is to paste the code into the email or in a Github discussion. Making the code as short as possible to demonstrate the issues is also helpful. Here is a good example: https://github.com/sympy/sympy/discussions/22848 Jason moorepants.info +01 530-601-9791 On Sat,

[sympy] Sympy physics mechanics. Degenerate mass matricx

2022-01-29 Thread Peter Stahlecker
Dear Jason, Attached a Jupiter note book, in case this is better for you. Thanks for any help! Peter -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr..

Re: [sympy] Sympy physics mechanics

2022-01-29 Thread Peter Stahlecker
Dear Jason, I had to send it by separate mail, as I di not know how to attach a file to gmail.😩😩😩 Thanks, Peter On Sat 29. Jan 2022 at 15:48, Jason Moore wrote: > Peter, > > You'll have to share your code for us to help, as this isn't enough > information. > > Jason > moorepants.info > +01 530-6

[sympy] Sympy physics mechanics. Singular mass matrix

2022-01-29 Thread Peter Stahlecker
Dear Jason, Attached, please find my code. Thanks for any help! Peter -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this

Re: [sympy] Sympy physics mechanics

2022-01-29 Thread Jason Moore
Peter, You'll have to share your code for us to help, as this isn't enough information. Jason moorepants.info +01 530-601-9791 On Sat, Jan 29, 2022 at 9:50 AM Peter Stahlecker wrote: > I try to model a simple one mass point pendulum in 3D, the mass point is > located on the y - axis, at a dis

[sympy] Sympy physics mechanics

2022-01-29 Thread Peter Stahlecker
I try to model a simple one mass point pendulum in 3D, the mass point is located on the y - axis, at a distance d. Rotations around the y-axis do not make physical sense, hence, I use only qx, qz to describe the angles of rotation of the frame of m. If MM is the mass matrix, I get determinant(M

[sympy] Sympy physics mechanics: Speed constraints / implied forces

2022-01-22 Thread Peter Stahlecker
I was playing around with a simple 2D pedulum consisting of 4 bodies. I included one non-holonomic constraint on one of the rotational speeds. I also wanted to calculate the forces acting on the support of the pendulum, using KM.auxiliary_eqs. Now the ‚virtual speeds‘ needed to calculate the for

[sympy] sympy physics mechanics

2022-01-11 Thread Peter Stahlecker
I calculated a very simple pendulum system, using one non - holonomic constraint. All worked as per expectation. Then I tried to calculate the reactive forces at the point of attachment, using KM.auxiliary_eqs. (KM being the Kanes object). I replaced the accelerations of the generalised coordina