OpenPsiMu / ThePhysicsHub

The Physics Hub is an open source physics simulations project that is being developed by physics students worldwide and aims to deliver clear and easy to understand physics simulations free for everyone!
https://physicsub-198fbf007acd.herokuapp.com/
GNU General Public License v3.0
121 stars 21 forks source link

Coupled pendulum spinning out of control #22

Open Norodix opened 4 years ago

Norodix commented 4 years ago

Coupled pendulum simulation spinning out of control

With certain settings, the coupled pendulum simulation spins out of control instead of oscilating. Settings: Mass #1 0.2 Mass #2 10 Initial angle #1 -90 Initial angle #2 0 Pendulum length 0.2 Separation length 0.6 Spring rest length 0.6 Spring constant 5 g 9.8

Pendulum #1 spins around instead of oscillating

Type of issue

20akshay00 commented 4 years ago

I will look into it. From what I saw when I created this, for high spring constant values it starts giving weird results. I did not delve into whether this was a divergence of the numerical solution or if the spring constant that high just gave crazy results.

Edit: Sorry, I closed this by mistake.