Questions tagged [n-body-simulations]
Questions regarding simulations for an n-body problem.
19 questions with no upvoted or accepted answers
6
votes
0
answers
75
views
What fraction of matter is not bound to the galaxies, groups and clusters that we see?
We know that most of the matter in the universe has collapsed into galaxies and galaxies into groups and clusters and that a lot of matter is presently in clusters between the galaxies. But, what ...
6
votes
0
answers
150
views
Semimajor axis variations in co-orbital moons
I've been playing with simulations of co-orbital bodies similar to Saturn's moons Janus & Epimetheus- horseshoe orbits where the two bodies are of comparable mass- and I'm seeing some very odd ...
5
votes
0
answers
206
views
Different techniques for calculation of celestial bodies dynamics with different time-scales
Differential equations describing the dynamics of celestial bodies (rotation, nutation, precession and other effects) can be solved numerically, which makes it possible to study their general non-...
5
votes
0
answers
103
views
Simulate earth, moon, sun constellation with dates
I would like to simulate the three object distance, specifically the distance of the moon to both, sun and earth for further investigation into tide prediction.
What would be a good starting point ...
4
votes
0
answers
142
views
How to speed up REBOUND python simulations on a Jupyter notebook?
I'm running Python based computational astrophysics simulations on a Jupyter notebook, with the help of a library called REBOUND (also using REBOUNDx), to create a simulation containing the solar ...
3
votes
0
answers
112
views
How well are planetary formation models (e.g., determining $\mathrm{\dot{M}_{planet}}$) understood in 2024?
I know that planets can form through accretion, bulging up from $0$ to their final mass $\mathrm{M_{planet}}$ at $\mathrm{M}(t_f)$. I know that when studying Planetary formation and migration theories,...
3
votes
0
answers
214
views
Is there a tool to convert N-body RAMSES simulation file formats to GADGET 2 format in Python?
I am looking for a way to convert RAMSES files to GADGET-2 binary files because I want to use the package SimSpin (https://github.com/kateharborne/SimSpin/blob/master/R/make_simspin_file.R) which is ...
3
votes
0
answers
54
views
How to distinguish primary hosts (stars) and orbiting satellites (planets) and tertiary bodies (moons) by their mass and trajectory?
Suppose one has run a gravitational simulation of N bodies (has the mass, vector positions, vector velocities, etc for each body), but knows nothing a priori about ...
2
votes
0
answers
386
views
How to calculate orbital velocity of binary star?
I am trying to simulate the Alpha Centauri AB System. I built the simulation, it works flawlessly when trying to simulate our solar system, and I am now trying to simulate the AB System. I found all ...
2
votes
0
answers
54
views
What are the one-dimensional observables that can reveal the matter clustering properties of the Universe?
As we all know, the distribution of galaxies, which depend on the spatial coordinates, can help us understand the large-scale structure of the Universe. We can measure the distribution of galaxies ...
2
votes
0
answers
64
views
Is this paper on globular cluster stability still up to date?
I'm looking to better understand the stability of globular clusters for an n-body dynamical simulation, specifically with respect to initial data conditions.
I know that the total potential energy ...
2
votes
0
answers
53
views
Are there any openly available simulators describing how planets form from protoplanetary disk?
Out of pure interest, I wonder whether there are existing open-source simulators that can simulate the formation of stars and planets from a protostar and the surrounding protoplanetary disk?
1
vote
0
answers
423
views
Three Body Problem using Python
I need help with an assignment. I'm doing a little project for a subject on my university and as the title says, its to find a solution to the three body problem restricted to a circular motion.
The ...
1
vote
0
answers
591
views
Nbody problem solving on python with Leapfrog
I am relatively new to astronomical programming and I am trying to code a simulation of the solar system as simplified as possible on python. To do so, I am using numpy in order to have one array ...
1
vote
0
answers
285
views
Three Body Problem
I tried to solve the three body problem numerically.
While after 1000 time steps the system looks stable (See Fig.1)
it is completely unstable after 10000 time steps (See Fig.2).
Is that an intrinsic ...
0
votes
0
answers
46
views
How to plot different curves in the same polar cordinates in matplotlib?
I tried to plot the paths of particle of different sizes in the same polar coordinate using the code given below using matplotlib. somewhat like this:
Instead I got this plot:
while the path for ...
0
votes
0
answers
102
views
Difficulty simulating trajectory of moon and sun for Apollo 11 mission
As an engineering student, I am doing a project about Kalman filtering and the mission Apollo 11. Now I tried to simulate the trajectory of the moon and sun for 3 days (the duration in which the ...
0
votes
0
answers
146
views
Are there python packages to calculate mean line of sight velocity, linewidth and other distributions from galaxy simulation snapshots?
Does anyone know of any packages/functions in packages that can give mean line of sight velocities (losv) from a simulation snapshot (from the spatial and velocity coordinates or directly from the ...
0
votes
0
answers
176
views
2-body orbits expanding in nbody simulation?
Recently, I designed an n-body engine and tested it with a binary star system. After a minute of running, the orbit began noticeably expanding:
Why is it happening, and is this natural? The source ...