betaFeedback

WorksPhysics and Astronomy

Magnetic field evolution in feedback-dominated galaxies

Abstract

Over the last decade, magnetic fields (B-fields) have become a common ingredient in galaxy formation simulations. Although seemingly unimportant in matching observational constraints such as the M∗−MhaloM_*-M_{\rm halo} relations, the B-field influences the circumgalactic medium (CGM) gas and determines cosmic ray (CR) propagation, making it an indispensable non-thermal component. Nevertheless, the intricate physics of B-fields, particularly how they evolve to the observed μμG-level field, remains largely elusive. In this work, we systematically address the evolution of B-fields over cosmic time using the FIRE-2 (Feedback In Realistic Environments) magnetohydrodynamics (MHD) simulations. We present results for both Milky Way (MW)-mass and dwarf galaxies, with and without CRs. We find that CRs have little impact on B-field properties, while the halo mass controls the saturated B-field strength at z∼0z\sim 0. However, all runs reach a halo-independent magnetic-to-turbulent ratio of fB∼1−10%f_{\rm B}\sim 1-10\%, though the methods used to measure turbulence could affect this value. We identify a three-stage evolutionary course for the B-field in tandem with galaxy formation: i. expansion, ii. amplification, and iii. saturation. The feature is universal, though the timings depend on the initial location and star formation history of the gas. Flux-freezing is the predominant driver for the first and last stages, exhibiting power relations B∼ρ2/3B\sim ρ^{2/3} and ρ1/2ρ^{1/2}, although the latter could also be explained by dynamical and energetic equilibria. The intermediate amplification stage, potentially driven by ``dynamos'', is fuelled by structure formation, feedback, and gas turbulence. We conjecture a numerically triggered, turbulence-driven amplification process to explain this phenomenon.

Introduction

Magnetic fields (B-fields) permeate the Universe ubiquitously across all scales: from planets to stars and accretion disks around supermassive black holes (SMBHs), from the interplanetary to the interstellar medium (ISM), and from the circumgalactic medium (CGM) to the intergalactic medium (IGM). The current observed magnetic field strength is of μG\mu\mathrm{G}-level in the ISM of the Milky-Way (MW) (Parker 1971). The B-fields in galaxies are of particular interest, as they serve as the origin of B-fields in stars (Mestel 1960), determine cosmic ray (CR) propagation (Jokipii 1966), and might affect some stages of star formation (Federrath 2016; Kaalva et al. 2026).

Both the physical origin and the course of evolution of galactic B-field are mostly unclear. Given the uncertain origins, it is a common practice in modern cosmological simulations to set the initial B-fields, or the “seed field”, to be some weak (∼\sim nG) imposed fields (e.g. a homogeneous field). However, many works have shown that the choice of seed fields and the seeding methods have little to no impact on the properties of galactic B-fields at low-zz (Martin-Alvarez et al. 2021; Ramesh et al. 2026), being able to produce observables consistent with observations (e.g. see Pakmor & Springel (2013); Ponnada et al. (2022)). Some theories have proposed possibilities of how B-fields were seeded, including the Biermann battery (Attia et al. 2021), the dust battery (Soliman et al. 2025), and supernova or black hole injection (Martin-Alvarez et al. 2021; Ramesh et al. 2026). Or, the B-field could have been completely “primordial”, arising in the early Universe without any astrophysical processes (Ratra 1992; Barrow & Tsagas 2011), though the distinction between primordial and astrophysically originated B-fields is somewhat nebulous (Garaldi et al. 2021), as we have minimal observational evidence for B-fields at such high redshifts.

Galactic B-fields are highly turbulent and exhibit complex spatial structures, as revealed by both observations and simulations [82] (Moss et al. 2012; Beck 2016; Su et al. 2018). Only a very limited number of observational methods are available to observe the galactic B-fields, mostly indirect, including Faraday rotation measure (RM, Prochaska (2020)), dust polarization (Hoang & Lazarian 2008, 2014), Zeeman effects (Basu & Roy 2013), and radio synchrotron emission (Basu & Roy 2013; Beck 2015). Synthetic observations have been generated from simulations with B-field implementations to compare with observations, e.g., Pakmor et al. (2018) for RM, and Pfrommer et al. (2022); Ponnada et al. (2024) for radio synchrotron emission.

In general, galactic B-fields are dynamically and energetically unimportant. Although observed to be roughly in equipartition with the thermal, turbulent, and CR energies in the solar neighbourhood (Boulares & Cox 1990; Beck 2016), galaxy simulations showed that the strength of B-fields could drop drastically in the CGM, making up ≲10%\lesssim10\% of the turbulent and thermal energy in MW-mass galaxies, while the values of the magnetic-to-turbulent ratio can range from ≲1%\lesssim1\% to ∼20%\sim20\% depending on the code and feedback recipes (Pakmor et al. 2020; Rieder & Teyssier 2016; Ponnada et al. 2022; Marinacci et al. 2018). However, B-fields may be energetically important in dwarf galaxies, where less gas is retained and weaker turbulence is present due to their low masses (Kepley et al. 2011; Martin-Alvarez et al. 2025).

Although B-fields have already been included in many cosmological galaxy simulations with various feedback models, both large-scale and zoom-in, how the galactic B-field was amplified during the course of galaxy formation and evolution is still a total mystery. Turbulence of gas, feedback processes, and large-scale inflow/outflow could all potentially be responsible for the amplification of the B-field in galaxy evolution. During the early stage of galaxy evolution, dynamos1 are thought to be the primary amplification source, and later stage amplification is mostly dominated by flux-freezing. This broad trend was seen in multiple simulation works, including the Auriga simulation project (run with the AREPO code, Pakmor et al. (2020, 2024)), simulations run with RAMSES code (Rieder & Teyssier 2016, 2017a,b; Martin-Alvarez et al. 2018), simulations run with ENZO code (Butsky et al. 2017), and, as will be shown in this work, FIRE simulations (run with GIZMO code). On the other hand, numerical effects usually have non-negligible impacts on the B-field growth (especially in particle codes, see the recent work Tomida et al. (2026)), as the divergence cleaning schemes could create complications and affect the actual B-field physics (Hopkins & Raives 2016; Hopkins 2016). Among the aforementioned works, some used idealized and some used cosmological simulations, and the feedback models included were also different. Nevertheless, they all more or less reached the similar conclusion that feedback is indeed critical to B-field amplification.

Among many simulations with feedback models, perhaps one of the most timely implementation is the Feedback In Realistic Environment (FIRE) project2 (Hopkins et al. 2014, 2018b, 2023). We summarize the simulation methods, including the implementation of B-fields, in Section 2. Su et al. (2017) implemented the B-field in tandem with FIRE-2 feedback physics, and Su et al. (2018) was the first FIRE-related work to discuss the structure of the B-field in the galaxy. Further works studying B-field structure and corresponding observables include Ponnada et al. (2022, 2024). Although Ponnada et al. (2022) performed a thorough analysis on the structure of the B-field in z=0z = 0, L⋆L_\star galaxies and generated multiple synthetic observations to compare with real observations, they did not explore the evolution of B-field. This provides the motivation for this work.

In this paper, we aim to draw a more comprehensive picture of galactic B-fields3 in feedback-dominated galaxies over the course of galaxy evolution. We will focus on the general amplification process and aim to reveal potential connection to dynamos.

This paper is organized as follows. In Section 2 we introduce the FIRE-2 simulations, with a particular focus on the implementation of B-fields and CRs, and present the simulations we select for this work. In Section 3 we present the properties of the B-field in our galaxies at low-zz. In Section 4 we use Eulerian (fixed-volume) and Lagrangian (particle tracing) methods to address the amplification of the B-field over cosmic time in tandem with galaxy evolution. In Section 5 we present some robustness tests and conjecture a potential dynamo origin, and in Section 6 we conclude.

Methods

In this section we briefly discuss the methodological setup of this exercise. In Section 2.1 we review the core physics implemented in the FIRE-2 feedback models. In Section 2.2 we recapitulate the main physics of B-fields and CRs and how they were evolved in FIRE-2 simulations. In Section 2.3 we introduce the specific FIRE-2 simulations we analyzed in this paper.

FIRE-2 simulations

We use simulations evolved with the FIRE-2 method for star formation and feedback (Hopkins et al. 2018b), which is an updated version of the FIRE-1 model (Hopkins et al. 2014). Here, we briefly describe the FIRE-2 methods and refer the readers to the original references for further details. The simulations are run with the GIZMO code (Hopkins 2015), with a meshless finite-mass MFM solver (a mesh-free finite-volume Lagrangian Godunov method). All simulations presented in this work include ideal magnetohydrodynamics (MHD), thermal conduction and viscosity (Hopkins et al. 2020b), and gravity with adaptive Lagrangian force softening for gas. These are cosmological “zoom-in” simulations, evolving a large box from z≳100z \gtrsim100 with resolution concentrated on a ∼1\sim1–1010 Mpc comoving volume around a target halo of interest.

