Obtaining Lagrangian of complicated pendulum

Click For Summary
SUMMARY

The discussion revolves around creating a simulation of a complicated pendulum system with three rods that rotate freely around their pivots. The user is struggling with incorrect equations of motion and seeks advice on setting up generalized coordinates to simplify the equations presented in their work. They express a need for the equations to be in terms of accelerations for computational purposes and mention using MATLAB for numerical integration. The user also inquires about the potential of Mathematica for analytical assistance in resolving their issues.

PREREQUISITES
  • Understanding of Lagrangian mechanics
  • Familiarity with MATLAB for numerical simulations
  • Basic knowledge of chaotic systems and their properties
  • Experience with Mathematica for analytical computations
NEXT STEPS
  • Research methods for setting up generalized coordinates in Lagrangian mechanics
  • Learn how to derive equations of motion using Lagrange's equations
  • Explore the capabilities of Mathematica for symbolic computation and simplification
  • Investigate the use of stiff solvers in MATLAB for chaotic systems
USEFUL FOR

Physics students, mechanical engineers, and anyone involved in simulating complex mechanical systems or studying chaotic dynamics.

K29
Messages
103
Reaction score
0
I have to create a simulation of the pendulum shown in the .pdf at the bottom of the page. The 3 rods are free to rotate around their pivots in a plane. The two edge rods are connected as close to their edges as possible. There is no friction.
Unfortunately my equations of motion are spitting out the wrong results when it comes to computation. Something has gone wrong in my manipulations.
I don't expect anyone to go through all of the algebra looking for the mistake(s) (I've spent hours and still can't find it)
I would like to know if there is anyway of setting up my generalised co-ordinates or any other changes I can make at the beginning so that I don't end up with the lengthy and tough to follow equations on page 7-8, and the horrendous equations of motion on page 9. (They hardly fit!)

Note: I need my equations it in terms of the accelerations for the computational aspect, that's why you see the horrible terms at the end. I haven't simplified them because as they stand they are wrong(you really don't need to try make sense of these last few pages unless you have lots of time to waste). Also you may find me substituting numerical specifications in. These just come from the specs of the assignment. I don't introduce them anywhere. There is also a few things I need to fix like calling them "rods" when they are not in fact rods.I also haven't formalised and made clear the last couple of steps in the paper. Bear with me with that.(As I said though, you really don't need to bother looking at these parts!)

Here is my work:
http://myfreefilehosting.com/f/931c205ace_0.41MB

Thanks in advance.
 
Last edited by a moderator:
Physics news on Phys.org
You may have a chaotic system which is sensitively dependent on initial conditions so any attempt at computing results from a model will not match reality.
 
Yeah it is a chaotic system(computationally I'll still be able to get decent results for very small time intervals using a stiff solver and by setting MATLAB to integrate over much smaller time intervals than it automatically does, although the purpose of the assignment is ). The problem actually arises before I need to solve the DE's numerically. The expressions for the angular accelerations yield the wrong results, if for example I substitute the conditions when the system is in equilibrium, which is clearly just a mistake along the way.

I was just wondering if there was a better way to go about the physics of the system. Hopefully without having to do a lot more work doing things such as deriving Hamilton's equations for the system etc.

Does anyone know to what extent Mathematica can help for the analytical side of things? I have never used it before but apparently its very powerful
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
11
Views
2K