Skip to main content
Sandbox Physics

Stars passing a rotating gravitational pattern

Galactic Bar Orbits and Corotation

Why can a rotating galactic bar change a star’s orbit? A bar pulls partly along a star’s orbit and changes its angular momentum. Relative rotation changes how that pull accumulates. Some paths close in the bar’s rotating frame; a fixed-field model lets us follow the exchange between a prescribed pattern and massless stars.

Drag corotation or change the rotating field. Follow the stars, select one and compare its angular momentum with the torque acting along its path.

Interactive modelGalactic Bar Orbits and Corotation
Selected angular-momentum changeΔLz/(R0v0)=−0.115\Delta L_z/(R_0v_0)=-0.115
Selected radial velocityvR/v0=0.0105v_R/v_0=0.0105
Circular corotation radiusRCR/R0=1R_{\rm CR}/R_0=1
Weighted angular responseQ2=0.0855Q_2=0.0855

Physics tutorial

A rotating pull changes angular momentum

BackgroundA circular background field pulls straight toward the centre. Add a rotating bar-shaped contribution and some of the pull runs along a star’s path. Watch a selected star gain or lose angular momentum as it passes the pattern.

Why it mattersA star can keep moving forward while drifting relative to the bar. That relative motion determines how the changing torque adds up.

Start with the essentials

Focus question
How does the pull along the path add up to an angular-momentum change?
One-sentence intuition
The torque acts along the whole trajectory. A steady rotating field conserves one combination of energy and angular momentum, even as each changes.

Core mathematical model

The prescribed rotating field

Φ=v02ln⁡(R/R0)+ΦbΦb=Af(R)cos⁡[2(ϕ−Ωpt)]f(R)=−(RbR)3, R>Rb\begin{gathered}\Phi=v_0^2\ln(R/R_0)+\Phi_{\rm b}\\\Phi_{\rm b}=A f(R)\cos[2(\phi-\Omega_{\rm p}t)]\\ f(R)=-\left(\frac{R_{\rm b}}R\right)^3,\ R>R_{\rm b}\end{gathered}

The first term gives a flat circular-speed curve. The second has two opposite directions of stronger pull and rotates rigidly. The displayed trajectories stay outside the fixed field radius.

Tangential pull changes angular momentum

dLzdt=−∂Φ∂ϕ,ΔLz=∫τz dt\frac{dL_z}{dt}=-\frac{\partial\Phi}{\partial\phi},\qquad\Delta L_z=\int\tau_z\,dt

Energy and angular momentum here are per unit mass. A radial pull has no torque about the centre. The bar contribution can act tangentially, with its sign changing along the path. The time plot compares the actual angular-momentum change with the accumulated torque.

Corotation is a relative-speed condition

Ω(R)=v0R,κ(R)=2v0RRCR=v0ΩpROLR=(1+12)RCR\begin{gathered}\Omega(R)=\frac{v_0}{R},\quad\kappa(R)=\frac{\sqrt2v_0}{R}\\ R_{\rm CR}=\frac{v_0}{\Omega_{\rm p}}\\ R_{\rm OLR}=\left(1+\frac1{\sqrt2}\right)R_{\rm CR}\end{gathered}

Corotation means a circular star keeps pace with the pattern. The outer Lindblad reference combines radial oscillation with relative rotation. These radii describe small departures from circular background orbits; an eccentric orbit requires its actual history.

Energy and angular momentum change together

EJ=E−ΩpLz,ΔE=ΩpΔLzE_J=E-\Omega_{\rm p}L_z,\qquad\Delta E=\Omega_{\rm p}\Delta L_z

This Jacobi combination is constant for one rigidly rotating, steady-amplitude field. For example, in reference units a pattern speed of one and an angular-momentum gain of 0.05 imply an energy gain of 0.05. Changing the field starts a different calculation.

Measure an angular response

Q2=∣∑jwje2i(ϕj−Ωpt)∣,wj=1256Q_2=\left|\sum_jw_j e^{2i(\phi_j-\Omega_{\rm p}t)}\right|,\qquad w_j=\frac1{256}

Equal angular spacing makes this response vanish initially. A two-direction preference can raise it. Every tracer has the same weight; the number describes their angles, not a measured bar mass or luminosity fraction.

Common difficulties

A path that looks closed

Typical misconceptionA curve returning near its starting point in the picture is a periodic orbit.

Better mental modelA periodic parent is a closed reference for nearby motion. It must return in position and velocity in the bar frame. The reference presets solve that condition and then integrate a whole cycle. The inner and outer groups are separate local samples.

Changing the pattern during a run

Typical misconceptionThe Jacobi value should remain fixed after a pattern-speed drag.

Better mental modelThat conservation law belongs to one steady field. Changing a physical control starts a complete new trajectory from the original release conditions.

Run the experiment

  1. 01

    Remove the tangential pull

    Pause the replay, set Potential amplitude to zero, then replay the saved times. Predict what happens to the selected angular-momentum change.

    What to observe: The circular cold release keeps nearly fixed angular momentum. Restoring the bar gives the selected star a varying torque; its sign and net result depend on the whole path.
  2. 02

    Move the place that keeps pace

    Drag the cyan corotation handle outward. Compare Corotation moves outward with A faster inner pattern.

    What to observe: A slower pattern moves circular corotation outward. For example, a pattern speed of 0.7 puts it near 1.43 reference radii and the outer Lindblad reference near 2.44. The stars and angular-response curve change with the recomputed motion.
  3. 03

    Compare two actual periodic samples

    Choose Perpendicular closed parents, then Parallel closed parents. Read the radial-departure plot below the stage.

    What to observe: At this same fixed field the inner sample extends slightly farther perpendicular to the bar; the outer sample extends slightly farther along it. The separate plot resolves the small distortion. Only the two exact baselines have offline linear-elliptic evidence; neighboring stability remains unknown.
  4. 04

    Read one star and its torque

    Select a visible star, pause on a saved time and export. Compare its angular-momentum change with the torque integral.

    What to observe: The particle, plots and export follow the same trajectory. Their close torque agreement also reflects the discrete kick-drift-kick update. Independent reference integration checks the trajectory’s physical accuracy.

Related experiments and articles

Galactic bars, resonances and stellar migration · Reading path

Galactic bars, resonances and stellar migration

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

  1. ArticleWhy stars pass through galactic spiral arms
  2. ArticleDifferential rotation and orbital resonances
  3. ArticleTorque and energy in a rotating bar
  4. ArticlePeriodic orbits and radial migration
  5. ArticleRecalculate a bar orbit from saved states
  6. ArticleReading the 2026 bar-resonance tree rings
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