Radiative cooling, star formation, and stellar feedback mechanisms are all included following the FIRE-2 implementation (Hopkins et al. 2018b). Gas cooling is followed from 1010–101010^{10} K including Compton, free-free, metal line, fine-structure, atomic, and molecular processes. We also follow photoelectric and photoionization gas heating by both local sources and a uniform metagalactic background including the effect of self-shielding (Faucher-Giguère et al. 2009). As for stars, star formation is allowed when all the following criteria are satisfied: the gas is locally self-gravitating (Hopkins et al. 2013; Grudić et al. 2018), self-shielding, Jeans-unstable, molecular, and dense (n>1000 cm−3n > 1000\ {\rm cm}^{-3}). Stars then evolve according to standard star evolution tracks, assuming Kroupa IMF (Kroupa et al. 2011) and explicitly accounting for the mass, metals, momentum, and energy injected via individual supernovae (SNe, type Ia & II), OB/ and AGB-star mass-loss (Hopkins et al. 2018a), and their radiation (Hopkins et al. 2020a).

We adopt a standard, flat Λ\LambdaCDM cosmology with h≈0.70h \approx0.70, ΩM=1−ΩΛ=0.27\Omega_{\rm M} = 1-\Omega_\Lambda= 0.27, and Ωb≈0.045\Omega_b \approx0.045, consistent with the current constraint [60].

B-fields and CRs

Both B-fields and CRs are included in the FIRE-2 simulations as part of the “non-default” physics, and can be found in the second FIRE-2 public data release (Wetzel et al. (2025)). Here, we only recapitulate the essence of those implementations, and refer the readers to the original papers for more details: for the B-field physics, refer to Hopkins & Raives (2016) for MHD implementation in GIZMO and to Su et al. (2017) and Hopkins et al. (2020b) for MHD implementation in FIRE simulations; for the CR physics, refer to Chan et al. (2019) and Hopkins et al. (2021a).

For the B-field, an initially homogeneous constant seed field was seeded at z=100z=100 with magnitude Bini,x=Bini,y=Bini,z=10−1B_{\mathrm{ini},x}=B_{\mathrm{ini},y}=B_{\mathrm{ini},z}=10^{-1} nG =10−10=10^{-10} G in physical value, giving total Bini=3×10−10B_{\mathrm{ini}}=\sqrt{3}\times10^{-10} G (∼10−14\sim10^{-14} comoving G 4). The ideal MHD equations (i.e., no magnetic diffusion) were evolved. Anisotropic conduction and anisotropic viscosity were also included in the simulations. To mitigate the spurious divergence error (i.e. a non-zero ∇⋅B\nabla\cdot\boldsymbol{B}), we employ a combination of Powell (Powell et al. (1999)) and Dedner (Dedner et al. (2002)) divergence cleaning schemes. The details of the methods and tests performed were presented in Hopkins & Raives (2016).

As for the CRs, we employ a two-moment method that explicitly evolves the CR energy density eCRe_{\mathrm{CR}} and the CR energy flux FCR\boldsymbol{F}_{\mathrm{CR}}. The most important distinction between the one-moment and two-moment methods is that the flux is calculated in the former but solved in the latter. The CR transport was introduced in the diffusion equation of CR flux. The CR diffusion coefficient (or diffusivity) κ\kappa is a constant (≈3×1029 cm2 s−1\approx3 \times10^{29}\ \mathrm{cm}^{2}\ \mathrm{s}^{-1}), whose value was constrained by matching empirical γ\gamma-ray observations from nearby galaxies (Chan et al. (2019)). The CR physics is coupled with the B-field, so we essentially evolve a set of CR-MHD equations. Note that in this work we only include the constant diffusion model with the aforementioned diffusivity value (dubbed “CR-CD” or “CD” hereafter), aiming to test if the presence of CR modifies the evolution of the B-field; discussion about other physically motivated models with variant diffusion coefficients, as well as their implications on galaxy properties and observables, can be found in Hopkins et al. (2021b) and Lu et al. (2026).

Selected simulations

In Table 1 we introduce the simulation runs analyzed in this work. We choose a total of four target haloes, including two intermediate mass dwarfs (m11b and m11c) and two MWs (m12i and m12f). For each target halo, we ran the simulations with (labelled as “CR-CD”) and without (labelled as “MHD+”) the CRs. Main properties of the zoom-in galaxies at z=0z=0 are also presented in Table 1. It should be noted that in general, the CR-CD run has smaller stellar mass compared to the MHD run for the same halo, and this difference is more pronounced as the halo becomes more massive. This is related to the fact that CRs provide non-thermal support and thus suppress star formation rates (Hopkins et al. 2020b; Lu et al. 2026).

Target haloBasic physicsmgas cellm_{\mathrm{gas\,cell}} [M⊙M_{\odot}]RvirR_{\mathrm{vir}} [pkpc]MvirM_{\mathrm{vir}} [M⊙M_{\odot}]M⋆(<0.1Rvir)M_{\star}(<0.1R_{\mathrm{vir}}) [M⊙M_{\odot}]Notes
m12iFIRE-2 MHD+<br>FIRE-2 CR-CD≈7×103\approx7 \times10^{3}2751.0×10121.0 \times10^{12}7×10107 \times10^{10}<br>3×10103 \times10^{10}“Latte” halo, large, late-forming disk
m12fFIRE-2 MHD+<br>FIRE-2 CR-CD3061.6×10121.6 \times10^{12}8×10108 \times10^{10}<br>4×10104 \times10^{10}Merger with an LMC-like companion
m11cFIRE-2 MHD+<br>FIRE-2 CR-CD≈2×103\approx2 \times10^{3}1381.4×10111.4 \times10^{11}1×1081 \times10^{8}<br>9×1089 \times10^{8}Late-forming, LMC-like halo
m11bFIRE-2 MHD+<br>FIRE-2 CR-CD92.24.3×10104.3 \times10^{10}8×1078 \times10^{7}Disky, fast-rotating

Table 1. FIRE-2 simulation runs analyzed in this work. We choose two MW-mass haloes and two dwarf haloes. All simulations are zoom-in, and properties presented are at z=0z=0. For more information about the haloes, see Hopkins et al. (2018b).

In this work we only present the aforementioned selection of simulation runs, though we remark here that other FIRE simulation runs of MWs and dwarfs exhibit similar B-field features, both the structure and evolutionary tracks, and therefore we state that this selection is representative enough to draw robust conclusions.

B-field properties at z=0

In this section, we discuss properties of B-field in our simulated galaxies at z=0z=0. A comprehensive analysis on structure and observable-inferred B-field properties for the L⋆L_{\star} galaxies has already been presented in Ponnada et al. (2022, 2024). Those works focused more on the distinctions between MHD and CR runs. Therefore, in this work, we focus more on the evolution of the B-field and the mass dependence of B-field properties.

In Figure 1 we present a visualization for B-fields in our selected FIRE-2 galaxies at z=0z=0. The colours represent B-field strengths, sliced through two planes representing the face-on and edge-on views of the galactic disks. Streamlines of B-fields are overlaid to illustrate the geometry of the B-fields. The morphology of B-field is in broad resemblance with the gas density distribution [not shown here, but see e.g. Hopkins et al. (2020b)]: we see spiral-like structure of the B-field in the disk midplanes. The B-field lines are generally turbulent. Closer to the galactic disk, we see alignment between the field lines and the direction of the rotation of the disk. This feature is particularly pronounced in the m11b halo, as the B-field lines are almost swirling around the central fast-spinning disk. We see from our visualizations that the inclusion of CRs (i.e. MHD+ vs. CR-CD runs for the same halo) has little impact on the structure of B-field, while the B-fields features in different host haloes are more distinct.

Visualization for the B-field in selected galaxies at $z=0$

Figure 1. Visualization for the B-field in our selected galaxies at z=0z = 0. We show slice plots in both face-on (bigger panels) and edge-on (smaller panels) views. All slice plots are centred at the centres of the galactic disks. Overlaid streamlines illustrate the orientation of the B-field inside the sliced planes. “Voids” with low B-field strengths seen in the two MW runs correspond to SN explosions where the densities are low. The MWs (left two columns) have a much higher B-field strength compared to the dwarfs (the right two columns), especially outside the disk. The B-field is in general turbulent, but there is a slight alignment between the field lines and the galactic spirals due to rotations. The m11b has a fast-rotating disk, so the B-field lines outside the disk swirl around the disk.

In Figure 2, we show the distribution of the B-field strength B=∣B∣B = |\mathbf{B}| as a function of the density nHn_{\mathrm{H}}. We first compute the 2D mass-weighted distribution histograms of B(nH)B(n_{\mathrm{H}}) for all gas at r≤Rvirr \leq R_{\mathrm{vir}} for each run (where rr is the galactocentric distance), then draw contours enclosing 90% of the highest-probability-region of such histograms. All the MW-mass galaxies are placed in the left panel and all the dwarfs are placed in the right panel. Both MW-mass galaxies and dwarfs roughly follow the B∼nH1/2B \sim n_{\mathrm{H}}^{1/2} in their BB–nHn_{\mathrm{H}} distributions, with larger deviations from this trend at low densities. This could arise from various scenarios, and we discuss them below.

Mass-weighted $B$–$n_{\mathrm{H}}$ distributions at $z=0$

