How to Generate Accurate Initial Conditions for Simulating Galaxy Dynamics?

AI Thread Summary
Generating accurate initial conditions for simulating galaxy dynamics involves creating a Gaussian distribution for star positions and using Newtonian formulas for velocities. The initial model, while basic, has led to instability in the galaxy's dynamics. Suggestions for improvement include considering a central bulge and potentially adding a massive halo of invisible particles to enhance stability. Additionally, implementing a velocity dump after interactions may help manage excessive velocities. Overall, refining the initial conditions is crucial for achieving a stable simulation of galaxy dynamics.
fab13
Messages
300
Reaction score
7
Hello,

I'm trying to simulate disc galaxy dynamics with a nbody code. The main problem is to get
good initial values (positions and velocities of each star) in order to reproduce the
experimental dynamics.

For the positions, I began by generating a gaussian distribution of stars on 0x and Oy plans ( with mux=muy=0.0 and sigmax != sigmay). On 0z direction, I have generated a uniform distribution whose interval is small compared to sigmax and sigmay. ( this is supposed to reproduce the thin thickness of the disc galaxy). For the velocities of each point, I simply took the Newtonian formula :

vx = - ||vnorm|| * sin(theta)

vy = ||vnorm|| * cos(theta)

vz = 0.0

with ||vnorm||=sqrt(GM/R) with R equal to the distance from the origin and M the mass parameter that we have to adjust.

Unfortunately, using the code with these initial conditions, the galaxy is not stable from a dynamics point of view.

I know the model of these conditions is too basic. Could you give me indications to generate initial conditions more accurate, which could reproduce a stable dynamics.

For example, I should take account of a central bulge.

Has anyone got some documentation on this problem and models more elaborated ?

Thanks
 
Astronomy news on Phys.org
fab13 said:
Unfortunately, using the code with these initial conditions, the galaxy is not stable from a dynamics point of view.

I know the model of these conditions is too basic. Could you give me indications to generate initial conditions more accurate, which could reproduce a stable dynamics.
What do you mean by this: for how long should it remain stable, until it develops its spiral arms, or further than that?

In case you want to make it stable indefinitely, I think you should use some tricks, the most common is to add a massive halo of invisible particles to it.
 
||vnorm||=sqrt(GM/R) , won't that produce absurd velocities?
Maybe you could do a velocity dump after so many interactions, to see if they are very high or maxing out.
Personally I'd use (1+R), or to limit it further, add a terminal velocity as well.
 
TL;DR Summary: In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect alien signals, it will further expand the radius of the so-called silence (or rather, radio silence) of the Universe. Is there any sense in this or is blissful ignorance better? In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect...
Thread 'Could gamma-ray bursts have an intragalactic origin?'
This is indirectly evidenced by a map of the distribution of gamma-ray bursts in the night sky, made in the form of an elongated globe. And also the weakening of gamma radiation by the disk and the center of the Milky Way, which leads to anisotropy in the possibilities of observing gamma-ray bursts. My line of reasoning is as follows: 1. Gamma radiation should be absorbed to some extent by dust and other components of the interstellar medium. As a result, with an extragalactic origin, fewer...
This thread is dedicated to the beauty and awesomeness of our Universe. If you feel like it, please share video clips and photos (or nice animations) of space and objects in space in this thread. Your posts, clips and photos may by all means include scientific information; that does not make it less beautiful to me (n.b. the posts must of course comply with the PF guidelines, i.e. regarding science, only mainstream science is allowed, fringe/pseudoscience is not allowed). n.b. I start this...
Back
Top