Numerical instability of spherical pendulum

2 Ansichten (letzte 30 Tage)
Bas Siebers
Bas Siebers am 25 Feb. 2015
Kommentiert: Mischa Kim am 26 Feb. 2015
Hi,
I am trying to simulate a spherical pendulum. The equation of motion of the spherical pendulum are:
So far, I was able to simulate the equation of motion with a ode45 solver. However I experiencing numerical instabilities when the phi angle approach zero.
Does any one have an idea to get rid off these numerical instabilities?
Thank you in advance,
Bas

Akzeptierte Antwort

Mischa Kim
Mischa Kim am 25 Feb. 2015
Bas, the plus sign in your equation does look a bit strange. Shouldn't that be a minus instead?
  8 Kommentare
Bas Siebers
Bas Siebers am 26 Feb. 2015
Bearbeitet: Bas Siebers am 26 Feb. 2015
Thank you, I have still one question: Why is the line of the azimuth angle not straight? With other words, why is the velocity of the azimuth angle not constant? Because the initial value of the azimuth angle velocity is constant.
Mischa Kim
Mischa Kim am 26 Feb. 2015
Angular momentum is conserved (constant), not azimuth rate. The equation for the angular momentum is
m*l^2*sin(phi)^2*thetadot = const.
Therefore, when phi decreases, thetadot increases, just like described above.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by