Distribution of stars in spiral galaxies

AI Thread Summary
The discussion focuses on finding a simplified algorithm to model the distribution of stars in spiral galaxies. The original poster seeks a customizable model that allows for parameter adjustments without relying on third-party software. A suggestion to explore the virial theorem is provided as a starting point for developing prototypes. The complexity of the topic is highlighted, along with the lack of existing resources for coding examples. Overall, the conversation emphasizes the challenges of modeling star distribution in galaxies.
MathsMonkey
Messages
2
Reaction score
0
I've been trying to locate an algorithm to model the distribution of stars in a spiral galaxy. Simple, I thought, I'll just Google it. However I quickly disappeared up my own black hole!

What I'm looking for is a simplified algorithm I can use to model n stars in a galaxy of size x (for example).

It doesn't need to be 100% accurate but allow a number of parameters to be tweaked to provide a model which I can then use with my own visualisations to display. 3rd party software is not what I need.

Anyone give me a rough idea or some better terms to be searching for?

Thanks in advance.

MM
 
Astronomy news on Phys.org
It might be helpful to start with virial theorem.
http://www.astro.cornell.edu/academics/courses/astro201/vt.htm
Nothing easy about this, as you may have surmised.
 
Thanks Chronos. I've started implementing some prototypes based around Virial now thanks to that link.

I was surprised a) just how complicated this area was and b) how there isn't much stuff already done in this area; examples that I could take as a starting point for my code...
 
3I/ATLAS, also known as C/2025 N1 (ATLAS) and formerly designated as A11pl3Z, is an iinterstellar comet. It was discovered by the Asteroid Terrestrial-impact Last Alert System (ATLAS) station at Río Hurtado, Chile on 1 July 2025. Note: it was mentioned (as A11pl3Z) by DaveE in a new member's introductory thread. https://www.physicsforums.com/threads/brian-cox-lead-me-here.1081670/post-7274146 https://earthsky.org/space/new-interstellar-object-candidate-heading-toward-the-sun-a11pl3z/ One...
Back
Top