Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [n-body-simulations]

The tag has no usage guidance.

1
vote
0answers
35 views

Astronomy/Astrophysics Project With C++/C/Python [closed]

I am a Computer Science Engineering student, in the 1st year of college. I'm insanely interested in making a project regarding astronomy/astrophysics but I don't know where to begin from. I know C, C++...
3
votes
0answers
59 views

Energy conservation in Barnes-Hut algorithm [closed]

I wrote a code that follows the Barnes-Hut algorithm for gravitational dynamics. Everything looks pretty good, except that when I plot the total energy $$E_{tot}\equiv E_k+E_u=const$$ I get this ...
0
votes
1answer
141 views

Is a General Relativity approximation available in Universe Sandbox (1 or 2)?

This answer points out that including General Relativity in a simulation can be computationally intensive and may not be present in Universe Sandbox. However, answers to How to calculate the planets ...
1
vote
2answers
159 views

Universe Sandbox 2 accurate representation of gravity

I've been playing Universe Sandbox for a while now and I have never been able to make a near Earth asteroid collide with it. By "make" I mean, simulating billions of years of known, near Earth objects ...
5
votes
2answers
341 views

Trisolar syzygy and it's effects on the planet

Slightly spoilers here, but in the novel The Three-Body Problem, there's a scene in which Civilization #184 is destroyed by the stacked gravitational attraction of the planet's (aptly named Trisolaris)...
8
votes
0answers
381 views

Horseshoe orbits and integration in C

I'm studying a particular case of the restricted three-body problem. It's been found that some objects follow a horseshoe orbit pattern, and I'm trying to sort out something through an integration ...
12
votes
2answers
355 views

How to discover Neptune from the Uranus orbit (by computer simulation)

I would like to demonstrate the existence of another planet (Neptune) by studying the discrepancy between the observation of the Uranus orbit and the mathematical prediction, this work was made from ...
1
vote
1answer
78 views

Astronomy online degrees

I have a masters degree in computer science and statistics but would like to advance my knowledge in astronomy, ideally in getting some kind of online degree. Does anybody have experience, ...
5
votes
3answers
465 views

Question about the Figure-eight periodic planar three-body motion

If this is a posible periodic solution for a three-body problem, can anybody tell me where is the center of mass of the system? As we know, in a n-body problem the bodies orbit around their center of ...
8
votes
1answer
4k views

Is Universe Sandbox 2 realistic?

Universe Sandbox 2 is the second installment of Universe Sandbox that is available on Steam. It is an educational simulation game based on astronomy and anything space, it ranges from supernova ...
5
votes
1answer
388 views

Stability of orbital resonance

Recently I've become more interested in the topic of the stability of planetary systems. I have been reading about it and it seems that orbital resonances play an important role in the stability of ...
5
votes
3answers
467 views

How to scale down solar system data to simulatable values

Okay, I am seriously ashamed for asking this especialy when I geniualy study on physics but there is something that bugs me with the simulation I am working on. I am re-creating the solar system in ...
5
votes
0answers
104 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 ...
1
vote
2answers
189 views

For how many bodies can there be a stable orbit with no very heavy central body?

The question is a bit vague, but let me explain: Take for example 2 bodies of the same mass. They can orbit around their centre of mass/gravity. Is something like this possible with multiple ...
1
vote
1answer
166 views

Mass resolution

Can someone define mass resolution in terms of cosmological simulations such as the millennium simulation? Is it just the smallest mass that a dark matter particle can have and still be detected by ...
1
vote
1answer
77 views

Simulation packages or theory to work with gravitational collapse of massive molecular clouds?

So, I am getting interested in gravitational collapse of large molecular clouds that fragment and collapse into multiple stars. Are there well-known popular academic simulation packages that simulate ...
2
votes
1answer
388 views

Does one need to take into account finite gravity speed in N-body simulations?

Most small-scale N-body simulations (e.g., planetary systems, solar system, stellar clusters, ...) use classical Newtonian gravity. Most large-scale N-body simulations (e.g., galaxy clusters, ...) ...
0
votes
1answer
68 views

How can I predict space directions?

Did the Neptune and Pluto trajectories ever cross or was it a mere reclassification? Do studies say that I can predict an intersection between 2 trajectories or movements based on data now? Do I have ...
3
votes
4answers
369 views

What is a possible software for simulating binary star systems?

I would like to define both initial velocities and masses of components so that orbits may be either elliptical of hyperbolic. Is there any software to make such simulation? Unfortunately, Binary ...
3
votes
1answer
1k views

Look up current positions and velocities of solar system objects

I am working on an orbital dynamics code and, for fun, I would like to model the Sun-Earth-Moon system with my code. I can look up the masses of each object just fine, as well as average distances ...
12
votes
1answer
11k views

Exercise: 2D orbital mechanics simulation (python)

Just a little disclaimer beforehand: I have never studied astronomy or any exact sciences for that matter (not even IT), so I am trying to fill this gap by self-education. Astronomy is one of the ...
1
vote
2answers
99 views

What happens if two galaxies collide very quickly?

What would happen if two galaxies collided very quickly (e.g. at near the speed of light)? Would they mostly just pass through eachother unscathed, or would there be very energetic collisions that ...
5
votes
1answer
88 views

What are the biggest problems about the numerical, finite-element GR models?

As I know, for example the modelling of the collapse of a neutron star (to a black hole) wasn't done correctly until now. Why? Yes, I know, the Einstein Field Equations aren't really easy to solve. ...
7
votes
4answers
2k views

Where can I find a set of data of the initial conditions of our solar system?

As title suggests I'm in need of a set of data of our solar system. Similar to this http://bima.astro.umd.edu/nemo/archive/#iau25, specifically dubinsky milky way-andromeda data. I'm creating a n-...
2
votes
2answers
944 views

Convert orbital elements to positions and velocities

I've written a quick and dirty n-body simulator, but currently it requires initial positions and velocities. I've been looking for a way to convert Keplerian orbital elements to positions and ...
9
votes
1answer
811 views

Emulation of an Orrery

Orrery is a clockwork model of the solar system. I am trying to emulate one in 2D. Now, to emulate, I need to know what goes on inside. Can someone please explain the basic principle behind the ...
9
votes
2answers
171 views

On analogies between gas and stellar systems

Analogies between (typically) ideal gas and stellar systems are not only intuitively valid to some extent, but have been established and used in the studies of stellar clusters and galactic systems, ...