Orbital Simulations

Gravitational and atomic orbital simulations based on the Planck-scale model described in Article 3 and Article 4. Code is written in C and Python; C is faster and preferable for large orbital radii and heavy centre masses. Animations were generated with gnuplot.

Model philosophy: The universe does not require an external set of commands. Rather, it is a geometrically autonomous computer — electrons orbit protons not because of pre-programmed force rules, but due to geometrical imperatives. The incremental expansion of the hyper-sphere universe does the rest.

Getting Started

C Compiler

The author uses Code::Blocks. Any C/C++ compiler works. C is recommended for computationally intensive runs.

Python

Spyder IDE is used for Python, but any environment works. Python versions are easier to modify and plot.

Animations

gnuplot for animations, Python (matplotlib) for static plots.

Licence

All code is available under CC BY-NC-SA 4.0 — free to modify with attribution.


Common Simulation Variables

  • 📌
    ipoints Number of Planck-mass points in the central mass (the Schwarzschild radius)
  • 📌
    jpoints Total number of points — in a 2-body orbit, the orbiting point is 1 mass unit; jpoints = ipoints + 1
  • 📌
    kr Sets orbital radius as multiples of ipoints (quantises radius as a function of the Schwarzschild radius)
  • 📌
    x[0], y[0] Start coordinates for the orbiting point
  • 📌
    x[1], y[1] Start coordinates for the orbited mass centre point

Note: points may also be assigned random co-ordinates for complex orbits. The simulation itself doesn't distinguish between points — they all rotate around each other.