Jump to content
• Advertisement

# Simulation of a double rods system.

This topic is 2124 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

## Recommended Posts

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

#### Share this post

##### Share on other sites
Advertisement

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

#### Share this post

##### Share on other sites

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

#### Share this post

##### Share on other sites

Post the lagrangian you have derived.

Edited by apatriarca

#### Share this post

##### Share on other sites

• Advertisement
• Advertisement

• ### Popular Now

• 18
• 29
• 11
• 21
• 16
• Advertisement
×

## Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!