Figure 2. Mass-weighted BB–nHn_{\mathrm{H}} distributions at z=0z = 0 within RvirR_{\mathrm{vir}}. We present 90%-enclosed highest-probability-region (HPR) contours of the 2D mass-weighted probability distribution function (PDF) in (log⁡nH,log⁡B)(\log n_{\mathrm{H}}, \log B) for the MW-mass (left) and dwarf (right) galaxies. Linestyles label the MHD+ and CR-CD runs for each halo. The dashed black line shows B∝nH1/2B \propto n_{\mathrm{H}}^{1/2} for reference, which could be a direct result from assuming flux-freezing in a 2D planar or filamentary geometry (see the main text for a more detailed discussion). We see a general trend that the gas in the dwarfs have lower B-field strengths despite similar density ranges. This could be mainly due to that saturation is controlled by the turbulent energy (see discussion in § 4.1).

(i) Flux-freezing (Alfvén 1942). This happens in ideal MHD and when the B-field is completely passive. In general, if the B-field collapses along with the environment, the B-field strength BB can be modelled by some power-law relation with the density nHn_{\mathrm{H}}: B∝nHαB \propto n_{\mathrm{H}}^\alpha. Such relations can arise from multiple scenarios depending mostly on the flow geometry (Tritsis et al. 2015). The value of this parameter, in theory, can be any number (both positive and negative), but in reality the number is almost always between 0 and 1 due to geometric constraints (see § 5 for more discussion). For an isotropic collapse or expansion (e.g. early expansion before structure formation), α∼2/3\alpha\sim2/3; for 2D filamentary or planar collapses, which is a better representation for low-zz galaxy formation, α∼1/2\alpha\sim1/2. The fact that B∼nH1/2B \sim n_{\mathrm{H}}^{1/2} for most of the gas within RvirR_{\mathrm{vir}} suggests that flux-freezing could be the dominant physical process at low-zz. More detailed discussions about the BB–nHn_{\mathrm{H}} relations can be found in Tritsis et al. (2015); Whitworth et al. (2025), and we will also return to this in § 5.

(ii) Dynamical equilibrium. This happens when the magnetic pressure gradient from the large-scale mean field in the disk becomes strong enough to resist the magnetic field lines bending due to self-gravity: ∣∇PB∣∼PB/Rdisk∼B2/Rdisk∼vcirc2/Rdisk|\nabla P_B| \sim P_B/R_{\mathrm{disk}} \sim B^2/R_{\mathrm{disk}} \sim v_{\mathrm{circ}}^2/R_{\mathrm{disk}}. Given that the circular velocity vcircv_{\mathrm{circ}} is constant at a given radius, one could recover the B∼ρ1/2B \sim\rho^{1/2} relation5 from this setup. However, this applies only to very high density gas, primarily in the disk.

(iii) Energy equilibrium. This happens when the saturation is resulted from tension shutting down the small-scale dynamos and magnetic helicity, then Pmag∼Pturb∼ερvturb2P_{\mathrm{mag}} \sim P_{\mathrm{turb}} \sim\varepsilon\rho v_{\mathrm{turb}}^2, namely the magnetic energy saturates to a certain fraction of the turbulent energy (which is what we observe in our simulations with ε∼1−10%\varepsilon\sim1 - 10\%; see Figure 5). From this we obtain B∝ρvturbB \propto\rho v_{\mathrm{turb}} (which is equivalent to vA∝vturbv_{\mathrm{A}} \propto v_{\mathrm{turb}}). If vturbv_{\mathrm{turb}} is constant, which is plausible at high-density regime as argued in Su et al. (2018), one again could recover the B∼ρ1/2B \sim\rho^{1/2} relation.

Tracks tracing individual gas particles for the m12i CR-CD run

Figure 5. Tracks tracing individual gas particles for the m12i CR-CD run. The traced physical quantities are labelled at each panel’s axes. We choose the particles with nHn_{\mathrm{H}} ranging from 10−610^{-6}–103 cm−310^{3}\,\mathrm{cm}^{-3} at z=0z = 0 (so for a given nHn_{\mathrm{H}} profile, this essentially ensures including particles across different locations of the galaxy), and every individual track in each panel represents the median value of a group of 100 particles within the same density range at z=0z = 0 and is colour-coded by time and redshift. In each panel, arrows pointing from high to low redshifts are annotated to guide the eyes. The colour scheme transitions linearly in the look back time. Shaded regions under the tracks correspond to the 16th–84th percentile of the same group of particles at each time, colour-coded the same way as the tracks. See the main text for details of particle selection and grouping. The z=0z = 0 (final) locations for each group are marked as dots on the tracks. We label several significant evolutionary milestones using stars with the colours corresponding to the occurring times: the initial condition (IC) at z∼99z \sim99, the first snapshot at z∼20z \sim20, the structure formation kicking-in time z∼4z \sim4, and the saturation time z∼1z \sim1. With these milestones, a rough three-stage evolution of B-fields is observed.

Since our simulations evolve ideal MHD, flux-freezing is the underlying continuum expectation and is likely a main driver of the trends we observe. However, finite-resolution numerical effects can introduce departures from exact flux-freezing, as discussed in § 5.2. On a much larger scale, the physical scenarios discussed above could have an impact on the scaling relations on top of flux-freezing, and we do not have a clear distinction here. Note that we do not apply rigorous fits to the results, and it is also hard to constrain the slopes of the power law observationally, since 1/21/2 and 2/32/3 are often not clearly separable (Crutcher et al. 2010; Tritsis et al. 2015).

In Figure 3, we present the radial profiles of the volume-weighted root-mean-squared (rms) B-field strengths Brms=⟨B2⟩VB_{\mathrm{rms}} = \sqrt{\langle B^2\rangle_{\mathrm{V}}} in each of our simulation runs. The profiles are normalized to each halo’s RvirR_{\mathrm{vir}}. We again see a strong halo mass-dependence. Similar to what

Radial profiles of the volume-weighted root-mean-square magnetic field strength

Figure 3. Radial profiles of the volume-weighted root-mean-square (rms) magnetic field strength ⟨B2⟩V\sqrt{\langle B^2\rangle_{\mathrm{V}}} as a function of the galacto-centric radius rr for all our simulation runs at z=0z = 0. Each halo is colour coded in the same colour, and different line styles represent the MHD and CR-CD simulations for each halo, replicative to Figure 2. Among different haloes, the B-field strengths differ more in the CGM than near the galactic centres.

was presented in Figure 2, the distinction between the two different MW-mass galaxies is much less significant than between the two dwarfs, and halo-to-halo variation is less pronounced than the mass dependency. All runs reach similar ∼μG\sim\mu\mathrm{G}-level B-field strength near the galactic centres, but begin to quickly diverge at r∼0.1Rvirr \sim0.1R_{\mathrm{vir}}. These results are consistent with what was found in Ponnada et al. (2022). We discuss the robustness of some of these basic B-field properties against resolution and feedback schemes later in § 5.1.

The amplification of B-fields

In this section, we present how the B-field gets amplified over the course of galaxy formation. Here, we first present the results of our “poster-child” galaxy (§ 4.1), the m12i CR-CD run to study its evolutionary course, then mention the results for the rest of the galaxies in our sample (§ 4.2, full results in Appendix § 9).

A case study of the m12i CR-CD run

In Figure 4 we show the statistical evolution of the B-field strength BB. We choose a fixed spherical volume of 100 kpc (physical) radius and compute the 2D mass-weighted B−nHB-n_{\mathrm{H}} PDFs. For each resultant PDF, we take the mass-weighted median values of BB in each nHn_{\mathrm{H}} bin. Each line roughly depicts the “ridgeline” in the corresponding 2D phase histogram (if symmetric). We present results from z∼19z \sim19 to z∼0z \sim0 and colour-code the lines in redshifts.

Median mass-weighted $B$–$n_{\mathrm{H}}$ distributions

Figure 4. Distributions of BB over nHn_{\mathrm{H}} of the m12i CR-CD run at different redshifts. We compute the 2D B−nHB-n_{\mathrm{H}} mass-weighted PDFs for gas within 100 kpc of each selected time, then take the mass-weighted median of BB over each nHn_{\mathrm{H}} bin. Colours correspond to redshifts/times, with the more reddish colours representing early Universe and the more bluish colours representing the current Universe. The B∝nH1/2B \propto n_{\mathrm{H}}^{1/2} and B∝nH2/3B \propto n_{\mathrm{H}}^{2/3} scaling relations are overlaid along with the median lines to guide the eye. Note that in the lower-left corner there appears to be gas with very low nHn_{\mathrm{H}} and BB in high-zz. Those are gas particles out of the zoom-in regions.

In the early Universe, z∼19z \sim19, right after the initial conditions of our simulation, the B-field is weak and mostly follows the B∝nH2/3B \propto n_{\mathrm{H}}^{2/3} relation. This is because the early gas motion is mostly isotropic

in 3D in the expanding universe and flux-freezing is the dominant process. As the redshift decreases, the B-field in the high-density gas gets amplified first, starting from z∼10z \sim10 to z∼4z \sim4. The B-field in the low-density gas gets amplified subsequently, starting around z∼3z \sim3. After z∼1z \sim1, the strength of the B-field stays roughly constant for the same density and follows the relation of B∼nH1/2B \sim n_{\mathrm{H}}^{1/2} (as already shown in Figure 2). We assert that the B-field in the high-density gas gets amplified first because it is closer to the galaxy, and as soon as the structure formation kicks in and feedback becomes important (at z∼10−4z \sim10-4), the turbulence and large-scale motion drives the amplification.

