https://github.com/avitase/rigidgrav
Symplectic integration of a dumbbell in space.
https://github.com/avitase/rigidgrav
rigid-body-dynamics simulation symplectic-integrators
Last synced: 6 months ago
JSON representation
Symplectic integration of a dumbbell in space.
- Host: GitHub
- URL: https://github.com/avitase/rigidgrav
- Owner: avitase
- License: mit
- Created: 2022-03-30T14:43:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T09:38:57.000Z (over 1 year ago)
- Last Synced: 2024-01-26T11:39:26.481Z (over 1 year ago)
- Topics: rigid-body-dynamics, simulation, symplectic-integrators
- Language: Jupyter Notebook
- Homepage:
- Size: 38.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# About Fat Objects in Space
This repository houses a notebook that uses a symplectic integrator to simulate a rigid body (a dumbbell) in the gravitational field of the earth. We compiled this notebook to find an answer to the question: **How does the orientation of a rigid body in space change along its trajectory?** Does it align with its velocity vector or is the initial orientation an invariant?
See the notebook for our scripts and play around on your own!
- [notebook.ipynb](notebook.ipynb)**TL;DR** Below we show what happens if the dumbbell is launched with the exact velocity its center of mass would need to stay on a circular orbit if the dumbbell would behave like a point-like particle.

It is noteworthy that this chaotic looking effect reduces if the length of the dumbbell becomes smaller w.r.t. its distance to the planet:

**Just in case you care:** We use a high order symplectic and symmetric integrator, ensure total energy and angular momentum conservation, and do our best to minimize the impact of rounding errors. Therefore, the effect of apsidal precession, for example as shown below

seems to be genuine.