• Create Account

# Simulation of a double rods system.

Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

3 replies to this topic

### #1lukkio  Members   -  Reputation: 112

Like
0Likes
Like

Posted 26 September 2013 - 09:18 AM

Hello guys,

I'm new about analytic mechanic, so i'm try to model simple systems and then simulate their behaviour.

Suppose to have two rods 'A' and 'B', of the same lenght 'l' and of same mass 'm'. Let's call P1 and P2 the A's end point, and P2 and P3 the B's end point, they have P2 in common. Moreover let's fix a framework {O,i,j}, and suppose a force F(t) (time depedent) is applied to P3, a generic time dependent but no positional dependent.

I specify the system is holonomic, ideal and bilateral constraits.

It's better for such system either write the lagrangian of the system and the solve the equation related numerically or write the dynamic cardinal equations and then solve it numerically?

PS. The whole system A U B is unconstrained.

PPS. Does this forum use latex for write equation? So i post my doubt.

Thank you

### #2cadjunkie  Members   -  Reputation: 774

Like
0Likes
Like

Posted 26 September 2013 - 09:37 AM

I think for your example computing the Lagrangian and numerically solving your systems of equations would be simplest. Also, the forums support LaTeX math markup via MathJax. Read the article on how to use it:

http://www.gamedev.net/page/resources/_/gdnethelp/embedding-math-equations-in-articles-r3320

Example: $\left [ - \frac{\hbar^2}{2 m} \frac{\partial^2}{\partial x^2} + V \right ] \Psi = i \hbar \frac{\partial}{\partial t} \Psi$

Edited by cadjunkie, 26 September 2013 - 09:41 AM.

### #3lukkio  Members   -  Reputation: 112

Like
0Likes
Like

Posted 27 September 2013 - 01:38 AM

If i write you the lagrangian i derived can you see if it is correct?

### #4apatriarca  Crossbones+   -  Reputation: 1294

Like
0Likes
Like

Posted 27 September 2013 - 03:53 AM

Post the lagrangian you have derived.

Edited by apatriarca, 27 September 2013 - 03:54 AM.

Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

PARTNERS