Comparing Early Evolution of Flames in X-ray Bursts in Two and Three Dimensions
Abstract
We explore the early evolution of flame ignition and spreading on the surface of a neutron star in three-dimensions, in the context of X-ray bursts. We look at the nucleosynthesis and morphology of the burning front and compare to two-dimensional axisymmetric simulations to gauge how important a full three-dimensional treatment of the flame is for the early dynamics. Finally, we discuss the progress toward full-star resolved flame simulations.
1 Introduction
X-ray bursts (XRBs) result from thermonuclear burning of an accreted H/He or He layer on a neutron star (Galloway & Keek, 2021). Observations of brightness oscillations in the rise of the lightcurve suggest that the burning begins localized and then spreads across the neutron star (Bhattacharyya & Strohmayer, 2007). This spreading is inherently a multi-dimensional phenomenon, requiring hydrodynamic simulations that resolve the reactive zone, realistic reaction networks, and domain sizes that capture the scales over which rotation is important in order to understand the flame propagation and nucleosynthesis. Detailed nuclear physics is especially important for understanding the rp-process in mixed H/He bursts, as discussed in Schatz et al. (2001).
Here we show a first attempt at modeling the early evolution of a spreading hotspot in three dimensions. This builds on our earlier two-dimensional work (Eiden et al., 2020; Harpole et al., 2021) that developed our simulation framework and explored how the acceleration of the burning front depends on the initial model structure. As with those simulations, we use the freely-available Castro simulation code (Almgren et al., 2010, 2020), with all of the code needed to run these simulations in our public GitHub repositories.
Our simulations complement the two- and three-dimensional models of flames of Cavecchi et al. (2013, 2015, 2016); Cavecchi & Spitkovsky (2019) by focusing on resolving the reaction zone of the flame and modeling the vertical structure hydrodynamically instead of hydrostatically. We also focus on modeling flames starting from a small hot spot. This however means that we are confined to smaller domains, with similar computational resources, so one of the goals of this study is to understand how far we can push resolved XRB flame simulations. The work by Goodwin et al. (2021) also explores multidimensional evolution, looking at the thermal transport and how it affects the location where the hotspot ignites. Together, all three approaches help build a comprehensive multidimensional picture of X-ray bursts.
The goal of this paper is to understand the challenges of resolved three-dimensional hydrodynamical simulation and explore what is possible with today’s resources. This will inform our follow-on simulations.
2 Simulations and Results
In Eiden et al. (2020), we developed the simulation methodology in Castro for modeling laterally spreading flames through the accreted layer on the surface of a neutron star. For these models, Castro evolves the compressible Euler equations with a Coriolis force arising from rotation, constant gravity (the plane-parallel approximation), reactive sources, and thermal diffusion (integrated explicitly):
(1) | |||||
(2) | |||||
(3) | |||||
(4) |
Here, is the mass density, are the mass fractions of the nuclear species with associated creation rates , the velocity, is the specific total energy, is the pressure, is the gravitational acceleration, is the rotation vector, is the thermal conductivity, is the temperature, and is the energy release from the reaction network.
We use a general stellar equation of state with radiation, ions as a perfect gas, and degenerate/relativistic electrons described in Timmes & Swesty (2000) which closes the system:
(5) | |||||
(6) | |||||
(7) |
Building on these first simulations, in Harpole et al. (2021), we explored several different rotation rates and initial model thermal structures to understand how the flame speed depends on the thermal structure of the envelope. Both of these papers used a two-dimensional axisymmetric geometry. The three-dimensional simulations we present here build on these works. We use a neutron star crust temperature of and rotation rate of 1000 Hz, as followed in Harpole et al. (2021). This model was chosen here since it gives a clean well-defined flame. The model is constructed following the same procedure described in Eiden et al. (2020); Harpole et al. (2021). We generate a hot and a cool model, and blend them laterally to setup an initial perturbation that is in hydrostatic equilibrium. The structure of these models is shown in Figure 1.

