Skip to main content
Sandbox Physics
Stellar evolution from pressure to fuel

L1 · Stellar structure and evolution

How pressure holds up a star

Pressure increases toward the centre of a star. A small piece of gas therefore feels a stronger push on its inner face than on its outer face. That pressure difference can balance gravity locally, throughout the star.

Choose a small radial column

Let rr be distance from the centre, increasing outward, and let m(r)m(r) be the mass inside that radius. Use metres, kilograms and pascals. The local density is ρ\rho in kilograms per cubic metre; pressure is PP. Spherical symmetry lets us describe the structure with one radial coordinate.

Consider a narrow radial column with cross-sectional area AA and thickness drdr. The gas just below it pushes outward slightly harder than the gas just above it pushes inward. The pressure force is minus the outward pressure change times area. The derivative dP/drdP/dr measures that outward change per metre.

The column’s mass is density times volume. Its gravitational acceleration is Gm/r2Gm/r^2 inward, where GG is the gravitational constant. Equate the outward pressure force to that inward weight and cancel the column’s area and thickness.

The minus sign records the direction: pressure decreases as radius increases. It does not mean pressure itself is negative. This equation states mechanical balance at one position; it does not determine the temperature, composition or energy source by itself.

−dPdr A dr=ρ A dr Gmr2⟹dPdr=−ρGmr2-\frac{dP}{dr}\,A\,dr=\rho\,A\,dr\,\frac{Gm}{r^2}\quad\Longrightarrow\quad\frac{dP}{dr}=-\rho\frac{Gm}{r^2}
The small column has outward-positive radial coordinate. The expression assumes spherical Newtonian gravity and negligible radial acceleration.

Sources: Paxton et al., MESA IV, arXiv:1710.08424v1, energy equations and convective boundaries

Count mass as well as radius

A thin spherical shell occupies volume 4πr2dr4\pi r^2dr. Multiplying by density gives its mass. This connects the outward radius coordinate with the enclosed-mass coordinate.

Divide the pressure equation by the mass equation. Density cancels, and the weight of the overlying material appears as a pressure change per kilogram of enclosed mass. A saved MESA profile supplies the enclosed masses, radii and pressures needed to check this relation with finite differences.

The massive-star examples in the atlas rotate. Their radial coordinate is volume-equivalent: a sphere of that radius has the same enclosed volume as the averaged rotating surface. The source includes a rotational factor in the pressure equation. Its saved pressure differences agree much better with the corrected equation than with the spherical expression alone.

dmdr=4πr2ρ,dPdm=−Gm4πr4\frac{dm}{dr}=4\pi r^2\rho,\qquad\frac{dP}{dm}=-\frac{Gm}{4\pi r^4}
These are the spherical, nonrotating relations. The atlas’s rotating family uses the recorded factor fp_rot in its pressure equation; the original polytrope mode uses the spherical limit.

Sources: MESA 25.12.1, history, profile and restart output documentation · Keszthelyi et al., arXiv:2209.06350v1, rotating stellar grids and physical prescriptions · Keszthelyi (2022), fixed reproduction package, Zenodo 7069766, CC BY 4.0

Solve one sphere all the way to the centre

For a first exact calculation, choose constant density. Let the sphere have total mass MM and radius RR, with negligible external pressure. This is a mathematical reference, not a thermal model of a real star. The enclosed mass then increases as the cube of radius.

Insert that mass into hydrostatic balance. The pressure gradient is proportional to minus r, so integrate from a chosen radius out to the surface, where the pressure is zero. The resulting pressure is largest at the centre and falls smoothly to zero at the edge.

For a sphere with solar mass and radius, use approximately M=1.99×1030 kgM=1.99\times10^{30}\,\mathrm{kg} and R=6.96×108 mR=6.96\times10^8\,\mathrm{m}. The constant-density central pressure is about 1.34×1014 Pa1.34\times10^{14}\,\mathrm{Pa}. This number belongs to the uniform sphere; an actual stellar model has a strongly varying density.

The formula is also a good scaling test. At fixed mass, doubling the radius reduces central pressure by a factor of sixteen. The gas occupies a larger volume, and gravity at a given radius fraction is weaker. Both changes reduce the pressure gradient needed for support.

ρ=3M4πR3,m(r)=Mr3R3,dPdr=−4πGρ23r\rho=\frac{3M}{4\pi R^3},\quad m(r)=M\frac{r^3}{R^3},\quad\frac{dP}{dr}=-\frac{4\pi G\rho^2}{3}r
Constant density fixes both the mass profile and the linear radial pressure gradient.
P(r)=2πGρ23(R2−r2),Pc=3GM28πR4P(r)=\frac{2\pi G\rho^2}{3}(R^2-r^2),\qquad P_c=\frac{3GM^2}{8\pi R^4}
The boundary condition is P(R)=0P(R)=0. The pressure unit is force per area; the right-hand side has SI units kg m−1 s−2\mathrm{kg\,m^{-1}\,s^{-2}}.

