ESFD galaxy simulator

Orbits and magnetic forces in a hypothetical spiral disk.

Animated 3D star and gas tracers.
ESFD orbits3,200 stars · 1,150 gas tracers
0.0 Myr
R 12.0 kpc
StarsGasInferred fieldTest star

Rotation curve

Circular speed in the disk midplane

ESFDBaryons

Ordered magnetic field

Midplane field required by the gas-force model

Required |Bφ|1–5 µG survey reference

Faraday rotation

Synthetic background-source screen · 60° tilt

−1,200+1,200 rad/m²

Model equations, assumptions and numerical checks

Mass and orbits

The invented disk contains 18 billion solar masses in stars and 5.5 billion in gas. Each component uses a 3D Miyamoto–Nagai potential. The stellar radial and vertical parameters are 3.0 and 0.32 kpc. The gas parameters are 6.0 and 0.30 kpc. The stellar radial parameter stands in for the disk scale length in Eq. 57.

Φd = −GM / √[R² + (a + √(z² + b²))²]

The stars move in three dimensions. Passive gas tracers start in the symmetry plane. Spiral arms are an initial placement of tracers and wind up as the disk rotates. The smooth background mass is fixed. The calculation follows orbits, with no evolving disk self-gravity, gas collisions, dynamo or feedback from stellar formation. ¹The instrument reports circular speeds at the selected radius. Individual tracers can momentarily move faster or slower.

The ESFD field

Eq. 57 of the project’s master paper supplies a spherical cored potential in addition to baryonic gravity. The acceleration scale is 8.81 × 10⁻¹¹ m/s² and the core radius is 1.393 disk scale lengths, or 4.179 kpc here. The infinite-radius speed scale is 128.75 km/s. No particle halo is entered. An equivalent spherical mass distribution can reproduce these same orbits.

V∞⁴ = GMba★   ·   gX(r) = V∞² r/(r² + rc²)
ΦX = ½V∞² ln[1+(R²+z²)/rc²]

Eq. 58 gives the equivalent weighted spin–entropy flux Ar = gX/(4πG). This field quantity has units of kg/m². Converting it into a magnetic field requires an additional physical assumption. The logarithmic potential is used over the displayed disk.

Inferring a toroidal field

The magnetic target is the difference between the synthetic ESFD and baryonic accelerations. A residual against measured galaxy speeds would be a different input. We assign fraction f of the target to a purely azimuthal, axisymmetric field in magnetically coupled gas of density ρ = dρgas. The two sliders set f and d. The density comes from the same gas potential as the orbital calculation. Using positive-inward acceleration in the midplane gives

f gX = [Bφ²/R + ½ d(Bφ²)/dR]/(μ₀ρ)
Bφ²(R) = [2μ₀/R²] ∫₀ᴿ ρ(u)u² f gX(u) du.

Regularity at the center fixes the integration constant. An outer annulus alone would allow a free C/R² in Bφ². Strength scales as √(fd). Polarity, small-scale reversals and vertical structure are unconstrained by speeds. The field arrows represent circular streamlines. In the gas-only force mode ordinary magnetic forces act on the coupled gas, while stars feel just baryonic gravity. In ESFD mode the field inversion diagnoses the same extra force without adding it twice. Uncoupled gas is not separately sampled in the gas-only display.

An observable to check

The synthetic disk is seen through its full depth toward a distant polarized source. The azimuthal field drops vertically as sech(z/1.2 kpc). The independent assumed electron density is 0.028 exp(−R/8 kpc) sech²(z/0.9 kpc) cm⁻³. Positive B∥ points toward the observer. The assumed fixed viewing angle is independent of the orbit camera.

RM = 0.812 ∫ ne[cm⁻³] B∥[µG] dl[pc]   rad/m².

The map integrates ±8 kpc in height. Color brightness uses a square-root stretch and fixed limits. The two circles mark the selected radius on opposite sides of the major axis. Foreground rotation, beam averaging, turbulence and emission inside the disk are omitted. Real radio polarization and gas density would be needed to test this inference.

Numerical checks. The 0.2 Myr leapfrog step was tested on six 3D orbits for 1 billion years. Maximum energy drift was 5.1 × 10⁻⁶ of initial circular speed squared. Axial angular momentum drift was below 2 × 10⁻¹⁴ relative. An independent adaptive integration at 12 kpc agreed within 0.00011 kpc at the endpoint. Differentiating the inferred field recovered the input extra acceleration to within 0.00064% from 0.5 to 27 kpc.

ESFD master paper, Eqs. 57–58Miyamoto & Nagai, 1975Elstner et al., magnetic gas dynamicsBeck & Wielebinski, ordered fieldsBrentjens & de Bruyn, Faraday depth

Exports use the current magnetic assumptions. Changing force keeps each tracer’s velocity. Reset orbits to start in the new force field.