Moving to 3D is very expensive, so to further reduce the computational expense, we use an anisotropic resolution, with 32 cm resolution laterally and 16 cm resolution vertically. This is finer vertically than done in Harpole et al. (2021). Because the hotspot is placed in the center of the domain, the size of the domain also becomes a constraint, and as a result, the evolution time we can reach will become limited by the time it takes the burning to approach the edge of the domain. Consequently, we focus here on the early evolution.
Castro uses the the AMReX adaptive mesh refinement library (Zhang et al., 2019) to manage the discretization and domain decomposition. Our 3D simulation used a base grid of zones with 2 levels of refinement, the first jumping by a factor of 4 and the next by a factor of 2. We subcycle in time, so the coarser grids take a large timestep than the fine grids. We used static mesh refinement, to achieve better load balancing, fully refining the atmosphere below a height of . The domain has a size . The simulation methodology and parameters are mostly identical to those used in Harpole et al. (2021). We use an unsplit piecewise parabolic method (Colella, 1990; Miller & Colella, 2002) for the advection and operator (Strang) splitting for the reactions, evolving an internal energy evolution equation during the burn, as described in Zingale et al. (2021). These simulations used the 7-isotope He-burning network described in Timmes et al. (2000). This was one of the networks used in Eiden et al. (2020). Thermal diffusion is treated explicitly, using the conductivities from Timmes (2000). The overall integration strategy is second-order accurate in space and time. The main difference with the previous simulations is that we switched from a hydrostatic to reflecting boundary at the bottom of the domain and used a simple well-balanced scheme (similar to Käppeli & Mishra 2016 but adapted to deal with characteristic tracing in PPM as described in Zingale et al. 2002). Tests demonstrated that this boundary does a better job than our previous approach at supporting the atmosphere as the flame propagates for long times.
The simulations were run on the OLCF Summit supercomputer, on 342 to 1366 nodes, with 6 NVIDIA V100 GPUs per node. The entire computation was offloaded to GPUs using the AMReX C++ abstraction layer for parallel for loops, as described in Katz et al. (2020). GPU offloading was critical to being able to perform these simulations, since we run more than an order of magnitude faster using all the GPUs on a node as compared to all of the CPU cores on the node. Overall, about 250,000 node-hours were used for the calculation. The full state of the calculation was output only every 0.005 s, as each output file is 2.4 TB in size (for single precision data). We output a few fields more frequently for visualization, and global diagnostics were output every timestep. We ran a 2D simulation with the same resolution and refinement strategy to compare with here.

Figure 2 shows the a three-dimensional simulation via top-down volume rendering of the mean-molecular weight,
(8) |
where is the mass fraction of species and is the atomic weight (in mass units). The structure is shown at 10, 20, and 40 ms of simulation time. While initially quite symmetric, the axial symmetry is broken, likely due to roundoff error, and the flame structure takes on a more tenuous form. The panels show the flame spreading considerably through the domain as time evolves, and the simulation is halted once the flame nears the boundaries.


, showing a region centered on the flame viewed from the side. The flame structure is clearly seen.
Figure 3 shows the corresponding two-dimensional axisymmetric simulation. In the axisymmetric geometry, each zone is essentially a torus, rotated about the vertical axis. The initial model and simulation parameters are identical to the three-dimensional case. We see that the overall structure and evolution looks identical to that reported in Harpole et al. (2021). We also see that there is a well-defined flame in the simulation plane that spreads outward with time. A vertical slice through the three-dimensional simulation (in the - plane) is shown in Figure 4 at the final time, 40 ms. Aside from the lack of reflection symmetry from the absence of axisymmetric geometry, it looks very similar to the two-dimensional case.
Because the 3D flame does not stay perfectly circular, it is difficult to define the flame speed using the same method employed in Eiden et al. (2020). Instead, we will look at the mass of the ash material to assess how quickly the burning is taking place. Figure 5 shows the mass of the different species as a function of time, for the 2D and 3D calculation. The axisymmetric 2D calculation has slightly less volume than the 3D domain, since rotating about the symmetry axis produces a cylindrical domain inscribed in the 3D domain. To compensate for this, we scale the masses by the total mass on the grid. This plot shows that the masses of the heavy species, especially , grow quickly with time. The differences between the 2D and 3D simulations appear small—the burning is slightly faster in 2D, but the trends track very well. This slight difference is likely because the assumption of axisymmetry there does not allow for the complex structure we see in the evolution of composition in the 3D flame. This strong agreement suggests that using 2D axisymmetric calculations is a good model for the early flame evolution. And since they are so much less computationally expensive, this will allow us to explore much more complex reaction networks and understand the nucleosynthesis in more detail.