Sources: Paxton et al., MESA IV, arXiv:1710.08424v1, energy equations and convective boundaries

Mechanical balance can adjust quickly

A star need not wait for a large fraction of its fuel to burn before it reacts to a pressure imbalance. Gravity and pressure can rearrange the gas on a much shorter mechanical time. Estimate that time by asking how long gravity takes to move material over a distance comparable to the radius.

The dynamical time is roughly tdyn∼R3/(GM)t_{\mathrm{dyn}}\sim\sqrt{R^3/(GM)}. With solar mass and radius it is about sixteen hundred seconds, or twenty-seven minutes. This is an order-of-magnitude adjustment time, not the period of every stellar oscillation.

A slowly evolving star can therefore move through a long sequence of nearly balanced structures. Each snapshot has local pressure support even though its temperature and composition change gradually. The word equilibrium here refers to the fast mechanical balance.

Sources: Paxton et al., MESA IV, arXiv:1710.08424v1, energy equations and convective boundaries

Losing heat sets a different clock

A star radiates energy into space. If gravity supplied that radiation through contraction, the available energy scale would be gravitational binding energy. Divide that scale by luminosity to obtain the Kelvin–Helmholtz time. Luminosity is energy per second, so this ratio has units of seconds.

With solar mass, radius and luminosity, the estimate is about 3×107 yr3\times10^7\,\mathrm{yr}. It is vastly longer than the mechanical adjustment time. A star can consequently remain close to hydrostatic balance throughout substantial thermal evolution.

To follow that thermal evolution we need an equation for energy, an equation for heat transport and a description of the material. A polytropic relation between pressure and density closes a useful static model, but does not supply those missing evolutionary equations. It cannot tell us how much hydrogen has burnt or assign a stellar age.

tKH∼GM2RLt_{\mathrm{KH}}\sim\frac{GM^2}{RL}
MM, RR and LL denote stellar mass, radius and luminosity. This thermal timescale omits a structure-dependent numerical factor. A nuclear lifetime instead depends on the available fuel.

Sources: Paxton et al., MESA IV, arXiv:1710.08424v1, energy equations and convective boundaries · Jermyn et al., MESA VI, arXiv:2208.03651v2, Section V energy consistency

The source of pressure matters too

For an ordinary hot gas, temperature and density help determine pressure. Radiation also contributes in a luminous star. In a white dwarf, densely packed electrons contribute degeneracy pressure, associated with the quantum states the electrons occupy. Its mechanical support can remain strong while the remnant loses heat.

This separates two questions that are easy to mix together: what supports the gas, and what supplies the emitted energy? Hydrostatic balance answers the first through a pressure gradient. The next chapter follows how energy crosses the layers of the star.

Sources: Jermyn et al., MESA VI, arXiv:2208.03651v2, Section V energy consistency · Kumar and Townsley (2025), fixed white-dwarf cooling reproduction package, Zenodo 17765239, CC BY 4.0

Try the reasoning

In the uniform sphere, keep mass fixed and double radius. What happens to mean density, central pressure and dynamical time?

Mean density falls to one eighth because volume grows eightfold. Central pressure falls to one sixteenth. The dynamical time grows by 8=22\sqrt{8}=2\sqrt2, since its square is proportional to radius cubed.

If a saved interior is in hydrostatic balance, must its nuclear reactions have stopped?

No. Pressure balance is mechanical. Nuclear burning and outward energy flow can continue while the star moves gradually between nearly balanced states.

Check the uniform-sphere pressure scaling

  1. Open the original polytrope mode and choose Uniform sphere. Keep mass fixed and use the same fractional probe radius.
  2. Double radius. Compare the shell pressure before and after; the uniform-density prediction is a factor of sixteen.
  3. Return to saved stellar interiors. The rotating native models use their recorded rotational correction and have their own mass and radius.

Primary sources

  1. Keszthelyi (2022), fixed reproduction package, Zenodo 7069766, CC BY 4.0
  2. Keszthelyi et al., arXiv:2209.06350v1, rotating stellar grids and physical prescriptions
  3. MESA 25.12.1, history, profile and restart output documentation
  4. Paxton et al., MESA IV, arXiv:1710.08424v1, energy equations and convective boundaries
  5. Jermyn et al., MESA VI, arXiv:2208.03651v2, Section V energy consistency
  6. Kumar and Townsley (2025), fixed white-dwarf cooling reproduction package, Zenodo 17765239, CC BY 4.0
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