Skip to main content
Sandbox Physics

Gas, stellar generations and delayed enrichment

A Galaxy’s Chemical Clock

How can iron and magnesium remember how quickly a galaxy formed stars? Magnesium arrives promptly from short-lived massive stars, while delayed sources add much more iron later. Stars keep their birth composition. Different star-formation speeds place that delayed enrichment at different iron abundances; fresh gas and winds also move the track.

Change star formation, fresh-gas inflow and winds. Follow one reservoir’s magnesium and iron, and the birth compositions kept by its stellar generations.

Interactive modelA Galaxy’s Chemical Clock

Gas iron abundance

−0.6 dex-0.6\,\mathrm{dex}

Gas magnesium relative to iron

−0.24 dex-0.24\,\mathrm{dex}

Gas remaining

8.08×108 M⊙8.08\times10^{8}\,\mathrm{M}_\odot

Time in the prescribed history

2.7 Gyr2.7\,\mathrm{Gyr}

The same gas and stellar generations

Own one-zone model. Colour encodes magnesium relative to iron; each cohort keeps its birth composition.

Magnesium richerIron richer
[Fe/H][\mathrm{Fe}/\mathrm H] and [Mg/Fe][\mathrm{Mg}/\mathrm{Fe}]

Horizontal: iron abundance. Vertical: magnesium relative to iron. Filled circles are born cohorts, with area proportional to locked mass. The outlined point is the selected gas state.

When new magnesium and iron arrive
Prompt MgPrompt FeDelayed MgDelayed Fe

Vertical rate in 10−3M⊙ yr−110^{-3}\mathrm{M}_\odot\,\mathrm{yr}^{-1}. These are net element mass rates, not explosion counts.

Gas, locked mass and transported mass
GasLockedWindCumulative inflow

G+Mlocked+Mwind−Min=G0G+M_{\rm locked}+M_{\rm wind}-M_{\rm in}=G_0. Inflow is cumulative transport, not another reservoir.

Dashed lines show the full computed prescribed history. Solid portions and the time cursor stop at the selected saved state; they are not measured stellar observations.

Coefficients, numerical scope and accepted data

The effective net yields are fixed factory coefficients from VICE 1.3.1. Kroupa mass limits, return fraction and the solar reference are explicit assumptions; this is not a newly integrated nucleosynthesis table. The Ia magnesium term is small and retained.

A cohort averages birth mass fractions before taking logarithms. No random scatter, surviving-star selection or real stellar catalogue is generated. The model does not uniquely determine a galaxy’s age or star-formation history.

Physics tutorial

Why the same delay can leave different chemical tracks

BackgroundNew stars inherit the composition of the gas they form from. Short-lived massive stars supply metals promptly, while delayed sources keep adding iron after that first generation.

Why it mattersCompare rapid and extended star formation, then add fresh gas. Follow how the same production rules meet a different reservoir history.

Start with the essentials

Focus question
Does one magnesium-to-iron ratio give a unique stellar age?
One-sentence intuition
A chemical ratio remembers both the timing of enrichment and the gas available to receive it.

Core mathematical model

Gas is supplied, locked and carried away

G˙=I−(1−R+η)ψR=0.4\begin{aligned}\dot G&=I-(1-\mathcal R+\eta)\psi\\\mathcal R&=0.4\end{aligned}

Here GG is gas mass, II primordial inflow, ψ\psi gross star formation and η\eta wind mass per unit initially formed stellar mass. Rates use billion solar masses per gigayear, numerically solar masses per year.

New elements and inherited elements have different roles

Zi=MiGM˙i=yiCCψ+yiIaC(t)−(1−R+η)ψZi\begin{aligned}Z_i&=\frac{M_i}{G}\\\dot M_i&=y_i^{\rm CC}\psi+y_i^{\rm Ia}C(t)\\&\quad-(1-\mathcal R+\eta)\psi Z_i\end{aligned}

Net yields count newly produced material. Inherited metals are recycled under the same return fraction; locking and wind use the current gas fraction. Primordial inflow increases gas without adding these metals, diluting their fractions.

A normalized delay distribution supplies a causal source

C(t)=∫0tψ(t−τ)D(τ) dτD(τ)∝τ−1.1∫0.15 Gyr15 GyrD(τ) dτ=1\begin{aligned}C(t)&=\int_0^t\psi(t-\tau)D(\tau)\,d\tau\\D(\tau)&\propto\tau^{-1.1}\\\int_{0.15\,\mathrm{Gyr}}^{15\,\mathrm{Gyr}}D(\tau)\,d\tau&=1\end{aligned}

The kernel is zero outside the indicated delay range. The integrated Ia yield already includes its enrichment normalization, so no extra event-rate factor is multiplied. This effective delay describes material reaching star-forming gas, not only the explosion clock.

Abundance brackets compare with a fixed solar reference

[Fe/H]=log⁡10ZFeZFe,⊙[Mg/Fe]=log⁡10ZMg/ZFeZMg,⊙/ZFe,⊙\begin{aligned}\left[\mathrm{Fe}/\mathrm H\right]&=\log_{10}\frac{Z_{\rm Fe}}{Z_{{\rm Fe},\odot}}\\\left[\mathrm{Mg}/\mathrm{Fe}\right]&=\log_{10}\frac{Z_{\rm Mg}/Z_{\rm Fe}}{Z_{{\rm Mg},\odot}/Z_{{\rm Fe},\odot}}\end{aligned}

The trace-element model keeps hydrogen fraction fixed to the adopted solar reference. These are base-ten logarithms. The same fractions colour the reservoir and define the external abundance plot.

A stellar generation keeps its integrated birth composition

Z‾i,cohort=ΔMi,lockedΔMlocked\overline Z_{i,\rm cohort}=\frac{\Delta M_{i,\rm locked}}{\Delta M_{\rm locked}}

Both increments cover the same birth interval. Average the mass fractions with birth mass before converting to a logarithmic bracket. This does not add a scatter distribution.

Common difficulties

Formed mass differs from mass still locked in stars

Typical misconceptionEvery unit of gas that forms stars stays outside the gas forever.

Better mental modelIn this approximation the returned fraction is 0.40.4. A generation that initially forms 106M⊙10^6\mathrm{M}_\odot returns 4×105M⊙4\times10^5\mathrm{M}_\odot immediately and leaves 6×105M⊙6\times10^5\mathrm{M}_\odot locked in long-lived stars and remnants. A wind removes additional gas separately.

Both early and late sources make iron

Typical misconceptionMagnesium means young stars, while all iron comes from old stars.

Better mental modelPrompt sources already make iron. The delayed effective source is much richer in iron relative to magnesium, so it changes the mixture later. A star then retains the gas composition at its birth. Different histories can pass through the same ratio.

Cohort points represent birth intervals

Typical misconceptionEach dot is a measured individual star, and its spread maps spatial mixing.

Better mental modelEach point represents one saved birth interval, weighted by the mass locked into that cohort. Its composition is the ratio of accumulated element mass to accumulated cohort mass. The single reservoir has no spatial abundance scatter.

Run the experiment

  1. 01

    Watch new gas enter

    Use the fresh-gas preset and watch the reservoir through the inflow pulse.

    What to observe: The added gas initially carries neither tracked metal. Its arrival can move the gas backwards in iron abundance while older cohorts retain their colours.
  2. 02

    Compare two star-formation clocks

    Switch between rapid and extended star formation at the same saved time.

    What to observe: The production delay is unchanged, but the earlier enrichment and available gas differ. The delayed contribution can therefore meet different iron abundances.
  3. 03

    Follow what a wind removes

    Increase wind loading and compare gas, locked material and cumulative wind outside the stage.

    What to observe: The wind carries the current mixture. A stronger wind changes both the gas available later and the amount of each element removed.
  4. 04

    Read a cohort and save the experiment

    Pause, choose a saved time in the advanced section and export the accepted JSON.

    What to observe: The selected state, rates, cohort birth fractions, input histories, units and fixed coefficient identities are all supplied together.

Related experiments and articles

Galactic chemical evolution · Reading path

From gas budgets to chemical populations

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

  1. ArticleWhy magnesium and iron remember star formation
  2. ArticleFollow the gas and the newly made elements
  3. ArticleCalculate a delayed enrichment track
  4. ArticleFrom a gas track to a stellar abundance population
  5. ArticleRecompute a fixed Sculptor abundance sample
  6. ArticleDelayed sources and imperfect mixing
FeedbackSomething 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