What Causes the Sun's Unusual Orbital Path in a Java Solar System Model?

AI Thread Summary
The Java solar system model demonstrates stable orbits for all planets, but the sun exhibits an unusual, wobbly orbital path. The model treats all celestial bodies as point masses with circular orbits around a common center of mass. The unexpected behavior of the sun's orbit raises questions about the underlying physics. Adding Jupiter to the model resolved some issues, suggesting its gravitational influence may stabilize the system. Further investigation is needed to fully understand the sun's erratic movement.
whatisreality
Messages
286
Reaction score
1
I've written a java program to model the solar system. All my planets move in very well defined, stable orbits. The sun, on the other hand, is doing some very weird stuff. I've attached a plot of its path, a very zoomed in and a very zoomed out one. It isn't spiralling gradually inwards or outwards, as far as I can tell it's going in weird, wobbly loops. How do I explain that?! Especially as the rest of the planets work so well??

In my model, all bodies are point masses and have circular orbits, and they orbit around their common centre of mass.
 

Attachments

  • sun orbit3.jpg
    sun orbit3.jpg
    42.8 KB · Views: 475
  • sun orbit.jpg
    sun orbit.jpg
    29.5 KB · Views: 449
Astronomy news on Phys.org
All good! Adding Jupiter fixed it.
 
TL;DR Summary: In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect alien signals, it will further expand the radius of the so-called silence (or rather, radio silence) of the Universe. Is there any sense in this or is blissful ignorance better? In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect...
Thread 'Could gamma-ray bursts have an intragalactic origin?'
This is indirectly evidenced by a map of the distribution of gamma-ray bursts in the night sky, made in the form of an elongated globe. And also the weakening of gamma radiation by the disk and the center of the Milky Way, which leads to anisotropy in the possibilities of observing gamma-ray bursts. My line of reasoning is as follows: 1. Gamma radiation should be absorbed to some extent by dust and other components of the interstellar medium. As a result, with an extragalactic origin, fewer...
This thread is dedicated to the beauty and awesomeness of our Universe. If you feel like it, please share video clips and photos (or nice animations) of space and objects in space in this thread. Your posts, clips and photos may by all means include scientific information; that does not make it less beautiful to me (n.b. the posts must of course comply with the PF guidelines, i.e. regarding science, only mainstream science is allowed, fringe/pseudoscience is not allowed). n.b. I start this...
Back
Top