An open API service indexing awesome lists of open source software.

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.

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.

![](trj.gif)
![](trj2.gif)

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:

![](trj1.gif)
![](trj4.gif)

**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

![](trj3.gif)

seems to be genuine.