I've made a 3d particle simulator where particles are attracted to each other by the inverse of the square radius. The purpose of my experiment is to see if this alone would create a flat disk (like some galaxies) since the inverse of the radius is the same as gravity and we can consider the particles stars. The particles (or stars) are initially randomly distributed around a a point in space with a start velocity as the cross product of the vector pointing towards the center and the axis of rotation (to make sure there is a net angular momentum).

As you probably already guessed this is not enough to make it form a flat disc. I've been reading about galaxies and found that the cause of the disc shape is because angular momentum is hard to get rid of. However, angular momentum is not really a separate law right? I mean, by using the attraction by the inverse square of the radius the angular momentum should be constant? Please, correct me if I'm wrong.

So what am I missing? Dark matter? Dissertation? I realize that galaxy formation is a REALLY broad and advanced topic but my simulation is ONLY to get particles to form a disc shape.

Any help appreciated!


You get a disk when the particles lose energy (often by radiating it away) but keep their angular momentum.

Galaxies are made of stars, but the stars are born from clouds of gas. The gas has many ways to radiate energy away, which can cause it to settle into a disk. The stars may then be formed in the disk structure.

Not all galaxies are disks, though, many are spherical. As you say, it's not a simple problem and it depends sensitively on the initial conditions.

| cite | improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.