The local rotation law
Radial x points outward, orbital y follows rotation, and z is vertical. The epicyclic frequency describes a small radial orbital oscillation. Keplerian rotation has shear index one and a half.
How can a weak magnetic field help gas lose angular momentum? Magnetic tension couples gas that rotates at different rates. Small disturbances can draw energy from this shear and grow. Correlated velocities and the bent field then carry angular momentum outward, helping gas farther in move inward.
Change a vertical magnetic field and the disk shear. Watch a local channel grow or oscillate, then compare its magnetic and velocity stresses.
The downloadable Python standard-library example evolves four periodic vertical mesh fields. Eleven fixed cases test spatial and temporal refinement, analytic growth and stress, stable limits, shear work and the divergence of this channel. It includes 277 saved field frames.
Download the source, fields and independent checksBalbus and Hawley 1991, linear analysis, equations 2.2–2.14b; Stone and Gardiner 2010, local rotating-box equations
The replay is a linear spatial calculation. The original papers and third-party simulation packages are linked separately.
BackgroundGas in a nearly circular orbit needs to lose angular momentum before it can settle farther in. In a Keplerian disk the inner gas turns faster, even though its specific angular momentum is smaller.
Why it mattersA weak field can connect neighboring gas and transfer angular momentum between them. Their separation can grow as that transfer continues.
Radial x points outward, orbital y follows rotation, and z is vertical. The epicyclic frequency describes a small radial orbital oscillation. Keplerian rotation has shear index one and a half.
The magnetic coupling frequency combines wave number and Alfven speed. A positive real root gives exponential growth. At fixed Keplerian shear and wavelength, weak nonzero coupling gives slow growth. Strong enough coupling removes the growing mode. The displayed rate comes from this polynomial.
Angle brackets average products of local fields over height. The velocity fields vary as sine and the magnetic fields as cosine. Positive stress carries angular momentum outward.
The amplitudes in the energy expression are the four evolving real coefficients. A separate stage-stress integral checks the energy change. Solid-body rotation supplies no shear work.
Typical misconceptionA stronger magnetic field always makes MRI grow faster.
Better mental modelAt the fixed vertical wavelength here, growth exists only within a finite coupling band. Maximizing over all wavelengths asks a different question.
Typical misconceptionThe last frame gives the turbulent saturation level.
Better mental modelThe calculation stops at its declared small-amplitude boundary. Following saturation requires nonlinear equations and separately validated calculations.
Start with Fastest Keplerian growth and compare the two stress curves below the scene.
What to observe: The magnetic contribution is positive and larger than the velocity contribution. In this analytic mode their ratio is five-thirds.Drag the gold field tip up or down. With Keplerian shear, compare Weak field, slower growth with Tension restores the wave.
What to observe: The chart starts a fresh history when you change the field. At this wavelength, the weak-field preset grows slowly and the strong-field preset oscillates.Choose Solid-body rotation. Watch the kinetic and magnetic energy curves, then check their sum in the Perturbation energy density readout.
What to observe: Magnetic and kinetic energy can exchange while their total stays fixed to integration accuracy.Pause if the run is playing, then choose Save the current channel. In the JSON file, compare the four amplitudes in state, the samples in physicalField and the signed stresses in diagnostics.
What to observe: The JSON records the exact binary64 values of the displayed amplitudes. Use the separate offline package to compare solutions on different vertical meshes.You are hereMagnetorotational Instability and Angular Momentum Transport
Continue exploring
What do magnetic fields do in disks, jets and hot plasma, and what light do we see from them?
Magnetic tension and the growth of a disk disturbance · Reading path
Read the articles on this path that use this Lab, then try the other Labs they suggest.