Sister blog of Physicists of the Caribbean. Shorter, more focused posts specialising in astronomy and data visualisation.

Friday 29 January 2016

Some more fun with galaxy simulations.


Some more fun with galaxy simulations. 10,000 gas particles initially in a uniform thin disc. I don't remember what the mass is at all, but the temperature (if any) is not high. It's also not rotating (it only appears that it's spinning because I made the camera spin to make it look cooler). So there's literally nothing holding this up against gravity.

Because of the low temperature it's highly Jeans unstable, meaning that as well as collapsing overall, individual parts of the disc also tend to collapse at random. If two clumps happen to be near each other they don't fall directly to the centre because of their gravity.

Instead of just animating the particles over time, I decided to show both their trajectories and their motions. The particles on the current frame are the slightly blue brighter dots. Particles from the previous frame are the fainter grey dots.

6 comments:

  1. What did you use to put this together? Used to love playing with simple gravity/orbit toys back in the '90s.

    ReplyDelete
  2. It's an all-singing, all dancing code call gf. It can include star formation and the effects of supernovae feedback if necessary, though not here. It would probably do something quite different if I let the gas turn into stars instead of forming these super-dense clumps.
    Rendered (of course) in Blender.

    ReplyDelete
  3. why does it rotate? is is visual illusion or parameter in the model setup

    ReplyDelete
  4. Tim Stoev As I said :
    " It's also not rotating (it only appears that it's spinning because I made the camera spin to make it look cooler)."

    ReplyDelete
  5. sorry haven't seen the text of the post :(

    ReplyDelete

Back from the grave ?

I'd thought that the controversy over NGC 1052-DF2 and DF4 was at least partly settled by now, but this paper would have you believe ot...