Stars are cosmic furnaces that burn for billions of years, but understanding their complex evolution requires sophisticated modeling of nuclear physics, fluid dynamics, and magnetic fields all working together. YREC (Yale Rotating Evolution Code) tackles one of astronomy’s most computationally demanding challenges: predicting how stars change throughout their entire lifetimes, from initial collapse to final stellar remnants.

This pseudo-2D stellar evolution code brings together modern microphysics with advanced prescriptions for rotation, surface magnetism, and starspots—phenomena that dramatically affect stellar structure and evolution. Built in Fortran for maximum computational efficiency, YREC can model everything from Sun-like stars to rapidly rotating giants and magnetically active low-mass stars. The code includes sophisticated treatments of convective mixing, stellar winds, and the complex interplay between rotation and magnetic fields that shapes stellar atmospheres.

With over 60 years of development heritage dating back to Larson & Demarque’s pioneering 1964 work, YREC has evolved into a versatile research platform used by astronomers worldwide to study solar analogs, exoplanet host stars, and stellar populations in our galaxy. The project’s modern incarnation features an interactive web interface, comprehensive documentation, and a growing ecosystem of analysis tools, making precision stellar astrophysics accessible to researchers tackling diverse problems from asteroseismology to galactic chemical evolution.


Stars: 7
💻 Language: Fortran
🔗 Repository: yreclab/yrec