I somewhat know how to do it, although I've noticed stars with different metallicities and properties have different behaviors. That's why I wanted to make a simple model, so I can input metallicity as a factor.
Thanks for the link!
That's a shame. I'm relatively new to the math involved so a lot of what I read is confusing to me. But if it requires a 1GB tool to simulate... then simulating stellar structure is probably not what I'm going to do. This is for a game that needs to generate stars on demand at a random point in...
Thanks, your third link helped a lot. I'll read through it and see what I can come up with.
I'm not looking to apply the virial theorem yet, as I haven't yet gotten to the stage of adding gravitational contraction into the mix.
Hi, I'm trying to make a simple model of stellar evolution for a game project of mine, but I'm not sure how to predict the radius of a star's core without reference to its surface radius. I am trying to derive the surface radius from the amount of energy being released by the core. The goal is...