All Questions
Tagged with gravity simulations
7
questions
7
votes
3
answers
2k
views
Using 2D position, velocity, and mass to determine the parametric position equations for an orbiting body
I have a gravity-related question. I am programming an orbit simulator. I have everything up and running, but I would like to render the smaller body's orbital path (the larger body is fixed). To do ...
14
votes
2
answers
2k
views
$N$-body simulation in General Relativity
How would one perform an $N$-body simulation in General Relativity (GR) for something like galaxy formation or galactic dynamics?
Suppose one wants to simulate the rotation curve $v(r)$ for galaxies ...
15
votes
3
answers
885
views
Are there models/simulations of antigravitational antimatter-galaxies?
In the comments to another question's answer, I started wondering:
Assuming antimatter possessed negative gravitational mass§ (which is not proven impossible to date, though deemed unlikely though ...
10
votes
1
answer
698
views
Why doesn't my particle simulation end in a flat disc?
I've made a 3d particle simulator where particles are attracted to each other by the inverse of the square radius. The purpose of my experiment is to see if this alone would create a flat disk (like ...
5
votes
1
answer
161
views
Identify binary stars in nbody simulation
I'm doing a nbody simulation, and I'm interested in the formation of binary systems in the temporal evolution. I can identify them by eye, but I don't know an algoritmic criteria that can say me if ...
2
votes
1
answer
2k
views
Simulating Gravity in 3D Game?
Alright, I am writing a space simulator for a 3D game and I would like to implement gravity of objects into it.
Is there a nice way to find a velocity vector which can be added to my engine output ...
1
vote
3
answers
2k
views
Why does my gravity simulation do this? [closed]
For a school project i created a simple 2D gravity sim in Matlab using the simplest possible method. There are 2 nested loops so that the total force and acceleration of every object can be calculated....