---
title: "Build a wind through its sonic point"
description: "Derive the isothermal Parker equation, choose its accelerating critical branch and compare the finite-radius heat requirement with stellar XUV power."
canonical_url: "https://sandboxphysics.com/stories/atmospheric-escape/critical-wind/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/atmospheric-escape/critical-wind/"
last_modified: "2026-10-28"
---

[Planetary atmospheres from thermal tails to winds](https://sandboxphysics.com/stories/atmospheric-escape/)

AC13 · L3

# Build a wind through its sonic point

Sandbox Physics · 2026-10-28

A smooth accelerating isothermal wind must cross the sound speed where gravity and the spherical pressure term balance. Continuity fixes its density shape; a lower-boundary density fixes its mass flow. Heating must then be checked separately.

## Before you begin

The preceding chapter defines thermal speed, binding and local Knudsen number. Here a derivative means change per small radial interval; logarithmic differentiation turns a product into a sum.

## Use continuity to eliminate density

Let $r$ increase outward from a fixed spherical gas reservoir of radius $R_{\rm b}$. Radial bulk velocity $u$ is positive outward, mass density $\rho$ is in kilograms per cubic meter and $P=\rho c^2$ is pressure. Temperature and particle mass stay fixed, so $c^2=kT/m$ is constant. Gravity points inward. Assume steady, spherical, inviscid flow, with no mass added along the path.

The mass inside each thin shell stays constant, so inflow and outflow through its faces match. This gives the same mass per second through every sphere. Differentiate its logarithm to replace the density gradient in the radial momentum equation.

$$
\dot M=4\pi r^2\rho u,\qquad\frac{d\ln\rho}{dr}=-\frac2r-\frac1u\frac{du}{dr}
$$

The two geometric powers come from the sphere area. Acceleration and geometric expansion both lower the density.

$$
u\frac{du}{dr}=-c^2\frac{d\ln\rho}{dr}-\frac{GM}{r^2}\quad\Longrightarrow\quad\left(u-\frac{c^2}{u}\right)\frac{du}{dr}=\frac{2c^2}{r}-\frac{GM}{r^2}
$$

The left side is advective acceleration. Substituting continuity moves the velocity-gradient pressure contribution to the left.

Reading: Cranmer 2004, New views of the solar wind with the Lambert W function, v1

## Pass smoothly through the critical point

At $u=c$ the coefficient of the velocity derivative vanishes. A finite slope therefore requires the right side to vanish at the same point, giving $r_{\rm s}=GM/(2c^2)$. This condition locates the critical point; it does not yet choose the direction of the crossing.

Write $x=r/r_{\rm s}$ and $\mathcal M=u/c$. Close to the critical point, put $\mathcal M=1+a(x-1)$ in the dimensionless momentum equation. Its leading terms are $2a^2(x-1)=2(x-1)$, so $a=\pm1$. The positive sign is the accelerating wind. Numerically, its regular expansion supplies a starting value just to either side of the singular point.

$$
\left(\mathcal M-\frac1{\mathcal M}\right)\frac{d\mathcal M}{dx}=2\left(\frac1x-\frac1{x^2}\right),\quad\left.\frac{du}{dr}\right|_{\rm s}=\frac c{r_{\rm s}}
$$

The original zero divided by zero is replaced by the regular positive slope.

$$
\mathcal M=1+\delta-\frac{\delta^2}{2}+\frac{\delta^3}{4}+O(\delta^4),\qquad\delta=x-1
$$

This local expansion picks the accelerating branch before numerical integration begins.

Reading: Cranmer 2004, New views of the solar wind with the Lambert W function, v1

## Choose the correct root and normalize the gas

Integrate the dimensionless equation once, choosing the constant so that $x=1$ gives $\mathcal M=1$. With $w=\mathcal M^2$, the result below usually has two positive roots. The accelerating solution takes the subsonic root inside and the supersonic root outside. Taking the smaller root everywhere creates a different solution.

The browser solves for $\ln w$ on separate negative and positive intervals. An independent reference uses the principal Lambert-W branch inside and its other real branch outside. Once velocity is known, divide the continuity expression at radius $r$ by the same expression at the reservoir to recover density.

$$
w-\ln w=4\ln x+\frac4x-3
$$

Both sides equal one at the sonic point. The sign of log w selects the branch.

$$
n(r)=n_{\rm b}\frac{u_{\rm b}}{u(r)}\left(\frac{R_{\rm b}}r\right)^2,\qquad\dot M_{\rm P}=4\pi R_{\rm b}^2mn_{\rm b}u_{\rm b}
$$

The base number density sets the mass normalization. It is independent of the stellar heating fraction.

Reading: Cranmer 2004, New views of the solar wind with the Lambert W function, v1

## Work through the default atmosphere

Take $GM=4(3.986004418\times10^{14})\,\mathrm{m^3\,s^{-2}}$, $R_{\rm b}=2(6.371\times10^6)\,\mathrm m$, $T=4000\,\mathrm K$ and $n_{\rm b}=10^{15}\,\mathrm{m^{-3}}$. With the adopted particle mass $1.6735\times10^{-27}\,\mathrm{kg}$, the sound speed is $5.7446\,\mathrm{km\,s^{-1}}$. The critical radius is $2.41574\times10^7\,\mathrm m$ or $1.89589R_{\rm b}$.

Choose the subsonic root at the base, multiply its speed by density and area, and obtain $\dot M_{\rm P}=7.69715\times10^6\,\mathrm{kg\,s^{-1}}$. At the sonic point the logarithmic density-gradient length is $L_\rho=r_{\rm s}/3$: two terms come from area expansion and one from the regular acceleration. With the adopted collision cross section, $\mathrm{Kn}_{\rm s}=0.00402$. A threshold below $0.1$ is a necessary continuum check used here.

The table below is generated from the public independent ODE replay, with the same synthetic input settings. Extra stored digits describe numerical reproducibility, not atmospheric accuracy. The two cold examples show why a mathematically defined Parker rate can be a poor physical description.

Actual synthetic results from replay-wind.py: fixed neutral-H-like particle mass and effective collision cross section, prescribed temperature, two-Earth-radius reservoir, outer radius twelve times the reservoir. Inputs include the full settings for each case. Formal wind rates are listed even when their physical assumptions fail.

| Case | Sonic radius / base | Formal Parker rate · kg/s | Sonic Knudsen | Required / available power |
| --- | --- | --- | --- | --- |
| Default wind | $1.9$ | $7.70\times10^{6}$ | $4.02\times10^{-3}$ | $2.28\times10^{-1}$ |
| Rare tail | $1.52\times10^{1}$ | $6.77\times10^{-4}$ | $1.83\times10^{8}$ | $2.05\times10^{-9}$ |
| Sparse gas | $5.06$ | $7.90\times10^{2}$ | $9.05\times10^{1}$ | $2.80\times10^{-4}$ |
| Heat shortfall | $1.26$ | $1.84\times10^{7}$ | $1.37\times10^{-3}$ | $7.52\times10^{2}$ |
| Buried critical point | $2.11\times10^{-1}$ | $7.11\times10^{7}$ | $7.26\times10^{-5}$ | $3.78$ |

## Supply the mechanical energy

Let incident high-energy irradiance $F_{\rm XUV}$ be power per area perpendicular to the rays. A planet intercepts a disk, so absorbed usable power is $P_{\rm av}=\eta\pi R_{\rm XUV}^2F_{\rm XUV}$. The illustrative choice $R_{\rm XUV}=R_{\rm b}$ must be stated; a real absorption radius can differ from a transit radius. Dividing by the base binding energy per kilogram gives the conventional energy-limited scale.

For the independently prescribed-temperature wind, compare the mechanical-energy increase only to $r_{\rm o}=12R_{\rm b}$. Constant temperature makes the specific enthalpy equal at the endpoints, so the net required heat is the kinetic plus gravitational increase. A globally isothermal wind needs continuing heat and an unbounded energy supply as the outer radius tends to infinity.

$$
\dot M_{\rm EL}=\frac{\eta\pi R_{\rm XUV}^2F_{\rm XUV}}{GM/R_{\rm b}}
$$

This is a power scale, separate from the density-normalized transport calculation.

$$
P_{\rm req}=\dot M_{\rm P}\left[\frac{u_{\rm o}^2-u_{\rm b}^2}{2}+GM\!\left(\frac1{R_{\rm b}}-\frac1{r_{\rm o}}\right)\right]
$$

The bracket has units of joules per kilogram. This is the heat that must be supplied along the computed flow to the finite outer radius.

Reading: Murray-Clay, Chiang & Murray2009, Atmospheric escape from hot Jupiters, v2 · Cranmer 2004, New views of the solar wind with the Lambert W function, v1

## Interpret a result before using it

At $F_{\rm XUV}=100\,\mathrm{W\,m^{-2}}$ and $\eta=0.15$, the default gives $\dot M_{\rm EL}=6.11443\times10^7\,\mathrm{kg\,s^{-1}}$ and $P_{\rm req}/P_{\rm av}=0.228$. The available power could supply this mechanical increase. Temperature, ionization and cooling still need an energy equation.

Changing only irradiation changes this comparison, because the transport temperature has been independently prescribed. In The missing heating, the ratio rises to about 752: that mathematical wind needs another heat supply or a different temperature structure. If the critical point lies below the reservoir, the chosen branch is already supersonic at the lower boundary. If the sonic region is collisionless, fluid transport must be replaced by a kinetic treatment. These tests tell us which next calculation is needed.

Reading: Murray-Clay, Chiang & Murray2009, Atmospheric escape from hot Jupiters, v2 · Volkov et al. 2011, Thermally driven atmospheric escape, arXiv v1

## Exercises and explanations

1. Double the base density at fixed mass, radius and temperature. What happens to the Parker mass flow and sonic Knudsen number?

   Read the explanation

   The velocity profile stays fixed. Mass flow doubles and the mean free path halves, so the sonic Knudsen number halves. Required power doubles; available stellar power stays fixed.

2. At fixed particle mass, double temperature. What happens to $r_{\rm s}$ and $\lambda_{\rm b}$?

   Read the explanation

   Both halve, because sound speed squared is proportional to temperature. The entire velocity profile must be recomputed; the mass-loss rate does not follow from this simple factor alone.

3. A calculation has constant mass flux to twelve digits but sonic Knudsen number90. Is it a verified physical wind?

   Read the explanation

   It is a numerically consistent fluid solution in a region where the fluid approximation fails. The conservation residual tests arithmetic within the equations; the collision criterion tests whether those equations describe the gas.

## Try the prediction

### [Separate transport from heating](https://sandboxphysics.com/labs/planetary-atmospheric-escape/)

1. Predict what changes when only base density doubles. Open the advanced controls and test it.
2. Select The missing heating. Increase XUV power and compare the power ratio with the unchanged velocity curve.
3. Select A buried critical point and identify the supersonic state at the reservoir.

[Previous: Calculate the escaping thermal tail](https://sandboxphysics.com/stories/atmospheric-escape/thermal-tails/) [Next: Solve and check a critical atmospheric wind](https://sandboxphysics.com/stories/atmospheric-escape/solve-a-wind/)

## Sources and calculation scope

1. [Cranmer 2004, New views of the solar wind with the Lambert W function, v1](https://arxiv.org/pdf/astro-ph/0406176v1)

   7June2004; AJP 72,1397–1403. Full text, SectionsIII–IV, equations12–16: isothermal momentum equation, critical point and the two real Lambert-W branches. The solar ionized-hydrogen sound-speed convention is replaced by our explicitly fixed single-particle mass.

2. [Volkov et al. 2011, Thermally driven atmospheric escape, arXiv v1](https://arxiv.org/pdf/1009.5110v1)

   26September2010 preprint, published ApJL729,L24(2011). Full text, Section 2 and Figures1–5: hard-sphere mean free path, radius-based versus local scale-height Knudsen numbers, kinetic escape and conditional Jeans corrections. Their heating below the lower boundary differs from a globally maintained isothermal wind. The adopted Lab collision cross section is a teaching input, not their molecular-nitrogen value.

3. [Murray-Clay, Chiang & Murray2009, Atmospheric escape from hot Jupiters, v2](https://arxiv.org/pdf/0811.0006v2)

   18November2008 revision, ApJ 693,23(2009). Full text, Section 3.2, equations19/22 and Figure 7: absorbing area, energy-limited scaling and the cooling/recombination limitations of a fixed efficiency. This source develops hot-Jupiter radiation hydrodynamics; the small-planet illustration uses only the explicitly stated global power comparison.