3 Summary
We have extended our simulation framework to three-dimensions, and explored the differences between a two-dimensional axisymmetric simulation and a fully three-dimensional hydrodynamical simulation. Overall, the early evolution of the flame spreading from a hotspot behaves similarly in two- and three-dimensions. As this three-dimensional simulation pushed the limits of available computational resources, this result suggests that we can continue to use two-dimensional axisymmetric simulations to explore the initial flame structure and spend our computational resources on larger networks and bigger domains.
These results also suggest that we can do initial explorations of full star bursts in two-dimensions, perhaps using axisymmetric spherical coordinates (modeling an annular region in neutron star radius and colatitude). In this geometry, point ignition requires starting at the poles, but this would allow us to see the effect of varying gravity with latitude (due to centrifugal forces), as well as begin to consider lightcurve modeling.
There is still a role for three-dimensional simulations—the convective burning in the accreted layer should create turbulence that the flame will encounter as it propagates. Although we have shown that for the flame in a Type Ia supernova, the turbulence from the era of convection is not strong enough to disrupt the flame (Nonaka et al., 2011), the flame in an XRB is considerably slower and thicker, so it remains to be seen what effect it might have. This can be assessed in a different geometry, like a long channel, which would allow us to trade domain size for resolution to increase the numerical Reynolds number. We also will consider higher-order simulation methodologies which could allow us to capture these effects at lower resolution. We’ve already demonstrated a fully fourth-order accurate (in space and time) algorithm for coupling hydro, diffusion, and reactions in Castro (Zingale et al., 2019) that could be used here. The main outstanding issue with applying that work to the present problem is the multilevel time integration.
We are currently exploring mixed H/He bursts as well as the sensitivity of the flame properties to the size of the reaction network used. Both of these initial studies use our two-dimensional axisymmetric geometry.
References
- Almgren et al. (2020) Almgren, A., Sazo, M. B., Bell, J., et al. 2020, Journal of Open Source Software, 5, 2513, doi: 10.21105/joss.02513
- Almgren et al. (2010) Almgren, A. S., Beckner, V. E., Bell, J. B., et al. 2010, ApJ, 715, 1221, doi: 10.1088/0004-637x/715/2/1221
- Bhattacharyya & Strohmayer (2007) Bhattacharyya, S., & Strohmayer, T. E. 2007, ApJ, 666, L85, doi: 10.1086/521790
- Brown et al. (1989) Brown, P. N., Byrne, G. D., & Hindmarsh, A. C. 1989, SIAM J. Sci. and Stat. Comput., 10, 1038, doi: 10.1137/0910062
- Cavecchi et al. (2016) Cavecchi, Y., Levin, Y., Watts, A. L., & Braithwaite, J. 2016, Mon. Not. R. Astron. Soc., 459, 1259, doi: 10.1093/mnras/stw728
- Cavecchi & Spitkovsky (2019) Cavecchi, Y., & Spitkovsky, A. 2019, ApJ, 882, 142, doi: 10.3847/1538-4357/ab3650
- Cavecchi et al. (2013) Cavecchi, Y., Watts, A. L., Braithwaite, J., & Levin, Y. 2013, Mon. Not. R. Astron Soc., 434, 3526, doi: 10.1093/mnras/stt1273
- Cavecchi et al. (2015) Cavecchi, Y., Watts, A. L., Levin, Y., & Braithwaite, J. 2015, Mon. Not. R. Astron Soc., 448, 445, doi: 10.1093/mnras/stu2764
- Colella (1990) Colella, P. 1990, J. Comput. Phys., 87, 171, doi: 10.1016/0021-9991(90)90233-q
- Eiden et al. (2020) Eiden, K., Zingale, M., Harpole, A., et al. 2020, ApJ, 894, 6, doi: 10.3847/1538-4357/ab80bc
- Galloway & Keek (2021) Galloway, D. K., & Keek, L. 2021, in Astrophysics and Space Science Library, Vol. 461, Timing Neutron Stars: Pulsations, Oscillations and Explosions, ed. T. M. Belloni, M. Méndez, & C. Zhang, 209–262, doi: 10.1007/978-3-662-62110-3_5
- Goodwin et al. (2021) Goodwin, A. J., Heger, A., Chambers, F. R. N., Watts, A. L., & Cavecchi, Y. 2021, MNRAS, 505, 5530, doi: 10.1093/mnras/stab1659
- Harpole et al. (2021) Harpole, A., Ford, N. M., Eiden, K., et al. 2021, ApJ, 912, 36, doi: 10.3847/1538-4357/abee87
- Hunter (2007) Hunter, J. D. 2007, Comput. Sci. Eng., 9, 90, doi: 10.1109/mcse.2007.55
- Käppeli & Mishra (2016) Käppeli, R., & Mishra, S. 2016, A&A, 587, A94, doi: 10.1051/0004-6361/201527815
- Katz et al. (2020) Katz, M. P., Almgren, A., Sazo, M. B., et al. 2020, in Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC ’20 (IEEE Press). https://dl.acm.org/doi/abs/10.5555/3433701.3433822
- Miller & Colella (2002) Miller, G., & Colella, P. 2002, J. Comput. Phys., 183, 26, doi: 10.1006/jcph.2002.7158
- Nethercote & Seward (2007) Nethercote, N., & Seward, J. 2007, in Proceedings of the 2007 ACM SIGPLAN conference on Programming language design and implementation - PLDI ’07, PLDI ’07 (New York, NY, USA: ACM Press), 89–100, doi: 10.1145/1250734.1250746
- Nonaka et al. (2011) Nonaka, A., Aspden, A. J., Zingale, M., et al. 2011, ApJ, 745, 73, doi: 10.1088/0004-637x/745/1/73
- Oliphant (2007) Oliphant, T. E. 2007, Comput. Sci. Eng., 9, 10, doi: 10.1109/mcse.2007.58
- Schatz et al. (2001) Schatz, H., Aprahamian, A., Barnard, V., et al. 2001, Phys. Rev. Lett., 86, 3471, doi: 10.1103/physrevlett.86.3471
- Timmes (2000) Timmes, F. X. 2000, ApJ, 528, 913, doi: 10.1086/308203
- Timmes et al. (2000) Timmes, F. X., Hoffman, R. D., & Woosley, S. E. 2000, ASTROPHYS J SUPPL S, 129, 377, doi: 10.1086/313407
- Timmes & Swesty (2000) Timmes, F. X., & Swesty, F. D. 2000, ASTROPHYS J SUPPL S, 126, 501, doi: 10.1086/313304
- Turk et al. (2010) Turk, M. J., Smith, B. D., Oishi, J. S., et al. 2010, ApJS, 192, 9, doi: 10.1088/0067-0049/192/1/9
- van der Walt et al. (2011) van der Walt, S., Colbert, S. C., & Varoquaux, G. 2011, Comput. Sci. Eng., 13, 22, doi: 10.1109/mcse.2011.37
- Zhang et al. (2019) Zhang, W., Almgren, A., Beckner, V., et al. 2019, JOSS, 4, 1370, doi: 10.21105/joss.01370
- Zingale (2023) Zingale, M. 2023, Metadata for Comparing Early Evolution of Flames in X-ray Bursts in Two and Three Dimensions, Zenodo, doi: 10.5281/zenodo.7692201
- Zingale et al. (2019) Zingale, M., Katz, M. P., Bell, J. B., et al. 2019, ApJ, 886, 105, doi: 10.3847/1538-4357/ab4e1d
- Zingale et al. (2021) Zingale, M., Katz, M. P., Willcox, D. E., & Harpole, A. 2021, Research Notes of the AAS, 5, 71, doi: 10.3847/2515-5172/abf3cb
- Zingale et al. (2002) Zingale, M., Dursi, L. J., ZuHone, J., et al. 2002, Astrophysical Journal Supplement Series, The, 143, 539, doi: 10.1086/342754