RAMSES-MCR: a consistent multi-group treatment of cosmic ray physics in momentum-space with the RAMSES code ∗ E-mail: diallo@iap.fr † E-mail: dubois@iap.fr Nimatou-Seydi Diallo 1∗ Yohan Dubois 1† Alexandre Marcowith 2 Joki Rosdahl 3 Benoît Commerçon 3 Abstract Cosmic rays (CRs) are known to play a key role in many astrophysical environments: they can modify shock dynamics, influence the thermochemistry and the ionization of the interstellar medium, regulate galaxy mass content by driving galactic winds, and be released by jets from active galactic nuclei. They also serve as important observational tracers through γ \gamma -ray emission, radio synchrotron, and secondary particle production. Since CR particles follow power-law distributions in momentum space spanning many decades in energy, and because diffusion and radiative losses further shape these spectra, it is crucial to model spectrally resolved CRs in numerical simulations and to assess the impact of this modeling on gas dynamics and observational signatures. We present a consistent multi-group spectral method in momentum space for CR protons called ramses-mcr in the adaptive mesh refinement code ramses , based on the two-moment formalism that evolves both CR energy and number density in momentum space, together with their associated flux. The modeled CR processes include advection, anisotropic/isotropic diffusion, streaming instability, Coulomb and hadronic losses, adiabatic changes, and feedback onto the gas. We also show that the method can be naturally extended to CR electrons (e.g. including synchrotron losses) and generalized to multiple CR species. The implementation is validated against a suite of standard multi-dimensional tests. We finally apply ramses-mcr to the three-dimensional expansion of a supernova remnant including CRs with anisotropic diffusion and energy losses, and demonstrate how CR energy redistributes in a momentum-dependent manner and modifies the gas momentum during the snowplough phase. keywords Computational methods — Cosmic Rays — Supernovae 1 Introduction Cosmic rays (CRs) are high-energy particles whose energy density in galaxies is observed to be in rough equipartition with the kinetic, thermal, and magnetic energy densities of the interstellar medium (ISM) on galactic scales ( Boulares & Cox 1990 ; Beck & Krause 2005 , e.g.) . They therefore constitute a dynamically important and ubiquitous component of the ISM. Their presence is constrained both by direct detections in the Solar neighbourhood ( Adriani et al. 2011 ; Aguilar et al. 2014 ; Aguilar et al. 2015 ; Cummings et al. 2016 ; Gabici et al. 2019 , e.g.) , and by non-thermal emission, including synchrotron radiation ( Condon 1992 ; Bell 2003 ; Helder et al. 2012 , e.g.) and \gamma -ray emission ( Acero et al. 2016 ; Abdollahi et al. 2022 , e.g.) . The bulk of Galactic CRs that significantly impact gas dynamics are protons. They are accelerated to non-thermal energies via the diffusive shock acceleration mechanism ( Bell 1978 ; Blandford & Ostriker 1978 ; Caprioli 2015 ) in the shock wave of supernova remnants (SNR), as supported by their associated non-thermal emission, including \gamma -rays from pion decay ( Helder et al. 2009 ; Morlino & Caprioli 2012 ; Dermer & Powale 2013 ; Acero et al. 2016 ) . Additional acceleration sites may contribute, such as active galactic nuclei, massive star winds, turbulent re-acceleration, or large-scale structure formation shocks, but SNRs are generally believed to dominate the CR budget in star-forming galaxies ( Blasi 2013 ) . CRs can significantly influence plasma dynamics due to their non-thermal nature and long lifetimes, and have therefore been proposed as an additional feedback agent in galaxies. Through their tight coupling to magnetic fields, CRs exert a pressure that contributes to the overall support of the gas ( Hanasz et al. 2004 ; Zweibel 2013 ) . In contrast to thermal energy, which can be rapidly radiated away (e.g. \sim 10 kyr for gas at a temperature \sim 10^{6} K and a density \sim 10\,\mathrm{cm^{-3}} ), the bulk of CR proton energy is dissipated on much longer timescales (of order Myr under similar conditions), making CRs a comparatively long-lived energy reservoir. CRs exchange energy and momentum with the thermal plasma through several processes. Coulomb and hadronic interactions transfer CR energy directly to the gas, while CR streaming along magnetic field lines excites Alfvén waves via the streaming instability ( Kulsrud & Pearce 1969 ) . The subsequent damping of these waves deposits heat into the thermal plasma. In addition, CR ionization regulates the thermo-chemistry of the ISM by setting the ionization rate in dense regions and driving ion–molecule reactions that control molecular formation ( Grenier et al. 2015 ; Padovani et al. 2020 ) . Because CRs have a softer effective equation of state (adiabatic index 4/3 ) than the thermal gas ( 5/3 ), their pressure responds differently to compression and expansion, thereby modifying the thermodynamics of the gas. A defining property of CR protons is their nearly collisionless nature. Because Coulomb interactions are weak at relativistic energies, their transport is governed not by ordinary collisional processes but by their interaction with magnetic fields. CRs gyrate around magnetic field lines and are scattered by magnetic fluctuations resonant with their Larmor radius, which isotropize their distribution and give rise, on macroscopic scales, to effective streaming and diffusion along the field lines. The origin of these scattering fluctuations remains debated: they may be self-generated by CRs through the streaming instability, or arise from a pre-existing MHD turbulent cascade ( Chandran 2000 ; Yan & Lazarian 2002 ; Jubelgas et al. 2008 ; Zweibel 2017 , e.g.) , possibly exhibiting intermittent or patchy structures ( Lazarian & Xu 2021 ; Lemoine 2023 ; Kempski et al. 2023 ; Reichherzer et al. 2025 ) . In either case, the resulting transport coefficients depend on particle energy, implying that CR propagation is intrinsically energy-dependent. On galactic scales, GeV CRs are typically characterized by diffusion coefficients of order 10^{28}\mbox{--}10^{29}\,\mathrm{cm^{2}\,s^{-1}} , with an approximate power-law scaling with particle energy of index \sim 0.3\mbox{--}0.6 ( Evoli et al. 2008 ; Evoli et al. 2020 ; Trotta et al. 2011 ; Bisschoff et al. 2019 ) . However, theoretical models and \gamma -ray observations of regions surrounding CR sources suggest that the diffusion coefficient can be significantly suppressed in their vicinity, down to values of order 10^{25}\mbox{--}10^{26}\,\mathrm{cm^{2}\,s^{-1}} , due to enhanced self-generated turbulence ( Nava et al. 2016 ; Nava et al. 2019 ; Brahimi et al. 2020 ; Marcowith 2025 , e.g.) . Because CRs diffuse and stream efficiently while radiating energy slowly, they redistribute the energy injected by SNRs over kiloparsec scales. Although only a small fraction of the supernova (SN) explosion energy is transferred to CRs, their long lifetimes (to the point that CRs can significantly modify the SN injection of momentum Diesing & Caprioli 2018 ; Rodríguez Montero et al. 2022 ) and efficient transport make them a relatively smooth, volume-filling feedback agent, in contrast to the more localized and rapidly cooling thermal energy deposited near SNRs. Indeed, hydrodynamical simulations that include CRs have demonstrated their important role in galaxy evolution. CRs can enhance mass outflow rates in galactic winds ( Uhlig et al. 2012 ; Hanasz et al. 2013 ; Booth et al. 2013 ; Salem & Bryan 2014 ; Girichidis et al. 2016 ; Simpson et al. 2016 ; Ruszkowski et al. 2017b ; Armillotta et al. 2024 , e.g.) in a non-trivial, mass-dependent manner ( Jacob et al. 2018 ; Dashyan & Dubois 2020 ; Hopkins et al. 2021a ) , modify wind thermodynamics ( Girichidis et al. 2018 ; Farcy et al. 2022 ) as well as the properties of the circum-galactic medium ( Buck et al. 2020 ; Butsky et al. 2020 ; Ji et al. 2020 ; DeFelippis et al. 2024 ; Farcy et al. 2025 ) , regulate the gas reservoir available for star formation on small scales ( Commerçon et al. 2019 ; Dubois et al. 2019 ; Semenov et al. 2021 ; Simpson et al. 2023 ; Sampson et al. 2025 ) , and ultimately alter global galaxy properties ( Jubelgas et al. 2008 ; Hopkins et al. 2021b ; Martin-Alvarez et al. 2023 ; Rodríguez Montero et al. 2024 ; Bieri et al. 2026 ) . CRs released by active galactic nuclei can likewise influence the dynamics of their inflated bubbles ( Ruszkowski et al. 2017a ; Ehlert et al. 2018 ; Su et al. 2026 ) and contribute to the heating and stability of the intra-cluster medium ( Sijacki et al. 2008 ; Guo & Oh 2008 ; Wang et al. 2020 ; Su et al. 2020 ; Su et al. 2021 ; Beckmann et al. 2022 ) . Taken together, these studies have established that CR feedback is fundamentally regulated by diffusive and streaming transport. Yet, most of these simulations rely on a grey approximation, treating CRs as a single-energy fluid with an effective transport coefficient. Given that both CR transport and losses depend intrinsically on particle energy, it remains unclear how spectral variations may modify the coupling between CRs and the gas. Indeed, not only CR transport but also CR energy losses are strongly energy dependent. Low-energy CR protons quickly lose energy through Coulomb and ionization interactions with the background plasma, while at higher energies (above \sim 1\,\rm GeV ) slow hadronic interactions dominate, producing pions that decay into \gamma -rays. As CRs propagate away from their sources, their spectrum evolves under the combined effects of energy-dependent transport and losses, leading to spatially varying spectral distributions. This intrinsic spectral evolution calls for models that resolve the CR energy distribution rather than approximating it as a single fluid. Spectral CR transport solvers have long been developed in idealized frameworks without dynamical feedback, such as galprop ( Strong & Moskalenko 1998 ) , dragon ( Evoli et al. 2008 ) , picard ( Kissmann 2014 ) , or usine ( Maurin et al. 2001 ) , enabling detailed comparisons with CR observations. Early efforts also coupled spectral CR evolution to gas dynamics ( Kang & Jones 1991 ; Jun & Jones 1999 ; Jones et al. 1999 ; Miniati 2001 ; Jones & Kang 2005 ) . More recently, multi-group CR methods have been re-implemented in modern magneto-hydrodynamical (MHD) codes, allowing for dynamical feedback of spectrally resolved CRs onto the gas ( Girichidis et al. 2020 ) . These approaches have been used to study the impact of spectral evolution on galactic outflows ( Girichidis et al. 2022 or Armillotta et al. 2025 1 1 1 In this work the feedback loop between CRs and MHD is not fully self-consistent as they use a semi-frozen approach where the transport of CRs is regularly post-processed and their new distribution are re-accounted for and injected in the MHD solver. ), to derive effective global diffusion coefficients ( Girichidis et al. 2024 ) , to investigate shock dynamics in galaxy clusters ( Böss et al. 2023 ) , and to confront transport scenarios with observations on galactic scales ( Hopkins et al. 2022a ; Hopkins et al. 2022c ) . Similar methods have been used to study the evolution of CR electrons and their observable signatures ( Miniati et al. 2001 ; Yang & Ruszkowski 2017 ; Vaidya et al. 2018 ; Winner et al. 2019 ; Vazza et al. 2021 ; Ogrodnik et al. 2021 ; Mukherjee et al. 2021 ; Werhahn et al. 2021 ; Linzer et al. 2025 ; Ponnada et al. 2025 , e.g.) . However, only a limited number of studies have investigated the dynamical impact of fully coupled multi-group CR models in self-consistent MHD simulations, leaving open the broader question of how spectral effects modify CR transport, energy losses, and their feedback on gas dynamics across astrophysical environments. From a numerical standpoint, CR diffusion poses a significant challenge. Its parabolic nature imposes a timestep constraint scaling quadratically with spatial resolution in explicit schemes, while streaming leads to even more restrictive constraints. Solutions include sub-cycling, implicit or semi-implicit methods ( Sharma & Hammett 2011 ; Dubois & Commerçon 2016 ; Dubois et al. 2019 ; Pakmor et al. 2016 ) , transverse flux limiters ( Sharma & Hammett 2007 ) , or regularization strategies for streaming ( Sharma et al. 2010 ) . Alternatively, taking the first moments of the CR distribution function in momentum space ( Thomas & Pfrommer 2019 ; Hopkins et al. 2022b , e.g.) yields a two-moment formalism analogous to radiative transfer, resulting in a hyperbolic system with source terms. This approach, implemented in several codes including athena ( Jiang & Oh 2018 ) , arepo ( Thomas et al. 2021 ) , gizmo ( Chan et al. 2019 ) , and recently in ramses in Rosdahl et al. 2025 ( R25 hereafter), has the advantage that the timestep scales linearly with resolution, at the cost of introducing a characteristic propagation speed equal to the speed of light, which can be artificially reduced ( Gnedin & Abel 2001 ; Snodin et al. 2006 ) . In this paper, we introduce ramses-mcr , a multi-group CR solver implemented in the adaptive mesh refinement MHD code ramses ( Teyssier 2002 ) , based on the two-moment numerical implementation of R25 . ramses-mcr evolves spectrally resolved CRs on the mesh, consistently coupled to gas dynamics, and includes advection, anisotropic diffusion, streaming, radiative losses, and injection. In Section 2 we describe the numerical method. In Section 3 we present a suite of idealized tests validating the solver. We then apply it to the three-dimensional evolution of a SNR, a physically motivated and sufficiently complex environment to demonstrate the astrophysical relevance of the multi-group approach. We summarize and conclude in Section 4 . 2 Method 2.1 Cosmic-ray magneto-hydrodynamics with ramses-mcr The equations of ideal MHD used in the adaptive mesh refinement code ramses ( Teyssier 2002 ) are: \displaystyle\frac{\partial\rho}{\partial t}+\boldsymbol{\nabla}.(\rho\boldsymbol{u})=0\,, (1) \displaystyle\frac{\partial\rho\boldsymbol{u}}{\partial t}+\boldsymbol{\nabla}.\left(\rho\boldsymbol{u}\otimes\boldsymbol{u}+P-\frac{\boldsymbol{B}\otimes\boldsymbol{B}}{4\pi}\right)=-\boldsymbol{\nabla}P_{\rm c} (2) \displaystyle\frac{\partial e}{\partial t}+\boldsymbol{\nabla}.\left((e+P)\boldsymbol{u}-\frac{(\boldsymbol{B}.\boldsymbol{u})\boldsymbol{B}}{4\pi}\right)=-\boldsymbol{u}.\boldsymbol{\nabla}P_{\rm c}+\mathcal{H}_{\rm c}+\Lambda_{\rm r}\,, (3) \displaystyle\frac{\partial\boldsymbol{B}}{\partial t}-\boldsymbol{\nabla}\times(\boldsymbol{u}\times\boldsymbol{B})=0\,, (4) where \rho is the gas mass density, \boldsymbol{u} is the gas velocity, e=\rho u^{2}/2+e_{\rm th}+B^{2}/(8\pi) is the plasma energy, P=P_{\rm th}+B^{2}/(8\pi) the plasma pressure, \boldsymbol{B} is the magnetic field, e_{\rm th} the gas thermal energy with ideal equation of state P_{\rm th}=(\gamma-1)e_{\rm th} with \gamma=5/3 for ideal non-relativistic mono-atomic gas, e_{\rm c}=\sum_{i}e_{{\rm c},i} is the total CR energy which is the sum of the individual groups of CR energies, each with its own equation of state P_{{\rm c},i}=(\gamma_{{\rm c},i}-1)e_{{\rm c},i} (and total CR pressure P_{\rm c}=\sum_{i}P_{{\rm c},i} ), where \gamma_{\rm c,i} ranges from 5/3 to 4/3 for respectively CR particles in the non-relativistic or relativistic regime, \mathcal{H}_{\rm c}=\mathcal{H}_{\rm s}+\mathcal{H}_{\rm r} captures the heating of the gas by the streaming instability \mathcal{H}_{\rm s} and by Coulomb and hadronic losses on CRs \mathcal{H}_{\rm r} , and \Lambda_{\rm r} encapsulates the direct radiative loss and heat sources of the thermal component. While momentarily dropping the source terms of the plasma energy equation, the set of MHD equations are solved with an approximate (7-waves) Harten-Lax-van Lee-Discontinuous Riemann solver ( Miyoshi & Kusano 2005 ) , and using the constrained transport algorithm for the induction equation (see Teyssier et al. 2006 ; Fromang et al. 2006 , and references therein) . Finally, the CR fluid follows transport equations with advection with the gas, diffusion, and streaming that we now detail further. Although CR electrons produce strong radiative signatures, they carry only a minor fraction of the total CR energy owing to their lower acceleration efficiency and rapid cooling. The CR pressure relevant for gas dynamics is thus dominated by ions, which we restrict to protons. We therefore focus on CR protons, noting that the formalism can be readily extended to other CR species. We split the CRs into a multi-group decomposition in bins of their individual particle momentum p . To update the distribution function f(p) split into multiple groups of central momentum p_{i} made of broken power-laws, one has to track both the CR energy density e_{{\rm c},i} and the number density n_{{\rm c},i} ( Miniati 2001 ) . We follow the 2-moment equations of CR energy transport implemented in ramses , as described in R25 , and based on the implementation by Jiang & Oh 2018 , which we extend to the transport of both the CR energy and number densities, for each CR bin of momentum p_{i} . In fluid frame, those equations are: \displaystyle\frac{\partial n_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.(\boldsymbol{u}n_{{\rm c},i})+\boldsymbol{\nabla}.\boldsymbol{F}^{n}_{{\rm c},i}=\mathcal{Q}^{n}_{i\pm}\,, (5) \displaystyle\frac{1}{\tilde{c}^{2}}\frac{\partial\boldsymbol{F}^{n}_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}\left(\frac{n_{{\rm c},i}}{3}\right)=-\sigma^{n}_{i}\boldsymbol{F}^{n}_{{\rm c},i}\,, (6) \displaystyle\frac{\partial e_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.(\boldsymbol{u}e_{{\rm c},i})+\boldsymbol{\nabla}.\boldsymbol{F}^{e}_{{\rm c},i}=\mathcal{Q}^{e}_{i\pm}\,, (7) \displaystyle\frac{1}{\tilde{c}^{2}}\frac{\partial\boldsymbol{F}^{e}_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}\left(\frac{e_{{\rm c},i}}{3}\right)=-\sigma^{e}_{i}\boldsymbol{F}^{e}_{{\rm c},i}\,, (8) where \boldsymbol{F}^{n}_{{\rm c},i} and \boldsymbol{F}^{e}_{{\rm c},i} for the CR number and energy density (fluid-frame) fluxes, respectively, \tilde{c} is the reduced speed of light. \mathcal{Q}_{{\rm n},i\pm} and \mathcal{Q}_{{\rm e},i\pm} capture the transfer of n_{{\rm c},i} and e_{{\rm c},i} (and associated losses and gains with bin p_{i} ), respectively, between momentum bins p_{i} , and its two neighbors p_{i-1} and p_{i+1} due to radiative losses, adiabatic changes, streaming, second-order Fermi acceleration, and injection of fresh CRs. This is the key aspect of the spectral method that we will detail in section 2.2 . The interaction coefficient is split into parallel and perpendicular contributions with respect to the (unit vector) \boldsymbol{b}=\boldsymbol{B}/||\boldsymbol{B}|| field, i.e.: \sigma^{\phi}_{i}=\sigma^{\phi}_{\parallel,i}\boldsymbol{b}\otimes\boldsymbol{b}+\sigma^{\phi}_{\perp,i}(\mathbb{I}-\boldsymbol{b}\otimes\boldsymbol{b})\,, (9) where \phi=n_{{\rm c}} or e_{{\rm c}} (see R25 for tests of the anisotropic and isotropic shapes of the tensor). Each parallel and perpendicular terms are split into a diffusion and a pseudo-diffusive streaming contribution (only showing here the parallel terms): \displaystyle\left(\sigma^{\phi}_{\parallel,i}\right)^{-1}=\left(\sigma^{\phi}_{{\rm d}\parallel,i}\right)^{-1}+\left(\sigma^{\phi}_{{\rm s}\parallel,i}\right)^{-1}\,, (10) \displaystyle\left(3\sigma^{\phi}_{{\rm d}\parallel,i}\right)^{-1}=f_{{\rm d}\parallel,i}\kappa^{\phi}_{i}\,, (11) \displaystyle\left(3\sigma^{\phi}_{s\parallel,i}\right)^{-1}=f_{{\rm s}\parallel,i}\frac{q_{i}}{3}|\boldsymbol{u}_{\rm A}|\frac{\phi_{i}}{|\boldsymbol{\nabla}_{\parallel}\phi_{i}|}\,, (12) where \boldsymbol{u}_{\rm A} is the Alfvén velocity, \kappa_{i}^{\phi} is the diffusion coefficient, and f_{{\rm d}\parallel,i} and f_{{\rm s}\parallel,i} ( f_{{\rm d}\perp,i} and f_{{\rm s}\perp,i} ) are the parallel (perpendicular) fractions for diffusion and streaming, respectively. By default, our adopted values are f_{{\rm d}\parallel,i}=f_{{\rm s}\parallel,i}=1 and f_{{\rm d}\perp,i}=f_{{\rm s}\perp,i}=10^{-6} , unless otherwise specified. We note that for the streaming instability, it is common to adopt f_{{\rm s}\parallel,i}>1 to capture the micro-physics of the damping of the self-excited Alfvén waves resulting in CR bulk propagation speeds larger than the Alfvén velocity (but not for the corresponding loss-gain term of the streaming stability, \mathcal{H}_{\rm s} , that still proceeds at the Alfvén speed). A notable difference with R25 is that the fluxes are now expressed in their fluid frame of reference 2 2 2 The comoving fluid frame fluxes \boldsymbol{F}^{n}_{{\rm c},i} and \boldsymbol{F}^{e}_{{\rm c},i} can be transformed into their lab frame expressions, respectively, \boldsymbol{F}_{{\rm c,lab},i}^{n} and \boldsymbol{F}_{{\rm c,lab},i}^{e} , with \boldsymbol{F}_{\rm c}^{n}=\boldsymbol{F}_{{\rm c,lab},i}^{n}-\boldsymbol{u}n_{{\rm c},i} and \boldsymbol{F}_{\rm c}^{e}=\boldsymbol{F}_{{\rm c,lab},i}^{e}-\boldsymbol{u}(e_{{\rm c},i}+P_{{\rm c},i}) . This formulation of the equations in fluid frame is i) necessary for the consistency of the spectral method under adiabatic transformations, ii) more rigorously derived from the Vlasov equations, and iii) is more accurate for small values of \tilde{c} (see Appendix A for a comparison of the two formulations). The CR equations ( 5 )–( 8 ) are solved using an operator-splitting approach. The advective terms \boldsymbol{\nabla}.(\boldsymbol{u}\phi_{i}) are treated together with the MHD solver. Following R25 , the hyperbolic terms \boldsymbol{\nabla}.\boldsymbol{F}^{\phi}_{{\rm c},i} and \boldsymbol{\nabla}\phi_{i}/3 , as well as the right-hand-side source terms (including the CR pressure work in the gas momentum update), except for \mathcal{Q}_{i\pm}^{\phi} (i.e. the contribution from -\sigma^{\phi}_{i}\boldsymbol{F}^{\phi}_{{\rm c},i} ) are solved using an explicit–implicit scheme (explicit for the hyperbolic terms and implicit for the source terms, see R25 for details). This step is advanced over a Courant-like timestep \Delta t_{\rm cr,hyp}=\Delta x/\tilde{c} , which is sub-cycled with respect to the MHD timestep \Delta t_{\rm MHD} . Finally, the terms \mathcal{Q}_{i\pm}^{\phi} , which describe the transport of CR quantities in momentum space, are treated separately using a spectral timestep \Delta t_{\rm cr,spe} and are sub-cycled with respect to \Delta t_{\rm cr,hyp} . 2.2 The cosmic ray multi-group spectral scheme 2.2.1 Discretization in momentum space and derivation of the four-moment cosmic ray fluid equations We derive the CR two-moment fluid equations (equations ( 5 )-( 8 )) in order to clearly identify the spectral steps of the method. CRs can be represented by their gyrophase-averaged distribution function f=f(x,p,\mu,t) , where x is the position, p the particle momentum, and \mu=\boldsymbol{p}.\boldsymbol{b}/p its pitch angle. Starting from the focused transport equations ( Skilling 1971 ; Zank 2014 ) , one can describe the CR evolution with the following set of two equations taking the first two \mu -moments of the linear \mu -expansion of f(x,p,\mu,t)=f_{0}(x,p,t)+3\mu f_{1}(x,p,t) , where f_{0} and f_{1}=\langle\mu\rangle f_{0} are the isotropic and anisotropic parts of f respectively ( Thomas & Pfrommer 2019 ; Hopkins et al. 2022b ) : \displaystyle\frac{\partial f_{0}}{\partial t}+\boldsymbol{\nabla}.(\boldsymbol{u}f_{0})+\boldsymbol{\nabla}.(v\boldsymbol{b}f_{1})=\frac{1}{p^{2}}\frac{\partial}{\partial p}\left[p^{2}L(p)f_{0}\right]+j_{0}\,, (13) \displaystyle\frac{\partial f_{1}}{\partial t}+\boldsymbol{\nabla}.(\boldsymbol{u}f_{1})+v\tilde{\nabla}(f_{0})=-\left[D_{\mu\mu}f_{1}+D_{\mu p}\frac{\partial f_{0}}{\partial p}\right]+j_{1}\,, (14) with \displaystyle L(p)=-\frac{{\rm d}p}{{\rm d}t}=L_{\rm r}+p\mathbb{D}:\nabla u+D_{p\mu}\frac{f_{1}}{f_{0}}+\frac{D_{pp}}{f_{0}}\frac{\partial f_{0}}{\partial p} (15) that encapsulates the gain/loss terms in momentum space and with scattering terms ( Schlickeiser 1989 ) \displaystyle D_{\mu\mu}=\bar{\nu},\>D_{\mu p}=\chi\frac{p\bar{u}_{a}}{v}\bar{\nu},\>D_{p\mu}=\frac{p\bar{u}_{a}}{v}\bar{\nu},\>D_{pp}=\chi\frac{p^{2}\bar{u}^{2}_{a}}{v^{2}}\bar{\nu}, (16) where \tilde{\nabla}f_{0}=\boldsymbol{b}.\boldsymbol{\nabla}(\chi f_{0})+\boldsymbol{\nabla}.((1-3\chi)f_{0}\boldsymbol{b}) , \mathbb{D}=\chi\mathbb{I}+(1-3\chi)\boldsymbol{b}\otimes\boldsymbol{b} , and \chi=(1-\langle\mu^{2}\rangle)/2 correspond to anisotropic coefficients of the equations, and v is the particle velocity. The scattering rate \bar{\nu}=\nu_{+}+\nu_{-} is the source of the diffusion in configuration space x . The signed Alfvén speed \bar{u}_{\rm A}=u_{\rm A}(\nu_{+}-\nu_{-})/(\nu_{+}+\nu_{-}) corresponds to gyroresonant streaming instability terms, where D_{\mu p} leads to a transport by streaming and D_{p\mu} to a loss term. The L(p) term contains, in order of equation ( 15 ), a term for: radiative losses ( L_{\rm r}>0 for a loss term); adiabatic variations; streaming, and second-order Fermi acceleration. The injection of CRs corresponds to the j_{0} and j_{1} terms. The following lies on the foundations drawn by Jones et al. 1999 and Miniati 2001 and later revisited by Girichidis et al. 2020 , and adapted to the two-moment method in Hopkins et al. 2022a ). To represent and evolve the wide CR spectrum, we choose to discretize the spectrum into momentum bins centered around a momentum value p_{i} that are equally spaced in logarithmic scale ( Jones et al. 1999 ) . With this discretization, illustrated in Fig. 1 , we use a piecewise discontinuous distribution function. Thus, for every momentum bin i , the distribution function goes as follows: \displaystyle f_{0}(p)=f_{0,i-1/2}\,\left(\frac{p}{p_{i-1/2}}\right)^{-q_{i}}\,, (17) where p_{i-1/2}\leq pp_{i-1/2} for a loss term ( L(p)>0 ), and p_{\rm ini}=p_{\rm gain}3 ; otherwise, compression can decrease the amplitude of the distribution function and conversely for expansion (see Appendix E ). f(p) . Because adiabatic processes conserve phase-space density, these transformations are exactly reversible in the absence of additional energy-changing processes, and the shape of the distribution function is preserved (see Appendix D ). We now solve the reduced equations governing CR evolution: \displaystyle\frac{\partial n_{{\rm c},i}}{\partial t}=\left[4\pi p^{3}\frac{\boldsymbol{\nabla}.\boldsymbol{u}}{3}\ f_{0}\right]_{p_{i-1/2}}^{p_{i+1/2}}\,, \displaystyle\frac{\partial e_{{\rm c},i}}{\partial t}=\left[4\pi p^{3}\frac{\boldsymbol{\nabla}.\boldsymbol{u}}{3}T(p)f_{0}\right]_{p_{i-1/2}}^{p_{i+1/2}}-4\pi\int^{p_{i+1/2}}_{p_{i-1/2}}p^{3}v\frac{\boldsymbol{\nabla}.\boldsymbol{u}}{3}f_{0}{\rm d}p\,. To test the numerical implementation, its scaling with the time step and the impact of the time integration scheme, we impose a compression regime with a constant velocity divergence \boldsymbol{\nabla}.\boldsymbol{u}=-1\,\rm Myr^{-1} . The choice of adiabatic compression for this test is arbitrary; an equivalent setup could have been realized with expansion. The initial CR distribution, f\propto p^{-4.5} , is discretized into N_{\rm c}=15 bins spanning p_{\rm min}=10^{-2}\,{\rm GeV}/c to p_{\rm max}=10^{2}\,{\rm GeV}/c . The gas is kept static, so no hydrodynamic feedback or additional CR processes (e.g. cooling or injection) are included. Figure 4 shows the evolution of the distribution function up to 1\,\rm Myr , plotted as the ratio of f(p,t) to the analytical solution (see Appendix D.2 ). We present this ratio for different values of \varepsilon_{p} to assess the effect of the spectral time step and to compare various time integration schemes for updating e_{{\rm c},i} . A systematic offset is observed in the ratio, scaling linearly with the spectral time step. For a given integration scheme, the smallest offset is obtained for \varepsilon_{p}=0.004 . The choice of time integration scheme also significantly affects the results. For larger \varepsilon_{p} (i.e. larger time steps), the implicit method produces substantial errors, particularly at low momenta. Using an explicit method considerably reduces these errors, while a semi-implicit method further decreases them to about 10\% . For smaller time steps, the errors fall below 1\% with the semi-implicit method. Figure 4: Static test with adiabatic compression cycles using \boldsymbol{\nabla}.\boldsymbol{u}=-1\,\rm Myr^{-1} . The panels show the relative ratio of the distribution function at a given time with respect to the analytical distribution function f_{\rm ana} for q_{\rm ini}=4.5 . The dots indicate the value of the ratio at the center of the bin. We present the solution for three spectral time steps and three time integration schemes. 3.1.4 One-dimensional diffusion Figure 5: Spatial diffusion in one-dimension of the CR energy densities e_{{\rm c},i} at t=1\,\rm Myr for each momentum bin, assuming that diffusion scales as \kappa(p)\propto p^{0.5} . The green curves show the total CR energy density (sum over all bins). All CR quantities are normalized to their initial values at the peak of the gaussian. The two lower panels show the CR distribution function at two different positions x=500\,\rm pc and x=750\,\rm pc (middle and bottom panels respectively). Solid lines correspond to the spectrally-averaged diffusion coefficients (“with correction”), while dashed lines assume \kappa^{n}_{{\rm c},i}=\kappa^{e}_{{\rm c},i} (“without correction”). We performed a one-dimensional diffusion simulation to illustrate the effect of the multi-group spectral discretization on the spatial transport of CRs. This problem solves for this set of two-moment transport equations for n_{{\rm c},i} and e_{{\rm c},i} and their associated fluxes: \displaystyle\frac{\partial n_{{\rm c},i}}{\partial t}+\frac{\partial F^{n}_{{\rm c},i}}{\partial x}=0\,, \displaystyle\frac{1}{v^{2}}\frac{\partial F^{n}_{{\rm c},i}}{\partial t}+\frac{1}{3}\frac{\partial n_{{\rm c},i}}{\partial x}=-\frac{1}{3\kappa^{n}_{{\rm c},i}}F^{n}_{{\rm c},i}\,, \displaystyle\frac{\partial e_{{\rm c},i}}{\partial t}+\frac{\partial F^{e}_{{\rm c},i}}{\partial x}=0\,, \displaystyle\frac{1}{v^{2}}\frac{\partial F^{e}_{{\rm c},i}}{\partial t}+\frac{1}{3}\frac{\partial e_{{\rm c},i}}{\partial x}=-\frac{1}{3\kappa^{e}_{{\rm c},i}}F^{e}_{{\rm c},i}\,. The gas was set up static and no cooling or additional CR processes were included. The spatial domain was covering 1\,\rm kpc with 64 spatial cells and outflow boundary conditions were used. The CRs were initialized with a power-law distribution function of index q_{\rm ini}=4.5 in momentum space, spanning p_{\rm min}=0.01\,\rm GeV/c to p_{\rm max}=100\,\rm GeV/c with N_{\rm c}=10 bins. Spatially, the CRs were initially distributed as a gaussian of width \sigma=10\,\rm pc with a total energy at the peak of the gaussian e_{\rm c,max}=2.5\times 10^{-10}\,\rm erg\,cm^{-3} at the center (but note that the problem is independent of the exact normalization). We adopted a reduced speed of light \tilde{c}=3\times 10^{3}\,\rm km\,s^{-1} , and the diffusion coefficient was specified as \kappa(p)=\kappa_{0}(p/p_{0})^{0.5} , with \kappa_{0}=10^{27}\,\rm cm^{2}\,s^{-1} at p_{0}=1\,\rm GeV/c . Considering that spectrally resolved CRs affect spatial diffusion, as explained in Sec. 2.2.5 , we now distinguish between the diffusion coefficients for the number density and the energy density, \kappa^{n}_{{\rm c},i}\neq\kappa^{e}_{{\rm c},i} . These coefficients are obtained through different spectral weightings of \kappa(p) , following the procedure of Hopkins 2023 , which is our default approach. We compare this approach to the simpler assumption \kappa^{n}_{{\rm c},i}=\kappa^{e}_{{\rm c},i}=\kappa(p_{i}) at the center of each momentum bin. Figure 5 (top panel) shows the final spatial distribution of the energy density e_{{\rm c},i}(x) at t=1\,\rm Myr for each momentum bin, along with the total CR energy density (green curves). The solid lines correspond to the spectrally-averaged diffusion coefficients, while the dashed lines correspond to \kappa^{n}_{{\rm c},i}=\kappa^{e}_{{\rm c},i} . Fitting the total CR energy profile with a gaussian yields an effective diffusion coefficient \kappa_{\rm eff}\simeq 5.4\times 10^{26}\,\rm cm^{2}\,s^{-1} . We find that using spectrally-averaged coefficients does not lead to a large difference in the spatial distribution of e_{{\rm c},i}(x) compared to the simplified approach, confirming that the main effect of spectral averaging manifests in the shape of the distribution function rather than in the overall spreading of CR energy. As expected, the highest momentum bins, which have larger diffusion coefficients, diffuse more rapidly and are more spatially extended than the lowest momentum bins, demonstrating that the spectral dependence of \kappa(p) produces, indeed, a momentum-dependent diffusion signature. To quantify how the spectral resolution affects the distribution function locally, we consider two representative positions: the center of the gaussian ( x=500\,\rm pc ) and the wings ( x=750\,\rm pc ). The middle and bottom panels of Fig. 5 show the CR distribution function at these positions, respectively, both initially and at t=1\,\rm Myr . While both approaches reproduce the global slope of the spectrum reasonably well, differences appear in the inner slope of f(p) . Using the spectrally-averaged diffusion coefficients correctly captures the momentum-dependent spreading, allowing the inner slope to reflect the global distortion induced by diffusion. In contrast, assuming \kappa^{n}_{{\rm c},i}=\kappa^{e}_{{\rm c},i} preserves the initial slope q_{\rm ini} locally, failing to account for the differential diffusion between bins. This demonstrates that spectral averaging of the diffusion coefficients is important for accurately capturing the shape evolution of the CR distribution function, even when the overall energy density profile is only mildly affected. Figure 6: Spatial distribution of CR energy density for the two-dimensional anisotropic diffusion in a circular magnetic field. The five first panels show the results for a different momentum bin and last one is the CR energy density in total, all at the same time t=0.26\,\rm s . 3.1.5 Two-dimensional diffusion with anisotropic diffusion We now test the multi-group implementation of anisotropic diffusion by simulating the evolution of a patch of CRs in a circular magnetic field in two dimensions, following the setup of R25 . This two-dimensional problem solves for this set of two-moment transport equations for n_{{\rm c},i} and e_{{\rm c},i} and their associated fluxes: \displaystyle\frac{\partial n_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.(F^{n}_{{\rm c},i}\boldsymbol{b})=0\,, \displaystyle\frac{1}{v^{2}}\frac{\partial F^{n}_{{\rm c},i}}{\partial t}+\boldsymbol{b}.\boldsymbol{\nabla}\left(\frac{n_{{\rm c},i}}{3}\right)=-\frac{1}{3\kappa^{n}_{{\rm c},i}}F^{n}_{{\rm c},i}\,, \displaystyle\frac{\partial e_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.(F^{e}_{{\rm c},i}\boldsymbol{b})=0\,, \displaystyle\frac{1}{v^{2}}\frac{\partial F^{e}_{{\rm c},i}}{\partial t}+\boldsymbol{b}.\boldsymbol{\nabla}\left(\frac{e_{{\rm c},i}}{3}\right)=-\frac{1}{3\kappa^{e}_{{\rm c},i}}F^{e}_{{\rm c},i}\,. The computational domain was set up as a square box of width 2\,\rm cm with a circular magnetic field centered in the domain. We used a spatial resolution of 512\times 512 cells. The gas was set up homogeneous and static, and no cooling is included, so the evolution is purely diffusive. The CR energy density is initialized with a high-energy patch of e_{\rm c,in}=12\,\rm erg\,\rm cm^{-3} in the region defined by 0.5\gamma_{\rm c} , this energy transfer locally steepens the total pressure gradient, producing an enhanced acceleration of the gas away from the discontinuity. In addition, the positions of both the shock and the rarefaction wave are shifted relative to the non-streaming case, reflecting the additional CR transport induced by streaming at the Alfvén speed. Not shown in Fig. 7 is that the slope of the CR distribution function is preserved throughout the evolution, indicating that streaming acts as a pure transport process. Additional tests exploring different slopes of the distribution function and extended momentum ranges, including sub-relativistic CRs, are presented in Appendix F . Overall, this test demonstrates that the multi-group CR implementation accurately reproduces the known behaviour of CR-modified shock tubes with streaming, while consistently accounting for the momentum-space structure of the CR population. Figure 8: Three-dimensional SN explosion with CR and gas cooling at t=200\,\rm kyr for gas density n=10\,\rm cm^{-3} and a box size of 200\,\rm pc with random magnetic field (represented by grey streamlines). We use the spectral method with a scaling of diffusion of \kappa(p)=3\times 10^{26}(pc/1{\rm GeV})^{0.5}\,\rm cm^{2}\,s^{-1} . We follow 5 bins in p with p_{\rm min}=100\,{\rm MeV}/c and p_{\rm max}=1\,{\rm TeV}/c : from top left to bottom middle corresponding to the CR energy density of each CR energy-momentum bin in a slice through the center of the explosion. Bottom right panel is the total CR energy density. 3.2 A supernova remnant with cosmic rays We now use the full spectral multi-group CR formalism coupled to the MHD solver to follow the expansion of a SNR including CRs, their anisotropic diffusion, and their energy losses. CR streaming is not included in this experiment, so that CR transport is entirely governed by advection with the gas and spatial diffusion. This setup provides a controlled yet astrophysically relevant demonstration of the capabilities of ramses-mcr . The three-dimensional SNR experiment is performed in a uniform background medium with gas number density n_{0}=10\,\rm cm^{-3} and temperature T_{0}=100\,\rm K , within a cubic box of side length 200\,\rm pc . Background CRs are initialized with a total CR energy density of e_{{\rm c},0}=0.01\,\rm eV\,cm^{-3} and a power-law momentum distribution f(p)\propto p^{-q_{\rm ini}} with slope q_{\rm ini}=4.5 . This value of background CRs is chosen artificially low so that the injected SN CRs, when spread by diffusion, dominate over the initial value of the background CRs. The CR spectrum is discretized using either N_{\rm c}=5 or 10 logarithmically spaced momentum bins between p_{\rm min}=100\,{\rm MeV}/c and p_{\rm max}=1\,{\rm TeV}/c . We adopt a reduced speed of light \tilde{c}=6\times 10^{4}\,\rm km\,s^{-1} , chosen to be large enough that it does not affect the propagation of the highest-momentum CR bins. The magnetic field is initialized as a tangled field with random orientation, mean strength B_{0} , and coherence length of 10\,\rm pc , generated following the procedure of Dubois et al. 2019 to ensure \nabla.\boldsymbol{B}=0 . The magnetic field is sufficiently weak that it does not directly influence the gas dynamics, but it sets the direction of anisotropic CR diffusion. The mesh is initialized with a uniform grid of 64^{3} cells (corresponding to level \ell_{\rm min}=6 and a maximum cell size \Delta x_{\rm max}\simeq 3.1\,\rm pc ), and is allowed to refine and derefine dynamically up to level \ell_{\rm max}=8 ( \Delta x_{\rm min}\simeq 0.8\,\rm pc ). Refinement is triggered when the relative cell-to-cell variation of gas density or pressure exceeds 10\,\% , ensuring adequate resolution of the shock, shell, and CR gradients. The SN explosion is initialized as a spherical region of radius 5\,\rm pc with a total energy of 10^{51}\,\rm erg . A fraction of 10\,\% of this energy is injected as CR energy ( Morlino & Caprioli 2012 ; Dermer & Powale 2013 ; Caprioli & Spitkovsky 2014 ) , following the same initial power-law slope q_{\rm ini}=4.5 as the background CRs, while the remaining 90\,\% is injected as thermal gas energy. The gas is allowed to cool radiatively down to T=T_{0} , assuming a metallicity Z=0.002 with solar relative elemental abundances. We use the cooling rates of Sutherland & Dopita 1993 above 10^{4}\,\rm K and of Dalgarno & McCray 1972 below 10^{4}\,\rm K . CRs lose energy through Coulomb and hadronic interactions. For simplicity, we neglect ionization losses and assume that the gas is fully ionized at all temperatures 6 6 6 This assumption slightly underestimates low-energy losses but avoids introducing additional microphysical complexity in this demonstration. , including at T=100\,\rm K . By default, CRs are allowed to diffuse anisotropically along magnetic field lines, with no explicit perpendicular diffusion. In Appendix G , we also present a simulation with isotropic diffusion to illustrate the flexibility of our solver. The parallel diffusion coefficient follows a momentum-dependent scaling \kappa(p)=\kappa_{0}(pc/1\rm GeV)^{0.5} . We explore different values of the normalization \kappa_{0} (see Table 1 ) in the range \kappa_{0}=3\times 10^{25}\mbox{--}3\times 10^{26}\,\rm cm^{2}\,s^{-1} , as well as a run with virtually no diffusion ( \kappa_{0}=10^{20}\,\rm cm^{2}\,s^{-1} ). These diffusion coefficients are lower than the canonical mean Galactic value ( Evoli et al. 2020 , e.g.) , but are motivated by the efficient self-excitation of Alfvén waves expected near CR sources ( Nava et al. 2016 ; Brahimi et al. 2020 ) . A more complete model would self-consistently account for the modulation of diffusion by such processes, leading to spatial and temporal variations of \kappa , but this is beyond the scope of the present paper and will be addressed in future work. Table 1 summarizes all the SNR simulations analyzed in this section. Unless stated otherwise, we focus below on the reference run SNRD26. Figure 8 shows thin-slice maps of the CR energy distribution at t=200\,\rm kyr for a random magnetic field with B_{0}=0.025\,\rm\mu G and \kappa_{0}=3\times 10^{26}\,\rm cm^{2}\,s^{-1} . Each panel displays the CR energy density for one of the N_{\rm c}=5 momentum bins, with the last panel showing the total CR energy density. Although CRs diffuse away from the remnant, most of the CR energy remains concentrated near the center, within the bubble and around the shell. The energy budget is dominated by CR groups with momenta 1 and 10\,{\rm GeV}/c . Higher-momentum CRs are progressively less confined, and at TeV energies the distribution becomes nearly uniform across the computational domain. Outside the SNR, CRs form narrow plumes emerging from the shell edge, tracing magnetic flux tubes and reflecting anisotropic diffusion along field lines ( Girichidis et al. 2014 , e.g.) . Figure 9: Time evolution of the CR distribution function in SNR simulations. Each panel shows the CR spectrum at a different position. Within a panel, the spectrum is shown at three different times for simulations using different diffusion coefficients (SNRD25N10, SNRD26N10 and SNRnodiff see Table 1 ). We follow N_{\rm c}=10 momentum bins, initialized with f\propto p^{-4.5} , n=10\,\rm cm^{-3} and B_{0}=0.025\mu\rm G . The spectral evolution depends on the measurement location. To further characterize CR transport and highlight a key capability of ramses-mcr , we examine the CR distribution function at different distances from the explosion. Figure 9 shows the time evolution of the CR spectrum at two radial positions (averaged over spherical shells of width 4\,\rm pc ) for the runs SNRD25N10, SNRD26N10 and SNRnodiff. We consider here simulations with N_{\rm c}=10 momentum bins and verified that reducing the number of bins to N_{\rm c}=5 does not change the results. The top panel corresponds to the shell position ( 20\,\rm pc at t=200\,\rm kyr , 15\,\rm pc at 100\,\rm kyr ), while the bottom panel probes the upstream region affected by diffusive CR leakage. The spectra reflect the combined effects of radiative cooling, adiabatic compression or expansion, and diffusion. All locations exhibit signatures of Coulomb losses at low momenta ( p\lesssim 1\,{\rm GeV}/c ), visible as a bending of the distribution function. At 20\,\rm pc , the high-momentum component rises first, as higher-energy CRs reach this region earlier owing to their larger diffusion coefficient. When the shock arrives, adiabatic compression amplifies the spectrum. At 60\,\rm pc , background low-momentum CRs cool and decrease in amplitude, while the high-momentum component grows as progressively more SN-accelerated CRs diffuse outward, again with the highest momenta arriving first. We next examine the time evolution of the SNR radial momentum for the different simulations. Figure 10 shows the momentum p_{\rm SNR} measured within a sphere of radius 50\,\rm pc , encompassing both the bubble and the shell, as a function of time. The momentum is normalized to p_{0}=\sqrt{2m_{\rm ej}E_{\rm SNR}} , adopting m_{\rm ej}=2\,\rm M_{\odot} and E_{\rm SNR}=10^{51}\,\rm erg following Rodríguez Montero et al. 2022 . The evolution is shown from 10\,\rm kyr (just before the end of the Sedov–Taylor phase, Kim & Ostriker 2015 ) to 1\,\rm Myr . The black curve corresponds to the run without CRs and serves as a reference. In this case, the momentum increases until \sim 50\,\rm kyr , after which it reaches a plateau. This behavior is expected for SNRs expanding in a uniform medium: once radiative cooling becomes important, the remnant transitions from the pressure-driven snowplough phase to the momentum-conserving phase. We now turn to the CRMHD simulations. In the presence of CRs, the SNR momentum continues to increase beyond the maximum value of the reference run, exceeding it as early as \sim 10\,\rm kyr . The diffusion coefficient strongly impacts the momentum growth. The largest enhancement occurs for the lowest diffusion coefficient, reaching an increase of about 135\% at t\approx 0.9\,\rm Myr relative to the reference case. For higher diffusion, the enhancement is reduced to about 65\% at t\approx 0.8\,\rm Myr . This sensitivity arises because diffusion controls the residence time of CRs within the remnant. As the SNR expands, the thermal energy density decreases more rapidly than the CR energy density, leading CRs to dominate the internal energy budget at late times. This delays the transition to the momentum plateau and enhances the additional momentum growth driven by CR pressure. Finally, increasing the magnetic field strength (run SNRD26B5) does not significantly modify the momentum evolution. These results highlight that the dynamical impact of CRs is intrinsically energy-dependent. Because the diffusion coefficient increases with particle momentum, high-energy CRs escape rapidly from the SNR, whereas lower-energy CRs remain confined longer and sustain the internal pressure support. The resulting momentum boost reflects the time-dependent contribution of spectral components with different transport and loss timescales. Figure 10: Evolution of the normalized radial gas momentum of the SNR as a function of time for the different simulations. The black line corresponds to the run without CRs, while the three other lines show the results from the CRMHD simulations. The evolution of p_{\rm SNR} is strongly affected by the presence of CRs and their transport properties. The largest enhancement is obtained for the lowest diffusion coefficient, reaching 135\% with respect to the no-CR run. Simulation B_{0}\,[\mu\mathrm{G}] \kappa_{0}\,[\mathrm{cm}^{2}\,\mathrm{s}^{-1}] N_{\rm c} NoCR 0.025 / / SNRnodiff 0.025 1\times 10^{20} 10 SNRiso 0.025 1\times 10^{26} 5 SNRD25 0.025 3\times 10^{25} 5 SNRD26 0.025 3\times 10^{26} 5 SNRD26B5 5 3\times 10^{26} 5 SNRD25N10 0.025 3\times 10^{25} 10 SNRD26N10 0.025 3\times 10^{26} 10 Table 1: Summary of all the SNR simulations. For all simulation listed here, the box size is 200\,\rm pc . They all have a minimum number of cell of 64^{3} and maximum of 256^{3} cells. For each simulation, columns show: initial magnetic field strength B_{0} , diffusion coefficent normalization \kappa_{0} at 1\mathrm{GeV}/c and the number of CRs bin N_{\rm c} . In every case the magnetic field has a random direction with typical B-field coherence length of 10\rm pc . 4 Conclusions We have presented in this paper ramses-mcr , the implementation of a multi-group CR method for the AMR code ramses ( Teyssier 2002 ) , that is an extension in the spectral domain of two-moment CR method introduced in R25 . The numerical method assumes that the CR distribution function is a power-law in momentum space ( Jones et al. 1999 ; Miniati 2001 ) , that requires to track both the CR energy and number densities for multiple CR groups. The method relies on a discretization in momentum space and, hence, enables momentum-dependent anisotropic diffusion, streaming, and radiative losses. We performed a series of tests for ramses-mcr to verify the robustness of the particular numerical implementation of this method. The distortion of the CR distribution function in the non-relativistic and relativistic due to radiative losses by respectively Coulomb and hadronic losses is correctly captured, with consistent re-channeling of theses losses in the thermal pool (Section 3.1.1 ). We tested the injection of fresh CRs and the evolution of the distribution towards steady state with radiative losses counter-balancing the injection, and the analytical expectation is correctly reproduced (Section 3.1.2 ). We tested the impact of the time integration scheme using an adiabatic compression test, which shows improved results for the semi-implicit scheme, with errors of only a few percent (Section 3.1.3 ). We simulated the one-dimensional spatial diffusion of CRs with a momentum-dependent scaling law, and we accurately capture the deformation of the CR distribution function with inner slopes correctly connecting with its global slope (Section 3.1.4 ), which is extended to verifying the correct behavior of the multi-group anisotropic diffusion within a multi-dimensional setup (Section 3.1.5 ). We simulated a shock tube validating the effect of CR streaming with the multi-group approach for spectral CRs (Section 3.1.6 ). We have shown that ramses-mcr accurately reproduces the theoretical CR steady state spectra under radiative cooling and injection and correctly captures multi-group momentum diffusion. The method is numerically stable, as verified by tests of the time integration scheme in the case of adiabatic compression, which show only small errors for the semi-implicit scheme. For the one-dimensional Sod shock tube test without streaming, our results are consistent with those obtained using the “grey” (mono-group) method of R25 . Finally we used ramses-mcr to perform a CRMHD simulation of a SNR and we explored different diffusion coefficient normalizations ( 3\times 10^{25} and 3\times 10^{26}\,\rm cm^{2}\,s^{-1} ) and magnetic field strengths ( 0.025 and 5\,\mu\rm G ). In agreement with previous studies ( Diesing & Caprioli 2018 ; Rodríguez Montero et al. 2022 ) , we find the emergence of an additional CR pressure–driven snowplough phase, during which the SNR momentum continues to increase. Overall, ramses-mcr provides a robust tool for studying CR feedback using a more accurate treatment of CR physics. Future applications of this method will include the study of SNRs dynamics with spatially varying CR diffusion coefficients and their associated non-thermal emission, and the impact of CRs on wind formation and regulation of the cold gas in galaxies. Appendix A The two-moment method limited by the reduced speed of light Figure 11: Shock tube test dominated by advection and streaming with imposed constant Alfvén velocity of 0.75 (black lines) showing the result at t=2 for the lab-frame formulation (left panels) and the comoving fluid-frame formulation adopted in this work (right panels) using different values of the reduced speed of light \tilde{c}=100 (solid), \tilde{c}=1 (dashed), and \tilde{c}=0.01 (dot-dashed). For comparison, we show the result of the simulation that does not include streaming (red lines). The two-moment formalism limits the propagation of CRs to the speed of light c . In practical applications, a reduced value of the speed of light (denoted \tilde{c} in the equations above) is adopted. This value must remain sufficiently large compared to any other characteristic wave speed in the system (e.g. Alfvén velocity, diffusion velocity) so that the limit \tilde{c}\rightarrow c is well approximated. However, in complex systems this condition is not always satisfied, for instance due to the evolution of the Alfvén velocity or the use of a variable diffusion coefficient. The lab-frame and comoving fluid-frame formulations differ in an important way: in the lab-frame, the advection of the CR flux by the gas is also limited by \tilde{c} , whereas this is not the case in the fluid-frame formulation. It is therefore necessary to test the behavior of the two-moment method in regimes where CR transport is effectively limited by \tilde{c} (i.e. far from flux steady state). In addition, the spectral method requires isolating the contribution of the -P_{\rm c}\boldsymbol{\nabla}.\boldsymbol{u} term at each spectral step to ensure conservation of the slope of the distribution function during adiabatic transformations. This is only possible within the comoving fluid-frame formulation of the two-moment equations. For clarity, the fluid-frame formulation tested here for a grey spectrum (one bin) is: \displaystyle\frac{\partial e_{{\rm c}}}{\partial t}+\boldsymbol{\nabla}.(\boldsymbol{u}e_{{\rm c}})+\boldsymbol{\nabla}.\boldsymbol{F}^{e}_{{\rm c}}=-P_{{\rm c}}\boldsymbol{\nabla}.\boldsymbol{u}-\boldsymbol{u}_{{\rm s}}.\sigma^{e}\boldsymbol{F}^{e}_{{\rm c}}\,, (42) \displaystyle\frac{1}{\tilde{c}^{2}}\frac{\partial\boldsymbol{F}^{e}_{{\rm c}}}{\partial t}+\boldsymbol{\nabla}\left(\frac{e_{{\rm c}}}{3}\right)=-\sigma^{e}\boldsymbol{F}^{e}_{{\rm c}}\,, (43) while the lab-frame formulation (as in R25 ) is: \displaystyle\frac{\partial e_{{\rm c}}}{\partial t}+\boldsymbol{\nabla}.\boldsymbol{F}^{e}_{{\rm c,lab}}=\boldsymbol{u}.\boldsymbol{\nabla}P_{{\rm c}}-\boldsymbol{u}_{{\rm s}}.\sigma^{e}(\boldsymbol{F}^{e}_{{\rm c,lab}}-\boldsymbol{u}(e_{\rm c}+P_{\rm c}))\,, (44) \displaystyle\frac{1}{\tilde{c}^{2}}\frac{\partial\boldsymbol{F}^{e}_{{\rm c,lab}}}{\partial t}+\boldsymbol{\nabla}\left(\frac{e_{{\rm c}}}{3}\right)=-\sigma^{e}(\boldsymbol{F}^{e}_{{\rm c,lab}}-\boldsymbol{u}(e_{\rm c}+P_{\rm c}))\,. (45) We set up a shock-tube test similar to the test in Thomas et al. 2021 . All hydrodynamical quantities in a box of size 10 are initialized to uniform values \rho=1 , u=0 , P=1 , B=10^{-5} , and F^{e}_{\rm c,lab}=F^{e}_{\rm c}=0 , except for the CR pressure, which is set to P_{\rm c}=1 on the left-hand side and P_{\rm c}=1/3 on the right-hand side. The adiabatic index of the gas is \gamma=5/3 , and that of the CRs is \gamma_{\rm c}=4/3 . We adopt a constant Alfvén velocity of u_{\rm A}=0.75 for streaming, and a small diffusion coefficient \kappa=1/300 . The simulation is run with a constant resolution of 512 cells. In Fig. 11 we show the simulation results for the gas density, velocity, CR pressure, and CR flux for different reduced speeds of light, \tilde{c}=0.01 , 1 , and 100 , in both the lab-frame and comoving fluid-frame formulations. For comparison, we also show a simulation without streaming at \tilde{c}=100 , whose solution at t=2 corresponds to a shock wave propagating to the right, a rarefaction wave to the left, and a central contact discontinuity. With streaming and \tilde{c}=100 (our reference solution), the flux reaches steady state and both the lab-frame and fluid-frame formulations give the same result. The solution qualitatively resembles that without streaming: a left/right-most rarefaction/shock wave propagating at a speed reduced/increased by the streaming velocity. Around the central contact-like discontinuity, streaming transfers CR energy efficiently into the thermal reservoir due to the sharp CR pressure gradient. Because of the different adiabatic indices of the CR and thermal components, the gas develops a stronger pressure gradient from streaming losses, leading to the central depletion. For an intermediate value \tilde{c}=1 , the solution is strongly modified since \tilde{c} is comparable to the Alfvén velocity ( u_{\rm A}=0.75 ) and to the shock velocity ( \simeq 1.5 ). The lab- and fluid-frame solutions at this \tilde{c} still show qualitatively similar structures, but with noticeable differences in shock positions and discontinuities. For the extremely small value \tilde{c}=0.01 , much lower than all characteristic wave speeds, the two formulations diverge completely despite having identical non-evolving fluxes. In the lab-frame formulation, the solution at t=2 remains essentially unchanged from the initial conditions, since the low \tilde{c} suppresses both streaming and advection of CRs by the gas, and thus suppresses the gas motion itself (which would otherwise be driven by the initial CR pressure jump). In contrast, the fluid-frame formulation still captures the gas dynamics, since the convective terms are absent from the flux by construction. The resulting solution at t=2 is therefore close to that without streaming (and \tilde{c}=100 , in red), apart from missing a slight smearing of the central contact discontinuity at x=5 caused by diffusion. This smearing disappears in the \tilde{c}=0.01 case because the effective diffusion velocity at the grid scale is u_{\rm D}=\kappa/\Delta x\simeq 0.17>\tilde{c} . Appendix B Cosmic ray equations with appropriate limits The equations for CR transport are rewritten here in full: \displaystyle\frac{\partial n_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.(\boldsymbol{u}n_{{\rm c},i})+\boldsymbol{\nabla}.(F^{n}_{{\rm c},i}\boldsymbol{b})=\left[4\pi p^{2}L(p)f_{0}\right]_{p_{i-1/2}}^{p_{i+1/2}}+j^{n}_{0,i}\,, \displaystyle\frac{1}{\tilde{c}^{2}}\frac{\partial F^{n}_{{\rm c},i}}{\partial t}+\boldsymbol{b}.\boldsymbol{\nabla}\left(\frac{n_{{\rm c},i}}{3}\right)=-\frac{1}{3\kappa^{n}_{{\rm c},i}}\left[F^{n}_{{\rm c},i}-\frac{q_{i}}{3}\bar{u}_{\rm A}n_{{\rm c},i}\right]\,, \displaystyle\frac{\partial e_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.(\boldsymbol{u}e_{{\rm c},i})+\boldsymbol{\nabla}.(F^{e}_{{\rm c},i}\boldsymbol{b})=\left[4\pi p^{2}L(p)T(p)f_{0}(p)\right]_{p_{i-1/2}}^{p_{i+1/2}} \displaystyle+\mathcal{L}_{\rm r}-P_{{\rm c},i}\boldsymbol{\nabla}.\boldsymbol{u}-\frac{(\gamma_{{\rm c},i}-1)\bar{u}_{\rm A}}{3\kappa^{e}_{{\rm c},i}}\left[F^{e}_{{\rm c},i}-\frac{q_{i}}{3}\bar{u}_{\rm A}e_{{\rm c},i}\right]+j^{e}_{0,i}\,, \displaystyle\frac{1}{v^{2}}\frac{\partial F^{e}_{{\rm c},i}}{\partial t}+\boldsymbol{b}.\boldsymbol{\nabla}\left(\frac{e_{{\rm c},i}}{3}\right)=-\frac{1}{3\kappa^{e}_{{\rm c},i}}\left[F^{e}_{{\rm c},i}-\frac{q_{i}}{3}\bar{u}_{\rm A}e_{{\rm c},i}\right]\,, where \mathcal{L}_{\rm r} are the spectrally integrated radiative losses. An important limit is when the flux is in local steady state, leading to the following form of the equations on n_{{\rm c},i} and e_{{\rm c},i} : \displaystyle\frac{\partial n_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.\left(\left(\boldsymbol{u}+\frac{q_{i}}{3}\bar{u}_{\rm A}\right)n_{{\rm c},i}\right)=-\boldsymbol{\nabla}.(-\kappa^{n}_{{\rm c},i}\boldsymbol{b}\boldsymbol{b}.\boldsymbol{\nabla}n_{{\rm c},i})+j^{n}_{0,i} \displaystyle+\left[4\pi p^{2}L(p)f_{0}(p)\right]_{p_{i-1/2}}^{p_{i+1/2}}\,, \displaystyle\frac{\partial e_{{\rm c},i}}{\partial t}+\boldsymbol{\nabla}.\left(\left(\boldsymbol{u}+\frac{q_{i}}{3}\bar{u}_{\rm A}\right)e_{{\rm c},i}\right)=-\boldsymbol{\nabla}.(-\kappa^{e}_{{\rm c},i}\boldsymbol{b}\boldsymbol{b}.\boldsymbol{\nabla}e_{{\rm c},i})+j^{e}_{0,i} \displaystyle+\mathcal{L}_{\rm r}-P_{{\rm c},i}\boldsymbol{\nabla}.\boldsymbol{u}+\bar{u}_{\rm A}.\boldsymbol{\nabla}P_{{\rm c},i}+\left[4\pi p^{2}L(p)T(p)f_{0}(p)\right]_{p_{i-1/2}}^{p_{i+1/2}}\,. The grey 1-moment limit is obtained by closing the p -bin boundaries with p_{i-1/2}\rightarrow 0 and p_{i+1/2}\rightarrow\infty (i.e. [...]_{p_{i-1/2}}^{p_{i+1/2}}=0 ). In addition, assuming q_{i}=4 (which leads to dropping the equation on n_{{\rm c}} ), this reduces to a single equation on energy: \displaystyle\frac{\partial e_{{\rm c}}}{\partial t}+\boldsymbol{\nabla}.\left(\left(\boldsymbol{u}+\frac{4}{3}\bar{u}_{\rm A}\right)e_{{\rm c}}\right)=-\boldsymbol{\nabla}.(-\kappa^{e}_{{\rm c}}\boldsymbol{b}\boldsymbol{b}.\boldsymbol{\nabla}e_{{\rm c}})+j^{e}_{0} \displaystyle+\mathcal{L}_{\rm r}-P_{\rm c}\boldsymbol{\nabla}.\boldsymbol{u}+\bar{u}_{\rm A}.\boldsymbol{\nabla}P_{\rm c}\,. Appendix C Synchrotron losses for cosmic ray electrons We present here the result of ramses-mcr applied to CR electrons. When we consider CR electrons, the radiative loss term contains synchrotron losses and inverse-Compton scattering (IC) L_{\rm r}=L_{\rm r,s}+L_{\rm r,IC} . These two processes scale with p^{2} , therefore because the scaling is the same, we neglect the IC scattering for this test ( L_{\rm r,IC}=0 ), and only use synchrotron losses, which loss rate is: L_{\rm r,s}=\frac{4}{3}\frac{\sigma_{\rm T}}{m_{\rm e}^{2}c^{2}}\frac{B^{2}}{8\pi}p^{2}=\beta p^{2}\,, (46) where \sigma_{\rm T} is the Thomson cross-section and m_{\rm e} is the mass of the electron. We also change the rest-mass of the CR particle to that of electrons, which for this particular range of energies ( 10\,\rm GeV/c to 100\,\rm TeV/c ) capture electrons in their ultra-relativistic regime. Figure 12: CR electron spectrum evolution cooled by synchrotron losses, with N_{\rm c}=100 and a magnetic field strength B=5\,\mu\rm G . The first panel uses an initial function distribution f\propto p^{-3} and the second panel f\propto p^{-6} . In both panels, the black dashed line indicates the analytic solution at the final time. We obtain a good agreement with the analytic solution for the two spectral shape. The analytical solution is that of Appendix D.3 . This solution indicates a difference in spectral shape for spectra with an initial slope of q<4 and q>4 and the existence of a cutoff at p_{\rm th}=1/(\beta t) . Figure 12 shows the result of this test of cooling for CR electrons for two different initial slopes, both assuming a magnetic field strength of B=5\,\rm\mu G . We find a cooled spectrum in good agreement with the analytic prediction. The difference appearing after the cutoff is due to the interpolation of the slope in our solver reaching the maximum of the tabulated values of q_{\rm max}=10 : using larger values of q_{\rm max} would lead to a sharper drop of the distribution function after p_{\rm th} . Appendix D Analytical solutions for the distribution function We derive here analytical solutions for the distribution function as a function of momentum p at time t , i.e. f(p,t) , considering Coulomb and (also ionization) losses, adiabatic changes (also hadronic or streaming), and synchrotron (also inverse Compton) radiation. We assume an initial power-law distribution of the form f(p,t=0)=f_{\rm ini}(p)=f_{0}\left(\frac{p}{p_{0}}\right)^{-q}\,. (47) The momentum loss term can be written as: \displaystyle\frac{\partial f}{\partial t}=-p^{-2}\frac{\partial}{\partial p}\left(p^{2}\frac{{\rm d}p}{{\rm d}t}\right)f-\frac{{\rm d}p}{{\rm d}t}\frac{\partial f}{\partial p}\,. (48) This shows that the evolution of f along the characteristic curves p(t) is governed by: \frac{{\rm d}f}{{\rm d}t}=-p^{-2}\frac{\partial}{\partial p}\left(p^{2}\frac{{\rm d}p}{{\rm d}t}\right)f\,. (49) For a momentum loss rate of the generic power-law form {\rm d}p/{\rm d}t=-\beta p^{\alpha} (with \beta>0 corresponding to losses), this reduces to \frac{{\rm d}f}{{\rm d}t}=\beta(2+\alpha)p^{\alpha-1}f. (50) D.1 Coulomb losses For Coulomb or ionization losses, \alpha=-2 , and therefore {\rm d}f/{\rm d}t=0 . The distribution function is thus conserved along the characteristic curves p(t) . The solution for the momentum evolution is p^{3}=p_{\rm ini}^{3}-3\beta t\,. (51) Since f(p,t)=f_{\rm ini}(p_{\rm ini}) , we obtain f(p,t)=f_{0}\left(\frac{p}{p_{0}}\right)^{-q}\left(1+\frac{p_{\rm cut}^{3}}{p^{3}}\right)^{-q/3}\,, (52) where p_{\rm cut}=(3\beta t)^{1/3} . For p\gg p_{\rm cut} , the solution is identical to the initial distribution. In the opposite limit p\ll p_{\rm cut} , the distribution tends to f_{0}(p_{\rm cut}/p_{0})^{-q} and thus becomes independent of p . D.2 Adiabatic changes, and hadronic and streaming losses For adiabatic changes (the following also applies to hadronic and streaming losses), the momentum loss rate is linear in p , corresponding to \alpha=1 . The momentum evolution is then given by: p=p_{\rm ini}\exp(-\beta t)\,. (53) The corresponding evolution of the distribution function is f(p,t)=f_{\rm ini}(p_{\rm ini})\exp(3\beta t) , which yields to: f(p,t)=f_{0}\left(\frac{p}{p_{0}}\right)^{-q}\exp\bigl((3-q)\beta t\bigr)\,. (54) Therefore, under a linear momentum loss (or gain) rate, the shape of the distribution function remains identical to the initial power law, with a simple exponential rescaling of its normalization. For a given value of p , the distribution function decreases for losses ( \beta>0 ) if q>3 and increases if q<3 , and vice versa for gains ( \beta<0 ). D.3 Synchrotron losses For synchrotron and inverse Compton losses of CR electrons, the momentum loss rate is quadratic in p , corresponding to \alpha=2 . The momentum evolution is then: p=\frac{p_{\rm ini}}{1+\beta p_{\rm ini}t}\,. (55) The corresponding evolution of the distribution function is f(p,t)=f_{\rm ini}(p_{\rm ini})(1+\beta p_{\rm ini}t)^{4} , which leads to: f(p,t)=f_{0}\left(\frac{p}{p_{0}}\right)^{-q}\left(1-\frac{p}{p_{\rm th}}\right)^{q-4}, (56) valid for p4 , the distribution function decreases for p3 , and increases for q<3 , while conserving the particle number along characteristics in momentum space. Finally the bottom panel of Fig. 13 shows the evolution for q_{\rm ini}=-2 , where the final solution increases everywhere, i.e. including the sub-relativistic regime, as expected for Coulomb losses when q<0 . Appendix F Cosmic ray shock tube with various distribution functions In this appendix, we present additional shock-tube tests with CR streaming that explore the sensitivity of the solution to the slope of the CR distribution function and the extent of the momentum domain. These tests are intended to assess the robustness of the spectral formulation and to clarify differences with the grey CR approach, rather than to provide direct one-to-one comparisons. We performed a test with a different initial slope q_{\rm ini}=4.5 instead of the default value of 4 in Sec. 3.1.6 , which modifies the effective streaming speed. In this case, shown in left panels of Fig. 14 , the CR pressure becomes dominated by the lowest momentum bins. The solution with q=4.5 but still with CRs covering the same ultra-relativistic regime show a little bit more depletion in gas density due to larger heating of the gas by streaming. Even though the losses do not depend directly on q (they are proportional to \bar{u}_{\rm A}.\boldsymbol{\nabla}P_{\rm c} in flux steady-state), the structure of the shock is modified as CRs move slower or faster by the modified drift speed of CRs, which is directly proportional to q . In a second test (right panels in Fig. 14 ), we shift the sampled CR momentum range to 0.01,{\rm GeV}/c – 100,{\rm GeV}/c in order to include both the sub- and ultra-relativistic regimes. In this setup, the CR adiabatic index is no longer uniform across momentum and varies between \gamma_{\rm c}=5/3 in the sub-relativistic limit and \gamma_{\rm c}=4/3 in the ultra-relativistic limit. Because a significant fraction of the CR energy density now resides in the sub-relativistic regime, where the adiabatic index is larger than \gamma_{\rm c}>4/3 , the dynamical impact of energy transfer from CRs to the gas through streaming losses is reduced. Indeed, the enhanced gas response observed in the ultra-relativistic case relies on the contrast between the CR and gas adiabatic indices ( \gamma_{\rm c}\neq\gamma ). When \gamma_{\rm c} approaches \gamma , the differential pressure response weakens, leading to a smaller effective pressure enhancement and therefore a much less pronounced density depletion at the center. As a result, the shock structure is qualitatively closer to that obtained in the simulation without CR losses. Only a modest gas density deficit remains at the center, with a \sim 10\% variation in velocity across this region (instead of a factor of three difference in the purely ultra-relativistic case). We also observe that the density and velocity jumps are larger than in the purely ultra-relativistic regime (with or without streaming). This behaviour is consistent with the larger effective equation of state of the CR population and follows from the Rankine–Hugoniot jump conditions. These additional tests confirm the robustness of ramses-mcr and highlight intrinsic differences that cannot be captured by a grey approximation. Figure 14: Shock tube test as in the right panel of Fig. 7 (i.e. that includes streaming) except that we have modified the initial distribution function. The left panel shows the solution with q_{\rm ini}=4.5 (instead of q_{\rm ini}=4 ) and the right panel shows the solution with q_{\rm ini}=4.5 and with the p bins covering 0.01\,{\rm GeV}/c - 100\,{\rm GeV}/c (instead of 100\,{\rm GeV}/c - 100\,{\rm TeV}/c ). Appendix G Supernova remnant with isotropic diffusion To illustrate the versatility of ramses-mcr , we performed a SNR simulation with isotropic diffusion (SNRiso), using the same parameters as SNRD26 but assuming \kappa_{0}=10^{26}\,\rm cm^{2}\,s^{-1} . Figure 15 presents maps of the CR energy distribution from this simulation at t=200\,\rm kyr . The different panels display the CR energy density for each of the N_{\rm c}=5 momentum bins, with the last panel showing the total CR energy density. Iso-energy contours highlighting the difference between isotropic and anisotropic diffusion are overplotted in the figure. As in the anisotropic diffusion case, most of the CR energy density is concentrated within the bubble and near the shell, and is primarily due to the CRs with momenta 1 and 10\,\rm GeV/c . Compared to Fig. 8 , CRs are not shaped by the magnetic field but instead diffuse spherically from the center, with higher-momentum CRs diffusing more rapidly, eventually blending into the background. Figure 15: Three-dimensional SN explosion similar to Fig. 8 , but in the case of isotropic diffusion (SNRiso; see Table 1 ). For comparison, iso-energy contours from the isotropic run are shown in white, while those from the anisotropic case are shown in purple.