Note that what we show in Figure 4 is an Eulerian evolution, i.e., not tracing individual gas elements, and we do not know what causes the amplifications yet. To further investigate amplification, in Figure 5, we employ a Lagrangian particle-tracing method to inspect the evolution of the B-field at the individual level of gas elements. We first select our particle samples by randomly choosing 100 particles in each of the following contiguous density ranges at z=0z = 0 with r≤Rvirr \le R_{\mathrm{vir}}: log⁡nH∈[−6,−5),[−5,−4),…,[2,3),[3,4)\log n_{\mathrm{H}} \in[-6,-5),[-5,-4),\ldots,[2,3),[3,4). We then group the chosen particles based on their densities, so this gives us a total of 1000 gas particles (ten groups of 100 particles) chosen from z=0z = 06. We trace each gas element at each given snapshot and compute their density nHn_{\mathrm{H}}, B-field energy density uB=B2/8πu_B = B^2/8\pi, magnetic-to-turbulent ratio fB≡uB/εK,turbf_B \equiv u_B/\varepsilon_{\mathrm{K,turb}} (where εK,turb\varepsilon_{\mathrm{K,turb}} is the filtered turbulent kinetic energy density; see § 4.1.1 for its definition and further discussion), and the relative divergence error of B-field ∣∇⋅B∣h/∣B∣\lvert\nabla\cdot B\rvert h/\lvert B\rvert [where h=(3V/4π)1/3h=(3V/4\pi)^{1/3} is the effective size of the gas particle]. We compute the medians of those quantities for the 100 particles in each group at each snapshot and plot the tracks tracing their evolutions. The terminal location of each group’s track is labelled by a dot. Note that in this exercise, by design, we only choose particles that have never formed stars. We present results for particles that do undergo star formation (or “star progenitors”) later in Figure 6.

Tracks of $u_B-n_H$ for star-forming and non-star-forming gas

Figure 6. Tracks of uB−nHu_B-n_H, similar to the upper left panel of Figure 5, but for star progenitors in the m12i CR-CD run. Guiding arrows are overlaid to guide the eye for the evolutionary orientation. We group the gas particles based on the times when they become stars (for tst,lb∼12.5t_{\rm st,lb} \sim12.5, 11, 9, 7 Gyr) and randomly choose 300 gas particles within each group. Each track now represents the median values for each star-forming group, labelled with different linestyles (see the legend). All tracks reach nH∼103 cm−3n_{\rm H} \sim10^3\,\mathrm{cm}^{-3} at the end, which is the star formation threshold. The median line of all particles chosen for Figure 5 representing all non-star-forming particles is also underlaid with a much thicker linestyle to guide the eye. The colour scheme is the same as in Figure 5, and the shaded regions likewise correspond to the scatter among each group of particles at each time.

Though from a different perspective, the Lagrangian particle tracing results paint a story reminiscent to our Eulerian results. First, we see small group-to-group variations among the tracks, which indicates that all particles undergo similar amplification processes, despite reaching different B-field strengths at z=0z = 0 due to the different densities. Several important milestones during the evolution are discernible along the tracks, and we flag them using stars in the figure. With these flags, we crudely categorize the amplification into the following three stages.

(i) Initial expansion stage (from the initial condition to z∼4z \sim4): this is the stage when the motion of gas is dominated by the expansion of the Universe. We see that almost all particles follow the B∼nH2/3B \sim n_{\mathrm{H}}^{2/3} (which implies uB∝B2∼nH4/3u_B \propto B^2 \sim n_{\mathrm{H}}^{4/3}) going from higher densities to lower densities with very small scatter.

(ii) Fast amplification stage (1≲z≲41 \lesssim z \lesssim4): this is the stage when most of the rapid amplification of B-field for the gas currently in the MW-mass galaxy and its halo took place. We see that from z∼4z \sim4 to z∼1z \sim1 (corresponding to tlb∼12.5t_{\mathrm{lb}} \sim12.5 Gyr to tlb∼7.5t_{\mathrm{lb}} \sim7.5 Gyr), the B-field strengths of all particles increase by ∼3−4\sim3-4 orders of magnitude (corresponding to an increase of ∼6−8\sim6-8 orders of magnitude in uBu_B) almost without any change in density, while the total kinetic energy stays mostly constant with slight fluctuations (not presented in Figure 5, but can be found in the right panel of Figure 7). This results in a boost in the magnetic-to-turbulent ratio fBf_B, going from ∼10−8\sim10^{-8} to ∼10−2−10−1\sim10^{-2}-10^{-1}, reaching saturation. Galaxy evolution wise, this is a chaotic stage with violent inflows and outflows that could generate turbulence, and major merger events are prevalent (Kereš et al. 2005; Dekel et al. 2009; Muratov et al. 2015).

Particle tracing tracks for decomposed magnetic and kinetic energies

Figure 7. m12i CR-CD run’s particle tracing tracks for the decomposed magnetic (left panel) and kinetic (right panel) energies, including the bulk (solid lines) and turbulent (dashed lines) components. The presented tracks trace the same set of particles in Figure 5. The axis ranges are set to be the same on purpose to illustrate the dominance of kinetic energy throughout the galaxy evolution. Here, we adapt a particle-based filtering size l=hl = h where hh is the SPH smoothing length. We decompose the fields according to eqs. (3)–(6) of each individual traced particle (the same ones presented in Figure 5) and take the median values of the decomposed fields of all 1000 particles at each snapshot. Shaded regions with the same colour scheme again correspond to the 16th–84th percentile for each group of particles at each time. Guiding arrows are again overlaid to indicate the evolutionary track orientation. In addition to the original 4 milestones in the three-stage amplification process, we also label the rough time for the reionization, which is potentially responsible for the two humps seen in the tracks of εB,turb\varepsilon_{\mathrm{B,turb}} and εK,turb\varepsilon_{\mathrm{K,turb}} at z∼9−10z \sim9 - 10.

(iii) Final saturation stage (z∼1z \sim1): this is the stage when the B-field strength is mostly saturated and has a simple density dependence. The increase in BB is mostly due to the increase in density (i.e. flux-freezing). This is in the mirror mode of stage (i), but the gas is being “concentrated” rather than being “diluted”. The scaling relation roughly follows B∼nH1/2B \sim n_{\mathrm{H}}^{1/2} (or uB∼nHu_{\mathrm{B}} \sim n_{\mathrm{H}}). This likely corresponds to a combination of 2D flux-freezing, which could be either filamentary accretion or planar rotation) and saturation processes (see § 3). At this stage, the galaxy has been formed and large scale gas inflow and outflow are less chaotic, but the turbulence is well-developed and controls the field strengths.

During all three stages, the B-field has always been a passive field, i.e. it evolves following the environmental evolution, as the magnetic-to-turbulent ratio fB≡uB/εK,turbf_{\mathrm{B}} \equiv u_{\mathrm{B}}/\varepsilon_{\mathrm{K,turb}} is always small. Even during the rapid amplification stage, fB≲1%f_{\mathrm{B}} \lesssim1\%, and the saturation value is ∼1%\sim1\%–10%10\%, depending on the density. This number is relatively small compared to the results from Ntorousis et al. (2020) and Pakmor et al. (2024), who found saturation value of ∼10\sim10–20%20\%, but is comparable to the results from Federrath et al. (2014) and Rieder & Teyssier (2017a), who found the saturation value is ∼2\sim2–5%5\% in idealised turbulent boxes and galaxy simulations. Analytic works such as Rodrigues et al. [70] and Schober et al. (2015) both report a similar a few per cents magnetic-to-turbulent ratio. However, the aforementioned works are all different from ours to a certain extent, either with different set ups (e.g., meshless vs. mesh codes, idealized/cosmological/analytical) or different feedback recipes (e.g., FIRE vs. Auriga), and other factors like resolution, Mach number (i.e. supersonic vs. subsonic turbulence; see Federrath (2016)) could all affect this value, so the comparisons are not “apples-to-apples”.7

On the other hand, the definitions of turbulent fields are non-unique and could affect the results. We will discuss the decomposition of uBu_{\mathrm{B}} and uKu_{\mathrm{K}} into turbulent and bulk components and its implications on the amplification processes in § 4.1.1. It is also worth mentioning that not only the magnetic-to-turbulent ratios are different, the saturated B-field strengths in the CGM seen in FIRE simulations are also generally lower than other galaxy zoom-in simulation projects (e.g. Auriga) (Pakmor et al. 2020; Su et al. 2018), for largely unknown reasons.

Noticeably, during stage (iii), the tracks of magnetic-to-turbulent ratio (the middle panel of Figure 5) appear to first “dip down” then ”rise up”, after reaching nH∼1 cm−3n_{\mathrm{H}} \sim1\,\mathrm{cm}^{-3}. This is due to similar “dip-then-rise” in both uBu_{\mathrm{B}} and εK,turb\varepsilon_{\mathrm{K,turb}} tracks8, but the former undergoes a more significant transition. We note that in the left panel of Figure 5, particles actually fit better to the B∝nH1/2B \propto n_{\mathrm{H}}^{1/2} line after this “dip”, and this could be related to gas elements joining the disk to exhibit a more planar geometry. This is still consistent with flux-freezing, but the properties of turbulence changes when in the disk compared to the CGM (Stern et al. 2024), so the turbulence growth is not as strong as the B-field growth. This could also be related to clumpy medium (e.g. GMCs) near the galactic centre. We note that this is actually a robust trend that appears in every selected simulation (see Appendix § 9).

The right most panel of Figure 5 presents the median relative divergence error of our traced particles. We see that the value of this parameter is relatively large (∼1\sim1) during the early times but drops to ≲10%\lesssim10\% after z≲4z \lesssim4, when the amplification stage started. The value only fluctuates and is always ≲20\lesssim20–30%30\% at z≲1z \lesssim1. However, the quantity we present here could only indicate the relative dynamical importance of the residual divergence error, and a small dynamical contribution relative to other force terms in the MHD momentum equation does not necessarily mean no impact on amplification. We will discuss this in more detail in § 5.

As mentioned earlier, our selection method excludes all star-forming gas particles by design, which could bias our results. Therefore, in Figure 6, we present the uB−nHu_B-n_{\rm H} tracks for star-forming particles, grouped based on their star formation times. We choose the following four look back time values tlookback∼7t_{\rm lookback} \sim7, 9, 11, and 12.5 Gyr as our target times, and randomly choose 300 gas particles (“star progenitors”) that formed stars with ±10\pm10 Myr around our target times. Overall, we see that star progenitors undergo a similar amplification process compared to non-star forming gas. The difference lies in the timing: the star progenitors undergo the rapid amplification stage much earlier than the non-star-forming particles, because these gas elements have collapsed into the galaxy and been exposed to turbulent amplification earlier. This further confirms our argument on the passivity of the B-field and complements our earlier results: e.g., we see that the high-density gas starts getting amplified as early as z∼10−5z \sim10-5 in Figure 4 but not in Figure 5, since Figure 5 does not include early collapsing gas that already turned into stars. Therefore, the aforementioned three-stage evolution is universal and is regardless of gas density, though the timings shift for star progenitors. For galaxies with much smaller masses (e.g. ultra faint dwarfs), the timings could also shift due to a similar reason.

We experimented with different sets of randomly selected particles and all aforementioned results converged (not shown).

Decomposition of the magnetic and kinetic fields into bulk and turbulent components using a Gaussian filter

As mentioned earlier in this paper as well as discussed extensively in other literature, turbulent dynamos have been thought to be the main driver of B-field amplification, potentially responsible for the steep jump in uBu_B seen in Figure 5 and Figure 6. To understand this, one needs to decompose the kinetic energy into bulk and turbulent components and compare to the unordered, turbulent B-fields. Here, we follow a filtering method introduced in Hollins et al. (2022) and later used to study the intracluster medium (ICM) in Perrone et al. (2026). We employ this method to decompose the magnetic and kinetic energies into bulk and turbulent components, but we stress that the decomposition methods are not unique. In the following, we briefly discuss the definitions of our bulk and turbulent fields and refer the readers to the original papers for a more thorough study.

We employ a three dimensional Gaussian filter with a window length ll to filter the fields. The filter function is defined as

Wl(x,x′)=1(2πl2)3/2exp⁡(−12∣x−x′∣2l2).(1)W_l(\boldsymbol{x},\boldsymbol{x}') = \frac{1}{(2\pi l^2)^{3/2}}\exp\left(-\frac{1}{2}\frac{|\boldsymbol{x}-\boldsymbol{x}'|^2}{l^2}\right). \tag*{(1)}

One can verify that it satisfies the normalization condition. Then, for any given generic field (a scalar field or a component of a vector field) f(x)f(\boldsymbol{x}), the filtered field is defined as

