How to Generate Accurate Initial Conditions for Simulating Galaxy Dynamics?

Click For Summary
SUMMARY

This discussion focuses on generating accurate initial conditions for simulating disc galaxy dynamics using an N-body code. The user initially employed a Gaussian distribution for star positions and a Newtonian formula for velocities, but encountered instability in the galaxy's dynamics. Suggestions include incorporating a central bulge and adding a massive halo of invisible particles to enhance stability. The conversation emphasizes the need for more sophisticated models to achieve stable dynamics over time.

PREREQUISITES
  • N-body simulation techniques
  • Gaussian distribution for spatial data
  • Newtonian mechanics for velocity calculations
  • Understanding of galaxy dynamics and stability
NEXT STEPS
  • Research advanced N-body simulation techniques
  • Explore methods for incorporating a central bulge in galaxy models
  • Learn about the effects of dark matter halos on galaxy stability
  • Investigate velocity damping techniques in dynamic simulations
USEFUL FOR

Astronomers, astrophysicists, and computational scientists involved in galaxy dynamics simulations and those seeking to improve the stability of N-body models.

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.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
8
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K