Open Access
Issue
A&A
Volume 712, August 2026
Article Number A38
Number of page(s) 15
Section Galactic structure, stellar clusters and populations
DOI https://doi.org/10.1051/0004-6361/202659676
Published online 31 July 2026

© The Authors 2026

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. This email address is being protected from spambots. You need JavaScript enabled to view it. to support open access publication.

1 Introduction

Numerical effects, including particle numbers and gravitational softening lengths, have long posed challenges in galaxy simulations by introducing artifacts that bias outcomes beyond physical effects (Athanassoula & Sellwood 1986; White 1988; Hernquist & Barnes 1990; Pfenniger & Friedli 1993; Romeo 1994; Merritt 1996; Weinberg 1996; Romeo 1997, 1998; De Rijcke et al. 2019). To reduce the numerical noise, different techniques (e.g., wavelet) have been proposed (Romeo et al. 2003, 2004). Among early studies on two-body relaxation, Steinmetz & White (1997) demonstrated that discreteness effects from massive dark matter (DM) particles cause spurious heating of baryons. It overwhelms radiative cooling when DM particle masses exceed critical thresholds and leads to artificial gas expansion or suppressed cooling. Later, Moore et al. (1999) and Fukushige & Makino (2001) showed in the simulations of DM halo formation that larger softening values produce shallower central densities, emphasizing the need for sufficient resolution to preserve cuspy profiles instead of flattened cores. Similarly, Power et al. (2003) stressed that convergence in halo profiles requires precise tuning of the gravitational softening, time steps, force accuracy, initial redshifts, and particle counts. Poor choices yield artificially low central densities or, in some cases, spurious cusps. Gravitational softening imposes a characteristic acceleration limit below which the local mean acceleration must lie, the time step must resolve the local orbital timescale, and enough particles must be enclosed that the two-body relaxation timescale exceeds the age of the Universe. Rodionov & Sotnikova (2005) also conducted convergence tests on optimal softening criteria and suggested that softening lengths should be 1.5–2 times smaller than interparticle distances in dense regions to minimize irregular forces and maintain equilibrium in collisionless models such as Plummer or Hernquist spheres.

Recent studies have demonstrated how numerical artifacts, especially from low mass resolution and high DM-to-baryon particle mass ratios, significantly affect galaxy morphologies and properties in idealized and cosmological simulations. For example, energy equipartition in setups with ratios >1 causes spurious kinetic energy transfer from DM to baryons, artificially enlarging galaxy sizes (Ludlow et al. 2019). Related research on stellar disk heating demonstrates that collisional effects from coarse DM particles raise vertical and radial velocity dispersions, thickening and expanding disks across all radii, with severity inversely proportional to DM particle count and pronounced for halos with ≲106 particles (Ludlow et al. 2021). Here, spurious dispersions can surpass 10% of the halo’s virial velocity over a Hubble time, thickening stellar disks in Milky Way-mass galaxies. In full cosmological contexts, these heating artifacts produce resolution-dependent divergences in kinematics and structures, yielding hotter stellar disks, colder halos, elevated central DM densities, and oversized galaxies, while underresolving dwarf halos suppresses substructure and mergers (Ludlow et al. 2023). Hence, even in the modern simulation era, the numerical setup must be assigned carefully.

Considering all these numerical effects, conducting large-scale cosmological simulations with star formation and feedback to form realistic galaxies remains challenging, particularly for the formation of non-axisymmetric structures and their evolution over the Hubble time (Grand et al. 2017; Pillepich et al. 2018b,a, 2019; Libeskind et al. 2020; Dubois et al. 2021; Ansar et al. 2025). Among them, the NEWHORIZON simulation (Dubois et al. 2021) may be exposed to greater numerical effects as their DM particle mass is about 92 times more massive than baryonic particles. In fact, the bar instability in disks is sensitive to galaxy size, mass, thickness, and kinematics (Fall & Efstathiou 1980; Efstathiou et al. 1982; Athanassoula 2003; Klypin et al. 2009; Kwak et al. 2017), while those properties are sensitive to the DM resolution effects. Moreover, gravitational softening may affect the angular momentum exchange, while the history of angular momentum exchange via DM-star dynamical interactions directly influences the evolution of bar properties such as bar strength, length, pattern speed, buckling instability, and overall morphology (Athanassoula 2002, 2003, 2014; Berentzen et al. 2006; Frosst et al. 2024, 2026; Jang & Kim 2024; Jang et al. 2025; Kwak et al. 2017, 2019; Łokas et al. 2014, 2016; Łokas 2019a,b, 2025a,b; Martinez-Valpuesta & Shlosman 2004; Martinez-Valpuesta et al. 2006).

Indeed, Kaufmann et al. (2007) showed that angular momentum transport, disk morphology, and radial profiles depend critically on force and mass resolution, with large softening suppressing bar instability. Such excessive softening (ε = 2 kpc for both baryon and DM particles) fails to resolve the central region, where angular momentum transport plays a pivotal role in forming a bar. As Bekki (2023) demonstrated, a weak seed bar (F2 < 0.1) initially forms and subsequently grows through apsidal precession synchronization (APS). This seed forms more rapidly under conditions of higher disk mass or strong tidal perturbations. However, adopting large softening lengths and lower DM resolution is expected to reduce angular momentum transfer, especially during the early growth phase when the bar is small as originating from the very center. In Kwak et al. (2025) (Paper I), we emphasized the role of central angular momentum exchange in mediating the transition from the spiral to the bar phase. In a fixed potential halo, in which the angular momentum exchange is absent, this transition does not occur, thereby suppressing bar formation in models with the same disk stability. Thus, poorly resolving central dynamics between DM and stars with a low number of particles and a large softening length is expected to alter the bar instability, as observed in the NEWHORIZON simulation (Reddish et al. 2022).

In this paper, we investigate the effects of resolution and gravitational softening length in the DM halo on bar formation and evolution in idealized disk-halo models. All models employed identical stellar disk parameters, allowing us to isolate their numerical influences. By varying the DM concentration, we compared the relative impacts of different disk stabilities on bar formation and long-term growth. Furthermore, by examining numerical effects on vertical heating, we assessed how buckling instability strength varies with resolution and softening. In Sect. 2, we list our numerical setup, including the disk-halo models, halo structure, and N-body code. Section 3 presents an overview of bar evolution through resolution and softening—both in combination and separately—and visualizes the occurrence of buckling instability under different softening lengths. In Sect. 4, we discuss the underlying physical mechanisms, linking our findings to similar studies and cosmological simulations. We conclude Sect. 4 with recommendations on appropriate options for resolution and softening.

2 Numerical setup

We constructed the initial conditions in the same manner as in Paper I using the GALIC code (Yurin & Springel 2014). Our galaxy models consist of a disk-halo system in isolation. The stellar disk follows the distribution ρ(R,z)=Md4πzdRd2exp(RRd)sech2(zzd),Mathematical equation: \rho_{\star} (R, z) = \frac{M_{d}}{4\pi z_{d} R_{d}^2} \exp \left( -\frac{R}{R_{d}} \right) \text{sech}^2 \left(\frac{z}{z_{d}}\right),(1)

where Rd is the scale length, zd is the vertical scale height, and Md is the total mass of the stellar disk in cylindrical coordinates. In all models, the parameters for the stellar disk are the same: Md = 5 × 1010 M, Rd = 3 kpc, and zd = 0.3 kpc. The resolution for the stellar disk was fixed, with N* = 5 × 106 particles, each having a mass of m* = 104 M. The softening length of the stellar component ε is 0.03 kpc, which is the mean particle separation in the disk within the half-mass radius.

The DM halo follows a Hernquist (1990) profile in spherical coordinates ρDM(r)=MDM2πar(r+a)3,Mathematical equation: \rho_\text{DM} (r) = \frac{M_\text{DM}}{2\pi} \frac{a}{r(r+a)^3},(2)

where a is the scale length of the halo and MDM is the total mass. The total mass was fixed at MDM = 1.14 × 1012 M in all models. The scale length of the DM halo varies with the concentration parameter c as a=r200c[2ln(1+c)c1+c]1/2,Mathematical equation: a = \frac{r_{200}}{c} \left[2 \ln(1+c)-\frac{c}{1+c}\right]^{1/2},(3)

where r200 is the virial radius (Springel et al. 2005). We adopted two halo concentration parameters, c = 14 and 16, that fall within the reasonable range from Aquarius and TNG simulations (Springel et al. 2008; Bose et al. 2019). The scale lengths a are 22.88 and 20.68 kpc, respectively. Although we used the same parameters for the stellar disk, varying the halo concentration changes the central fraction of the DM halo, which affects the bar instability of disk galaxies (Kwak et al. 2017, 2019; Zhou et al. 2020; Jang & Kim 2023). Hence, our models were imposed with two different levels of stability. According to the Toomre Q parameter (Toomre 1964), Q=κσR3.36GΣ,Mathematical equation: Q = \frac{\kappa \sigma_R}{3.36\,G\,\Sigma_\star},(4)

the corresponding minimum Q values are 0.830 and 0.875 for the “c14” and “c16” models, respectively.

The initial conditions for our isolated disk-halo systems were generated with the GALIC code (Yurin & Springel 2014). GALIC constructs N-body realizations in approximate collisionless equilibrium by an iterative method. Particle positions were sampled directly from the prescribed density profiles of the stellar disk and DM halo. The radial velocity dispersion profile σR (R) was obtained by solving the axisymmetric Jeans equations for a chosen anisotropy parameter fR=σR2/σz2Mathematical equation: $f_R = \sigma_R^2 / \sigma_z^2$ (we adopt fR = 1 in this work), which in turn set the desired radial profile of the Toomre stability parameter Q of the stellar disk. Initial velocities were drawn from local Gaussian distributions consistent with these second moments and were subsequently refined iteratively until the time-averaged density response matched the target configuration to within the required tolerance.

The parameters of our models are listed in Table 1. In each set of our galaxy models with different stability, we varied the resolution and the gravitational softening length of the DM halo. The “ldm” models contain NDM = 1.14 × 106 with mDM/m* = 100, while the rest contain NDM = 1.14 × 107 with mDM/m* = 10. For such galaxies with low DM resolution, large softening was often adopted. We therefore evolved two additional models with εDM = 0.60 kpc and 0.96 kpc for the “c14” and “c16” models. The value of 0.96 kpc was derived from the mean particle separation within the effective radius of the DM halo in model r1c16ldm, while 0.60 kpc was derived from the mean particle separation within 27 kpc (9Rd). We denote models with εDM = 0.96 kpc and 0.60 kpc as “sf1” and “sf06,” respectively. For example, model r1c16ldmsf1 includes a DM halo with NDM = 1.14 × 106, εDM = 0.96 kpc, and c = 16. In the models without “sf1” or “sf06” denotation, the same softening length was assigned for both the disk and halo εDM = 0.03 kpc. In Paper I, we studied two stellar disk resolutions (“r1” and “r2”) with N* = 5 × 106 and 5 × 107 particles, respectively, whereas in this paper we focus on the “r1” models while varying the DM halo resolution.

To examine the softening effects separately, we applied the same large softening in the higher resolution halo in the r1c16sf1 model with εDM = 0.96 kpc. Additionally, the effects of εDM = 0.30 kpc and mDM/m* = 1 are compared in Appendix A after evolving model r1c14ldmsf03 and r1c14hdm. The “hdm” stands for the high DM resolution, which contains 1.14 × 108 DM particles. All models were evolved for 4 Gyr with 400 output snapshots using the AREPO code (Weinberger et al. 2020). We adopted a hierarchical time-stepping scheme with a maximum time step of 50 Myr.

Our models are purely collisionless systems that do not include gas or star formation. Including hydrodynamics and stellar feedback would be an interesting extension for future work. For instance, the bar-driven gas inflows can exert positive torques that counteract the angular momentum transfer from the bar to the halo and may even accelerate the bar pattern speed (Beane et al. 2023). Furthermore, Ansar et al. (2025) show that stellar feedback can significantly weaken bar strength. However, cosmological simulations, which employ a wide variety of subgrid physics prescriptions and resolutions, often suffer from the well-known “missing bar” problem. Therefore, in the present work we focused on isolating the effects of force and mass resolution in purely collisionless systems. We plan to revisit this topic with more realistic baryonic physics in future work.

Table 1

Initial conditions.

3 Results

3.1 Overview

Figure 1 illustrates the surface density distribution of the stellar disk in all models within a 30 kpc × 30 kpc box at the end of the simulation (4 Gyr). The “c16” models share the same disk parameters but differ in DM resolution and softening. These differences yield noticeably distinct outcomes. Note that the r1c16 model is marginally unstable to non-axisymmetric structure formation, as demonstrated in Paper I. Here, the term “marginal” refers to an intermediate stability regime that lies in the middle of the stability spectrum, where resolution effects cause significant divergence in the evolutionary path and formation epoch of non-axisymmetric structures (Paper I). The bar formation epochs of r1c16 and r1c16ldm, based on F2,max > 0.3, are 1.67 Gyr and 1.89 Gyr, respectively. Model r1c16 exhibits a prominent bar at 4 Gyr, as does model r1c16ldm despite its low DM resolution (mDM/m* = 100). The bar in model r1c16ldmsf06 (εDM = 0.60 kpc), which has larger softening than r1c16 and r1c16ldm (εDM = 0.03 kpc), appears slightly weaker. Interestingly, despite the same initial Toomre Q and density structures, model r1c16ldmsf1 (εDM = 0.96 kpc) fails to form an elongated bar even by the end of the simulation. One might conjecture that the resolution of its DM halo prevents bar formation. However, model r1c16sf1, with ten times more DM particles (mDM/m* = 10), still does not develop a large-scale bar owing to the large DM softening value (εDM = 0.96 kpc); only a weak inner oval or short bar is present. This implies that the choice of an excessively large halo softening length, which is often adopted to mask numerical noise in low DM resolution simulations, exerts a greater impact on bar formation and growth.

The stellar disks in the “c14” models are gravitationally more unstable than those in the “c16” models in terms of the Toomre Q parameter. The lower halo concentration parameter in the “c14” models results in a smaller DM contribution within the disk region. This results in a lower Toomre Q distribution and makes the disks more susceptible to instabilities and the formation of non-axisymmetric structures. In fact, as shown in Paper I, model r1c14 forms a visible bar by surpassing F2,max > 0.3 at 1.26 Gyr. This occurs 0.41 Gyr earlier than in model r1c16 with the same resolution. In Fig. 1, model r1c14 forms a well-elongated and strong bar after evolving for 4 Gyr.

Overall, in models with lower resolution or larger softening, the bars are shorter and weaker. Note that the bar in r1c16ldm appears longer in Fig. 1, but this is actually a transient moment of bar–spiral mode coupling, during which the bar length can be overestimated (Minchev & Famaey 2010; Quillen et al. 2011; Hilmi et al. 2020; Marques et al. 2025; Kwak et al. 2025). For instance, at 3.9 Gyr the bar in the same model appears morphologically shorter owing to the absence of such mode coupling (see Fig. A.1).

Although model r1c16ldmsf1 with εDM = 0.96 kpc fails to form a bar, model r1c14ldmsf1 does form one. However, this bar appears much smaller than those in the other models. This implies that bar formation and growth depend on the initial disk stability, softening length, and DM halo resolution. In a more unstable disk, a stronger seed bar (e.g., Bekki 2023) can form earlier. We conjecture that this enables bar formation in model r1c14ldmsf1 despite the suppressed bar–halo angular momentum exchange due to the large DM softening. However, the growth of the bar is not fully resolved owing to the suppressed DM response (and thus reduced DM-star dynamical friction) in the central bar region. Consequently, the bar is unable to grow stronger and longer in model r1c14ldmsf1.

Thumbnail: Fig. 1 Refer to the following caption and surrounding text. Fig. 1

Face-on projections of the stellar surface density distribution in a 30 × 30 kpc box at 4 Gyr for all models. The color bar indicates the surface density in units of solar masses per square kiloparsec, M kpc−2.

3.2 Bar formation and growth

To trace the formation and evolution of non-axisymmetric structures, we performed a Fourier analysis: F0(R)=jμj,Mathematical equation: F_0(R)&=& \sum_{j} \mu_{j},\\(5) Fm(R)=jμjeimϕjF0(R).Mathematical equation: F_{m}(R) &=& \frac{\sum_{j} \mu_{j} \, e^{i m \phi_{j}}}{F_{0}(R)}.(6)

Here, μj and φj are the mass and azimuthal angle of the jth particle in an annulus with a radial bin width of ΔR = 0.2 kpc. The value of m is an integer that denotes the multipole order. We primarily focus on m = 2 to quantify the bar strength and examine the evolutionary path of bars.

Figure 2 shows the time evolution of the Fourier mode m = 2 within 8 kpc over 4 Gyr. The left and right columns correspond to the “c16” and “c14” models, respectively. The scale of the color bar is fixed from 0.01 to 0.40. Red and orange regions indicate strong m = 2 non-axisymmetry with F2 > 0.3, which we use as an approximate bar-length proxy. However, near the bar end this threshold can be exceeded during episodes of barspiral mode coupling (Minchev & Famaey 2010; Quillen et al. 2011; Hilmi et al. 2020; Marques et al. 2025). In these intervals, because the bar rotates faster than the spiral pattern, it periodically overlaps with the m = 2 spiral on the timescale set by their beat frequency. During such alignments the two m = 2 components add constructively, boosting F2 outside the physical bar and thereby increasing the bar’s measurable length in the F2 map. Depending on the strength of the inner spiral structure, the apparent bar length can be overestimated by up to a factor of ~2, both in stellar surface-density maps (Hilmi et al. 2020) and in the centrally induced quadrupole velocity field (Vislosky et al. 2024). A more conservative length estimate is therefore given by the lower envelope of the F2 > 0.3 boundary (times when the spiral contribution is weakest).

Overall, the bar formation epochs are not significantly different among models with the same disk stability (see Fig. 2), except for the “sf1” models, where bar formation is strongly suppressed. As shown in Paper I, more stable disks are more susceptible to Poisson noise, which causes larger variations in the timing of non-axisymmetric structure formation. For instance, increasing the total resolution (star and DM) of model r1c16 by a factor of 10 delays bar formation by 1.9 Gyr, whereas the delay is only 0.5 Gyr in model r1c14 with the same resolution enhancement (the “r2” models in Paper I). Additionally, the resolution of the DM halo, which is one of the main focuses of this study, slightly delays bar formation as well: (1) decreasing the DM resolution by a factor of 10 (model r1c16ldm) triggers spurious spirals due to massive DM particles, which heat the disk and thus slightly stabilize it; (2) increasing the DM resolution (model r1c16hdm in Paper I) reduces discreteness noise associated with large mDM/m*, resulting in a smoother transition from the spiral phase to the bar phase. Again, all the models have the same disk resolution in this work. In addition to these resolution effects, varying the DM softening lengths introduces further complexity to the numerical effects and the ensuing bar formation. Still, relative to the case of increasing the total resolution by a factor of 10, these differences driven by softening and DM resolution in bar formation epochs are not significant, except for the “sf1” models with εDM = 0.96 kpc.

Model r1c16 possesses a small bar at 2 Gyr (Fig. 1 in Paper I), which grows stronger afterward via angular momentum exchange between stars and DM (Athanassoula 2002; Sellwood 2016; Kwak et al. 2017), shown until 4 Gyr in Fig. 2. Although the bar formation time delay is only 0.41 Gyr relative to model r1c14, the two models undergo significantly different evolutionary paths in bar formation and growth. Model r1c14 forms the strongest bar among all the models. Model r1c16 forms a weaker bar and experiences two bar weakening phases around 2.5 Gyr and 3.5 Gyr, due to vertical buckling instability. The bar in model r1c14 grows continuously without experiencing noticeable buckling instability and forms a well-elongated bar with the region of F2 > 0.3 extending to 4 kpc at 4 Gyr, excluding the bar-spiral coupled regions. In terms of length and strength, model r1c14 with mDM/m* = 10 forms the longest bar. Note that the vertical buckling instability can occur either gradually with a small amplitude in vz or suddenly with a strong impact in vz (e.g., Kwak et al. 2017; Seo et al. 2019; Łokas 2020). In the following sections, we refer to the gradual and weak heating as vertical instability and the sudden, strong one as buckling instability.

Decreasing the DM halo resolution while keeping the DM softening the same has no significant effect over the 4 Gyr evolution period in our idealized disk-halo systems. Model r1c16ldm forms a bar slightly later than model r1c16 due to the stabilizing effects from early spiral heating by massive DM particles with mDM/m* = 100 as shown in Paper I (see their Fig. 4). It also experiences weakening in F2 around 3.5 Gyr within the central few kiloparsec region, but not as much as r1c16 does. The overall strength and size of the bar are comparable to those in r1c16.

When comparing models r1c14 and r1c14ldm, their overall evolutionary paths appear similar, although the bar is slightly shorter at4 Gyr in model r1c14ldm. There are small differences in minor details when mDM/m* = 10 → 100, but the overall outcomes appear comparable.

At a glance, Fig. 2 reveals that DM softening exerts the most dramatic effects on bar formation and growth. As the DM softening length increases (εDM = 0.03 → 0.60 → 0.96 kpc), the bar strength visibly decays. In the “sf06” models with εDM = 0.60 kpc, the bar forms more weakly and the bar-driven spirals noticeably diminish relative to models with εDM = 0.03 kpc. Furthermore, model r1c14ldmsf06 experiences significant bar weakening around 3 Gyr. Concurrently, bar-driven spirals appear larger temporarily. Note that these spiral structures are distinct from the periodic spirals in other models with εDM = 0.03 kpc and represent remnants of the buckling instability (see Fig. 8 in Łokas 2019b). During the buckling instability, in addition to vertical thickening and the formation of an X-shaped bulge (linked to the bar’s 2:1 vertical resonance; Quillen et al. 2014), the bar dissolves and shortens, forming the barred spirals by ejecting a fraction of stars from the barred orbits. After the buckling instability, its bar strength remains weak and does not grow stronger as in the pre-buckling phase.

In the “sf1” models, the large DM softening (εDM = 0.96 kpc) significantly suppresses bar formation (Fig. 2). The bar strength in model r1c16ldmsf1 does not exceed F2 = 0.3. In the face-on views (Fig. 1), this model develops at most a weak and short inner oval, i.e., it does not form a strong, extended bar by our criterion, even after 4 Gyr. In model r1c14ldmsf1, which features greater instability, a bar still forms but appears substantially weaker and shorter. As conjectured in Sect. 3.1, this suggests that the threshold of maximum DM softening length for bar formation varies depending on the disk stability. However, even when bars form despite an excessive DM softening length, their growth may not be well promoted by the absence of the central angular momentum exchange.

To examine the effects of large DM softening alone (εDM = 0.96 kpc) without mixing the DM resolution effects, we evolved model r1c16sf1, which has the same resolution with model r1c16 (NDM = 1.14 × 107 and mDM/m* = 10) but differs only in the DM softening length, increased from εDM = 0.03 kpc to 0.96 kpc. In Fig. 3, we calculated the time evolution of the Fourier modes (m = 1 to 6) and Fsum, where Fsum(R)=m=16[Fm(R)]2Mathematical equation: $\Fsum(R) = \sqrt{\sum_{m=1}^{6} \bigl[F_{m}(R)\bigr]^{2}}$. Note that similar figures in Paper I use a colorbar scale ranging from 1% to 15% to highlight spirals in the corresponding modes, whereas here we adopt a scale from 1% to 40% to emphasize the bar mode.

As introduced in Paper I, multimode spirals emerge sequentially from higher to lower modes, accompanied by a decaying epicenter (e.g., m = 5 and 6 appear in the outer region of model r2c16, followed by lower modes in the inner region; Fig. 6 in Paper I) This mode cascade proceeds without significant angular momentum loss to the halo until reaching m = 3, at which point the spiral phase transitions to the bar phase through central mode amplification and subsequent dynamical friction from the DM halo. Capturing this natural mode evolution requires sufficient resolution and an appropriate mass ratio.

Model r1c16sf1 also displays such mode cascading during multimode spiral formation: the m = 6 spiral appears first around 6 kpc, followed by lower modes. The m = 3 mode emerges toward the central region where central angular momentum exchange plays a crucial role in the subsequent bar formation.

However, owing to the unresolved star-DM interaction within R ≈ 1 kpc, the amplitude of the m = 2 mode in the central region remains faint throughout the 4 Gyr evolution. Consequently, the model fails to develop a strong bar despite sufficient DM resolution.

Comparing the F2 amplitude in model r1c16sf1 with that of model r1c16ldmsf1 in Fig. 2, the amplitude appears even more suppressed in r1c16sf1. We conjecture that the massive DM particles in r1c16ldmsf1 (mDM/m* = 100) introduce numerical perturbations that contribute to the initial F2 amplification. Still, neither model develops a bar-like structure with F2 > 0.3 by 4 Gyr, likely due to the unresolved angular momentum exchange within R ≈ 1 kpc when εDM = 0.96 kpc.

In Fig. 4, we present the maximum value of F2 within 20 kpc as a function of time. To improve visibility, we applied smoothing using a moving average over nine points. The raw data without smoothing are shown in Fig. A.2, which exhibit a wide range of oscillations due to bar-spiral periodic overlap (Hilmi et al. 2020; Marques et al. 2025). In models r1c16ldmsf1 and r1c16sf1, which do not develop stable, extended bars, these oscillations reflect recurrent episodes of transient inner m = 2 distortions that do not settle into a coherent bar (Fig. A.2).

Morphologically, their inner m = 2 mode does not resemble a bar; rather, it appears as a perturbed disk (Fig. 1). Their stellar disks remain unstable due to the combination of stability and numerical perturbations; however, the lack of angular momentum transfer prevents the phase transition to bar formation, thereby sustaining these fluctuations until the end of their evolution.

Models r1c16 and r1c16ldm with εDM = 0.03 kpc form the strongest bars among the “c16” models, reaching F2,max ≈ 0.5, whereas models with larger softening attain lower peak values (Fig. 4). Both “sf1” models fail to grow beyond F2 = 0.3, although r1c16ldmsf1 reaches a slightly higher value owing to enhanced instability from perturbations driven by massive DM particles. Model r1c14ldmsf1 reaches F2 ≈ 0.3 but does not grow further due to the absence of central angular momentum exchange.

The “c14” models, except for r1c14ldmsf1, follow similar bar evolution paths until they diverge due to vertical buckling instability. Note that increasing the DM resolution to mDM/m* = 1 in model r1c14hdm does not substantially alter the evolution of bar strength relative to model r1c14 with mDM/m* = 10 (see Figs. A.3 and A.4 in Appendix A). Additional unstable disks, such as those in the “c14” models, are less sensitive to resolution effects in terms of the bar formation epoch, making direct comparison between models straightforward. These models follow a similar evolutionary path until around 3 Gyr, when they diverge due to buckling instability. In particular, model r1c14ldmsf06 (with larger softening) undergoes a pronounced buckling instability that significantly weakens the bar strength. We return to the origin of the buckling instability induced by the softening in Sect. 3.3. In Fig. 4, the bar strength in model r1c14ldmsf06 decreases by 0.2 from F2 ≈ 0.56, whereas r1c14 continues to grow and r1c14ldm undergoes gradual bar weakening. In model r1c14ldmsf03 (Appendix A), the buckling instability rapidly decreases the bar strength by 0.08 from F2 ≈ 0.48 around 2.2 Gyr (Fig. A.3). This indicates a correlation between the DM softening length and the magnitude of buckling-induced weakening in F2.

To quantify the angular momentum transferred from stars to DM halos, we measured the total disk angular momentum Lz normalized by its initial value Lz,0 in Fig. 5. The exchange of angular momentum between stars and DM particles serves as the primary mechanism driving bar formation (Athanassoula 2002, 2003; Kwak et al. 2017, 2019). The extent of this angular momentum transfer correlates with the bar’s strength and length. As the stellar bar transfers angular momentum to the DM halo, it decelerates and strengthens, which in turn elevates the radial velocity dispersion of stars and eventually triggers vertical buckling instability (Raha et al. 1991; Combes et al. 1990; Martinez-Valpuesta & Shlosman 2004; Martinez-Valpuesta et al. 2006; Debattista et al. 2006; Kwak et al. 2017, 2019; Łokas 2019a,b, 2025a). In the “c16” models, r1c16ldm, which forms the strongest bar, exhibits the greatest angular momentum loss. This may arise because massive DM particles are more effective at facilitating angular momentum exchange during the early phases when the bar is relatively weak. Compared to r1c16, model r1c16ldmsf06 forms a less strong bar and thus loses less angular momentum, reflecting a correlation between DM softening length and bar strength, as illustrated in Figs. 2 and 4. In the “c14” models, which form strong bars, the total stellar angular momentum loss reflects the combined effects of resolution and DM softening length: higher resolution and smaller softening boost the angular momentum exchange more effectively. The difference is small between models r1c14 and r1c14ldm, attributable to gradual bar weakening in r1c14ldm around 3.5 Gyr, whereas the bar in r1c14 continuously grows longer (R > 4 kpc where F2 > 0.3 in Fig. 2).

The DM softening length induces more pronounced changes in bar formation and buckling instability than resolution effects alone. To investigate this, we measured the spherical density profile of the DM halo, ρDM, from 0.1 kpc to 5 kpc on a log-log scale in Fig. 6. We present the “c16” models, as the density profiles of the “c14” models are similar for equivalent resolution and softening lengths (Fig. A.5). In the “sf1” models (εDM = 0.96 kpc), the central density profiles flatten in the inner 1 kpc regardless of DM halo resolution, remaining around ρDM ≈ 5 × 108 M kpc−3 throughout the evolution. This flattening is a well-known numerical artifact in cosmological simulations, where Plummer or spline softening mitigates two-body relaxation and noise but underresolves gravitational forces on scales below the softening length, yielding a spurious core instead of the expected cusp (Fukushige & Makino 2001; Power et al. 2003; Diemand et al. 2005). Therefore, the softened potential inhibits tight particle clustering in the center. The effect persists independent of particle number once convergence is reached and scales directly with the softening length.

In our initial conditions, the central cusp hosts most DM particles, but unresolved interactions within the softening length prevent them from staying bound at the very center, thus eroding the cusp rapidly. In addition to the bar weakening effects, larger softening lengths exacerbate this central flattening. By contrast, models r1c16 and r1c16ldm sustain ρDM > 109 M kpc−3, with gradual increases over time. In general, a reduction in the central mass concentration of the spheroidal component destabilizes the disk and promote bar formation (Kwak et al. 2017; Kataria & Das 2018; Jang & Kim 2023). However, our results indicate that central mass concentration alone is insufficient to produce a strong bar unless accompanied by efficient angular momentum transfer (Athanassoula 2002, 2003), particularly in the central region where a nascent bar begins to grow.

Thumbnail: Fig. 2 Refer to the following caption and surrounding text. Fig. 2

Fourier amplitude map F2(R, t) within 8 kpc, computed from the time evolution of the radial Fourier profiles of the m = 2 mode. Snapshots were taken every 0.01 Gyr over a total of 4 Gyr (400 snapshots). To enable direct comparison across models, the color scale inside the color bar is fixed across all panels, such that the same color corresponds to the same amplitude value between 0 and 0.4. All values above 0.4 are shown in the same saturated red.

Thumbnail: Fig. 3 Refer to the following caption and surrounding text. Fig. 3

Fourier amplitude map Fm (R, t) calculated from the time evolution of the radial Fourier profiles for each mode and Fsum in the r1c16sf1 model. The time interval of each snapshot used is 0.01 Gyr. To enable direct comparison across models, the color scale inside the color bar is fixed across all panels, such that the same color corresponds to the same amplitude value between 0 and 0.4. All values above 0.4 are shown in the same saturated red.

Thumbnail: Fig. 4 Refer to the following caption and surrounding text. Fig. 4

Time evolution of the maximum value of the Fourier mode m = 2 in the “c16” models (top panel) and “c14” models (bottom panel), after smoothing the data by applying a moving average over nine points. The unsmoothed version is shown in Fig. A.2.

Thumbnail: Fig. 5 Refer to the following caption and surrounding text. Fig. 5

Time evolution of the disk angular momentum normalized to its initial value, Lz/Lz,0, over 4 Gyr. Top: “c16” models. Bottom: “c14” models. The corresponding figure including the additional r1c14ldmsf03 and r1c14hdm models is shown in Fig. A.3.

3.3 Resolution and softening on the buckling instability

The buckling instability in galactic bars is a vertical bending mode that thickens the bar out of the disk plane, often leading to the formation of boxy or peanut-shaped bulges, as the bar’s self-gravity amplifies asymmetries in the velocity distribution (Combes et al. 1990; Raha et al. 1991; Kwak et al. 2017, 2019; Łokas 2019a,b, 2025a). It is often associated with anisotropy in the stellar velocity dispersions, where excessive radial heating from the bar’s growth creates an imbalance and triggers out-ofplane oscillations when the vertical support becomes insufficient (Merritt & Sellwood 1994). A live halo can promote angular momentum exchange and thereby enable stronger bar growth, which can lead to buckling instability (Berentzen et al. 2006). A common criterion for its onset is when the ratio of vertical to radial velocity dispersion, σz/σR, drops below 0.5-0.6, although this threshold can vary with factors such as the bar’s properties, the presence of a gaseous component, and the halo’s dynamical influence (Debattista et al. 2006; Kwak et al. 2017, 2019; Seo et al. 2019; Jang & Kim 2024; Jang et al. 2025). Moreover, the peanut or X-shape can track the radius of the bar’s 2:1 vertical resonance and migrate outward as the bar slows and the disk thickens (Quillen et al. 2014). Accordingly, the presence of a peanut or X-shape alone is not uniquely diagnostic of a distinct buckling episode; we therefore relied primarily on kinematic diagnostics, such as σz/σR.

In Fig. 7, we examine the radial profiles of surface density, vertical velocity dispersion σz, and the ratio σzR for models r1c14, r1c14ldm, and r1c14ldmsf06 to show the impacts of DM resolution and softening on buckling instability. These models were chosen as they follow comparable bar evolutionary paths until divergence arises from vertical buckling instability. To capture the transitions in these properties from the pre- to post-buckling phases, we compute them starting at 2 Gyr and extending to 4 Gyr with a time step of 0.25 Gyr. Overall, as evolution proceeds, the surface density in these bar-forming models increasingly contracts and becomes centrally concentrated (e.g., see Fig. 6 in Kwak et al. 2017).

The vertical velocity dispersion increases gradually in most models, except for r1c14ldmsf06, which undergoes a strong buckling instability that vertically perturbs and thickens the stellar components (Fig. 7). In model r1c14, the central σz ranges from approximately 80 to 100 km s−1, whereas in r1c14ldm it is about 10% higher (90 to 110 km s−1), attributable to spurious numerical heating induced by massive DM particles (Ludlow et al. 2021). In contrast, model r1c14ldmsf06 exhibits a sudden increase in σz at 2.75 Gyr, when it reaches slightly below 80 km s−1. This coincides with the epoch of abrupt bar strength decline (Fig. 4). Although models r1c14ldm and r1c14ldmsf06 share the same DM resolution, the numerical disk heating from massive DM particles is far less effective in r1c14ldmsf06 due to its larger softening length (εDM = 0.60 kpc), resulting in central σz values more than 20% lower relative to r1c14ldm (εDM = 0.03 kpc). The vertical velocity dispersion σz acts as a stabilizing factor against the onset and recurrence of buckling instability. For instance, Kwak et al. (2017) showed that the initial buckling event occurs in the inner bar, elevating local σz and thereby shifting subsequent recurrences to outer regions less affected by the prior vertical heating.

The ratio σz/σR differs markedly among the three models in the bottom panels of Fig. 7. In the models with lower DM halo resolution (model r1c14ldm and r1c14ldmsf06), this ratio does not drop below ∼0.5, whereas in r1c14—which sustains continuous growth of a well-elongated bar extending beyond 4 kpc without weakening—the ratio falls below 0.5 for R > 3 kpc by 4 Gyr. Model r1c14ldm, which experiences gradual vertical instability from 3.25 to 4 Gyr (Fig. 4), shows σzR rise to ≈ 0.6 after approaching ≈ 0.5. The underlying mechanism driving this gradual bar weakening in the outer region due to DM resolution differences remains unclear and requires further investigation in the future in light of the radial distribution of the vertical instability threshold. As noted in Kwak et al. (2017), initially hotter disks undergo vertical instability earlier in the outer regions (see their models DP3 and DP4 in Fig. 14). We therefore conjecture that the elevated disk heating (σR and σz) in model r1c14ldm, induced by spurious heating from massive DM particles prior to bar formation, likely triggers the vertical instability once the bar extends to outer regions at R ≈ 4 kpc. Apart from the resolution effects (mDM/m = 100), model r1c14ldmsf06 displays a pronounced increase in σz/σR owing to its strong buckling instability.

To trace the occurrence of buckling instability, we present radial distribution maps of vz and σz as functions of time in Fig. 8. The color bars are fixed, ranging from −15 to 15 km s−1 for vz and from 30 to 80 km s−1 for σz, ensuring that identical colors represent equivalent values across models. Models r1c14 and r1c14ldm exhibit no visible changes in vz, whereas r1c14ldmsf06 displays pronounced fluctuations around 3 Gyr, coinciding with a substantial decline in bar strength (Fig. 4). The duration of elevated vz is approximately 0.5 Gyr, aligning with the period during which the bar strength F2 decreases from 0.56 to 0.36 (Fig. 4).

Given that Fig. 7 indicates lower pre-buckling σz in r1c14ldmsf06 compared to r1c14ldm, we also show the σz distribution in the bottom panels of Fig. 8. This clearly reveals that the two models with εDM = 0.03 kpc undergo gradual vertical heating in the central region during bar formation and growth. Again, model r1c14hdm (mDM/m = 1) undergoes nearly the same bar formation without buckling instability, implying that this is not a mass ratio effect (Figs. A.3 and A.4). In contrast, model r1c14ldmsf06 (εDM = 0.60 kpc) exhibits no such gradual vertical heating in the central region during the same phase of bar formation. Notably, all three models maintain nearly equivalent bar strengths F2 until shortly before the buckling instability before 3 Gyr. Despite these comparable bar strengths, the failure to resolve central σz—a key stabilizing factor against buckling—causes greater imbalance in σzR, thereby triggering a stronger buckling instability in model r1c14ldmsf06 (e.g., Debattista et al. 2006; Kwak et al. 2017).

Thumbnail: Fig. 6 Refer to the following caption and surrounding text. Fig. 6

Radial density profiles of the DM halo in the “c16” models from 0.1 Gyr to 4 Gyr, shown between 0.1 kpc and 5 kpc. Both axes are logarithmic. Profiles at different times are color-coded and labeled accordingly. The corresponding profiles for the “c14” models are shown in Fig. A.5.

Thumbnail: Fig. 7 Refer to the following caption and surrounding text. Fig. 7

Radial profiles of stellar disk properties within 5 kpc, from 2 Gyr to 4 Gyr with a time step of 0.25 Gyr. Left, middle, and right columns: r1c14, r1c14ldm, and r1c14ldmsf06 models, respectively, all of which form a bar. Top row: density profiles for each model. Middle row: vertical velocity dispersion of the disk. Bottom row: ratio between the vertical and radial velocity dispersions. The corresponding profiles for model r1c14hdm are shown in Fig. A.4.

4 Discussion and conclusion

Using N-body simulations, we investigated the effects of resolution and gravitational softening in the DM halo on bar formation and buckling instability. In our dissipationless, isolated disk-halo systems, we fixed the stellar disk parameters and varied the resolution, softening length, and concentration parameter of the DM halo, as changes in the DM fraction alter the stability of the disks. Across two different levels of stability, we examined the relative effects of mDM/m* and εDM on the bar formation epoch, the evolutionary path of bar properties, and bar weakening via buckling instability.

Thumbnail: Fig. 8 Refer to the following caption and surrounding text. Fig. 8

Time evolution of the radial distribution of vz (top panels) and σz (bottom panels) in the stellar disks over 4 Gyr. Left, middle, and right: r1c14, r1c14ldm, and r1c14ldmsf06 models, respectively. For the vertical velocity vz, the color distribution inside the color bar is fixed across all three models to ensure direct comparison, although the overall range of the color bar is not fixed. Sudden fluctuations in the vz maps indicate the onset of buckling instability. For the vertical velocity dispersion σz, the color scale is fixed for values in the range 30-80 km s−1. The black regions indicate strong vertical heating of the stellar disk.

4.1 DM resolution on bar formation

The formation of non-axisymmetric structures, such as bars, exhibits a sensitivity to numerical noise that is modulated by the intrinsic stability of the disk. Additional unstable disks show reduced variability in the formation epoch due to shot noise (Paper I). Enhancing the resolution of both the stellar disk and the DM halo by a factor of 10 relative to the “r1” models results in a delay in bar formation (0.5 Gyr for the “c14” models and 1.9 Gyr for the “c16” models). This delay stems from a substantial reduction in Poisson noise within the entire system, which suppresses the generation of noise-induced perturbations and spirals. These spirals otherwise cascade toward the center, augmenting bar formation beyond the disk’s intrinsic instability.

Interestingly, as demonstrated in Paper I, both increasing and decreasing the DM halo resolution delay bar formation (defined as F2 > 0.3), albeit for different reasons. For example, increasing the DM halo resolution from mDM/m* = 10 to mDM/m* = 1 induces a delay in bar formation (0.1 Gyr in the “c14” models and 0.9 Gyr in the “c16” models compared with their hdm counterparts). This occurs because the angular momentum transfer mediated by more massive DM particles is reduced when mDM/m* = 1 during the transitional phase from spirals to bars (see Fig. 5 in Paper I). Conversely, decreasing the DM halo resolution from mDM/m* = 10 to mDM/m* = 100 also delays bar formation but through a different mechanism: the passage of massive DM particles (mDM/m* = 100) through the disk plane exerts sporadic gravitational shocks throughout the disk, globally heating the stellar disk and enhancing its stability (see Fig. 4 in Paper I). For instance, the NewHorizon simulation (Dubois et al. 2021) reports the “missing bar” problem (Reddish et al. 2022) while adopting mDM = 1.2 × 106 and mDM/m* ≈ 92. Ludlow et al. (2021) points out that such low DM resolution (NDM ≲ 106 and mDM ≳ 106 M) artificially elevates the vertical velocity dispersion due to collisional heating on stellar disks. In addition, our findings suggest that the global increase in Fsum induced by high mDM/m* introduces another numerical artifact stabilizing the stellar disks against the bar instability. The impacts of stellar disk and DM halo resolution on the bar formation epoch are intricate with various underlying mechanisms. This complexity demands meticulous attention when configuring galaxy models, particularly those residing in the stable regime of the stability spectrum.

The stable regime, as discussed in Paper I, spans a broad range of disk stabilities. The “c16” models lie approximately in the middle of this spectrum, where resolution effects considerably influence the formation epoch of non-axisymmetric structures (Paper I). Indeed, model r1c16 develops a bar at 1.67 Gyr, defined by F2 > 0.3, and achieves a peak strength of F2 ≈ 0.5 shortly after 2 Gyr. This timescale is relatively brief for bar formation compared to the Hubble time.

For comparison, Jang et al. (2025) examined bar formation conditions in galaxies using N* = 106 and NDM = 2 × 107, with particle masses of m* ≈ 5 × 104 M and mDM/m* ≈ 2 in their Milky Way-mass models. Regarding the impact of disk resolution on spiral formation and associated disk heating, Fujii et al. (2011) analyzed numerical effects on spiral structures and their lifetimes (employing N* = 3 × 105 to 3 × 107) and determined that a sufficient number of disk particles (e.g., N* ≳ 3 × 106) is essential to sustain spirals without external cooling. Models with fewer star particles generate spirals predominantly through numerical noise, resulting in earlier development and overamplification (see their Fig. 7). These noise-induced spirals transport perturbations more rapidly and prematurely to the central region, thereby initiating DM-star dynamical friction and accelerating bar formation. This process accounts for the observed 1.9 Gyr delay in bar formation when increasing resolution from N* = 5 × 106 to 5 × 107 with mDM /m* = 10 in model r1c16 and r2c16 in Paper I. Furthermore, bars in the Jang et al. (2025) models form between approximately 3.5 and 6.7 Gyr, indicating that their disk-halo models are more stable than our r1c16 model and thus more susceptible to numerical noise affecting the timing of bar formation. Such resolution-dependent delays in bar formation have been also reported by Dubinski et al. (2009). Hence, we conjecture that resimulating these stable models with N* = 5 × 107 stellar particles and mDM/m* < 10, which reduce initial noise levels Fsum ≈ 0% (Paper I), could prevent bar formation within the Hubble time in certain cases.

In practice, employing such a large number of particles to generate nearly noise-free initial conditions is challenging. In low DM resolution cases with mDM/m = 100, surprisingly, the bar formation timing exhibits no substantial difference, although the evolutionary paths diverge later owing to accumulated numerical effects from massive DM particles. For instance, the bar strength peaks lower and experiences bar weakening in model r1c14ldm compared to the high DM resolution models. Note that our models represent an idealized disk-halo setup, and mDM/m = 100 would yield more significant effects during the hierarchical formation (Ludlow et al. 2019, 2023). Fortunately, the evolutionary path of model r1c14hdm (mDM/m = 1), which employs ten times more DM particles, is comparable to that of model r1c14, as evidenced by their similar evolution of bar strength and angular momentum transfer (Fig. A.3). We therefore suggest that a resolution comparable to that of model r1c14 (mDM/m* = 10, m* = 104 M, and N* = 5 × 106) may not significantly alter the outcomes when simulating such unstable galaxies driven by strong self-instabilities or tidal forcing (Łokas et al. 2014, 2016; Łokas 2019b; Kwak et al. 2019; Bekki 2023). For relatively stable models in which bars form gradually after 2 Gyr, the influence of resolution on bar properties, particularly the formation epoch, must be carefully considered. For instance, the epoch, at which the peak bar strength is reached, is 2.2 Gyr in model r1c16 and 3.1 Gyr in model r1c16ldm (see Fig. 4).

4.2 Softening effects on bar strength and buckling instability

The DM softening effect is more pronounced than that of DM resolution on bar formation. Note that Iannuzzi & Athanassoula (2013) found no significant differences between fixed and adaptive softening lengths, but their chosen softening length was much smaller than ours (e.g., ε = 0.05 kpc in the fixed model). While the inner 1 kpc region may appear insignificant relative to the scale radius and virial radius of the DM halo, the central angular momentum exchange plays a crucial role, particularly during the early phases of bar formation. In these stages, the seed bar remains small and grows via dynamical friction between DM particles and stars. Consequently, insufficient angular momentum transfer arising from an excessively large DM softening length can substantially delay or entirely prevent bar formation.

This may provide an additional factor suppressing bar formation and growth in the NewHorizon simulation (Dubois et al. 2021; Reddish et al. 2022), which uses εDM = 0.32 kpc at z = 2– 0.25 and εDM = 0.50 kpc at z = 0.25–0. Reddish et al. (2022) present only one visually confirmed bar, with a length of R(F2 > 0.3) ≈ 0.6 kpc, in their Figs. 1 and 8. This small bar persists from z = 1.3 to z = 0.7, and the host galaxy is the most massive disk. Note that the “sf1” models (εDM = 0.94 kpc) develop only an oval or short bar that fails to grow beyond ~3 kpc (roughly 3 × εDM), which implies that the εDM = 0.32 kpc adopted in Reddish et al. (2022) is relatively large compared to their bar length. In general, low DM mass resolution results in larger and hotter stellar disks with colder halos (Ludlow et al. 2023) and produces fewer halos, owing to the inability to properly resolve dwarf-sized DM halos (Revaz & Jablonka 2018; Ludlow et al. 2019). This consequently omits a fraction of mergers during hierarchical formation, potentially leading to more DM-dominated galaxies among lower-mass systems, which is also observed in Reddish et al. (2022). Despite these potentially stabilizing effects associated with their mass resolution, their most massive disk could be gravitationally more unstable and become more prone to bar formation, presumably triggered by tidal forcing. This may enable the emergence of a nascent bar, but the large adopted εDM impedes its subsequent growth via angular momentum transfer, akin to the case in our model r1c14ldmsf1 (Fig. 1) and the case in Kaufmann et al. (2007).

Sufficient resolution and an appropriate εDM are important but cannot be the only explanation for the missing bar problem. For example, the Auriga (Grand et al. 2017) and the Hestia simulations (Libeskind et al. 2020) adopted the same model, yet Hestia still suffers from the missing bar problem despite its higher resolution, presumably owing to different initial conditions. In the fully cosmological context, many interrelated factors come into play. Different merger histories can alter the masses of classical bulges: more massive bulges increase the central mass concentration and suppress bar instability (Athanassoula et al. 2005; Kwak et al. 2017; Kataria & Das 2018; Saha & Elmegreen 2018; Jang & Kim 2023). In addition, high gas fractions tend to form weaker and shorter stellar bars by damping disk instabilities and angular momentum transfer (Athanassoula et al. 2013; Seo et al. 2019; Łokas 2020; Beane et al. 2023). In highly turbulent, gas-rich environments, elevated gas content can even dissolve bars through enhanced dissipation, converting them into central bulges as star formation-driven kinematic heating disrupts non-axisymmetric structures (Bland-Hawthorn et al. 2024). Hence, these effects on the bar formation merit further investigation in future studies.

Overall, the cumulative effects of εDM over time from the missing central angular momentum exchange reduce the final bar strength, causing models with larger softening parameters to exhibit weaker bars and lower peak bar strengths throughout their evolution. Considering the nearly identical evolutionary paths of bar strength in models r1c14 and r1c14hdm with εDM = 0.03 kpc, adopting εDM ≥ 0.3 kpc has a much greater impact than adopting mDM/m* ≥ 10 (Fig. A.3).

Additionally, larger DM softening lengths (e.g., εDM ≥ 0.30 kpc) may overproduce the buckling instability, which also eventually weakens the bar strength. A bar rotates and slows down by transferring its angular momentum to the DM halo, thereby growing stronger and increasing the radial velocity dispersion σR (Athanassoula 2003; Kwak et al. 2017). In this context, the location of the bar’s 2:1 vertical resonance (and thus the peanut or X-shape signature) can migrate outward as the bar slows and the disk thickens (Quillen et al. 2014). Regardless of DM resolution, in bar-forming models with εDM = 0.03 kpc, the vertical velocity dispersion σz gradually increases, starting from the very center. A thicker disk or higher velocity dispersion serves as a stabilizing factor against the onset of buckling instability. In studies examining the effects of disk thickness on the evolution of barred galaxies, Klypin et al. (2009) and Kwak et al. (2017) found that thinner disks form shorter bars and undergo buckling instability earlier than their thicker counterparts. However, large softening lengths prevent the gradual vertical heating in the central region during the bar formation, resulting in a numerically induced larger imbalance in σzR that triggers a stronger buckling instability. We find that the decrease in bar strength due to buckling instability intensifies as εDM increases from 0.03 to 0.30 to 0.60 kpc (Fig. A.3). Notably, softening lengths in this range (εDM = 0.30– 0.60 kpc) are commonly adopted in cosmological and zoom-in simulations, including EAGLE (Schaye et al. 2015), ILLUSTRIS TNG (Pillepich et al. 2018b,a, 2019), AURIGA (level 4) (Grand et al. 2017), and NEWHORIZON (Dubois et al. 2021). Similarly, some studies have also adopted εDM = 0.7 kpc in their idealized disk-halo systems (Łokas et al. 2016; Semczuk et al. 2017; Łokas 2018, 2019b). We conjecture that the central vertical velocity dispersion σz(R < ϵDM) may be systematically underestimated with εDM ≳ 0.3 kpc, unless a bar undergoes numerically enhanced buckling, which then eventually lowers the peak bar strength F2.

In conclusion, from a practical standpoint, we recommend adopting mDM/m* ≤ 10, m* ≤ 104 M, and N* ≥ 5 × 106 when investigating the formation and evolution of non-axisymmetric structures in Milky Way-mass galaxies. Determining the resolution at which the outcomes of bar instability converge would be interesting, but achieving an effectively noise-free system by indefinitely increasing the number of particles is impractical given current computational resources. In real galaxies, natural noise levels of Fsum ≳ 1% may arise over time from processes such as stellar feedback (Marinacci et al. 2019; Kwak et al. 2026a,b), the presence of numerous globular clusters (D’Onghia et al. 2013), and tidal forcing by satellites (Łokas et al. 2014, 2016; Kwak et al. 2019). In our N-body models, Fsum ≈ 1% causes significant divergence in the timing of bar formation. We anticipate that such noise effects on bar timing would be less pronounced in gaseous galaxy models with realistic stellar feedback, although this requires further investigation to confirm. Regarding gravitational softening, our models with εDM ≥ 0.30 kpc exhibit considerable divergence, producing multiple bar weakening or strong buckling even in the unstable regime. This amplifies the radial-vertical velocity dispersion anisotropy and triggers vertical instabilities. In the future, smaller (εDM < 0.30 kpc) or adaptive DM softening lengths (Iannuzzi & Athanassoula 2013) in the central region, potentially scaled by the galaxy’s effective radius depending on its mass and size, may be needed to properly resolve the central DM-star interactions and to prevent numerical vertical instabilities.

Acknowledgements

We appreciate the anonymous referee for their positive consideration and constructive comments. IM acknowledges support by the Deutsche Forschungsgemeinschaft under the grant MI 2009/2-1. S.K.Y. acknowledges support from the Korean National Research Foundation (RS-202500514475; RS-2022-NR070872).

References

  1. Ansar, S., Pearson, S., Sanderson, R. E., et al. 2025, ApJ, 978, 37 [Google Scholar]
  2. Athanassoula, E. 2002, ApJ, 569, L83 [NASA ADS] [CrossRef] [Google Scholar]
  3. Athanassoula, E. 2003, MNRAS, 341, 1179 [Google Scholar]
  4. Athanassoula, E. 2014, MNRAS, 438, L81 [Google Scholar]
  5. Athanassoula, E., & Sellwood, J. A. 1986, MNRAS, 221, 213 [Google Scholar]
  6. Athanassoula, E., Lambert, J. C., & Dehnen, W. 2005, MNRAS, 363, 496 [Google Scholar]
  7. Athanassoula, E., Machado, R. E. G., & Rodionov, S. A. 2013, MNRAS, 429, 1949 [Google Scholar]
  8. Beane, A., Hernquist, L., D’Onghia, E., et al. 2023, ApJ, 953, 173 [NASA ADS] [CrossRef] [Google Scholar]
  9. Bekki, K. 2023, MNRAS, 523, 5823 [Google Scholar]
  10. Berentzen, I., Shlosman, I., & Jogee, S. 2006, ApJ, 637, 582 [Google Scholar]
  11. Bland-Hawthorn, J., Tepper-Garcia, T., Agertz, O., & Federrath, C. 2024, ApJ, 968, 86 [Google Scholar]
  12. Bose, S., Eisenstein, D. J., Hernquist, L., et al. 2019, MNRAS, 490, 5693 [CrossRef] [Google Scholar]
  13. Combes, F., Debbasch, F., Friedli, D., & Pfenniger, D. 1990, A&A, 233, 82 [NASA ADS] [Google Scholar]
  14. De Rijcke, S., Fouvry, J.-B., & Dehnen, W. 2019, MNRAS, 485, 150 [Google Scholar]
  15. Debattista, V. P., Mayer, L., Carollo, C. M., et al. 2006, ApJ, 645, 209 [Google Scholar]
  16. Diemand, J., Zemp, M., Moore, B., Stadel, J., & Carollo, C. M. 2005, MNRAS, 364, 665 [NASA ADS] [CrossRef] [Google Scholar]
  17. D’Onghia, E., Vogelsberger, M., & Hernquist, L. 2013, ApJ, 766, 34 [Google Scholar]
  18. Dubinski, J., Berentzen, I., & Shlosman, I. 2009, ApJ, 697, 293 [NASA ADS] [CrossRef] [Google Scholar]
  19. Dubois, Y., Beckmann, R., Bournaud, F., et al. 2021, A&A, 651, A109 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  20. Efstathiou, G., Lake, G., & Negroponte, J. 1982, MNRAS, 199, 1069 [NASA ADS] [CrossRef] [Google Scholar]
  21. Fall, S. M., & Efstathiou, G. 1980, MNRAS, 193, 189 [NASA ADS] [CrossRef] [Google Scholar]
  22. Frosst, M., Obreschkow, D., & Ludlow, A. 2024, MNRAS, 534, 313 [Google Scholar]
  23. Frosst, M., Obreschkow, D., & Ludlow, A. 2026, MNRAS, 547, stag363 [Google Scholar]
  24. Fujii, M. S., Baba, J., Saitoh, T. R., et al. 2011, ApJ, 730, 109 [NASA ADS] [CrossRef] [Google Scholar]
  25. Fukushige, T., & Makino, J. 2001, ApJ, 557, 533 [Google Scholar]
  26. Grand, R. J. J., Gómez, F. A., Marinacci, F., et al. 2017, MNRAS, 467, 179 [NASA ADS] [Google Scholar]
  27. Hernquist, L. 1990, ApJ, 356, 359 [Google Scholar]
  28. Hernquist, L., & Barnes, J. E. 1990, ApJ, 349, 562 [Google Scholar]
  29. Hilmi, T., Minchev, I., Buck, T., et al. 2020, MNRAS, 497, 933 [Google Scholar]
  30. Iannuzzi, F., & Athanassoula, E. 2013, MNRAS, 436, 1161 [Google Scholar]
  31. Jang, D., & Kim, W.-T. 2023, ApJ, 942, 106 [Google Scholar]
  32. Jang, D., & Kim, W.-T. 2024, ApJ, 971, 67 [Google Scholar]
  33. Jang, D., Kim, W.-T., & Lee, Y. H. 2025, ApJ, 993, 236 [Google Scholar]
  34. Kataria, S. K., & Das, M. 2018, MNRAS, 475, 1653 [NASA ADS] [CrossRef] [Google Scholar]
  35. Kaufmann, T., Mayer, L., Wadsley, J., Stadel, J., & Moore, B. 2007, MNRAS, 375, 53 [Google Scholar]
  36. Klypin, A., Valenzuela, O., Colín, P., & Quinn, T. 2009, MNRAS, 398, 1027 [Google Scholar]
  37. Kwak, S., Kim, W.-T., Rey, S.-C., & Kim, S. 2017, ApJ, 839, 24 [Google Scholar]
  38. Kwak, S., Kim, W.-T., Rey, S.-C., & Quinn, T. R. 2019, ApJ, 887, 139 [Google Scholar]
  39. Kwak, S., Minchev, I., Pfrommer, C., Steinmetz, M., & Yi, S. K. 2025, arXiv e-prints [arXiv:2511.21805] [Google Scholar]
  40. Kwak, S., Marinacci, F., Steinmetz, M., et al. 2026a, A&A, in press [Google Scholar]
  41. Kwak, S., Schultheis, M., Minchev, I., et al. 2026b, A&A, submitted [arXiv:2606.05157] [Google Scholar]
  42. Libeskind, N. I., Carlesi, E., Grand, R. J. J., et al. 2020, MNRAS, 498, 2968 [NASA ADS] [CrossRef] [Google Scholar]
  43. Łokas, E. L. 2018, ApJ, 857, 6 [Google Scholar]
  44. Łokas, E. L. 2019a, A&A, 629, A52 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  45. Łokas, E. L. 2019b, A&A, 624, A37 [Google Scholar]
  46. Łokas, E. L. 2020, A&A, 634, A122 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  47. Łokas, E. L. 2025a, A&A, 699, A234 [Google Scholar]
  48. Łokas, E. L. 2025b, A&A, 702, A7 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  49. Łokas, E. L., Athanassoula, E., Debattista, V. P., et al. 2014, MNRAS, 445, 1339 [Google Scholar]
  50. Łokas, E. L., Ebrová, I., del Pino, A., et al. 2016, ApJ, 826, 227 [Google Scholar]
  51. Ludlow, A. D., Fall, S. M., Schaye, J., & Obreschkow, D. 2021, MNRAS, 508, 5114 [NASA ADS] [CrossRef] [Google Scholar]
  52. Ludlow, A. D., Schaye, J., Schaller, M., & Richings, J. 2019, MNRAS, 488, L123 [NASA ADS] [CrossRef] [Google Scholar]
  53. Ludlow, A. D., Fall, S. M., Wilkinson, M. J., Schaye, J., & Obreschkow, D. 2023, MNRAS, 525, 5614 [NASA ADS] [CrossRef] [Google Scholar]
  54. Marinacci, F., Sales, L. V., Vogelsberger, M., Torrey, P., & Springel, V. 2019, MNRAS, 489, 4233 [NASA ADS] [CrossRef] [Google Scholar]
  55. Marques, L., Minchev, I., Ratcliffe, B., et al. 2025, A&A, 701, A88 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  56. Martinez-Valpuesta, I., & Shlosman, I. 2004, ApJ, 613, L29 [NASA ADS] [Google Scholar]
  57. Martinez-Valpuesta, I., Shlosman, I., & Heller, C. 2006, ApJ, 637, 214 [NASA ADS] [CrossRef] [Google Scholar]
  58. Merritt, D. 1996, AJ, 111, 2462 [Google Scholar]
  59. Merritt, D., & Sellwood, J. A. 1994, ApJ, 425, 551 [NASA ADS] [CrossRef] [Google Scholar]
  60. Minchev, I., & Famaey, B. 2010, ApJ, 722, 112 [Google Scholar]
  61. Moore, B., Ghigna, S., Governato, F., et al. 1999, ApJ, 524, L19 [Google Scholar]
  62. Pfenniger, D., & Friedli, D. 1993, A&A, 270, 561 [NASA ADS] [Google Scholar]
  63. Pillepich, A., Nelson, D., Hernquist, L., et al. 2018a, MNRAS, 475, 648 [Google Scholar]
  64. Pillepich, A., Springel, V., Nelson, D., et al. 2018b, MNRAS, 473, 4077 [Google Scholar]
  65. Pillepich, A., Nelson, D., Springel, V., et al. 2019, MNRAS, 490, 3196 [Google Scholar]
  66. Power, C., Navarro, J. F., Jenkins, A., et al. 2003, MNRAS, 338, 14 [Google Scholar]
  67. Quillen, A. C., Dougherty, J., Bagley, M. B., Minchev, I., & Comparetta, J. 2011, MNRAS, 417, 762 [NASA ADS] [CrossRef] [Google Scholar]
  68. Quillen, A. C., Minchev, I., Sharma, S., Qin, Y.-J., & Di Matteo, P. 2014, MNRAS, 437, 1284 [Google Scholar]
  69. Raha, N., Sellwood, J. A., James, R. A., & Kahn, F. D. 1991, Nature, 352, 411 [Google Scholar]
  70. Reddish, J., Kraljic, K., Petersen, M. S., et al. 2022, MNRAS, 512, 160 [NASA ADS] [CrossRef] [Google Scholar]
  71. Revaz, Y., & Jablonka, P. 2018, A&A, 616, A96 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  72. Rodionov, S. A., & Sotnikova, N. Y. 2005, Astron. Rep., 49, 470 [Google Scholar]
  73. Romeo, A. B. 1994, A&A, 286, 799 [NASA ADS] [Google Scholar]
  74. Romeo, A. B. 1997, A&A, 324, 523 [NASA ADS] [Google Scholar]
  75. Romeo, A. B. 1998, A&A, 335, 922 [Google Scholar]
  76. Romeo, A. B., Horellou, C., & Bergh, J. 2003, MNRAS, 342, 337 [Google Scholar]
  77. Romeo, A. B., Horellou, C., & Bergh, J. 2004, MNRAS, 354, 1208 [Google Scholar]
  78. Saha, K., & Elmegreen, B. 2018, ApJ, 858, 24 [NASA ADS] [CrossRef] [Google Scholar]
  79. Schaye, J., Crain, R. A., Bower, R. G., et al. 2015, MNRAS, 446, 521 [Google Scholar]
  80. Sellwood, J. A. 2016, ApJ, 819, 92 [Google Scholar]
  81. Semczuk, M., Łokas, E. L., & del Pino, A. 2017, ApJ, 834, 7 [Google Scholar]
  82. Seo, W.-Y., Kim, W.-T., Kwak, S., et al. 2019, ApJ, 872, 5 [NASA ADS] [CrossRef] [Google Scholar]
  83. Springel, V., Di Matteo, T., & Hernquist, L. 2005, MNRAS, 361, 776 [Google Scholar]
  84. Springel, V., Wang, J., Vogelsberger, M., et al. 2008, MNRAS, 391, 1685 [Google Scholar]
  85. Steinmetz, M., & White, S. D. M. 1997, MNRAS, 288, 545 [Google Scholar]
  86. Toomre, A. 1964, ApJ, 139, 1217 [Google Scholar]
  87. Vislosky, E., Minchev, I., Khoperskov, S., et al. 2024, MNRAS, 528, 3576 [NASA ADS] [CrossRef] [Google Scholar]
  88. Weinberg, M. D. 1996, ApJ, 470, 715 [Google Scholar]
  89. Weinberger, R., Springel, V., & Pakmor, R. 2020, ApJS, 248, 32 [Google Scholar]
  90. White, R. L. 1988, ApJ, 330, 26 [Google Scholar]
  91. Yurin, D., & Springel, V. 2014, MNRAS, 444, 62 [NASA ADS] [CrossRef] [Google Scholar]
  92. Zhou, Z.-B., Zhu, W., Wang, Y., & Feng, L.-L. 2020, ApJ, 895, 92 [Google Scholar]

Appendix A Supplementary figures and additional models

In addition to the nine models listed in Table 1, we construct two additional models: r1c14hdm and r1c14ldmsf03. The "hdm" designation indicates high DM resolution, adopting mDM/m = 1 with NDM = 1.14 × 108. In model r1c14, with different masses between DM and star particles, potential numerical effects could arise from using the same softening length for stars and DM particles (0.03 kpc). It turns out that such effects have a minimal impact on bar formation of unstable disks when comparing model r1c14 and r1c14hdm. For model r1c14ldmsf03, we test the effect of a DM softening length of 0.30 kpc to demonstrate the correlation between the softening length and the buckling effects on bar strength. The results are overlaid for comparison in Fig. A.3.

Thumbnail: Fig. A.1 Refer to the following caption and surrounding text. Fig. A.1

Face-on projections of the stellar surface density distribution in a 30 × 30 kpc box for the r1c16ldm model at 3.1, 3.3, 3.5, 3.7, and 3.9 Gyr. The color bar indicates the surface density in units of solar masses per square kiloparsec, M kpc−2.

Thumbnail: Fig. A.2 Refer to the following caption and surrounding text. Fig. A.2

Same as Fig. 4 but with all snapshots at 0.01 Gyr shown without smoothing.

Thumbnail: Fig. A.3 Refer to the following caption and surrounding text. Fig. A.3

Same as Figs. 4 and 5 but for the "c14" models and including the r1c14hdm (mDM/m = 1) and r1c14ldmsf03 (εDM = 0.30 kpc) models.

Thumbnail: Fig. A.4 Refer to the following caption and surrounding text. Fig. A.4

Radial profiles of stellar disk properties within 5 kpc, from 2 Gyr to 4 Gyr, with a time step of 0.25 Gyr for the r1c14hdm model. From top to bottom: Stellar density profile, the vertical velocity dispersion of the disk, and the ratio between the vertical and radial velocity dispersions. The corresponding profiles for the r1c14, r1c14ldm, and r1c14ldmsf06 models are shown in Fig. 7.

Thumbnail: Fig. A.5 Refer to the following caption and surrounding text. Fig. A.5

Radial density profiles of the DM halo in the "c14" models from 0.1 Gyr to 4 Gyr, shown between 0.1 kpc and 5 kpc. Both axes are logarithmic. The profiles at different times are color-coded and labeled accordingly.

All Tables

Table 1

Initial conditions.

All Figures

Thumbnail: Fig. 1 Refer to the following caption and surrounding text. Fig. 1

Face-on projections of the stellar surface density distribution in a 30 × 30 kpc box at 4 Gyr for all models. The color bar indicates the surface density in units of solar masses per square kiloparsec, M kpc−2.

In the text
Thumbnail: Fig. 2 Refer to the following caption and surrounding text. Fig. 2

Fourier amplitude map F2(R, t) within 8 kpc, computed from the time evolution of the radial Fourier profiles of the m = 2 mode. Snapshots were taken every 0.01 Gyr over a total of 4 Gyr (400 snapshots). To enable direct comparison across models, the color scale inside the color bar is fixed across all panels, such that the same color corresponds to the same amplitude value between 0 and 0.4. All values above 0.4 are shown in the same saturated red.

In the text
Thumbnail: Fig. 3 Refer to the following caption and surrounding text. Fig. 3

Fourier amplitude map Fm (R, t) calculated from the time evolution of the radial Fourier profiles for each mode and Fsum in the r1c16sf1 model. The time interval of each snapshot used is 0.01 Gyr. To enable direct comparison across models, the color scale inside the color bar is fixed across all panels, such that the same color corresponds to the same amplitude value between 0 and 0.4. All values above 0.4 are shown in the same saturated red.

In the text
Thumbnail: Fig. 4 Refer to the following caption and surrounding text. Fig. 4

Time evolution of the maximum value of the Fourier mode m = 2 in the “c16” models (top panel) and “c14” models (bottom panel), after smoothing the data by applying a moving average over nine points. The unsmoothed version is shown in Fig. A.2.

In the text
Thumbnail: Fig. 5 Refer to the following caption and surrounding text. Fig. 5

Time evolution of the disk angular momentum normalized to its initial value, Lz/Lz,0, over 4 Gyr. Top: “c16” models. Bottom: “c14” models. The corresponding figure including the additional r1c14ldmsf03 and r1c14hdm models is shown in Fig. A.3.

In the text
Thumbnail: Fig. 6 Refer to the following caption and surrounding text. Fig. 6

Radial density profiles of the DM halo in the “c16” models from 0.1 Gyr to 4 Gyr, shown between 0.1 kpc and 5 kpc. Both axes are logarithmic. Profiles at different times are color-coded and labeled accordingly. The corresponding profiles for the “c14” models are shown in Fig. A.5.

In the text
Thumbnail: Fig. 7 Refer to the following caption and surrounding text. Fig. 7

Radial profiles of stellar disk properties within 5 kpc, from 2 Gyr to 4 Gyr with a time step of 0.25 Gyr. Left, middle, and right columns: r1c14, r1c14ldm, and r1c14ldmsf06 models, respectively, all of which form a bar. Top row: density profiles for each model. Middle row: vertical velocity dispersion of the disk. Bottom row: ratio between the vertical and radial velocity dispersions. The corresponding profiles for model r1c14hdm are shown in Fig. A.4.

In the text
Thumbnail: Fig. 8 Refer to the following caption and surrounding text. Fig. 8

Time evolution of the radial distribution of vz (top panels) and σz (bottom panels) in the stellar disks over 4 Gyr. Left, middle, and right: r1c14, r1c14ldm, and r1c14ldmsf06 models, respectively. For the vertical velocity vz, the color distribution inside the color bar is fixed across all three models to ensure direct comparison, although the overall range of the color bar is not fixed. Sudden fluctuations in the vz maps indicate the onset of buckling instability. For the vertical velocity dispersion σz, the color scale is fixed for values in the range 30-80 km s−1. The black regions indicate strong vertical heating of the stellar disk.

In the text
Thumbnail: Fig. A.1 Refer to the following caption and surrounding text. Fig. A.1

Face-on projections of the stellar surface density distribution in a 30 × 30 kpc box for the r1c16ldm model at 3.1, 3.3, 3.5, 3.7, and 3.9 Gyr. The color bar indicates the surface density in units of solar masses per square kiloparsec, M kpc−2.

In the text
Thumbnail: Fig. A.2 Refer to the following caption and surrounding text. Fig. A.2

Same as Fig. 4 but with all snapshots at 0.01 Gyr shown without smoothing.

In the text
Thumbnail: Fig. A.3 Refer to the following caption and surrounding text. Fig. A.3

Same as Figs. 4 and 5 but for the "c14" models and including the r1c14hdm (mDM/m = 1) and r1c14ldmsf03 (εDM = 0.30 kpc) models.

In the text
Thumbnail: Fig. A.4 Refer to the following caption and surrounding text. Fig. A.4

Radial profiles of stellar disk properties within 5 kpc, from 2 Gyr to 4 Gyr, with a time step of 0.25 Gyr for the r1c14hdm model. From top to bottom: Stellar density profile, the vertical velocity dispersion of the disk, and the ratio between the vertical and radial velocity dispersions. The corresponding profiles for the r1c14, r1c14ldm, and r1c14ldmsf06 models are shown in Fig. 7.

In the text
Thumbnail: Fig. A.5 Refer to the following caption and surrounding text. Fig. A.5

Radial density profiles of the DM halo in the "c14" models from 0.1 Gyr to 4 Gyr, shown between 0.1 kpc and 5 kpc. Both axes are logarithmic. The profiles at different times are color-coded and labeled accordingly.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.