⟨f⟩l(x)=∫d3x′ f(x′)Wl(x,x′).(2)\langle f\rangle_l(\boldsymbol{x}) = \int d^3x'\,f(\boldsymbol{x}')W_l(\boldsymbol{x},\boldsymbol{x}'). \tag*{(2)}

For discretized gas elements in our simulations, the above filtering is performed by summing over quadratures. From this we can define the bulk and turbulent components of the magnetic energy as

ϵB,bulk=18π⟨B⟩l2(3)\epsilon_{\mathrm{B,bulk}} = \frac{1}{8\pi}\langle B\rangle_l^2 \tag*{(3)}

and

ϵB,turb=18π(⟨B2⟩l−⟨B⟩l2).(4)\epsilon_{\mathrm{B,turb}} = \frac{1}{8\pi}\left(\langle B^2\rangle_l-\langle B\rangle_l^2\right). \tag*{(4)}

Similarly, we define the bulk and turbulent components of the kinetic energy as

ϵK,bulk=12⟨ρ⟩l⟨u⟩l2(5)\epsilon_{\mathrm{K,bulk}} = \frac{1}{2}\langle\rho\rangle_l\langle u\rangle_l^2 \tag*{(5)}

and

ϵK,turb=12(⟨ρu2⟩l−⟨ρ⟩l⟨u⟩l2).(6)\epsilon_{\mathrm{K,turb}} = \frac{1}{2}\left(\langle\rho u^2\rangle_l-\langle\rho\rangle_l\langle u\rangle_l^2\right). \tag*{(6)}

Note that here, uu is the total physical velocity of the gas, not the peculiar velocity vv that is explicitly evolved in our simulations. The difference is the Hubble flow:

v=u−H(a)r,(7)v = u-H(a)r, \tag*{(7)}

where H(a)=a˙/aH(a)=\dot{a}/a is the Hubble parameter. There have been debates on whether or not one should include the Hubble flow when calculating the turbulent kinetic energy. In this exercise, we follow Perrone et al. (2026), who included the Hubble flow term. Adding the Hubble flow back contributes little to the turbulent component, but will bump the bulk component, especially at high-zz, when the Hubble expansion rate was faster.

Note that locally, εB,bulk+εB,turb≠uB\varepsilon_{\mathrm{B,bulk}} + \varepsilon_{\mathrm{B,turb}} \ne u_{\mathrm{B}} and εK,bulk+εK,turb≠uK\varepsilon_{\mathrm{K,bulk}} + \varepsilon_{\mathrm{K,turb}} \ne u_{\mathrm{K}}, but when integrated over a large volume, the integrated energies will converge to the total energies. Here, we are not interested in recovering the total energies; rather, we seek correlations between the turbulent components of both. See Perrone et al. (2026) for a more detailed discussion on this issue.

In Figure 7 we present the results of this decomposition, in a format similar to Figure 5 and Figure 6. We trace the same sets of particles from Figure 5, except that we drop the groupings and present a single track for each quantity from the median values10. We apply the smoothing globally first then decompose the energies for individual gas elements. We take the smoothing length hh of each individual gas particle as the filter size, which ranges from ≲0.5\lesssim0.5 kpc to ∼10\sim10 kpc depending on the density for this presented exercise, though the results are robust with respect to different filtering sizes, including for both l∝hl \propto h and fixed ll (see Appendix § 9). We see that the bulk kinetic energy always dominates over the turbulent kinetic energy, but for the magnetic field, the bulk magnetic energy only dominates at very early time.

The turbulent magnetic energy experiences a sudden bump at z∼9−10z \sim9 - 10 (at the lower-left corner on the track), which is also observed (but less pronouncedly) for the turbulent kinetic energy. We suspect that this is related to the start of the meta-galactic UV background implemented in our simulations Faucher-Giguère et al. (2009) that suddenly heats the gas and creates strong pressure disequilibrium. This potentially leads to turbulent motion of ionized gas that can then magnify the turbulent B-field11. Recent detailed simulations that model ionization fronts and the reionization process show

that kpc-scale turbulence develops during this process, which creates pressure changes and induces instabilities and local turbulence (Cain et al. 2026; McDermott et al. 2026). While we do not model ionization fronts in our simulations and do not resolve all relevant scales, we suspect that the onset of the global UV background temporarily creates turbulent motion in our simulations, partially mimicking this process. A study on how the reionization drives turbulence and further amplifies the magnetic fields in the early Universe is beyond the scope of this work.

After the bump around z∼9−10z \sim9 - 10, all tracks evolve in broad resemblance to Figure 5. The magnetic field becomes dominated by the turbulent component later on, while the turbulent kinetic field is also being amplified at the same time. This suggests a correlation between the turbulence and the turbulent magnetic fields. We discuss more on this in § 5.

Other selected simulations

We ran the same particle tracing pipeline for the other runs from Table 1 and found similar trends for all the aforementioned results, including other MW-mass galaxies, dwarfs with and without clear disks. In particular, the B-field strengths (or energy densities) undergo similar three-stage evolutions. The B∼nH2/3B \sim n_{\mathrm{H}}^{2/3} and B∼nH1/2B \sim n_{\mathrm{H}}^{1/2} trends are still observed in the early and later evolutionary stages, though the saturated strengths depend on the halo mass. The magnetic-to-turbulent ratio fB=uB/εK,turbf_{\mathrm{B}} = u_{\mathrm{B}}/\varepsilon_{\mathrm{K,turb}} is consistent amongst different haloes, all reaching fB∼1f_{\mathrm{B}} \sim1 for z≲1z \lesssim1, so the saturated B-field strength is similarly controlled by turbulence. A similar dip-then-rise feature of fBf_{\mathrm{B}} is seen in all runs. Similar humps of the turbulent magnetic and kinetic energies are seen around the epoch of reionization, magnetic energies drop back suggests that this is not due to earlier stellar feedback.

but both go down and the major amplification is still driven by the formation of galaxy, feedback, and turbulence after z∼4z \sim4. We present these results in Appendix § 9.

Discussions

Robustness tests on resolution and feedback schemes

In Sections 3 and 4, we focused on the B-field properties of the high-resolution FIRE-2 runs (e.g. mgas≈7000 M⊙m_{\mathrm{gas}} \approx7000\,M_{\odot} for MW-mass galaxies). In this section, we test the robustness of some of the basic results against numerical resolution and feedback schemes.

In Figure 8, we present the mass-weighted distribution histograms of both the magnetic field strength BB and the magnetic-to-turbulent ratio fB≡uB/εK,turbf_{\mathrm{B}} \equiv u_{\mathrm{B}}/\varepsilon_{\mathrm{K,turb}} as a function of hydrogen number density, nHn_{\mathrm{H}}, where uB=B2/8πu_{\mathrm{B}} = B^2/8\pi and εturb,K\varepsilon_{\mathrm{turb,K}} is the turbulent (non-bulk) component of the filtered kinetic energy density 12ρu2\frac{1}{2}\rho u^2, representing the strength of the local random motion of the gas element. See § 4.1.1 for an exact definition [eq. (6)] and a more detailed discussion of what this fraction means physically.

Mass-weighted $B$–$n_{\mathrm{H}}$ and $f_{\mathrm{B}}$–$n_{\mathrm{H}}$ distribution histograms

Figure 8. Mass-weighted BB − nHn_{\mathrm{H}} (top panels) and fBf_{\mathrm{B}} − nHn_{\mathrm{H}} (bottom panels) distribution histograms at z∼0z \sim0 for gas within r≤150r \le150 kpc (see § 4.1.1 for the definition of fBf_{\mathrm{B}}). We show the MHD runs for the m12i galaxy, with different resolutions and feedback schemes (FIRE-2 vs. FIRE-3). The top and bottom panels of each column show the results for the same run (labelled at the lower-right corners of the top panels). For each top panel, we overlay the same set of B∝nH1/2B \propto n_{\mathrm{H}}^{1/2} lines, each separated by 1 dex vertically, to guide the eye for comparisons of BB at the same densities. For each bottom panel, we put the equipartition line of fB=1f_{\mathrm{B}} = 1 (corresponding to uB=εK,turbu_{\mathrm{B}} = \varepsilon_{\mathrm{K,turb}}) for reference. We see a broad resemblance amongst all variants for their z∼0z \sim0 B-field properties. Slight differences in fBf_{\mathrm{B}} appear between FIRE-2 and FIRE-3 runs (see the main text for our speculation), though an overall robustness against both the resolution and feedback schemes is confirmed.

We compare our high-res (mgas≈7000M⊙m_{\mathrm{gas}} \approx7000M_{\odot}) FIRE-2 m12i MHD run with its low-res (mgas≈60000M⊙m_{\mathrm{gas}} \approx60000M_{\odot}) FIRE-2, high-res FIRE-3, and low-res FIRE-3 variants. FIRE-3 feedback differs from FIRE-2 primarily in the details of local coupling of the momentum and energy from SNe. The effect of this change results in m12 galaxies in FIRE-3 forming faster during early stages but ending up with lower late-time SFRs and stellar masses (Hopkins et al. 2023). Note that the FIRE-3 runs we include here contain no active BHs, and therefore no AGN feedback.

There is little difference in the median B-field strength at a given nHn_{\mathrm{H}} among all runs [12]. The FIRE-3 high-res run’s median ∣B∣\lvert B\rvert is slightly higher than the other runs, by 0.3 ∼ 0.5 dex (so uB=B2/8πu_{\mathrm{B}} = B^2/8\pi will be higher by less than 1 dex). However, the differences are more pronounced between the high-res FIRE-3 run and the rest of the simulations in the fBf_{\mathrm{B}} − nHn_{\mathrm{H}} distributions: its fBf_{\mathrm{B}} values are higher than the other runs by ∼1 dex. Given the more similar magnetic energy densities, the bulk of the difference arises from differences in turbulent energy densities. It is not entirely clear why the B-field in the FIRE-3 run saturates at a higher fraction of the turbulent energy: although lower late-time SFRs in FIRE-3 could cause a lower level of turbulent motion, the difference in the fBf_{\mathrm{B}} actually develops right after the amplification at z∼1z \sim1 − 2 and high-res FIRE-3 simulations complete fast amplification at a similar time as high-res FIRE-2 (now shown), making it less likely that differences in SFRs at late times are the main cause. The detailed mechanism causing this difference will be studied in future work.

In Appendix § 9, we include an example of another simulation run with both versions of the FIRE feedback schemes at an earlier time, showing a similar level of differences in fBf_{\mathrm{B}}.

Overall, we find that the stages of the evolution and general properties of the B-field at z=0z = 0 are robust against both the resolution and the feedback schemes. However, the amount of turbulent energy going into saturation of the B-fields may vary for different numerical implementations. We leave a more detailed study of numerical effects on B-field evolution for future work.

Origin of the rapid growth of B-fields

In § 4.1 we see a rapid growth stage of B-fields from z∼4−1z \sim4 - 1 (Figure 5 and Figure 6) with both the bulk and turbulent components being rapidly amplified (Figure 7), and evolutions deviated largely from any possible power-law relations between BB and ρ\rho. Without this stage, the B-field would only go up and down along pre-determined tracks, unable to attain the μG\mu\mathrm{G}-level field at z∼0z \sim0 seen in our simulations. We have claimed that this is potentially associated with the dynamos. In this section, we first discuss the theoretical possibility of such surges, then attempt to explain the reason for such growth in our simulations. We approach with both physical and numerical insights and propose future study plans to further investigate this issue.

To begin, we first review the flux-freezing law and its implications. In ideal MHD, the B-field and the flow co-evolve following the Faraday’s induction equation:

∂B∂t=∇×(v×B),(8)\frac{\partial\mathbf{B}}{\partial t} = \nabla\times(\mathbf{v} \times\mathbf{B}), \tag*{(8)}

assuming zero magnetic diffusivity ηB=0\eta_{\mathrm{B}} = 0. An important implication from this is the conservation of magnetic flux ΦB\Phi_{\mathrm{B}} through a comoving Lagrangian surface – the Alfven’s theorem (Alfvén 1942). However, it is not trivial to trace a comoving surface in simulations run with meshless codes like GIZMO, so a more practical, equivalent result that one could derive from eq. (8) is the Lagrangian equation of evolution for the field strength BB:

dln⁡Bdt=bT(∇v)b−∇⋅v,(9)\frac{d \ln B}{d t} = \mathbf{b}^{T}(\nabla\mathbf{v})\mathbf{b} - \nabla\cdot\mathbf{v}, \tag*{(9)}

where b=B/B\mathbf{b} = \mathbf{B}/B is the directional vector along the B-field lines. Note that eq. (8) and eq. (9) do not translate reciprocally, as to reach the latter from the former, one needs to explicitly assume ∇⋅B=0\nabla\cdot\mathbf{B} = 0, which raises complexities in MHD galaxy simulations because zero divergence is not guaranteed in a violent environment like FIRE galaxies even with cleaning schemes. Note that the right hand side of eq. (9) depends solely on the kinetic structure of the flow and the B-field, so we call it (dln⁡Bdt)kin\left(\frac{d \ln B}{d t}\right)_{\mathrm{kin}} hereafter.

To build a connection to B−ρB-\rho scaling relations, we substitute the continuity equation

dln⁡ρdt=−∇⋅v(10)\frac{d \ln\rho}{d t} = -\nabla\cdot\mathbf{v} \tag*{(10)}

into eq. (9) to get

dln⁡Bdt=[1−bT(∇v)b∇⋅v]dln⁡ρdt.(11)\frac{d \ln B}{d t} = \left[1 - \frac{\mathbf{b}^{T}(\nabla\mathbf{v})\mathbf{b}}{\nabla\cdot\mathbf{v}}\right]\frac{d \ln\rho}{d t}. \tag*{(11)}

Letting

αeff≡1−bT(∇v)b∇⋅v=−(dln⁡Bdt)kin∇⋅v,(12)\alpha_{\mathrm{eff}} \equiv1 - \frac{\mathbf{b}^{T}(\nabla\mathbf{v})\mathbf{b}}{\nabla\cdot\mathbf{v}} = -\frac{\left(\frac{d \ln B}{d t}\right)_{\mathrm{kin}}}{\nabla\cdot\mathbf{v}}, \tag*{(12)}

one could recover the B−ρB-\rho scaling relation from eq. (11):

dln⁡Bdln⁡ρ=αefforB∝ραeff.(13)\frac{d \ln B}{d \ln\rho} = \alpha_{\mathrm{eff}} \quad\text{or} \quad B \propto\rho^{\alpha_{\mathrm{eff}}}. \tag*{(13)}

This corresponds to the power-law relations that we see during various stages of the evolution of the B-field (Figure 2, Figure 4, and Figure 5). Note that physically αeff\alpha_{\mathrm{eff}} [or equivalently (dln⁡Bdt)kin\left(\frac{d \ln B}{d t}\right)_{\mathrm{kin}}] represents how much the flow strain tensor is projected along the B-field lines, which depends solely on the flow and the geometry of the B-field. For example, a negative ∇⋅v\nabla\cdot\mathbf{v} represents local density increase, which indicates a positive αeff\alpha_{\mathrm{eff}} that will result in B-field amplification.

There are a few subtleties that need to be emphasized here. First, eq. (12) only depicts the macroscopic evolution of B-field, essentially indicating that the solenoidal mode (with a diminutive ∇⋅v\nabla\cdot\mathbf{v}) is the dominant mode for the amplification of the B-field (Federrath 2016), which could result in a large ∣αeff∣\lvert\alpha_{\mathrm{eff}}\rvert. However, such amplification modes powered by the conventional “stretching, twisting, and folding” of field lines [i.e. α−Ω\alpha-\Omega dynamos, powered by magnetic/current and kinetic helicities; see Ntormousi et al. (2020) and Federrath (2016)] occur on scales below the resolution limit of our simulations, so simply tracing individual particles as we did in § 4.1 would not reflect it.

Second, it is a common practice to discuss dynamos (particular large scale dynamos) in terms of the Reynolds-averaged quantities [e.g., ⟨B2⟩\langle B^{2}\rangle vs. ⟨B⟩2\langle B\rangle^{2}, see Evirgen et al. (2017); Brandenburg & Ntormousi (2023)], and a lack of amplification in small scale BB does not necessarily warrant the same for large scale B2B^{2}, as the spectrum of magnetic field is highly scale-dependent (Kulsrud & Anderson 1992). The interpretation of eq. (12) could vary largely depending one’s definition of a dynamo, and though topological rearrangement and sustaining complete dynamos in galaxy usually require magnetic diffusion, an amplification on large scale is still possible in ideal MHD.

The above discussion is purely theoretical. In our simulations, we see a close-to-infinity slope in the log⁡uB−log⁡nH\log u_{\mathrm{B}}-\log n_{\mathrm{H}} tracks (Figure 5). Although such surges might be explained by the dynamo arguments established in the above discussion, these physical processes happen on scales much smaller than our simulation resolution limit. We therefore approach with a different perspective – we propose that amplification is initiated by numerical effects, which have been shown to be important to B-field evolution in galaxy simulations (Wissing & Shen 2023; Pakmor et al. 2026). It is likely that the role of diffusion (i.e. non-ideal MHD) to drive such strong amplifications, once the local turbulence builds up, starts with numerical effects. This includes, but is not limited to, residual divergence cleaning error, numerical damping, and numerical diffusion. Our simulations employ a combination of the Powell (Powell et al. 1999) and Dedner (Dedner et al. 2002) divergence cleaning scheme, which controls the relative divergence error to <10%< 10\% during most of the amplification stage (see the right panel of Figure 5 and discussion in § 4.1.1). However, this only means that the error is dynamically unimportant and does not guarantee the same for the growth of the B-field. Residual errors would be added to the right hand side of eq. (9), and if we compute (dln⁡Bdt)kin\left(\frac{d \ln B}{d t}\right)_{\mathrm{kin}} from v\mathbf{v} and b\mathbf{b} and compare it to the actual dln⁡Bdt\frac{d \ln B}{d t} from the simulations, we could potentially conclude on how much the numerical effect contributes to the rapid growth of B-field (see Appendix § 10 for detail). More effective divergence cleaning schemes, such as the method with a more globally controlled scheme, the constrained gradient (CG; see Hopkins (2016)) could potentially alleviate such effects, and thus affect the results of the field strengths and the evolutionary course. Reruns are needed to understand these impacts, and we plan on running simulations with such variations.

Based on the above discussion, we conjecture the following picture in our simulations: numerical effects from divergence cleaning errors or numerical diffusion initiated/triggered the amplification of the B-field at an early time, which then got picked up by further-developed physical mechanisms such as turbulence and feedback, resulting in a surge of BB on the scale of our simulation cells. Even though numerical effects play a role here, this amplification stage still ends with a saturated magnetic-to-turbulent ratio consistent with idealized simulations and produces B-fields consistent with low-zz observations, and the onset of amplifications is also consistent with the rapid accretion and feedback, so the physical effects should still be robust. The actual physical picture, which happens below our resolution scale, is unknown to us based on our simulations, and could potentially be explained if further developing sub-grid models or running idealized simulations with higher resolution.

Conclusions and Outlooks

Conclusions

In this paper, we explore the properties and evolution of B-field in simulated FIRE-2 galaxies. Our main conclusions are as follows:

(i) B-field properties at z=0z = 0: The B-field in our simulated galaxies are in general turbulent at z=0z = 0, reaching ∼μ\sim\muG at the galactic scale, though dropping drastically in the CGM. The differences in the B-field between the MHD and CR-CD runs are insignificant for the same halo, and we see little halo-to-halo variations among systems of comparable mass. However, mass-dependence is much more pronounced, and more massive haloes possess stronger B-fields, mostly due to stronger turbulence and higher densities. An overall B∼ρ1/2B \sim\rho^{1/2} trend is observed in all of our galaxies at z=0z = 0, corresponding to flux-freezing effects in a 2D planar/filamentary geometry.

(ii) B-field evolution: By tracing gas particles in our simulations, we see a rough three-stage evolution of the B-field:

  • 1. Initial expansion stage (z≳4z \gtrsim4), when both the B-field and density are being diluted by the expansion of the Universe, roughly following B∼ρ2/3B \sim\rho^{2/3}. This is when a galaxy has not been formed. A sudden hump in the turbulent components of both magnetic and kinetic energies is observed around z∼7−10z \sim7 - 10, close to the reionization era, but later goes away. We suspect that this is due to sudden turbulence generated by the reionization. At this stage, B-field is weak and the magnetic-to-turbulent ratio is ≲10−8\lesssim10^{-8};

  • 2. Rapid amplification stage (1≲z≲41 \lesssim z \lesssim4), when the B-field is being amplified violently with small density changes. This is when structure formation starts to kick in, and major mergers, accretion, and star formation drive feedback. The magnetic-to-turbulent ratio increases, reaching ∼1%\sim1\% when close to z∼1z \sim1. We conclude the possible origin of such amplification in (iii);

  • 3. Final saturation stage (z≲1z \lesssim1), when the B-field grows with the density, roughly following B∼ρ1/2B \sim\rho^{1/2}. At this stage, the gas flow around the galaxy is much less violent. Multiple mechanisms could be driving the B-field evolution the same time, including flux-freezing and saturation due to dynamical or energetic equilibria. The magnetic-to-turbulent ratio saturates at ∼1%\sim1\% for diffuse gas with nH≲1 cm−3n_{\mathrm H} \lesssim1\,\mathrm{cm}^{-3}, and ∼10%\sim10\% for denser and closer-to-disk gas with nH≳1 cm−3n_{\mathrm H} \gtrsim1\,\mathrm{cm}^{-3}.

Trends we observed are broadly robust with halo mass (MW-mass galaxies vs. dwarfs), different physics (CR vs. MHD), resolutions, and feedback schemes (FIRE-2 vs. FIRE-3). However, the aforementioned timings only apply for gas ending up in the galaxy (i.e. never having formed stars). For star progenitors, we still observed similar three-stage evolutionary courses, but the time for each stage get shifted earlier, depending on the star formation times.

(iii) Origin of the amplification: To explain the rapid amplification stage we see in the B-field evolution (stage 2, also known to be associated with “dynamos”), we approach from both physical and numerical perspectives. Known physical processes responsible for such growth could only happen below the scale of our simulation’s resolution. We conjecture a turbulence-driven amplification process that are likely triggered by numerical effects. Residual numerical errors from either divergence cleaning or numerical diffusion exist in our simulations, and could be driving the initial instabilities to amplify the B-field. Once established, a rapid surge of the B-field is driven by a violent flow in the gas, including turbulence created by large-scale and small-scale motion, advecting the numerical errors and magnifying such effects.

Outlooks

Although it is clear that the amplification stage of the B-field is rapid and distinctive, we still have little grasp of its precise physical driving factors. The B-field evolution is a complicated process involving interactions of different parts of the galaxy, and in future works we plan to explore different numerical MHD schemes and cleaning methods, including how different seed field values and divergence cleaning schemes could impact the B-field saturated strengths and evolutionary course.

Acknowledgements

YSL thanks Ruediger Pakmor, Kung-Yi Su, and Patrick Diamond for useful discussion and technical help. YSL and DK were supported by the National Science Foundation (NSF) grant AST-2108314. YSL was also supported by the University of California San Diego Academic Senate Research Grant. PFH acknowledges support from a Simons Investigator Grant. SBP acknowledges support from the Knut and Alice Wallenberg Foundation Fellowship program under grant number 2023.0080.

Data Availability Statement

The data supporting the plots within this article are available on reasonable request to the corresponding author. A public version of the GIZMO code is available at http://www.tapir.caltech.edu/~phopkins/Site/GIZMO.html. Additional data including simulation snapshots, initial conditions, and derived data products are available at http://fire.northwestern.edu.

Miscellaneous Figures

In this appendix, we present some miscellaneous figures that supplement our main results.

In Figure A1 we present the B−nHB-n_{\mathrm{H}} and fB−nHf_{\mathrm{B}}-n_{\mathrm{H}} distribution histograms for gas with r≤150 kpcr \le150\,\mathrm{kpc} in two m12m runs, akin to Figure 8. This is to support our conclusions in § 5.1, in which we only discussed the robustness of basic B-field properties against resolution and feedback schemes for the m12i halo. For the m12m haloes, the FIRE-3 feedback schemes still result in a slightly higher B-field value for a given density, but the magnetic-to-turbulent ratio fBf_{\mathrm{B}} increases more significantly. This is in agreement with what we found in § 5.1. We therefore conclude that feedback schemes have a similar impact on all MW-mass galaxies.

Mass-weighted $B-n_{\mathrm{H}}$ and $f_{\mathrm{B}}-n_{\mathrm{H}}$ distribution histograms

Figure A1. Mass-weighted B−nHB-n_{\mathrm{H}} and fB−nHf_{\mathrm{B}}-n_{\mathrm{H}} (see the main text for definition of fBf_{\mathrm{B}}) distribution histograms for gas with r≤150 kpcr \le150\,\mathrm{kpc}. We present two runs for another MW-mass galaxy m12m: the FIRE-2 high-res MHD run, and the FIRE-3 high-res MHD run. Similar to what we saw in § 5.1, going from FIRE-2 to FIRE-3, the B-field strength increases slightly, while the magnetic-to-turbulent ratio fBf_{\mathrm{B}} bumps up much more.

In Figure A2 we present our results of using different filter sizes to decompose the magnetic and kinetic energy densities, verifying the robustness of such choices. These should be compared to our fiducial trial in Figure 7. Different filter sizes were labelled at the right side of each top panel. We see that with different filter sizes, although the values of different components may change (particular at low-zz), the general evolutionary trends are robust and independent of the filter sizes. When using the two constant filters (l=3l = 3 and 5 ckpc5\,\mathrm{ckpc}), we “smear” over large regions of relatively high-density galactic gas, causing a more significant change in ϵK\epsilon_{\mathrm{K}}. Interestingly, with all different applied filters, we see the same humps in both magnetic and kinetic energies around the reionization era. The impact of different filter sizes is stronger on the kinetic field than on the magnetic field. This is because turbulence happens across all scales so shifting the filter size would cause changes in the turbulence strength. A more detailed discussion on different turbulent decompositions and their implications would be beyond the scope of this study.

Robustness tests on different filter sizes applied in our decomposition exercise of the magnetic and kinetic energy densities

Figure A2. Robustness tests on different filter sizes applied in our decomposition exercise of the magnetic and kinetic energy densities. Each column represents one filter size, with the top panel presenting the magnetic energies and the bottom panel presenting the kinetic energies. Our fiducial result in the main text adopts l=hl = h (the smoothing length), and here we present four more trials: l=lcelll = l_{\mathrm{cell}} (cell size), l=2hl = 2h, l=3l = 3 ckpc, and l=5l = 5 ckpc. We see that our results in general converge.

In Figure A3 and Figure A4 we present the particle tracing tracks for different properties for all of our other galaxies. All plots and presentation are the same as for our fiducial run (m12i CR-CD) in the main text (Figure 5). We see that conclusions drawn from our fiducial run apply for all other runs, making them robust features in galactic B-field evolutions. A three-stage evolution is seen in all of our runs. Importantly, the magnetic-to-turbulent ratios saturate around similar values (∼1\sim1–10%10\%) for z≲1z \lesssim1 even with different halo sizes, which confirms the role of turbulence played in amplification, rather than being amplified randomly by numerical effects. The “dip-then-rise” features for high-density gas are also seen in all our runs, even for the m11c halo, which is an irregular galaxy without a compact disk. With a less massive halo come weaker B-fields, but also with weaker turbulence. The fact that the magnetic-to-turbulent ratios are maintained constant indicates the passivity of B-field, as the saturated strengths are controlled by the turbulence strengths.

Particle tracing tracks for the rest of our MW-mass galaxy runs

Figure A3. Particle tracing tracks for the rest of our MW-mass galaxy runs. See Figure 5 for detailed description of the panels. Each row shows the result for one simulation run. The important milestone times discussed in the main text are also labelled, although due to availability of the snapshots some runs start from either z∼20z \sim20 or 12, so the starting points vary. For the same reason, the tracks for the m11b runs appear to be less smooth. Nevertheless, similar features are observed, and the magnetic-to-turbulent ratios all reach ∼1−10%\sim1 - 10\% regardless of the size of the galaxy or the physics included (CR vs. MHD).

Twelve-panel plots for dwarf runs

Figure A4. Same as Figure A3, but for our dwarf runs. We again see robust features among all presented runs.

Divergence cleaning

In § 5 we conjecture a possibility that the amplification may be induced by numerical effects, and one of the major numerical effects is the residual error from divergence cleaning. In this appendix, to aid our conjecture, we provide more insights by schematically showing the actual evolution of B-field in our simulations.

The actual induction equation that is evolved in our simulations with additional source terms aiming to “clean” the non-zero divergence (Hopkins & Raives 2016):

∂B∂t−∇×(v×B)=−v(∇⋅B)−∇ψ.(14)\frac{\partial\mathbf{B}}{\partial t} - \nabla\times(\mathbf{v} \times\mathbf{B}) = -\mathbf{v}(\nabla\cdot\mathbf{B}) - \nabla\psi. \tag*{(14)}

Here, the first term corresponds to the cleaning employed by the Powell method (Powell et al. 1999), which advects back the non-zero divergence along the magnetic field lines. The second term corresponds to the Dedner method (Dedner et al. 2002), which is an additional damping term to smooth out the consequences from the Powell method. Note that the Powell term is simply explicitly subtracting the term that would have been ∝∇⋅B\propto\nabla\cdot\mathbf{B} when expanding the triple product in the induction equation. With the additional source terms and dropping the previous assumption on ∇⋅B=0\nabla\cdot\mathbf{B} = 0, eq. (9) is then modified to

dln⁡Bdt=bT(∇v)b−∇⋅v+v⋅bB∇⋅B−v⋅bB∇⋅B−bB∇ψ.(15)\frac{d\ln B}{dt} = \mathbf{b}^{T}(\nabla\mathbf{v})\mathbf{b} - \nabla\cdot\mathbf{v} + \frac{\mathbf{v}\cdot\mathbf{b}}{B}\nabla\cdot\mathbf{B} - \frac{\mathbf{v}\cdot\mathbf{b}}{B}\nabla\cdot\mathbf{B} - \frac{b}{B}\nabla\psi. \tag*{(15)}

In the continuum limit, the divergence-error term and the Powell term in eq. (15) cancel algebraically. However, this is not necessarily true numerically. To see this, for a fluid element ii, the actual MFM update can be schematically written as

(Δln⁡BΔt)i=(Δln⁡BΔt)kin,i+Γclean,i,(16)\left(\frac{\Delta\ln B}{\Delta t}\right)_i = \left(\frac{\Delta\ln B}{\Delta t}\right)_{\mathrm{kin},i} + \Gamma_{\mathrm{clean},i}, \tag*{(16)}

where the kinetic contribution is

(Δln⁡BΔt)kin,i≡biT(∇v)ibi−(∇⋅v)i,(17)\left(\frac{\Delta\ln B}{\Delta t}\right)_{\mathrm{kin},i} \equiv\mathbf{b}_i^{T}(\nabla\mathbf{v})_i\mathbf{b}_i - (\nabla\cdot\mathbf{v})_i, \tag*{(17)}

and

Γclean,i≡biBi⋅[vi(∇⋅B)ind,i−vi(∇⋅B)P,i−(∇ψ)D,i]+O(Δt,hip)(18)\Gamma_{\mathrm{clean},i} \equiv\frac{\mathbf{b}_i}{B_i}\cdot\left[\mathbf{v}_i(\nabla\cdot\mathbf{B})_{\mathrm{ind},i}-\mathbf{v}_i(\nabla\cdot\mathbf{B})_{\mathrm{P},i}-(\nabla\psi)_{\mathrm{D},i}\right]+O(\Delta t,h_i^{p}) \tag*{(18)}

is the residual divergence cleaning error. Here, (∇⋅B)ind,i(\nabla\cdot\mathbf{B})_{\mathrm{ind},i} denotes the effective discrete monopole contribution entering the induction equation, while (∇⋅B)P,i(\nabla\cdot\mathbf{B})_{\mathrm{P},i} denotes the corresponding discrete quantity entering the Powell source term. These two quantities represent the same continuum ∇⋅B\nabla\cdot\mathbf{B}, but in the numerical scheme they are evaluated through reconstructed states and meshless gradient/divergence estimators. Therefore, they may not be identical at finite resolution, even though they become identical in the continuum limit. The residual term Γclean,i\Gamma_{\mathrm{clean},i} thus represents the finite-resolution cleaning error that may contribute to the instantaneous rapid growth of BB seen in the main text results.

This paper has been typeset from a TEX/LATEX file prepared by the author.

References

  1. [60]Planck Collaboration et al., 2014, A&A, 571, A16
  2. [70]Rodrigues L. F. S., Shukurov A., Fletcher A., Baugh C., 2015, Monthly Notices of the Royal Astronomical Society, 450, 3472
  3. [82]van de Voort F., Bieri R., Pakmor R., Gómez F. A., Grand R. J., Marinacci F., 2021, Monthly Notices of the Royal Astronomical Society, 501, 4888

Paper details

vlnc:W_atumeyv4
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents