Universe Sandbox

Universe Sandbox Legacy => Universe Sandbox Legacy | Discussion => Topic started by: Sanduleak on May 03, 2010, 12:10:31 PM

Title: Spiral Galaxy
Post by: Sanduleak on May 03, 2010, 12:10:31 PM
This is a spiral galaxy arm generated according to the Lin and Chu theory (http://en.wikipedia.org/wiki/Spiral_galaxy (http://en.wikipedia.org/wiki/Spiral_galaxy)).

At the center of the galaxy (made of about 1000 stars) lies the "Core", a supermassive blackhole as big as 8000 suns.  I could not make the whole system coherent without one. And even with the help of the blackhole as a stabilizing factor, I'm not sure the galaxy is in equilibrium on the long term, because the simulation needs to run slowly to avoid unrealistic star collisions.

The first image shows the spiral arm with the projected paths. Subsequent images are taken at start and after 250000 years respectively. I know it doesn't seem to move much, but it does  :D

Chris
Title: Re: Spiral Galaxy
Post by: atomic7732 on May 03, 2010, 05:00:58 PM
Yay! A one armed spiral!  :D
Title: Re: Spiral Galaxy
Post by: Sanduleak on May 03, 2010, 11:33:40 PM
Yay! A one armed spiral!  :D

A dual arm version is coming soon  :D

Maybe I should explain a little bit how these are constructed: each star is following a classical, elliptical orbit around the galaxy center. Each orbit is slightly tiltted from one star to the next, meaning that the argument of the periapsis is slowly increased (or decreased) by one degree or so. The semimajor axis is also increased progressively.

In the beginning of the simulation, the stars are randomly distributed on their orbits: to put it another way, the mean anomaly is chosen at random. Since the orbits are tilted, some stars will appear statistically closer in some regions, forming the so called "arms". But in reality the stars are not staying in the arms, they are running their own elliptical course. The arms are a statistical illusion, so to speak.

Title: Re: Spiral Galaxy
Post by: atomic7732 on May 04, 2010, 07:24:31 AM
The way you are saying, wouldn't that make the arm go the wrong direction, but still keep shape?
Title: Re: Spiral Galaxy
Post by: Sanduleak on May 04, 2010, 11:48:00 AM
Yay! A one armed spiral!  :D

A dual arm version is coming soon  :D


Here it goes: the 1600 stars dual armed spiral, in its blazing glory  ;D

XML source attached to the post.

The way you are saying, wouldn't that make the arm go the wrong direction, but still keep shape?

Not sure what you mean by the wrong direction? It is true though that we do not seem to be able to control whether the motion will be clockwise or counterclockwise. But the laws of gravity being reversible, you can reverse speeds (I think there is an option somewhere in US).
Title: Re: Spiral Galaxy
Post by: atomic7732 on May 04, 2010, 03:43:23 PM
Wrong direction as in, like have the arms pointing as if rotating counter-clockwise, but the galaxy is spinning clockwise.
Title: Re: Spiral Galaxy
Post by: Sanduleak on May 04, 2010, 04:27:43 PM
Wrong direction as in, like have the arms pointing as if rotating counter-clockwise, but the galaxy is spinning clockwise.

I get it. My guess is that the spinning of the galaxy is ultimately commanded by the (averaged) longitude of the ascending nodes of each individual orbits. In my sims I have always left the nodes to their default values (zero), but I think(?) that if you tilt them by 180 degrees, the galaxy will spin the other way with the arms unchanged.
Title: Re: Spiral Galaxy
Post by: atomic7732 on May 04, 2010, 05:37:23 PM
Ummm, no I think you need inclination to be 180, retrograde.
Title: Re: Spiral Galaxy
Post by: Sanduleak on May 04, 2010, 11:11:21 PM
Ummm, no I think you need inclination to be 180, retrograde.

You're right. Both solutions are acceptable, they yield the same result.

A third option would be to invert the argument of the periapsis: in this case, the arms would be inverted but the direction of spin of the galaxy would be conserved.

I cannot think of other ways.