Skip to main content
Sandbox Physics

Stellar Structure and Evolution

How do mass, composition and fuel change a star? Gravity compresses a star until its pressure gradient supports the overlying gas. Mass and composition also change fuel consumption and heat transport, so stars with more fuel can burn through it sooner.

Drag a shell through saved stellar interiors. Compare main-sequence fuel, independent helium burning and a cooling white dwarf.

Interactive modelStellar Structure and Evolution
Radius inside the grid0.250.25
Shell temperature1.2×107 K1.2\times10^{7}\,\mathrm{K}
Shell density0.764 g cm−30.764\,\mathrm{g\,cm^{-3}}
Shell pressure1.29×1015 dyn cm−21.29\times10^{15}\,\mathrm{dyn\,cm^{-2}}

Ten Suns · Solar mixture

Saved MESA interiors

Source MS clock17.4 Myr17.4\,\mathrm{Myr}·10 M⊙10\,M_{\odot}·6.55 R⊙6.55\,R_{\odot}·MESA model 236

This rotating main-sequence track begins with source relaxation.

Temperature, logarithmic colour scale3.5  ⟶  8.53.5\;\longrightarrow\;8.5

The saved state on its own HR track

4.43.74.363.824.333.944.294.064.264.18
log⁡10(Teff/K),log⁡10(L/L⊙)\log_{10}(T_{\mathrm{eff}}/\mathrm{K}),\quad\log_{10}(L/L_{\odot})

Blue: native track. Gold: the selected saved interior. Pink: synthetic HR measurement. Temperature increases toward the left.

Fuel and ashes inside the star

000.250.250.50.50.750.7511
m/M,Xim/M,\quad X_i

Teal: hydrogen. Gold: helium. The mass coordinate spreads out the compact core.

Temperature with depth

0.0007514.340.2515.140.55.930.756.7317.53
r/Rgrid,log⁡10(T/K)r/R_{\mathrm{grid}},\quad\log_{10}(T/\mathrm{K})

Orange: native temperature. The gold point follows the radial probe.

Age from a synthetic HR measurement

0.17306.30.2512.40.518.60.7524.71
t/Myr,p(t∣HR,M,Z)/pmax⁡t/\mathrm{Myr},\quad p(t\mid\mathrm{HR},M,Z)/p_{\max}

Purple: relative age probability density for this known native model. The observed point is synthetic.

t16,50,84=(14.4,16.2,17.7) Myrt_{16,50,84}=(14.4,16.2,17.7)\,\mathrm{Myr}

Zsolt Keszthelyi · Zenodo 7069766 · CC BY 4.0 · Twelve significant digits in the view; original bytes in the scientific tutorial.

Pressure, heat and the fuel inside a star

BackgroundGravity compresses a star while pressure differences support each layer. Nuclear reactions change its composition, and energy flows toward the surface.

Why it mattersTwo stars can begin with different amounts of fuel and use it at very different rates. Saved interior models show which gas burns, where the ashes collect and how the surface changes.

Focus question
How do mass, composition and fuel change a star?
One-sentence intuition
A stellar clock belongs to a specified physical model. More initial fuel can be consumed sooner when the required luminosity is larger.

Core mathematical model

Support in the spherical limit

dPdm=−Gm4πr4\frac{dP}{dm}=-\frac{Gm}{4\pi r^4}

Here mm is enclosed mass and rr is radius. The four rotating main-sequence sources also record a rotation correction. Their radial coordinate is volume-equivalent.

The surface on an HR diagram

L=4πR2σSBTeff4L=4\pi R^2\sigma_{\mathrm{SB}}T_{\mathrm{eff}}^4

Luminosity, effective temperature and photospheric radius describe one selected native state. The gold HR point always matches that interior.

Usable fuel and energy demand

tfuel∼EusableLt_{\mathrm{fuel}}\sim\frac{E_{\mathrm{usable}}}{L}

This estimate holds the luminosity fixed. A calculated lifetime additionally follows mixing, changing composition, wind loss and luminosity.

Common difficulties

A large fuel tank

Typical misconceptionMore hydrogen must imply a longer life.

Better mental modelThe time depends on usable core fuel and the rate at which energy leaves the star. A more luminous star can consume a larger supply sooner.

Joining independent clocks

Typical misconceptionThe helium and white-dwarf cases complete the massive star’s timeline.

Better mental modelThey come from separate calculations with imported structures and reset clocks. The atlas preserves those origins.

A good fit and a correct model

Typical misconceptionA small HR residual proves that the inferred age is reliable.

Better mental modelAn independently withheld eleven-Sun model gives overconfident ages even with small residuals. Age inference here is conditional on a known selected native model.

Run the experiment

  1. 01

    Read a saved hydrogen-burning core

    Begin with Ten Suns, Solar mixture. Drag the gold shell through the exposed cut face.

    What to observe: Temperature and pressure rise inward. The hydrogen and helium curves reveal a mixed core and a different envelope.
  2. 02

    Compare an actual second model

    Choose Twelve Suns, Solar mixture, then Hot metal-poor star. Read each model number and its own gold HR point.

    What to observe: The four main-sequence structures are discrete outputs with fixed physical prescriptions. Their composition comparison also changes helium and element ratios.
  3. 03

    Open an independent later-stage case

    Choose the helium core and cooling remnant demos. Use Core view for the compact helium-burning region.

    What to observe: Helium, carbon and oxygen trace different fuel histories. The imported helium and white-dwarf models have separate reset clocks; the white dwarf is not the next frame of the displayed massive star.
  4. 04

    Separate inference from a saved interior

    Return to a main-sequence case. Open Synthetic measurement and prior, draw one point, then change the proper age prior.

    What to observe: The synthetic age density changes. The selected interior and gold native HR marker keep their original model number and source clock.

Related experiments and articles

What this page links to directly

Inside a star: pressure, heat and time · Reading path

Inside a star: pressure, heat and time

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleWhy a star with more fuel can live a shorter life
  2. ArticleHow pressure holds up a star
  3. ArticleHow heat crosses a star
  4. ArticleRead a stellar track by following the fuel
  5. LabStellar Fusion: Hydrogen to IronReview the reactions that change the fuel
  6. ArticleReproduce a saved MESA interior and its conditional age
  7. ArticleWhere uncertainty enters a stellar evolution model

Astronomy and gravity · Reading path

Stars and new windows on the sky

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleWhy a white dwarf has a maximum mass
  2. LabStellar Fusion: Hydrogen to IronFollow the nuclear reactions that power a star
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy