Author Topic: Gravitation Simulator  (Read 22776 times)

0 Members and 1 Guest are viewing this topic.

Offline Qwerkey

  • Forum Resident
  • Posts: 755
    • View Profile
Gravitation Simulator
« on: September 14, 2018, 05:59:50 am »
This is a gravitation simulator, using Newtonian mechanics.  It is an update of a previous v0.954 program but now combined with InForm.  (The previous version cannot now be accessed as The Galleon has sailed off into the sunset!).  The use of InForm has greatly enhanced the look and usability of the program.

You will need the User Manual to download the program.  The screenshot shows a simulation of the Solar System where Pluto has nearly completed one revolution.

Richard

[User Manual replaced 08/06/19, 05/04/19]

 
Gravitation Simulation Screenshot.jpg

* Gravitation Simulation User Manual.pdf (Filesize: 367.51 KB, Downloads: 439)
« Last Edit: December 21, 2021, 09:59:04 am by Qwerkey »

FellippeHeitor

  • Guest
Re: Gravitation Simulator
« Reply #1 on: September 14, 2018, 12:19:49 pm »
Great job there, Richard!

By the way, I love the demonstration mode with on-screen descriptions and all.

Have you considered changing frames and their child controls' colors to match the background?

Capturar.PNG

FellippeHeitor

  • Guest
Re: Gravitation Simulator
« Reply #2 on: September 14, 2018, 12:33:12 pm »
And a suggestion: Zoom In and Zoom Out would probably be more appropriately presented as buttons instead of a checkbox. A checkbox gives the idea of a setting instead of a command. Since you're setting their value to false with every click, a user may consider their click wasn't processed (especially since the zoom applied is in small steps).
« Last Edit: September 14, 2018, 12:34:22 pm by FellippeHeitor »

Offline STxAxTIC

  • Library Staff
  • Forum Resident
  • Posts: 1091
  • he lives
    • View Profile
Re: Gravitation Simulator
« Reply #3 on: September 14, 2018, 12:45:36 pm »
I love the writeup, cant wait to go home and try the program. Because I cant wait, I gotta know a few things...

What kind of integrator is used, as in 1st order Euler, Runge Kutta, symplectic, or so on...?

Does the sun have finite mass? i.e. If we make Jupiter just as heavy, do we get to see the solar system as binary?

And finally, now that you are this far, I am interested in wiring in weak field general relativity to see precession of Mercury. Sounds like you used realistic physics constants, right?
You're not done when it works, you're done when it's right.

Offline Qwerkey

  • Forum Resident
  • Posts: 755
    • View Profile
Re: Gravitation Simulator
« Reply #4 on: September 14, 2018, 01:43:25 pm »
STxAxTIC, I knew you'd be interested.  You were similarly interested in the previous version.  Sorry to disappoint you.  The model hasn't changed from the previous, only integrated into InForm.

What kind of integrator is used, as in 1st order Euler, Runge Kutta, symplectic, or so on...?

Does the sun have finite mass? i.e. If we make Jupiter just as heavy, do we get to see the solar system as binary?

And finally, now that you are this far, I am interested in wiring in weak field general relativity to see precession of Mercury. Sounds like you used realistic physics constants, right?

Crikey!  I don't even understand about "what kind of integrator".  All that happens is I add up all gravitational inverse-square forces from every other body.  That's why it is so slow.  If only I knew some mathematics to be able to improve the speed.

The solar bodies have all their correct masses.

Funnily enough, I had thought "will STxAxTIC want relativistic effects to see effect on Mercury"?  Completely beyond me.

@Fellppe, I knew that this program would need modifications and the more suggestions the better for the next (and final) issue.

Richard