White Dwarf Crystallization 2D: Radial Fractionation & Γ Phase Diagram
2D cross-section simulation of carbon-oxygen phase separation in a cooling white dwarf: a radial composition profile integrates the real Rayleigh-fractionation ODE shell by shell, alongside a live Coulomb-coupling phase diagram showing why oxygen (Z=8) crystallizes before carbon (Z=6).
This is the 2D companion to the 3D particle-box white dwarf sim: the same carbon-oxygen phase-separation physics, computed independently as a radial (mass-coordinate) cross-section instead of a box of discrete freezing ions. The star's mass is discretized into 120 concentric shells; as the crystallization front sweeps outward from the dense center, each shell's oxygen content is set by numerically integrating the real Rayleigh-fractionation equation shell by shell — the same closed-form relation (X_liquid = X₀(1−f)^(k_D−1)) that describes fractional crystallization, verified here to converge to the analytic solution as the shell count increases. A second panel plots the Coulomb-coupling phase diagram Γ(T) for both ion species directly, showing why oxygen's higher charge (Z=8 vs carbon's Z=6) makes it cross the Γ≈175 crystallization threshold at a higher core temperature.
Why does oxygen crystallize before carbon?
The Coulomb coupling of an ion species scales as Γ_i = Γ_e·Z_i^(5/3). Oxygen has Z=8 versus carbon's Z=6, so at any given temperature oxygen's Γ is roughly 1.6× higher — its curve on the phase diagram crosses the Γ≈175 crystallization threshold at a noticeably higher temperature than carbon's.
How is the fractionation different from just picking a random freeze chance?
Rather than assigning each particle a stochastic freeze probability, this version tracks the star's oxygen budget exactly: at every shell, the instantaneous liquid composition is computed from mass conservation (total oxygen minus what is already locked in solid, divided by the remaining liquid mass), and the next shell's solid composition is k_D times that value. Integrating this shell by shell reproduces the analytic Rayleigh fractionation curve to within numerical-resolution error, and the total oxygen mass in solid+liquid never drifts from the star's true budget.
2D cross-section simulation of carbon-oxygen phase separation in a cooling white dwarf: a radial composition profile integrates the real Rayleigh-fractionation ODE shell by shell, alongside a live Coulomb-coupling phase diagram showing why oxygen (Z=8) crystallizes before carbon (Z=6).
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install