Skip to content

jgatt/SimpleStarSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleStarSim

Simple Star Simulation - Phys375

The final project for uwaterloo course phys375 (Astrophysics 2: Stars). We had to construct a (simple) simulation of stars using the course material. Method used was the 'shooting method.' For a given central temperature the code bisects over central densities until it has found an acceptable error tolerance. We can (with simplified odes) solve for outer temperature, luminosity, etc., if we have the central temperature and central density.

Main sequence of stars generated:

Alt text

About

Simple Star Simulation - Phys375

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages