This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

One line to run them all: SuperEasy massive neutrino linear response in NN-body simulations

Joe Zhiyu Chen    Amol Upadhye    Yvonne Y. Y. Wong
Abstract

We present in this work a novel and yet extremely simple method for incorporating the effects of massive neutrinos in cosmological NN-body simulations. This so-called “SuperEasy linear response” approach is based upon analytical solutions to the collisionless Boltzmann equation in the clustering and free-streaming limits, which are then connected by a rational function interpolation function with cosmology-dependent coefficients given by simple algebraic expressions of the cosmological model parameters. The outcome is a one-line modification to the gravitational potential that requires only the cold matter density contrast as a real-time input, and that can be incorporated into any NN-body code with a Particle–Mesh component with no additional implementation cost. To demonstrate its power, we implement the SuperEasy method in the publicly available Gadget-2 code, and show that for neutrino mass sums not exceeding mν1\sum m_{\nu}\simeq 1 eV, the total matter and cold matter power spectra are in sub-1% and sub-0.1% agreement with those from state-of-the-art linear response simulations in literature. Aside from its minimal implementation cost, compared with existing massive neutrino simulation methods, the SuperEasy approach has better memory efficiency, incurs no runtime overhead relative to a standard Λ\LambdaCDM simulation, and requires no post-processing. The minimal nature of the method allows limited computational resources to be diverted to modelling other physical effects of interest, e.g., baryonic physics via hydrodynamics.

CPPC-2020-07

1 Introduction

The absolute neutrino mass scale and mass hierarchy rank amongst the most actively researched topics today [1]. Flavour oscillation experiments using a variety of natural and man-made sources have pinned down the squared mass differences between generations [2, 3, 4]. Endpoint spectrum measurements [5, 6, 7] meanwhile are progressively pushing the maximum allowed effective electron neutrino mass to sub-eV levels. Precision cosmology in the last decade has also proven itself to be an invaluable laboratory for neutrino physics [8, 9]: Current observations of the cosmic microwave background (CMB) anisotropies and the large-scale structure already constrain the neutrino sum to Σmν𝒪(0.5)eV\Sigma m_{\nu}\lesssim{\cal O}(0.5)\,\text{eV}, depending on model assumptions [10, 11]; the next generation of surveys [12, 13, 14] has the potential to improve this limit by tenfold [15]. Enabling this advancement therefore forms the wider goal of this work.

In the cosmological context, nonzero neutrino masses have two main effects on the large-scale structure distribution. Firstly, while sub-eV mass neutrinos are nonrelativistic today and count towards the present-day mean total matter density ρ¯m,0\bar{\rho}_{\rm m,0}, at early times they are ultrarelativistic and behave like radiation. Thus, relative to the massless case, a massive neutrino cosmology will, for the same ρ¯m,0\bar{\rho}_{\rm m,0}, generally suffer a delayed transition from radiation to matter domination. This in turn delays the onset of perturbation growth, leading ultimately to a suppression of power in the present-day large-scale matter power spectrum on those (small) scales that entered the horizon during radiation domination.

The second effect of neutrino masses on structure formation stems from the neutrinos’ free-streaming behaviour. Even after they have become nonrelativistic at late times, a large thermal velocity that scales inversely with the particle mass enables cosmological neutrinos to avoid being gravitationally captured on small length scales in an efficient manner. This inefficiency adds to the small-scale power suppression in the large-scale matter power spectrum discussed above, and is commonly understood to be the main cause of late-time scale-dependent growth in massive neutrino cosmologies.

From a theoretical and computational perspective, the effects of neutrino masses on cosmology are well understood within the framework of relativistic linear perturbation theory [16], and publicly available linear cosmological Boltzmann codes such as camb [17] or class [18] are able to predict their small-scale signature in the linear matter power spectrum to sub-precent precision in a matter of seconds. However, as the matter density contrasts grow to exceed unity, nonlinear dynamics kick in progressively from small to large scales. The challenge for us, therefore, is to quantify these same small-scale effects under nonlinear evolution, through which to compute the nonlinear matter power spectrum (and other observables) in massive neutrino cosmologies to the same sub-percent accuracy as its linear counterpart and in as efficient a manner as possible.

The study of nonlinear cosmic structure formation traditionally belongs in the realm of numerical NN-body simulations. Such simulations are however computationally expensive, a problem that is exacerbated by the addition of massive neutrinos, because of the difficulty in modelling their large thermal velocity. On the one hand, if treated as a fluid on a grid [19], the Courant condition limits the fluid elements to not traverse more than a single grid cell per time step; at high redshifts, this slows down the simulation considerably as highly relativistic neutrinos require extremely fine time stepping. On the other hand, modelling neutrinos as a collection of simulation particles [20, 21, 22, 23, 24] presents a different set of numerical challenges: to adequately sample the neutrino phase space distribution requires at minimum as many particles as the cold matter species, lest a large velocity dispersion coupled with mild clustering eventuate in a poor signal-to-noise ratio [25, 26].

To circumvent these issues, one efficient approach has emerged in the past decade that combines a perturbative neutrino component with a full NN-body realisation for the cold matter [27]. The rationale for this type of split modelling follows from the observation that fast-moving neutrinos cannot cluster strongly, so that their spatial density contrast should remain in a regime amenable to perturbative treatments. Existing implementations of such a split approach generally employ an Eulerian perturbation theory to track neutrino density perturbations on the mesh of a Particle–Mesh (PM) gravity solver, thereby allowing neutrinos to contribute to the gravitational potentials despite not being represented as particles in the simulation volume [27, 28, 29, 30, 31].

Explorations of this class of split simulations have so far been limited to linearised neutrino equations of motion, and we further distinguish two variants:

  1. 1.

    Linear neutrino perturbations [27, 31], obtained from solving a completely linearised system, including linearised equations of motion for the cold matter; in practice this can be achieved either by running camb or class concurrently with the simulation, or by pre-computing the linear neutrino perturbations at the required simulation time steps; and

  2. 2.

    Linear response [29, 30], where the linearised neutrino equations may respond to an external potential sourced by nonlinear cold matter clustering as determined by the NN-body component of the simulation.

For small enough neutrino masses (mν0.5m_{\nu}\lesssim 0.5 eV), both variants are able to reproduce neutrino free-streaming effects on the cold matter power spectrum to sub-percent agreement with a full NN-body simulation [29]. Neither has been designed to yield the correct neutrino densities — certainly not the linear neutrino perturbation variant — although analyses of spherical systems [32] suggest that linear response estimates may come within a factor of a few of the true expectations even on cluster and galactic scales.111There exists also a class of simulations that relies on post-processing to remap a cold matter-only simulation to describe a massive neutrino cosmology [33, 28]. The post-processing typically involves rescaling some aspects of the original simulation by quantities determined from linear perturbation theory (e.g., linear growth factor ratios of the original and the target cosmologies). As with simulations that use linear neutrino perturbations [27, 31], this class of simulations is inherently unable to predict the neutrino perturbations under nonlinear dynamics.

The present work is part of a set of two papers in which we explore further the linear response approach. In paper 1 (this work), we take as a starting point the same perturbation theory as [29], and proceed to streamline it into the titular “SuperEasy” method. In the companion paper 2 [34], we explore a “semi-Lagrangian”, multi-fluid implementation of linear response that dovetails with the so-called hybrid schemes, wherein neutrinos are converted from Eulerian perturbations sitting on the mesh points to a particle representation once their velocities drop to suitably low and tractable values [35, 30].

Specifically, the SuperEasy linear response method builds upon closed-form solutions for the neutrino density contrast’s response to a given cold matter perturbation in the clustering and free-streaming limits [32]. With these limiting solutions in hand, a simple rational function-interpolated response function in terms of the neutrino free-streaming scale emerges for the total matter density contrast across the scales of interest, allowing any cold matter spatial density contrast to be instantaneously mapped to its total matter counterpart. Then, accounting for the effects of neutrino masses in a PM NN-body simulation becomes as simple as a one-line modification to the Poisson equation on the PM-grid to incorporate the said interpolated response function.

In terms of computational costs, the SuperEasy linear response method is as cheap as it gets. It incurs no runtime overhead compared with a standard Λ\LambdaCDM simulation, and, relative to other methods of comparative runtime performance (e.g., [28]), the SuperEasy method requires no post-processing, and has the added benefit of being able to predict the nonlinear neutrino density contrast to some degree of accuracy. The SuperEasy method is also easily generalisable to handle multiple non-degenerate neutrino masses, again at minimal implementation and practically no additional computational costs. The slim footprint of the method allows limited computational resources to be diverted to achieving higher resolutions in the cold matter sector, or, when the inclusion of baryonic physics necessitates it, to the implementation of hydrodynamics.

The paper is organised as follows. We review in section 2 the collisionless Boltzmann equation for nonrelativistic massive neutrinos, and formally solve it in the linear, Newtonian limit to arrive at the integral linear response function used in the simulations of [29, 30]. In section 3, we further reduce this integral response function in the free-streaming and clustering limits into closed forms, and demonstrate that a simple interpolation function, which forms the basis of the SuperEasy linear response method, is able to capture the linear total matter power spectrum output of class to sub-percent accuracy. The NN-body implementation of the SuperEasy method is presented in section 4, along with results of our convergence tests in section 5. We contrast the predictions of the SuperEasy method with those of other NN-body approaches in section 6, and assess the general validity of linear response methods in section 7. Section 8 contains our conclusions. A generalisation of the SuperEasy formalism to multiple non-degenerate neutrino species can be found in appendix A.

2 Collisionless Boltzmann equation and linear response

Consider the relic neutrinos as a nonrelativistic gas of collisionless gravitating particles in an expanding background. On deeply subhorizon scales, it is convenient to use the comoving coordinates x\vec{x}, the conformal time τ\tau, and a comoving momentum defined as pamνx˙\vec{p}\equiv am_{\nu}\dot{\vec{x}}, where /τ\cdot\equiv\partial/\partial\tau, aa is the scale factor, and mνm_{\nu} is the neutrino mass. Then, the phase space density of the neutrino gas f(x,p,τ)f(\vec{x},\vec{p},\tau) can be defined via the number of particles in an infinitesimal phase space volume, dNf(x,p,τ)d3xd3p\mathrm{d}N\equiv f(\vec{x},\vec{p},\tau)\mathrm{d}^{3}x\,\mathrm{d}^{3}p, and the collisionless Boltzmann or Vlasov equation,

dfdτfτ+pamνxfamνxϕpf=0\frac{\mathrm{d}f}{\mathrm{d}\tau}\equiv\frac{\partial f}{\partial\tau}+\frac{\vec{p}}{am_{\nu}}\cdot\nabla_{\!\vec{x}}\,f-am_{\nu}\nabla_{\!\vec{x}}\,\phi\cdot\nabla_{\!\vec{p}}\,f=0 (2.1)

governs its time evolution in the presence of a Newtonian gravitational potential ϕ=ϕ(x,τ)\phi=\phi(\vec{x},\tau).

The gravitational potential ϕ\phi is itself determined by the spatial fluctuations of matter density via the Poisson equation,

x2ϕ(x,τ)=\displaystyle\nabla^{2}_{\vec{x}}\,\phi(\vec{x},\tau)=  4πGa2(τ)ρ¯m(τ)δm(x,τ)\displaystyle\,4\pi G\,a^{2}(\tau)\,\bar{\rho}_{\rm m}(\tau)\delta_{\rm m}(\vec{x},\tau) (2.2)
=\displaystyle= 322(τ)Ωm(τ)δm(x,τ).\displaystyle\,\frac{3}{2}{\cal H}^{2}(\tau)\,\Omega_{\rm m}(\tau)\,\delta_{\rm m}(\vec{x},\tau).

Here, ρ¯m=ρ¯cb+ρ¯ν\bar{\rho}_{\rm m}=\bar{\rho}_{\rm cb}+\bar{\rho}_{\nu} is the mean total matter density which we take to consist of a combined cold matter (cold dark matter and baryons; “cb”) and a neutrino (“ν\nu” ) component, (1/a)(da/dτ){\cal H}\equiv(1/a)({\rm d}a/{\rm d}\tau) is the conformal Hubble expansion rate, Ωm(τ)ρ¯m(τ)/ρcrit(τ)\Omega_{\rm m}(\tau)\equiv\bar{\rho}_{\rm m}(\tau)/\rho_{\rm crit}(\tau) the time-dependent reduced matter density, and

δm=fcbδcb+fνδν\delta_{\rm m}=f_{\rm cb}\delta_{\rm cb}+f_{\nu}\delta_{\nu} (2.3)

is the total matter density contrast, in which the individual cb and ν\nu density contrasts are weighted by fcbρ¯cb/ρ¯mf_{\rm cb}\equiv\bar{\rho}_{\rm cb}/\bar{\rho}_{\rm m} and fνρ¯ν/ρ¯mf_{\nu}\equiv\bar{\rho}_{\nu}/\bar{\rho}_{\rm m} respectively. The neutrino density contrast δν\delta_{\nu} can be constructed from the phase space density f(x,p,τ)f(\vec{x},\vec{p},\tau) via

δν(x,τ)ρν(x,τ)ρ¯ν(τ)ρ¯ν(τ)=d3pf(x,p,τ)f¯(p)d3pf¯(p),\delta_{\nu}(\vec{x},\tau)\equiv\frac{\rho_{\nu}(\vec{x},\tau)-\bar{\rho}_{\nu}(\tau)}{\bar{\rho}_{\nu}(\tau)}=\frac{\int{\rm d}^{3}p\,f(\vec{x},\vec{p},\tau)-\bar{f}(p)}{\int{\rm d}^{3}p\,\bar{f}(p)}, (2.4)

where f¯(p)\bar{f}(p) is the phase space density of the homogeneous background given, for neutrinos, by the relativistic Fermi–Dirac distribution, f¯(p)=[1+exp(p/Tν,0)]1\bar{f}(p)=[1+\exp(p/T_{\nu,0})]^{-1}, with present-day temperature Tν,0T_{\nu,0}. For the purpose of laying down the linear response framework in sections 2 and 3, the cold matter density contrast δcbρcb(x,τ)/ρ¯cb(τ)1\delta_{\rm cb}\equiv\rho_{\rm cb}(\vec{x},\tau)/\bar{\rho}_{\rm cb}(\tau)-1 can be treated as a given external function.

2.1 Integral linear response

To obtain a formal solution to this Poisson–Boltzmann system (2.1)–(2.2), we follow the prescription of [36] and Fourier-transform equation (2.1) according to A(k)=[A(x)]A(x)eikxd3xA(\vec{k})={\cal F}[A(\vec{x})]\equiv\int_{-\infty}^{\infty}A(\vec{x})\,e^{-i\vec{k}\cdot\vec{x}}\,\mathrm{d}^{3}x. Rewriting the transformed equation in terms of a superconformal time variable defined as sa1dτs\equiv\int a^{-1}\mathrm{d}\tau, we find

fs+ikpmνfimνa2(kϕpf)=0,\frac{\partial{f}}{\partial s}+\frac{i\,\vec{k}\cdot\vec{p}}{m_{\nu}}{f}-im_{\nu}a^{2}(\vec{k}\,{\phi}\ast\nabla_{\!\vec{p}}\,{f})=0\,, (2.5)

where A(k)B(k)d3kA(k)B(kk)A(\vec{k})*B(\vec{k})\equiv\int{\rm d}^{3}k^{\prime}\,A(\vec{k}^{\prime})B(\vec{k}-\vec{k}^{\prime}) denotes a convolution product. Observe that the convolution term is also the only instance of k\vec{k}-mode coupling in equation (2.5). Therefore, we simplify it first by linearisation, i.e.,

kϕpf\displaystyle\vec{k}\,{\phi}\ast\nabla_{\!\vec{p}}\,{f}\simeq kϕp(f¯(p)δD(3)(k))\displaystyle\,\vec{k}\,{\phi}\ast\nabla_{\!\vec{p}}\left(\bar{f}(p)\,\delta_{D}^{(3)}(\vec{k})\right) (2.6)
=\displaystyle= kϕpf¯(p),\displaystyle\,\vec{k}\,{\phi}\cdot\nabla_{\!\vec{p}}\,\bar{f}(p)\,,

where δD(3)(k)\delta^{(3)}_{D}(\vec{k}) denotes a 3-dimensional Dirac delta distribution in kk-space, Physically, the linearisation scheme (2.6) corresponds to assuming that gravitational clustering does not significantly distort the neutrino phase space density from its homogeneous expectation,

|p(ff¯)||pf¯|,|\nabla_{\!\vec{p}}\,(f-\bar{f})|\ll|\nabla_{\!\vec{p}}\,\bar{f}|, (2.7)

an assumption that should hold as long as the neutrino density contrast remains well below unity. We shall revisit this issue of linearisation in section 7.

Upon linearisation, the Fourier-space Boltzmann equation (2.5) now reduces to a first-order inhomogeneous differential equation of the form

fs+ikpmνfimνa2(kϕpf¯)=0.\frac{\partial{f}}{\partial s}+\frac{i\vec{k}\cdot\vec{p}}{m_{\nu}}{f}-im_{\nu}a^{2}(\vec{k}\,{\phi}\cdot\nabla_{\!\vec{p}}\,\bar{f})=0\,. (2.8)

Treating ϕ(k,s){\phi}(\vec{k},s) as an external potential, equation (2.8) is formally solved by [36]

f(k,p,s)=\displaystyle{f}(\vec{k},\vec{p},s)= f(k,p,si)exp(ikpmν(ssi))\displaystyle\,{f}(\vec{k},\vec{p},s_{\rm i})\,\text{exp}\!\left(-\frac{i\vec{k}\cdot\vec{p}}{m_{\nu}}(s-s_{\rm i})\right) (2.9)
+imνkpf¯sisdsa2(s)ϕ(k,s)exp(ikpmν(ss)).\displaystyle\hskip 42.67912pt+im_{\nu}\vec{k}\cdot\nabla_{\!\vec{p}}\,\bar{f}\int_{s_{\rm i}}^{s}\mathrm{d}s^{\prime}\,a^{2}(s^{\prime})\,{\phi}(\vec{k},s^{\prime})\,\text{exp}\!\left(-\frac{i\vec{k}\cdot\vec{p}}{m_{\nu}}(s-s^{\prime})\right)\,.

Physically, the solution to the homogeneous equation (i.e., the first term) corresponds to redistribution of the initial conditions at s=sis=s_{\rm i} in the neutrino sector via free-streaming. In contrast, the inhomogeneous solution (the second term) represents the neutrinos’ response to the formally external gravitational potential — hence the name “linear response”.

Then, integrating (2.9) in momentum as per equation (2.4), we find the neutrino density contrast δν(k,s){\delta}_{\nu}(\vec{k},s) at the mode k\vec{k} and time ss to be [36]

δν(k,s)k2sisdsa2(s)ϕ(k,s)(ss)F[Tν,0k(ss)mν],\displaystyle{\delta}_{\nu}(\vec{k},s)\simeq-k^{2}\int_{s_{\rm i}}^{s}\mathrm{d}s^{\prime}\,a^{2}(s^{\prime})\,\phi(\vec{k},s^{\prime})\,(s-s^{\prime})\,F\left[\frac{T_{\nu,0}k(s-s^{\prime})}{m_{\nu}}\right]\,, (2.10)

where

F(q)mνρ¯ν(s)d3pf¯(p)exp(iqp/Tν,0)\displaystyle F(q)\equiv\frac{m_{\nu}}{\bar{\rho}_{\nu}(s)}\int\mathrm{d}^{3}p\,\bar{f}(p)\,\text{exp}\left(-i\vec{q}\cdot\vec{p}/T_{\nu,0}\right) (2.11)

is effectively a Fourier transform of the homogeneous phase density f¯(p)\bar{f}(p) in the comoving momentum variable p\vec{p} to a new variable q\vec{q}. For a relativistic Fermi–Dirac distribution, F(q)F(q) evaluates to

F(q)\displaystyle F(q) =43ζ(3)n=1(1)n+1n(n2+q2)2\displaystyle=\frac{4}{3\zeta(3)}\sum_{n=1}^{\infty}(-1)^{n+1}\frac{n}{(n^{2}+q^{2})^{2}} (2.12)
=i12ζ(3)q[ψ(1)(1+iq2)ψ(1)(1iq2)+ψ(1)(iq2)ψ(1)(iq2)],\displaystyle=\frac{i}{12\zeta(3)q}\Bigg{[}\psi^{(1)}\left(\frac{1+iq}{2}\right)-\psi^{(1)}\left(\frac{1-iq}{2}\right)+\psi^{(1)}\left(-\frac{iq}{2}\right)-\psi^{(1)}\left(\frac{iq}{2}\right)\Bigg{]},

with the Riemann zeta function ζ(3)1.202\zeta(3)\simeq 1.202, and ψ(i)\psi^{(i)} is a polygamma function of order ii. Observe that in writing equation (2.10) we have also assumed the free-streaming redistribution term in equation (2.9) to integrate approximately to the homogeneous background density ρ¯ν(s)\bar{\rho}_{\nu}(s), such that the final δν(k,s){\delta}_{\nu}(\vec{k},s) depends only on its response to a formally external gravitational source.

Equation (2.10) is the starting point of all existing linear response calculations of nonrelativistic gravitational neutrino clustering in the literature. To distinguish it from the SuperEasy linear response method proposed in this work, we shall refer to it as “integral linear response” because of the remaining integral over time. Integral linear response (2.10) has been previously applied to the investigation of neutrino clustering around cosmic string loops [37], dark matter halos [38], and more recently in NN-body simulations of large-scale structure [29]. We defer to section 6.1 our discussion of the NN-body implementation of integral linear response as laid down in [29], opting to demonstrate first in the next section how equation (2.10) can be further manipulated to form the basis of our SuperEasy method.

3 SuperEasy linear response

The basis of our SuperEasy linear response method lies in the realisation that the remaining time-integral in equation (2.10) is in fact analytically soluble in the large kk (“free-streaming”) limit [32]. In the opposite small kk (“clustering”) limit, there are likewise strong physical grounds upon which to predict the evolution of δν{\delta}_{\nu}. Here, we discuss first the solutions of integral (2.10) in the large and small kk limits, before introducing in section 3.4 the centrepiece of the SuperEasy linear response method based on these limiting behaviours.

3.1 Free-streaming limit

Beginning with equation (2.10), we first split up the time-integral into δν=udv{\delta}_{\nu}=\int u\,{\rm d}v, with

u\displaystyle u\equiv k2a2(s)ϕ(k,s),\displaystyle\,-k^{2}\,a^{2}(s^{\prime})\,\phi(\vec{k},s^{\prime})\,, (3.1)
dv\displaystyle\mathrm{d}v\equiv (ss)F[Tν,0k(ss)mν]ds.\displaystyle\,(s-s^{\prime})\,F\left[\frac{T_{\nu,0}k(s-s^{\prime})}{m_{\nu}}\right]\,\mathrm{d}s^{\prime}\,.

Using F(q)F(q) from equation (2.12) for qTν,0k(ss)/mνq\equiv T_{\nu,0}k(s-s^{\prime})/m_{\nu}, the latter evaluates to

v=23ζ(3)(mνkTν,0)2n=1(1)n+1nn2+q2=23ζ(3)(mνkTν,0)2𝒢(q),\displaystyle v=\frac{2}{3\zeta(3)}\left(\frac{m_{\nu}}{kT_{\nu,0}}\right)^{2}\sum_{n=1}^{\infty}(-1)^{n+1}\frac{n}{n^{2}+q^{2}}=\frac{2}{3\zeta(3)}\left(\frac{m_{\nu}}{kT_{\nu,0}}\right)^{2}\mathscr{G}(q), (3.2)

with

𝒢(q)14[ψ(0)(1+iq2)+ψ(0)(1iq2)+ψ(0)(iq2)+ψ(0)(iq2)].\displaystyle\mathscr{G}(q)\equiv-\frac{1}{4}\Bigg{[}\psi^{(0)}\left(\frac{1+iq}{2}\right)+\psi^{(0)}\left(\frac{1-iq}{2}\right)+\psi^{(0)}\left(-\frac{iq}{2}\right)+\psi^{(0)}\left(\frac{iq}{2}\right)\Bigg{]}. (3.3)

It then follows from integration by part (i.e., δν=uvvdu{\delta}_{\nu}=uv-\int v\,{\rm d}u) that

δν(k,s)=\displaystyle{\delta}_{\nu}(\vec{k},s)= 23ζ(3)(mνTν,0)2{a2(s)ϕ(k,s)𝒢[Tν,0k(ss)mν]|sis\displaystyle\,-\frac{2}{3\zeta(3)}\left(\frac{m_{\nu}}{T_{\nu,0}}\right)^{2}\left\{a^{2}(s^{\prime})\,\phi(\vec{k},s^{\prime})\left.\mathscr{G}\left[\frac{T_{\nu,0}k(s-s^{\prime})}{m_{\nu}}\right]\right|_{s_{\rm i}}^{s}\right. (3.4)
sisdsd(a2ϕ)ds𝒢[Tν,0k(ss)mν]}\displaystyle\hskip 113.81102pt-\left.\int_{s_{\rm i}}^{s}{\rm d}s^{\prime}\,\frac{\mathrm{d}(a^{2}\phi)}{\mathrm{d}s^{\prime}}\,\mathscr{G}\left[\frac{T_{\nu,0}k(s-s^{\prime})}{m_{\nu}}\right]\right\}

is formally equivalent to the solution (2.10).

To simplify the expression (3.4), observe first of all that the function 𝒢(q)\mathscr{G}(q) is positive and finite: it approaches ln(2)\ln(2) as q0q\to 0, remains fairly flat up to q1q\simeq 1, and drops off quickly to zero beyond q1q\simeq 1. Then, because the initial time sis_{\rm i} can be set to an arbitrarily distant past where a(si)a(s)a(s_{i})\ll a(s) and δm(si)δm(s){\delta}_{\rm m}(s_{i})\ll{\delta}_{\rm m}(s), we can immediately approximate the first term of equation (3.4) with

a2(s)ϕ(k,s)𝒢[Tν,0k(ss)mν]|sisln(2)a2(s)ϕ(k,s).a^{2}(s^{\prime})\,\phi(\vec{k},s^{\prime})\left.\mathscr{G}\left[\frac{T_{\nu,0}k(s-s^{\prime})}{m_{\nu}}\right]\right|_{s_{\rm i}}^{s}\simeq\ln(2)\,a^{2}(s)\,\phi(\vec{k},s). (3.5)

Secondly, the time-integral in equation (3.4) may be eliminated in the free-streaming limit by the following argument. It is straightforward to establish that d(a2ϕ)/ds\mathrm{d}(a^{2}\phi)/\mathrm{d}s^{\prime} appearing in the integrand is a monotonically increasing function of time. Combined with the flatness of 𝒢(q)\mathscr{G}(q) at q1q\lesssim 1, we can conclude that the dominant contribution to the time-integral must come from the time interval immediately before the present time, Δsssmν/(kTν,0)\Delta s\equiv s-s^{\prime}\simeq m_{\nu}/(kT_{\nu,0}), and on this basis approximate the time-integral as

sisdsd(a2ϕ)ds𝒢[Tν,0k(ss)mν]\displaystyle\int_{s_{\rm i}}^{s}{\rm d}s^{\prime}\,\frac{\mathrm{d}(a^{2}\phi)}{\mathrm{d}s^{\prime}}\,\mathscr{G}\left[\frac{T_{\nu,0}k(s-s^{\prime})}{m_{\nu}}\right] ln(2)a2(s)ϕ(s)|sΔss\displaystyle\simeq\ln(2)\left.a^{2}(s^{\prime})\,\phi(s^{\prime})\right|^{s}_{s-\Delta s} (3.6)
ln(2)d(a2ϕ)dsmνkTν,0.\displaystyle\sim\ln(2)\,\frac{{\rm d}(a^{2}\phi)}{{\rm d}s}\frac{m_{\nu}}{kT_{\nu,0}}.

Comparing equations (3.5) and (3.6), we see immediately that if the condition

1a2ϕd(a2ϕ)dsmνkTν,01\frac{1}{a^{2}\phi}\frac{{\rm d}(a^{2}\phi)}{{\rm d}s}\frac{m_{\nu}}{kT_{\nu,0}}\ll 1 (3.7)

is satisfied, then the time-integral in equation (3.4) must make but a negligible contribution to δν(k,s)\delta_{\nu}(\vec{k},s), and can therefore be dropped in our calculations.

To further interpret the condition (3.7), we note that the relative rate of change of a2ϕa^{2}\phi with respect to the superconformal time are typically of order aa{\cal H}. Thus, the condition (3.7) under which we may neglect the time-integral contribution to δν(k,s){\delta}_{\nu}(\vec{k},s) is physically equivalent to taking the free-streaming limit,

kTνmν,{\cal H}\ll\frac{kT_{\nu}}{m_{\nu}}\,, (3.8)

where Tν(s)=Tν,0/a(s)T_{\nu}(s)=T_{\nu,0}/a(s) is the temperature of the neutrino population at a given time ss, and kTν/mνkT_{\nu}/m_{\nu} corresponds to the population’s characteristic thermal velocity.

Then, returning to equation (3.4) and applying to it the approximations discussed above as well as the Poisson equation (2.2), we find in the free-streaming limit [32]

δνFS(k,s)\displaystyle{\delta}^{\rm FS}_{\nu}(\vec{k},s)\,\simeq 322(s)Ωm(s)2ln(2)3ζ(3)(mνkTν)2δm(k,s).\displaystyle\,\frac{3}{2}{\cal H}^{2}(s)\,\Omega_{\rm m}(s)\,\frac{2\ln(2)}{3\zeta(3)}\left(\frac{m_{\nu}}{kT_{\nu}}\right)^{2}{\delta}_{\rm m}(\vec{k},s). (3.9)

Identifying a free-streaming wave number kFSk_{\text{FS}} and an associated sound speed cνc_{\nu} [32]

kFS(s)\displaystyle k_{\text{FS}}(s) \displaystyle\equiv (3/2)2(s)Ωm(s)cν2(s)1.5a(s)Ωm,0(mνeV)h/Mpc,\displaystyle\,\sqrt{\frac{(3/2)\,{\cal H}^{2}(s)\,\Omega_{\rm m}(s)}{c_{\nu}^{2}(s)}}\simeq 1.5\,\sqrt{a(s)\,\Omega_{\rm m,0}}\left(\frac{m_{\nu}}{\rm eV}\right)\,h/{\rm Mpc}\,, (3.10)
cν(s)\displaystyle c_{\nu}(s) \displaystyle\equiv Tν(s)mν3ζ(3)2ln(2)81a(s)(eVmν)km/s,\displaystyle\,\frac{T_{\nu}(s)}{m_{\nu}}\sqrt{\frac{3\,\zeta(3)}{2\ln(2)}}\simeq\frac{81}{a(s)}\left(\frac{\rm eV}{m_{\nu}}\right)\,{\rm km/s}\,, (3.11)

where Ωm,0\Omega_{\rm m,0} is the present-day reduced matter density, we finally arrive at the free-streaming solution [32]

δνFS(k,s)kFS2(s)k2δm(k,s),{\delta}^{\rm FS}_{\nu}(\vec{k},s)\simeq\frac{k^{2}_{\text{FS}}(s)}{k^{2}}\,{\delta}_{\rm m}(\vec{k},s)\,, (3.12)

and we can remap the free-streaming condition (3.8) equivalently to the requirement kkFSk\gg k_{\rm FS}.

For a total matter content consisting only of cold matter and neutrinos, equation (3.12) may be rewritten in terms of the cb density contrast as

δνFS(k,s)kFS2(s)(1fν)k2kFS2(s)fνδcb(k,s){\delta}^{\rm FS}_{\nu}(\vec{k},s)\simeq\frac{k^{2}_{\text{FS}}(s)(1-f_{\nu})}{k^{2}-k^{2}_{\text{FS}}(s)f_{\nu}}\,{\delta}_{\text{cb}}(\vec{k},s)\, (3.13)

following equation (2.3). Given kkFSk\gg k_{\rm FS}, the expression (3.13) shows that the neutrino density contrast is always suppressed by k2k^{-2} relative to its cold matter counterpart, reflecting the neutrinos’ increasing tendency to cluster less efficiently on smaller length scales.

3.2 Clustering limit

To investigate the behaviour of the integral linear response function (2.10) in the opposite, kkFSk\ll k_{\text{FS}} limit, we formally set the argument of F(q)F(q) to zero, so that F(0)=1F(0)=1 by the definition (2.11), and

δνC(k,s)k2sisdsa2(s)ϕ(k,s)(ss)\displaystyle{\delta}^{\rm C}_{\nu}(\vec{k},s)\simeq\,-k^{2}\int_{s_{\rm i}}^{s}{\rm d}s^{\prime}\,a^{2}(s^{\prime})\,\phi(\vec{k},s^{\prime})\,(s-s^{\prime}) (3.14)

is the solution of the neutrino density contrast in the clustering (“C”) limit.

Without specifying the time-dependences of a(s)a(s) and ϕ(s)\phi(s), equation (3.14) cannot be simplified any further. However, we note that equation (3.14) is in fact a solution to the second-order differential equation

2δνs2=k2a2(s)ϕ(k,s),\frac{\partial^{2}{\delta}_{\nu}}{\partial s^{2}}=-k^{2}\,a^{2}(s)\,\phi(\vec{k},s)\,, (3.15)

the same equation of motion that determines the cold matter density contrast δcb{\delta}_{\text{cb}} at linear order [39], up to initial conditions. Since we generally expect the clustering limit to reside in the linear regime, together with the assumption of adiabatic initial conditions we can reasonably conclude from the above observation that

δνC(k,s)δcb(k,s)δm(k,s),{\delta}^{\rm C}_{\nu}(\vec{k},s)\simeq{\delta}_{\text{cb}}(\vec{k},s)\simeq{\delta}_{\text{m}}(\vec{k},s)\,, (3.16)

a result that can be readily verified by the transfer function outputs of linear cosmological Boltzmann codes such as camb [17] or class [18].

3.3 Interpolating between limits

The integral linear response function (2.10) has no closed-form solution in the transition regime between the clustering and the free-streaming limits. However, given its limiting behaviours (3.12) and (3.16) at, respectively, kkFSk\gg k_{\rm FS} and kkFSk\ll k_{\rm FS}, references [32, 40] proposed an interpolation function connecting the two solutions of the form

δν(k,s)=kFS2(s)[k+kFS(s)]2δm(k,s),{\delta}_{\nu}(\vec{k},s)=\frac{k_{\rm FS}^{2}(s)}{[k+k_{\rm FS}(s)]^{2}}{\delta}_{\rm m}(\vec{k},s), (3.17)

or, equivalently,

δν(k,s)=kFS2(s)(1fν)[k+kFS(s)]2kFS2(s)fνδcb(k,s).{\delta}_{\nu}(\vec{k},s)=\frac{k^{2}_{\text{FS}}(s)(1-f_{\nu})}{[k+k_{\text{FS}}(s)]^{2}-k^{2}_{\text{FS}}(s)f_{\nu}}\,{\delta}_{\text{cb}}(\vec{k},s)\,. (3.18)

Then, combining equation (3.18) with the cold matter density contrast as per equation (2.3) yields an interpolated response function for the total matter density contrast,

δm(k,s)=[k+kFS(s)]2(1fν)[k+kFS(s)]2kFS2(s)fνδcb(k,s).{\delta}_{\rm m}(\vec{k},s)=\frac{[k+k_{\text{FS}}(s)]^{2}(1-f_{\nu})}{[k+k_{\text{FS}}(s)]^{2}-k^{2}_{\text{FS}}(s)f_{\nu}}\,{\delta}_{\text{cb}}(\vec{k},s)\,. (3.19)

Figure 1 shows equations (3.18) and (3.19) applied to the linear δcb{\delta}_{\rm cb} output of class at a range of redshifts for several massive neutrino cosmologies specified in table 1.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 1: Top left: Neutrino density contrast δνSER\delta_{\nu}^{\rm SER} as predicted by applying the SuperEasy linear response function (3.18) to the δcb\delta_{\rm cb} output of class, versus the actual neutrino density contrast output of class, δνclass\delta_{\nu}^{\rm class}, for the cosmological model Nu1 at different redshifts. Bottom left: Same as top left, but for three different values of fνf_{\nu} corresponding to the cosmological models Nu1, Nu2, and Nu3, at z=0z=0. Top right: Same as top left, but this time comparing the total matter density contrast δmSER\delta_{\rm m}^{\rm SER} constructed from equation (3.19) and the actual total matter density contrast output of class, δmclass\delta_{\rm m}^{\rm class}. Bottom right: Same as bottom left, but for the total matter density.

Relative to the output of class, the left two panels of figure 1 demonstrate that in all cases, equation (3.18) is able to reproduce the neutrino density contrast to better than 5% accuracy in the kkFSk\ll k_{\rm FS} and kkFSk\gg k_{\rm FS} limits. The interpolation is however clearly imperfect on the intermediate scales around kkFSk\sim k_{\rm FS}: here, the interpolated δν{\delta}_{\nu} can deviate from the class prediction by as much as 20%\sim 20\% at z=0z=0. Furthermore, because kFSk_{\rm FS} is itself a function of redshift and the neutrino mass, the peak of the interpolation error shifts with it towards higher kk as we lower the redshift and/or increase the neutrino mass.

On the other hand, because the neutrino density contrast enters the total matter density contrast along with a suppression factor fν1f_{\nu}\ll 1, the relative difference between the interpolated δm{\delta}_{\rm m} and its class counterpart is, as shown in the right panels of figure 1, always sub-percent across the whole kk-range even for fνf_{\nu} as large as 0.0750.075 (corresponding to mν=0.93\sum m_{\nu}=0.93 eV) and improves with smaller neutrino fractions.

Model ωm\omega_{\rm m} ωb\omega_{\rm b} ων\omega_{\nu} hh nsn_{s} As(109)A_{s}(10^{-9}) fνf_{\nu} mν\sum m_{\nu}(eV) σ8\sigma_{8}
Ref1 0.1335 0.02258 0 0.71 0.963 4.0967 0 0 1.11
Nu1 0.1335 0.02258 0.01 0.71 0.963 4.0967 0.075 0.93 0.80
Nu2 0.1335 0.02258 0.005 0.71 0.963 2.9823 0.038 0.465 0.80
Nu3 0.1335 0.02258 0.002 0.71 0.963 2.4375 0.015 0.186 0.80
Nu4 0.1432 0.022 0.00064 0.67 0.96 2.1 0.0044 0.0587 0.81
Nu5 0.1432 0.022 0.00171 0.67 0.96 2.1 0.0119 0.1587 0.79
Table 1: Cosmological models considered in this work. We use as base parameters the present-day total matter density ωmΩm,0h2\omega_{\rm m}\equiv\Omega_{\rm m,0}h^{2}, the baryon density ωb\omega_{\rm b}, the neutrino density ων\omega_{\nu}, the dimensionless Hubble parameter hh, and the primordial scalar spectral index and amplitude nsn_{s} and AsA_{s}. For each model we quote also the following derived parameters: the neutrino fraction fνων/ωmf_{\nu}\equiv\omega_{\nu}/\omega_{\rm m}, the neutrino mass sum mν\sum m_{\nu}, and σ8\sigma_{8}, the RMS linear density fluctuation smoothed over 8/h8/h Mpc. All models assume a flat spatial geometry, i.e., Ωm+ΩΛ=1\Omega_{\rm m}+\Omega_{\Lambda}=1, where the Λ\Lambda-component is taken to be a cosmological constant, and we split the neutrino energy density ων\omega_{\nu} amongst three equal-mass species in the models Nu1, Nu2, and Nu3. The models Nu4 and Nu5 are identical to the νΛ\nu\LambdaCDM4 and νΛ\nu\LambdaCDM5 cosmologies of reference [41], and assume three unequal neutrino mass values.

3.4 SuperEasy gravitational potential

With equation (3.19) we have thus arrived at the centrepiece of the SuperEasy method of massive neutrino linear response: The impact of neutrino free-streaming on the total matter density contrast δm(k,s){\delta}_{\rm m}(\vec{k},s) at any one Fourier mode k\vec{k} and at any one time ss are effectively captured by the interpolated response function (3.19), which is a rational function of the wave number kk, with coefficients fνf_{\nu} and kFSk_{\rm FS} given by simple algebraic expressions of the total matter density Ωm,0\Omega_{\rm m,0}, the scale factor aa, and the neutrino mass mνm_{\nu}. The only real-time input required is the cold matter density contrast δcb(k,s){\delta}_{\text{cb}}(\vec{k},s).

An immediate corollary is that any cold matter-only NN-body or hydrodynamic large-scale structure simulation code with a PM component that utilises a Fourier grid-based force solver can be readily adapted to include the effects of massive neutrinos via a small change to the Fourier-space Poisson equation, namely,

k2ϕ(k,s)=\displaystyle k^{2}\,{\phi}(\vec{k},s)= 4πGa2(s)ρ¯m(s){[k+kFS(s)]2(1fν)[k+kFS(s)]2kFS2(s)fν}δcb(k,s)\displaystyle\,-4\pi Ga^{2}(s)\,\bar{\rho}_{\rm m}(s)\left\{\frac{[k+k_{\text{FS}}(s)]^{2}(1-f_{\nu})}{[k+k_{\text{FS}}(s)]^{2}-k^{2}_{\text{FS}}(s)f_{\nu}}\right\}{\delta}_{\text{cb}}(\vec{k},s) (3.20)
=\displaystyle= 322(s)Ωm(s){[k+kFS(s)]2(1fν)[k+kFS(s)]2kFS2(s)fν}δcb(k,s).\displaystyle-\,\frac{3}{2}{\cal H}^{2}(s)\,\Omega_{\rm m}(s)\left\{\frac{[k+k_{\text{FS}}(s)]^{2}(1-f_{\nu})}{[k+k_{\text{FS}}(s)]^{2}-k^{2}_{\text{FS}}(s)f_{\nu}}\right\}{\delta}_{\text{cb}}(\vec{k},s)\,.

There are no additional equations to solve, files to read, or data to store, and no post-processing is required. The implementation and computational overhead of the SuperEasy linear response method is therefore virtually zero, making it arguably the simplest and yet analytically justifiable scheme proposed thus far to capture massive neutrino effects in simulations of large-scale structure.

Before we move on to describe how we implement the SuperEasy gravitational potential (3.20) into a specific NN-body code, several remarks are in order.

  1. 1.

    While equations (3.18) and hence (3.19) have been derived for a neutrino population characterised by one free-streaming scale kFSk_{\rm FS}, they are easily generalisable to scenarios with multiple free-streaming lengths (due to e.g., a realistic neutrino mass hierarchy). See appendix A for details.

  2. 2.

    That the interpolated neutrino density contrast (3.18) has a 20% error around kkFSk\sim k_{\rm FS} may be a nagging concern. To improve upon this state of affairs one could in principle calibrate the interpolated response function to the particular cosmology under investigation on a case-by-case basis.

    This might be achieved, for example, by identifying the ratio δν/δcb{\delta}_{\nu}/{\delta}_{\rm cb} with the corresponding ratio formed from the linear transfer function outputs of camb or class, and pre-compute the ratio at the Fourier grid points and redshift time steps required by the NN-body simulation. A similar scheme is also sometimes applied in perturbative analyses (e.g., [42, 43]) and there are some parallels with the grid-based linear neutrino perturbation method of reference [27] (which uses the linear δν\delta_{\nu} output of camb rather than the ratio δν/δcb{\delta}_{\nu}/{\delta}_{\rm cb}).

    In any case, we deem the benefit of further calibration of equation (3.18) to be highly diminishing given the cost, if sub-percent accuracy is demanded ultimately only of the total matter power spectrum prediction. For this reason we do not advocate it.

  3. 3.

    Notwithstanding the sub-percent agreement between equation (3.19) and the linear output of class, it is a legitimate concern that the same may not materialise once nonlinear cold matter dynamics have been incorporated into the calculation.

    To this end, we recall that the derivation of the free-streaming solution (3.12) makes no assumption about the linearity or otherwise of the external source ϕ(k,s){\phi}(\vec{k},s) to which the neutrinos respond. The clustering solution (3.16), on the other hand, belongs in the inherently linear regime where the class outputs apply. Thus, if the interpolation function (3.19) should perform more poorly in the presence of nonlinear cold matter dynamics, we would expect any deviation from the full integral linear response (2.10) to show up most prominently around kkFSk\sim k_{\rm FS}.

    We can test this understanding and hence the validity of the SuperEasy method by direct comparison with an explicit numerical evaluation of the integral linear response function (2.10) within an NN-body code in the manner of [29]. See section 6.1.

  4. 4.

    Ultimately, what makes linear response — even the integral version (2.10) — numerically relatively easily tractable is linearisation of the collisionless Boltzmann equation, i.e., the approximation (2.6). But the assumption of linearity must break down for sufficiently large neutrino masses, and quantifying the validity region of linear response in terms of how well the approximation (2.6) and the accompanying linearisation condition (2.7) are satisfied must also form part of the investigation of such methods. We shall discuss this point in detail in section 7.

Then, without further ado, we now proceed to describe how to incorporate the SuperEasy massive neutrino linear response method in an NN-body simulation code.

4 SuperEasy linear response in NN-body simulations

We demonstrate our SuperEasy linear response method by implementing it into the publicly available NN-body simulation code Gadget-2 [44]. The specific modifications to the code and the initial condition generator N-GenIC [45] are outlined in two subsections below. We stress however that the implementation does not in any way depend on, or is specifically designed for, the architecture of Gadget-2 or N-GenIC. Indeed, the power of the SuperEasy method lies in its simplicity, and what we present below is largely intended as a recipe applicable to any NN-body code containing a PM component.

4.1 Modified Gadget-2

The stock version of Gadget-2 is a hybrid PM code with an additional oct-tree based short-range force solver. In our modifications, the interface with massive neutrino linear response happens solely on the mesh (or “grid”) within the PM component; the portion of the code that governs directly the particle dynamics remains unchanged from the stock version.

The justification for this choice of modification stems from the fact the PM-grid is generally finer than the free-streaming scale of neutrinos, so that any sub-grid tree-level force within the neutrino sector is subdominant for convergence considerations. As an illustration, the simulations presented in this work use PM-grids with a maximum cell length of 0.5Mpc/h0.5\,\text{Mpc}/h. In comparison, the free-streaming scale of three degenerate neutrinos with masses summing to mν=0.93eV\sum m_{\nu}=0.93\,\text{eV} is approximately 26Mpc/h26\,\text{Mpc}/h at z=0z=0. At higher redshifts, or for lower masses, the free-streaming scale will be even larger than this estimate. We therefore conclude that neutrino clustering can be modelled with sufficient accuracy using only the PM component.

In a standard cold matter-only simulation, the Newtonian gravitational force in the PM component is calculated at every time step first by distributing the simulation particles onto the PM-grid points using an interpolation scheme such as the Cloud-in-Cell (CIC) method; this gives us δcb(x,s)\delta_{\rm cb}(\vec{x},s). A discrete Fourier transform turns δcb(x,s)\delta_{\rm cb}(\vec{x},s) into δcb(k,s){\delta}_{\rm cb}(\vec{k},s), from which we can solve for the corresponding kk-space potential ϕ(k,s){\phi}(\vec{k},s) and hence forces on the Fourier-grid points via the Poisson equation. A subsequent inverse Fourier transform brings us back to coordinate space, where the real-space forces on the PM-grid points can now be interpolated to the particle positions, through which to forward the particle trajectories.

The entry point for incorporating the SuperEasy massive neutrino linear response method into the PM component is the Fourier grid. Here, we replace the standard Poisson equation with the interpolated one (3.20), where δcb(k,s){\delta}_{\rm cb}(\vec{k},s) is identified with the Fourier transform of the cold matter density contrast δcb(x,s)\delta_{\rm cb}(\vec{x},s) constructed from smoothed particles on the PM-grid points. Then, subsequent standard evaluations of the gravitational force on the simulation particles will automatically account for the effects of massive neutrinos.

One further though optional point of modification is the Hubble expansion rate, which, depending on the initialisation time of the simulation, may need to be corrected for a small deviation from the ρ¯νa3\bar{\rho}_{\nu}\propto a^{-3} behaviour in the neutrino sector due to the relativistic to nonrelativistic transition. In practice, however, this correction has no discernible effect on the final outcome, as long as the same Hubble expansion rate is used in both the NN-body code and in the initialisation procedure. See below.

4.2 Initial conditions

Because the actual simulation uses a particle realisation only for the cold matter species, the initial conditions for the simulation particles can be generated in essentially same way as a conventional cold matter-only simulation.

We adopt the standard “scale-back” method when setting the initial conditions of our simulations, which circumvents the need to correct for relativistic effects within the NN-body code itself. In this approach, the linear cb power spectrum of the cosmology of interest is first calculated with a fully relativistic Boltzmann code such as class to z=0z=0, and then scaled back to the simulation initial redshift ziz_{\rm i} using a set of “fictitious” linear growth factors Dcb(k,a)D_{\rm cb}(k,a) computed under the assumption of Newtonian gravity. This ensures that the simulation outcome will match the fully relativistic linear theory predictions at z=0z=0 on large scales, with the simulation itself serving only to produce nonlinear enhancements on small scales.

Our fictitious linear growth factors are calculated from the linearised continuity and Euler equations (see, e.g., [39]), together with the SuperEasy Poisson equation (3.20) incorporating the influence of the neutrino density contrast δν\delta_{\nu}. In Fourier space and using the scale factor aa as a time variable, these equations take the form

dDcb(k,a)da=\displaystyle\frac{\mathrm{d}D_{\text{cb}}(k,a)}{\mathrm{d}a}= θcb(k,a),\displaystyle\,\theta_{\text{cb}}(k,a), (4.1)
dθcb(k,a)da=\displaystyle\frac{\mathrm{d}\theta_{\text{cb}}(k,a)}{\mathrm{d}a}= (2+dlndlna)1aθcb(k,a)k2ϕa22,\displaystyle\,-\left(2+\frac{\mathrm{d}\ln\mathcal{H}}{\mathrm{d}\ln a}\right)\frac{1}{a}\theta_{\text{cb}}(k,a)-\frac{k^{2}\phi}{a^{2}{\cal H}^{2}},

where in the SuperEasy method the gravitational potential ϕ\phi is, as mentioned above, given by equation (3.20). Importantly, because neutrino free-streaming introduces a scale-dependence, the linear growth factors obtained from solving this set of equations are necessarily kk-dependent, and we stress again that the conformal Hubble expansion rate {\cal H} used to solve equation (4.1) must match that implemented in the NN-body code itself.

The cold matter particle realisation is performed via the Zel’dovich approximation (ZA) at zi=49z_{\rm i}=49 using a modified version of the publicly available N-GenIC code [45]. Modification is necessary because the stock version of N-GenIC code computes the initial particle velocities entirely in real space via a simple product

u(q,a)=(a)dlnDcb(q,a)dlnaΨ(q,a),\vec{u}(\vec{q},a)=-\mathcal{H}(a)\,\frac{\mathrm{d}\ln{D_{\text{cb}}(q,a)}}{\mathrm{d}\ln{a}}\,\vec{\Psi}(\vec{q},a)\,, (4.2)

where Ψ(q,a)\vec{\Psi}(\vec{q},a) is the real-space random displacement field consistent with the input initial cb power spectrum. In a massive neutrino cosmology, however, because of the inherent kk-dependence of the linear growth function Dcb(k,a)D_{\rm cb}(k,a), the simple product needs to be promoted to a convolution product,

u(q,a)=(a)1[dlnDcb(k,a)dlna]Ψ(q,a),\vec{u}(\vec{q},a)=-\mathcal{H}(a)\,{\cal F}^{-1}\left[\frac{\mathrm{d}\ln{D_{\text{cb}}(k,a)}}{\mathrm{d}\ln{a}}\right]*\vec{\Psi}(\vec{q},a)\,, (4.3)

where A(x)=1[A(k)]A(x)={\cal F}^{-1}[A(k)] denotes an inverse Fourier transform. In practice, this means it may be most convenient to compute first both Ψ(k,a)\vec{\Psi}(\vec{k},a) and u(k,a)\vec{u}(\vec{k},a) in Fourier space, before performing the inverse Fourier transform to real space.

5 Convergence tests

We run simulations in this work for several massive neutrino and Λ\LambdaCDM cosmologies specified by the cosmological parameter values given in table 1. The non-neutrino parameters of the first four models all have values lying within 1σ\sigma of the WMAP 9-year best-fits [46], while those of the last two models are 1σ\sigma compatible with the Planck 2018 best-fits. Of the five massive neutrino cosmologies, only Nu1 has a neutrino mass sum exceeding even the most conservative of the current 2σ2\sigma observational limits [47]. Because it is the most “extreme” cosmology under consideration, we also base our convergence tests on the Nu1 model.

We use a fixed simulation volume of V=5123(Mpc/h)3V=512^{3}\,(\text{Mpc}/h)^{3}, so that the smallest wave number (k0.01h/Mpck\sim 0.01h/\text{Mpc}) captured falls well within the linear regime to justify the scale-back initialisation method (see section 4.2). Each simulation uses the same PM-grid with a cell length of 0.5Mpc/h0.5\,\text{Mpc}/h. The same grid is also used for power spectrum estimation. We vary the number of cold matter simulation particles between N=1283N=128^{3} and N=10243N=1024^{3} to test for convergence, and adjust the force-softening length in the tree component accordingly to one-twentieth of the average interparticle spacing in each case.

5.1 Absolute power spectrum

Fixing the simulation volume at V=5123(Mpc/h)3V=512^{3}\,(\text{Mpc}/h)^{3} while varying the number of simulation particles NN, the left panel of figure 2 shows the cb power spectra for the Nu1 model at z=0z=0 extracted from the N=1283,2563,5123N=128^{3},256^{3},512^{3} runs, normalised to the N=10243N=1024^{3} result — the highest resolution achievable with our computing facilities.

Refer to caption
Refer to caption
Figure 2: Left: Present-day (z=0z=0) cb power spectra extracted from simulations using N=1283N=128^{3} (purple), 2563256^{3} (green), and 5123512^{3} (blue) particles for the cosmological model Nu1, all normalised to a high-resolution N=10243N=1024^{3} power spectrum for the same cosmology. Clearly, increasing the mass resolution via increasing NN stabilises the small-scale power prediction. Right: Power spectrum predictions at z=0z=0 obtained from (i) one single realisation (dots) and (ii) averaging over five different sets of initial seeds (solid line). The averaging procedure significantly reduces the scatter in the low-kk region arising from sample variance.

On large scales, the excellent agreement between different choices of particle number NN is guaranteed by the identically sized Fourier grid (102431024^{3} cells) used for the initialisation of all simulations, irrespective of particle numbers NN. In this way, the smaller-NN runs are essentially a downsampling of the initial density field onto coarser grids, a procedure that leaves the large-scale correlations (i.e., small-kk power) largely unaffected between different choices of particle number NN.

The quasi-linear and nonlinear regimes, k0.1h/Mpck\gtrsim 0.1\,h/\text{Mpc}, however, typically become first under- and then over-powered in the low-resolution simulations. The former, under-powering phenomenon can be attributed to the finite mass resolution: the further the separation between simulation particles and the higher the mass each particle carries, the less efficiently the particles can cluster nonlinearly. The latter, over-powering effect is, on the other hand, a manifestation of Poisson noise. With a larger number of simulation particles, both of these artefacts can be pushed to a larger value of kk. Evidently in the left panel of figure 2, percent-level agreement between the N=5123N=512^{3} and 102431024^{3} runs can be achieved up to k2h/Mpck\sim 2\,h/\text{Mpc}.

The right panel of figure 2 compares the cb power spectrum extracted from a single realisation and one formed from averaging over five power spectra computed using five different sets of initial seeds. As expected, the low-kk region most susceptible to sample variance suffers from less scatter when averaged over five different sets of seeds. Conversely, the high-kk region is largely unaffected by averaging, since there is inherently enough volume here to overcome sample variance even in one single realisation.

Refer to caption
Figure 3: The relative total matter power spectra at z=0z=0 between the models Nu1 and Ref1 obtained from four pairs of simulations with increasing mass resolution/particle number NN. All simulations have been performed in a box of volume V=5123(Mpc/h)3V=512^{3}\,(\text{Mpc}/h)^{3}. The solid yellow line indicates the corresponding linear theory result from class.

5.2 Relative power spectrum

Convergence can also be demonstrated in the relative total matter power spectrum, defined here as the power spectrum ratio of a massive neutrino cosmology to the reference Λ\LambdaCDM model simulated under identical conditions, including identical initial seeds. Figure 3 shows four sets of relative total matter power spectra between the models Nu1 and Ref1, computed using four choices of particle numbers (N=1283,2563,5123,10243N=128^{3},256^{3},512^{3},1024^{3}).

At k0.1h/Mpck\lesssim 0.1\,h/\text{Mpc}, the relative power is consistent across all mass resolutions tested. For all four choices of NN we observe a spoon-like dip followed by an upturn feature, consistent with previous findings [20, 48, 30, 28]. The physical origin and nature of the spoon feature have been discussed in detail in terms of the halo model [41]. Here, we merely observe that the dip occurs at the same k0.7h/Mpck\sim 0.7\,h/{\rm Mpc} in all runs; the low-resolution runs tend however to predict too deep a dip followed by too high an upturn at k1h/Mpck\gtrsim 1\,h/\text{Mpc}. As in figure 2, these low-resolution artefacts seen in figure 3 are a consequence first of power underestimation due to poor mass resolution and then of high-kk Poisson noise, both of which dominate over neutrino free-streaming effects on small scales.

On the other hand, the higher-resolution (N=5123,10243N=512^{3},1024^{3}) relative power spectrum predictions exhibit sub-percent level agreement up to k6h/Mpck\sim 6\,h/\text{Mpc}, exceeding the k2h/Mpck\sim 2\,h/\text{Mpc} limit on the concordant region seen in figure 2 for their absolute power spectrum counterparts. This observation is consistent with the proposition of [49], which states that the relative power spectrum generally exhibits better convergence properties than can be achieved for the absolute power spectrum using the same simulation settings.

Henceforth, unless otherwise specified, we shall always use the highest-resolution setting (N=10243,V=5123(Mpc/h)3N=1024^{3},\,V=512^{3}\,(\text{Mpc}/h)^{3}) achievable on our computing facilities in our simulations. Where comparisons are called for (e.g., between cosmological models, between methods, etc.), we always compare simulation results initialised with the same seeds.

6 Comparison with other approaches

Having identified a suitable choice of simulation settings, we are now in a position to contrast the SuperEasy nonlinear power spectra with predictions from our own implementation of the integral linear response method [29] in Gadget-2, as well as with the results of reference [41] obtained from grid-based linear neutrino simulations. The latter comparison is especially interesting in that, not only is the grid-based linear neutrino method a different model of neutrino perturbations in NN-body simulations compared with linear response, reference [41] also used a different simulation code, PKDGRAV3 [50].

6.1 Comparison with integral linear response

Let us compare first our SuperEasy method with the original integral linear response approach of reference [29], which explicitly solves the integral linear response function (2.10) within the NN-body code to obtain the neutrino density contrast at every time step. Other than this integral evaluation, the two methods share an identical perturbative starting point for the neutrino sector and evolve the cold sector in the presence of neutrino clustering in exactly the same way. The comparison is therefore largely straightforward, save for some details in the implementation of the response function (2.10) in Gadget-2, to be discussed below.

As a warm-up exercise, we first contrast the two solutions to the linearised equation of motion (4.1) for the cb density contrast δcb(k){\delta}_{\rm cb}(k) and velocity divergence θcb(k){\theta}_{\rm cb}(k), using in the gravitational potential ϕ\phi the neutrino density contrast δν(k){\delta}_{\nu}(k) computed from (i) the SuperEasy response function (3.18), and (ii) the full integral response function (2.10). As in the scale-back initialisation procedure, we normalise δcb{\delta}_{\rm cb} at z=0z=0. Figure 4 shows the fractional differences in δcb{\delta}_{\rm cb}, θcb{\theta}_{\rm cb}, and δν{\delta}_{\nu} between these approximations for the model Nu1 at a range of redshifts. Clearly, all three quantities exhibit two peaks in the intermediate kk-region, indicating the same interpolation discrepancy previously observed in figure 1 in our comparison of the SuperEasy and class outputs. The maximum discrepancy in δν{\delta}_{\nu} is again about 20%, while the differences in δcb{\delta}_{\rm cb} and in θcb{\theta}_{\rm cb} are at most 0.2%. The agreement in δcb{\delta}_{\text{cb}} improves with lower redshift, but this merely reflects our choice of normalisation at z=0z=0.

Refer to caption
Figure 4: Fractional differences between the predictions of SuperEasy and integral linear response, applied to a linearly evolved cb density contrast, for the model Nu1. Agreement between the cb density contrasts δcb\delta_{\rm cb} improves with lower redshifts, while the differences in θcb\theta_{\text{cb}} and in δν\delta_{\nu} remain fairly stable with time. The largest discrepancy in δν\delta_{\nu} is consistent with the results of figure 1.

Next, we compare the nonlinear outputs of the two methods embedded in an NN-body simulation. To this end, we implement the integral linear response function (2.10) in Gadget-2 following reference [29]. As with SuperEasy linear response, the entry point for the implementation of integral linear response is the Fourier grid and hence the Poisson equation in the PM component. However, because the integral linear response function (2.10) involves a time-integration of the gravitational potential evolution history on each k\vec{k}-grid point, to save computing resources reference [29] advocates (i) storing only one ϕ(k)\langle{\phi}(\vec{k})\rangle per k|k|k\equiv|\vec{k}| mode averaged over all k^\hat{k} directions, i.e., identical |δν(k)||{\delta}_{\nu}(\vec{k})| for all vectors k\vec{k} with the same magnitude kk, and (ii) the final δν(k){\delta}_{\nu}(\vec{k}) on a k\vec{k}-grid point assumes the same complex phase as the cb density contrast δcb(k){\delta}_{\rm cb}(\vec{k}) on that same k\vec{k}-grid point. To make the comparison as direct as possible, we implement the same averaging procedure in our SuperEasy simulations, although in practice this extra step makes no more than a 0.1% difference to the final result, and, from the SuperEasy perspective, in fact detracts from the simplicity of the method.

Likewise, the Hubble expansion history and time step divisions in the execution of the simulations are kept consistent across the comparison. Initialisation of the integral linear response simulation follows the same scale-back procedure described in section 4.2, but with the neutrino density contrast δν(k){\delta}_{\nu}(k) now computed from the integral linear response function (2.10) instead of the SuperEasy response function (3.18). Figure 5 shows the fractional difference between the two z=49z=49 cb power spectra used to initialise the SuperEasy and the integral response linear simulations of the Nu1 model. The biggest difference shows up on the large scales around k0.003h/Mpck\sim 0.003~{}h/{\rm Mpc}, but still remains within 0.4% agreement.

Refer to caption
Figure 5: Fractional difference in the initial (z=49z=49) cb power spectra of the Nu1 model, constructed using the scale-back method for a SuperEasy simulation, PcbSERP_{\rm cb}^{\rm SER}, and for an integral linear response simulation, PcbILRP_{\rm cb}^{\rm ILR}. The largest difference, 0.4%, occurs at a fairly small k0.003h/Mpck\sim 0.003\,h/{\rm Mpc}. This difference disappears as we forward the systems in time, because of the matching condition imposed on the small-kk power spectrum that forms part of the scale-back initialisation procedure.

Figure 6 shows the fractional differences in the cb power spectrum and in the total matter power spectrum between the SuperEasy and integral linear response methods for the models Nu1, Nu2, and Nu3 at a range of redshifts. Evidently, the agreement between the two methods in predicting the cb power spectrum is excellent across the whole redshift range tested (0.1% or better), even for the most extreme Nu1 model. The total matter power spectrum predictions likewise agree to within sub-percent level on all scales at z>0.5z>0.5. Unsurprisingly, interpolation error in the SuperEasy gravitational potential causes the SuperEasy power spectrum to overshoot its integral response counterpart around k0.1h/Mpck\sim 0.1\,h/\text{Mpc} by up to 1% at z=0z=0. As the neutrinos’ contribution to nonlinear clustering diminishes with lower neutrino masses, however, the agreement between the two methods also improves.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 6: Fractional differences between the predictions of SuperEasy linear response (SER) and integral linear response (ILR) simulations, for cosmological models Nu1 (top row), Nu2 (middle row), and Nu3 (bottom row) at a range of redshifts. Left column: Differences in the cb power spectra. Right column: Differences in the total matter power spectra. The bump at k0.1k\simeq 0.1, which is most prominent in larger-mass models at low redshifts, can be attributed to interpolation errors in the SuperEasy response function.

Thus, to conclude this subsection, even in a cosmology with a neutrino mass sum as large as mν1\sum m_{\nu}\sim 1 eV, SuperEasy linear response is able to match the original integral linear response method [29] to 0.1% agreement in the cb power spectrum and 1.2% agreement in the total matter power spectrum. For a lower mass sum of mν0.5\sum m_{\nu}\sim 0.5 eV, the agreement improves to 0.05% in the cb power and 0.5% in the total matter power. For mass sums comparable to current cosmological bounds, mν0.2\sum m_{\nu}\sim 0.2 eV, 0.1% agreement can be achieved in both the cb and the total matter power spectrum across the entire accessible kk-range.

6.2 Comparison with grid-based linear neutrino perturbations in PKDGRAV3

Refer to caption
Figure 7: Relative cb power spectrum between the Nu5 and Nu4 models obtained from our SuperEasy linear response simulations with Gadget-2 (purple line), versus the same quantity computed independently in reference [41] using the grid-based linear neutrino perturbations method [27] implemented in the PKDGRAV3 NN-body code (green line).

Next, we compare power spectrum predictions obtained from our SuperEasy linear response Gadget-2 simulations with independent calculations from reference [41] using PKDGRAV3 [50]. PKDGRAV3 is a tree code wherein the cold matter particles are evolved under gravity using a variation of the oct-tree method. Reference [41] simulated massive neutrinos by evolving linear neutrino perturbations on a grid following the method of [27]. At every time step, the neutrino contribution is interpolated to the positions of the cold matter particles for the force calculation.

Before we compare the two sets of results, we note first of all that a direct comparison of the absolute cb or total matter power spectrum outputted by different simulation codes for the same cosmology typically suffers from a 10\sim 10% systematic difference [51] on small length scales,222The convergence “trajectory” between different simulation codes are not expected to be the same. Where one code may overestimate power at lower resolution, another may underestimate it. In reference [51], this convergence-related disagreement occurs at very high kk-values (\sim 10 hh/Mpc), as the simulations used in that work had excellent mass resolution. Our simulations do not have the same excellent mass resolution; the code discrepancies therefore also show up in a much lower kk-region (\sim 2 hh/Mpc). too large for the kind of comparisons we are interested in — comparisons that concern percent-level effects — to be meaningful. Conversely, the relative power spectrum between two cosmologies computed under the same conditions and with the same simulation code generally end up quite insensitive to those exact conditions or the code with which the simulations have been performed, because by forming ratios multiplicative systematic simulation errors tend to cancel [49]. We therefore choose to compare relative power spectra.

Figure 7 shows the z=0z=0 relative cb power spectrum of the Nu5 to the Nu4 model of table 1 obtained from our SuperEasy Gadget-2 simulations, alongside the same quantity formed from the PKDGRAV3 simulations of reference [41] for two equivalent massive neutrino cosmologies (labelled νΛ\nu\LambdaCDM5 and νΛ\nu\LambdaCDM4 in that work). Note that for a consistent comparison with νΛ\nu\LambdaCDM5 and νΛ\nu\LambdaCDM4, we have also simulated our models Nu4 and Nu5 using the same unequal neutrino masses.333The specific neutrino mass values in the νΛ\nu\LambdaCDM4 and νΛ\nu\LambdaCDM5 cosmologies of reference [41] are, respectively, {m1,m2,m3}={0,0.0087,0.05}\{m_{1},m_{2},m_{3}\}=\{0,0.0087,0.05\} eV and {0,0.0087,0.15}\{0,0.0087,0.15\} eV. See appendix A for the details on how to implement the SuperEasy linear response method in scenarios involving multiple free-streaming lengths. Evidently, the two sets of simulations generally agree very well with one another across the whole kk-range tested. We find however the spoon ratio in the high-kk region (k2h/Mpck\gtrsim 2h/\text{Mpc}) to be highly sensitive to the random seed used to generate a particular realisation. Averaging over multiple realisations improves the small discrepancy at k2hk\gtrsim 2h/Mpc seen in figure 7.

Thus, to conclude, our implementation of SuperEasy linear response in Gadget-2 is able to accurately reproduce existing independent calculations of the relative cb power spectrum between two massive neutrino cosmologies that not only utilised a completely different modelling of the neutrino perturbations, but also a different NN-body code. Together with the comparison with integral linear response in section 6.1, this agreement lends credence to the SuperEasy linear response method as an extremely low-cost and yet reliable way to model the effects of massive neutrinos in nonlinear large-scale structure formation.

7 Neutrino phase space distribution and the validity of linear response

In the last section of this work, we test the validity of linear response as a model of neutrino clustering. A commonly-used, rule-of-thumb approach to assessing the validity of linearisation is to verify that the dimensionless power spectrum Δ2(k)=k3Pν(k)/(2π2)\Delta^{2}(k)=k^{3}P_{\nu}(k)/(2\pi^{2}) of the neutrino density contrast δν\delta_{\nu} satisfies Δ2(k)0.1\Delta^{2}(k)\lesssim 0.1. This test, while very straightforward, is unfortunately too simplistic for our purposes because of the neutrino population’s large velocity dispersion, which may allow a substantial, slowly-moving fraction of neutrinos to cluster strongly even though most of the fast-moving ones do not.

Indeed, what enables the linear response formalism is the approximation (2.6), which is a statement on the perturbed neutrino phase space density f(k,p,s)f(\vec{k},\vec{p},s) following from the linearisation condition (2.7). Our aim in this section, therefore, is to examine f(k,p,s)f(\vec{k},\vec{p},s) itself in its linear response to nonlinear cold matter dynamics. We begin by looking at how f(k,p,s)f(\vec{k},\vec{p},s) deviates from the relativistic Fermi–Dirac distribution of the homogeneous and isotropic background, followed by an assessment of the validity of the linearisation condition (2.7).

7.1 Deviation from the relativistic Fermi–Dirac distribution

We are interested in the deviation of the perturbed neutrino phase space density from the background distribution, δf(k,p,s)f(k,p,s)f¯(p)\delta f(\vec{k},\vec{p},s)\equiv f(\vec{k},\vec{p},s)-\bar{f}(p). This can be extracted from the perturbed part of (2.9),

δf(k,p,s)=imνkμf¯psisdsa2(s)ϕ(k,s)exp(ikpμmν(ss)),\delta f(\vec{k},\vec{p},s)=im_{\nu}k\mu\frac{\partial\bar{f}}{\partial p}\int_{s_{\rm i}}^{s}\mathrm{d}s^{\prime}\,a^{2}(s^{\prime})\,{\phi}(k,s^{\prime})\,\text{exp}\!\left(-\frac{ikp\mu}{m_{\nu}}(s-s^{\prime})\right), (7.1)

where we have defined μk^p^\mu\equiv\hat{k}\cdot\hat{p}. To keep the calculation tractable we also assume ϕ(k,s)\phi(k,s) to depend only on the magnitude but not the direction of k\vec{k}. Define the average Xμ(1/2)11dμX(μ)\langle X\rangle_{\mu}\equiv(1/2)\int_{-1}^{1}{\rm d}\mu\,X(\mu). Applying it to equation (7.1) we find

δfμ(k,p,s)=mνkf¯psisdsa2(s)ϕ(k,s)W(kp(ss)mν),\langle\delta f\rangle_{\mu}(k,p,s)=m_{\nu}k\frac{\partial\bar{f}}{\partial p}\int_{s_{\rm i}}^{s}\mathrm{d}s^{\prime}\,a^{2}(s^{\prime})\,\phi(k,s^{\prime})\,W\left(\frac{kp(s-s^{\prime})}{m_{\nu}}\right), (7.2)

with

W(x)sin(x)x2cos(x)x=ddxsinc(x),W(x)\equiv\frac{\sin(x)}{x^{2}}-\frac{\cos(x)}{x}=-\frac{\mathrm{d}}{{\rm d}x}{\rm sinc}(x), (7.3)

where sinc(x)sin(x)/x{\rm sinc}(x)\equiv\sin(x)/x.

As with δν\delta_{\nu} in section 3, equation (7.2) can be solved analytically in the clustering (small kk) and the free-streaming (large kk) limits. In the clustering limit, we formally set k=0k=0 in the argument of the function WW, and note that W(x)x/3W(x)\to x/3 as x0x\to 0. This allows us to approximate equation (7.2) in the clustering limit as

δfμCk23f¯lnpsisdsa2(s)ϕ(k,s)(ss).\left<\delta f\right>_{\mu}^{\mathrm{C}}\simeq\frac{k^{2}}{3}\,\frac{\partial\bar{f}}{\partial\ln p}\int_{s_{\rm i}}^{s}\mathrm{d}s^{\prime}\,a^{2}(s^{\prime})\,\phi(k,s^{\prime})\,(s-s^{\prime}). (7.4)

Contrasting this expression with the clustering solution (3.15) for δν\delta_{\nu}, we immediately find

δfμC13f¯lnpδν(k,s)13f¯lnpδm(k,s),\displaystyle\langle\delta f\rangle_{\mu}^{\mathrm{C}}\simeq-\frac{1}{3}\frac{\partial\bar{f}}{\partial\ln p}\delta_{\nu}(k,s)\simeq-\frac{1}{3}\frac{\partial\bar{f}}{\partial\ln p}\delta_{\rm m}(k,s), (7.5)

where the second, approximate equality follows from equation (3.16).

The free-streaming solution, on the other hand, can be obtained by first integrating equation (7.2) by parts,

δfμ=mν2p2f¯lnp[a2(s)ϕ(k,s)sinc(kp(ss)mν)|sissisdsd(a2ϕ)dssinc(kp(ss)mν)].\langle\delta{f}\rangle_{\mu}=\frac{m_{\nu}^{2}}{p^{2}}\frac{\partial\bar{f}}{\partial\ln p}\left[\left.a^{2}(s^{\prime})\,{\phi}(k,s^{\prime})\,{\rm sinc}\left(\frac{kp(s-s^{\prime})}{m_{\nu}}\right)\right|_{s_{i}}^{s}-\int_{s_{\rm i}}^{s}\mathrm{d}s^{\prime}\,\frac{{\rm d}(a^{2}\phi)}{{\rm d}s^{\prime}}\,{\rm sinc}\left(\frac{kp(s-s^{\prime})}{m_{\nu}}\right)\right]. (7.6)

Then, demanding analogously to equation (3.7) that

1a2ϕd(a2ϕ)dsmνkp1,\frac{1}{a^{2}\phi}\frac{{\rm d}(a^{2}\phi)}{{\rm d}s}\frac{m_{\nu}}{kp}\ll 1, (7.7)

the second term in equation (7.6) can be eliminated to yield the free-streaming solution

δfμFS\displaystyle\langle\delta{f}\rangle_{\mu}^{\rm FS} mν2p2f¯lnpa2(s)ϕ(k,s)=13f¯lnpkFS,p2(s)k2δm(k,s),\displaystyle\simeq\frac{m_{\nu}^{2}}{p^{2}}\frac{\partial\bar{f}}{\partial\ln p}a^{2}(s)\,{\phi}(k,s)=-\frac{1}{3}\frac{\partial\bar{f}}{\partial\ln p}\frac{k_{{\rm FS},p}^{2}(s)}{k^{2}}\delta_{\rm m}(k,s), (7.8)

where we have at the second equality used the Poisson equation (2.2), and defined a pp-dependent free-streaming wave number and sound speed,

kFS,p(s)\displaystyle k_{{\rm FS},p}(s) \displaystyle\equiv (3/2)2(s)Ωm(s)cp2(s),\displaystyle\sqrt{\frac{(3/2)\,{\mathcal{H}}^{2}(s)\,\Omega_{\rm m}(s)}{c_{p}^{2}(s)}}, (7.9)
cp(s)\displaystyle c_{p}(s) \displaystyle\equiv p3amν,\displaystyle\frac{p}{\sqrt{3}\,am_{\nu}}, (7.10)

similar to kFS(s)k_{\rm FS}(s) and cν(s)c_{\nu}(s) of equations (3.10) and (3.11).

Connecting the two limiting solutions (7.5) and (7.8) with an interpolation function analogous to equation (3.17) then yields an estimate for the fractional deviation of the perturbed neutrino phase space density from the background relativistic Fermi–Dirac distribution,

δfμf¯(k,p,s)=13lnf¯lnpkFS,p2(s)[k+kFS,p(s)]2δm(k,s).\frac{\langle\delta f\rangle_{\mu}}{\bar{f}}(k,p,s)=-\frac{1}{3}\frac{\partial\ln\bar{f}}{\partial\ln p}\frac{k_{{\rm FS},p}^{2}(s)}{[k+k_{{\rm FS},p}(s)]^{2}}\,\delta_{\rm m}(k,s). (7.11)

Figure 8 shows δfμ/f¯\langle\delta f\rangle_{\mu}/\bar{f} in 100 equal-population momentum-bins at z=0z=0, constructed from our SuperEasy linear response simulations for several massive neutrino cosmologies of table 1. In line with expectations, the larger the neutrino fraction fνf_{\nu} and hence more massive the neutrinos, the larger the fractional deviation of the perturbed neutrino phase space density from the Fermi–Dirac distribution. In the case of the model Nu1, the fractional deviation can be as large as 0.40.4, which may be hinting at a potential failure of linear response as a model of neutrino clustering for neutrino masses as large as mν=0.93\sum m_{\nu}=0.93 eV (see also figure 9). The model Nu2 (mν=0.465\sum m_{\nu}=0.465 eV) likewise exhibits deviations exceeding 0.10.1. Smaller-mass models however generally show no cause for concern.

Refer to caption
Figure 8: Fractional deviation of the perturbed neutrino phase density from the background relativistic Fermi–Dirac distribution, δfμ/f¯\langle\delta f\rangle_{\mu}/\bar{f}, at z=0z=0 in 100 equal-population momentum-bins, constructed from our SuperEasy linear response simulations for the cosmological models Nu1, Nu2, Nu3, and Nu5. Red represents the lowest-momenta, while blue denotes the highest. For reference we also plot in black the matter density contrast δm\delta_{\rm m}, taken to be the square root of the dimensionless power spectrum Δm2\Delta^{2}_{\rm m}.

Interestingly, and perhaps also counter-intuitively, it is not only at the low momenta that the neutrino phase space density deviates significantly from the background distribution. In fact, given a cosmological model, figures 8 and 9 show that all momenta low and high can exhibit a sizeable departure from the Fermi–Dirac distribution at some wave number kk. This is a feature of the Eulerian picture, and comes about because on every length scale R1/kR\sim 1/k, gravitational infall causes the bulk of the neutrinos to congregate around a momentum pesc=mνvescp_{\rm esc}=m_{\nu}v_{\rm esc} corresponding to the escape velocity of the structures on that scale, vesc=2GM/Rv_{\rm esc}=\sqrt{2GM/R}, where M=(4π/3)ρ¯mR3M=(4\pi/3)\bar{\rho}_{\rm m}R^{3}. Thus, for a fixed neutrino mass, the highest momenta peak first at small wave numbers kk, while the lowest momenta peak at large kk values. In the same vein, for a fixed momentum, the smaller the neutrino mass, the smaller the wave number kk at which we expect a peak.

Refer to caption
Figure 9: Fractional deviation δfμ/f¯\langle\delta f\rangle_{\mu}/\bar{f} (solid purple) and the quantity I(k,p,s)=|(δfμ/p)/(f¯/p)|I(k,p,s)=\left|(\partial\langle\delta f\rangle_{\mu}/\partial p)/(\partial\bar{f}/\partial p)\right| (dashed green) at z=0z=0 for the model Nu1. Each set of lines corresponds to k=0.01hk=0.01h/Mpc, 0.03h0.03h/Mpc, 0.1h0.1h/Mpc, 0.3h0.3h/Mpc, and 1h1h/Mpc in order of increasing thickness. Momenta below 0.230.23, 0.510.51, and 1.21.2 in units of the present-day neutrino temperature correspond to the slowest 0.1%, 1%, and 10% of neutrinos, respectively, while those above 5.55.5, 8.58.5, and 1111 correspond to the fastest 10%, 1%, and 0.1%, respectively.

Our result is consistent with the findings of reference [32], which likewise concluded that the largest deviation in the phase space density of relic neutrino background in the solar neighbourhood occurs at pescp_{\rm esc} (see figure 6 of [32]). The Eulerian picture of this work also forms an interesting contrast to the semi-Lagrangian, multi-fluid linear response approach investigated in our companion paper 2 [34], wherein neutrinos with low Lagrangian momenta do consistently exhibit a larger departure from their background densities than do the higher-momentum ones. The two approaches are therefore complementary.

7.2 Condition of linearisation

Next, we turn to assessing how well the linearisation condition (2.7) is satisfied by our SuperEasy linear response simulations. If we are again only interested in a μ\mu-averaged result, then the condition (2.7) can be equivalently written as

I(k,p,s)|δfμ/pf¯/p|1,I(k,p,s)\equiv\left|\frac{\partial\langle\delta f\rangle_{\mu}/\partial p}{\partial\bar{f}/\partial p}\right|\ll 1, (7.12)

where the numerator can be readily obtained by differentiating the expression (7.11),

pδfμ(k,p,s)=13[p2f¯p2f¯p(kkFS,p(s)k+kFS,p(s))]kFS,p2(s)[k+kFS,p(s)]2δm(k,s).\displaystyle\frac{\partial}{\partial p}\langle\delta{f}\rangle_{\mu}(k,p,s)=-\frac{1}{3}\left[p\frac{\partial^{2}\bar{f}}{\partial p^{2}}-\frac{\partial\bar{f}}{\partial p}\left(\frac{k-k_{{\rm FS},p}(s)}{k+k_{{\rm FS},p}(s)}\right)\right]\frac{k_{{\rm FS},p}^{2}(s)}{[k+k_{{\rm FS},p}(s)]^{2}}\delta_{\rm m}(k,s). (7.13)

Alternatively, a more laborious route that leads to the same outcome begins with δf(k,p,s)\delta f(\vec{k},\vec{p},s) of equation (7.1). Forming from it p^pδf\hat{p}\cdot\nabla_{\vec{p}}\,\delta f and then averaging over μ\mu yields a p^pδfμ\langle\hat{p}\cdot\nabla_{\vec{p}}\,\delta f\rangle_{\mu} that has the same clustering and free-streaming solutions as δfμ/p\partial\langle\delta f\rangle_{\mu}/\partial p of equation (7.13).

Figure 10 shows the ratio I(k,p,s)I(k,p,s) at z=0z=0 constructed from our SuperEasy linear response simulations for the same four massive neutrino cosmologies as in figure 8, again for 100 equal-population momentum bins. An alternative view of the same quantity is presented in figure 9 for the model Nu1. With the exception of the very lowest momenta (representing 0.1%\ll 0.1\% of the neutrino population) in Nu1, I(k,p,s)I(k,p,s) remains below unity in all cases, indicating no catastrophic breakdown of the linearisation condition (2.7) or, equivalently, (7.12) in the massive neutrino cosmologies considered in this work. However, as expected, the larger the neutrino mass of the cosmology, the more difficult it is to satisfy the linearisation condition. The model Nu1 (mν=0.93\sum m_{\nu}=0.93 eV), for example, has I(k,p,s)I(k,p,s) reaching 0.20.2 to 0.40.4 in all 100 momentum-bins in figure 10, suggesting that there are likely nonlinear effects in the neutrino sector that we have failed to account for by linearisation. The highest momentum-bins in Nu2 (mν=0.465\sum m_{\nu}=0.465 eV) likewise climb to I0.2I\sim 0.2, although momenta in the bulk tend not to exceed I0.1I\sim 0.1, so that on the whole the linearisation condition (2.7) or (7.12) can be deemed reasonably well satisfied by the model. The lower-mass Nu3 and Nu5 always have I<0.1I<0.1 in all 100 bins.

Refer to caption
Figure 10: Same as figure 8, but for the ratio I(k,p,s)=|(δfμ/p)/(f¯/p)|I(k,p,s)=\left|(\partial\langle\delta f\rangle_{\mu}/\partial p)/(\partial\bar{f}/\partial p)\right|. A I(k,p,s)I(k,p,s) substantially below unity indicates good justification for the method of linear response.

As with our discussion of δfμ/f¯\langle\delta f\rangle_{\mu}/\bar{f} in section 7.1, a unique feature of the Eulerian picture is that, for a given cosmology, all momenta tend to perform more or less the same in terms of how well they satisfy the linearisation condition (2.7) or (7.12), except that the ratio I(k,p,s)I(k,p,s) tends to peak at different values of kk for different values of pp. Again, this is in complete contrast to the semi-Lagrangian multi-fluid approach of our companion paper 2 [34], where it is always the low Lagrangian-momentum streams that become nonlinear first, while the high-momentum modes stay safely linear.

This observation implies that incorporating nonlinear corrections in the SuperEasy linear response method of this work and in the multi-fluid linear response of paper 2 will require completely different strategies. As discussed in paper 2, a natural nonlinear extension to the multi-fluid approach — with its clear demarcation of nonlinear and linear Lagrangian-momentum streams — is the hybrid scheme proposed in reference [35]. Extending SuperEasy linear response to a nonlinear response theory, on the other hand, may require that we target the momenta around pescp_{\rm esc} at each wave number kk. We shall leave this investigation for a future publication, and close this section by emphasising that the linearisation condition (7.12) is generally well satisfied by massive neutrino cosmologies with mass sums not exceeding mν0.5\sum m_{\nu}\sim 0.5 eV. This range encompasses all neutrino mass sums lying within even the most conservative of the present generation of 2σ2\sigma cosmological neutrino mass bounds.

8 Conclusions

In this work, we have presented a new linear response method for incorporating massive neutrinos into a cosmological NN-body simulation. The new method, dubbed “SuperEasy linear response”, builds upon analytical solutions of the linearised collisionless Boltzmann equation for the neutrino density contrast in the free-streaming and clustering limits. The two solutions are connected by an interpolation function formed of a rational function of the wave number kk, with coefficients given by simple algebraic expressions of the total matter density Ωm,0\Omega_{\rm m,0}, the scale factor aa, and the neutrino mass mνm_{\nu}. The end result is an elegant one-line modification to the gravitational potential capable of reproducing the effects of massive neutrinos from the cold matter density contrast alone, that can be immediately incorporated into the Particle–Mesh component of an NN-body code at no additional implementation cost.

Implementing this one-line modification in Gadget-2, we demonstrate that for massive neutrino cosmologies with neutrino mass sums not exceeding mν0.9\sum m_{\nu}\simeq 0.9 eV, the SuperEasy method is able to reproduce the total matter power spectrum predictions in the wave number range 0.01h/Mpck5h/Mpc0.01\,h/{\rm Mpc}\lesssim k\lesssim 5\,h/{\rm Mpc} to sub-percent level agreement with the state-of-the-art integral linear response method of reference [29]. For the combined cold dark matter+baryon power spectrum, our calculations are within 0.1%0.1\% of the state-of-the-art in the same mass and wave number range. We further compare the cold matter power spectrum ratio of two different massive neutrino cosmologies (the “relative power spectrum”) computed with the SuperEasy method using Gadget-2, with the equivalent result of reference [41] which used the grid-based linear neutrino perturbation method [27] implemented in PKDGRAV3 [50]. Again, sub-percent level agreement is found.

We then turn to assessing the validity of linear response methods, by examining (i) the fractional deviation of the perturbed neutrino phase space distribution from the background relativistic Fermi–Dirac distribution, and (ii) the momentum-gradient of the deviation, which is a measure of how well the linearisation condition (2.7) is satisfied. We find that the lower-mass models (mν0.5\sum m_{\nu}\lesssim 0.5 eV) can be deemed safely linear, suggesting that the neutrino density contrast returned by SuperEasy linear response in these cases are trustworthy. The largest-mass model considered (mν1\sum m_{\nu}\simeq 1 eV), on the other hand, likely suffers from nonlinear effects in the neutrino sector not captured by linearisation. We leave the investigation of nonlinear corrections within the SuperEasy approach for a future publication.

Of course, notwithstanding its simplicity and ability to predict some cosmological observables with good accuracy, the SuperEasy method is not without limitations. In particular, in using an interpolation function to connect the neutrino overdensities δν\delta_{\nu} at small and large wave numbers, we sacrifice precision in the prediction of δν\delta_{\nu} even on nominally linear scales (k0.1hk\lesssim 0.1\,h/Mpc at z=0z=0) relative to the class output. Furthermore, as with all NN-body methods that employ some form of linearisation for the neutrino component, higher-order correlation statistics such as the matter bispectrum or any other observable that probes the relative phase between the cold matter and the neutrino perturbations may not be accurately captured [52]. These limitations need to be heeded when applying the SuperEasy method.

To conclude, the SuperEasy linear response method has an extremely slim profile in terms of computational cost, and is, importantly, very simple to implement into a wide range of NN-body codes. The memory cost of a single SuperEasy simulation is identical to a Λ\LambdaCDM simulation, with no additional storage or post-processing required. Notwithstanding its extreme simplicity, the SuperEasy method is able to match state-of-the-art massive neutino linear response methods to sub-0.1% agreement on the cold matter power spectrum. It is an especially appealing method where limited computational resources need to be diverted to the implementation of other physical calculations, such as the inclusion of baryonic physics via hydrodynamics.

Acknowledgments

JZC acknowledges support from an Australian Government Research Training Program Scholarship. AU and Y3W are supported by the Australian Research Council’s Discovery Project (project DP170102382) and Future Fellowship (project FT180100031) funding schemes. This research includes computations using the computational cluster Katana supported by Research Technology Services at UNSW Sydney. We thank J.M. Dakin for useful discussions.

Appendix A Generalisation to multiple non-degenerate neutrino species

It is straightforward to generalise the SuperEasy linear response interpolation function (3.18) for the neutrino density contrast and hence (3.19) for the total matter density to accommodate multiple species of non-degenerate neutrinos.

Consider N=3N=3 neutrino species, where each individual species ii is characterised by a free-streaming scale kFS,i(s)k_{{\rm FS},i}(s) and mass fraction fνiρ¯νi/ρ¯mf_{\nu_{i}}\equiv\bar{\rho}_{\nu_{i}}/\bar{\rho}_{\rm m}. Because the linear response solution (2.10) concerns only how one species responds to a formally external and unspecified potential, the limiting solutions (3.12) and (3.16) remain valid, and we can immediately generalise the interpolation function (3.17) to

δνi(k,s)=\displaystyle{\delta}_{\nu_{i}}(\vec{k},s)= kFS,i2(s)[k+kFS,i(s)]2δm(k,s)\displaystyle\,\frac{k_{\text{FS},i}^{2}(s)}{\left[k+k_{\text{FS},i}(s)\right]^{2}}\,{\delta}_{\rm m}(\vec{k},s) (A.1)
=\displaystyle= kFS,i2(s)[k+kFS,i(s)]2[fcbδcb(k,s)+j=13fνjδνj(k,s)],\displaystyle\,\frac{k_{\text{FS},i}^{2}(s)}{\left[k+k_{\text{FS},i}(s)\right]^{2}}\left[f_{\rm cb}\,{\delta}_{\text{cb}}(\vec{k},s)+\sum_{j=1}^{3}f_{\nu_{j}}\,{\delta}_{\nu_{j}}(\vec{k},s)\right]\,,

where the total matter density contrast δm{\delta}_{\rm m} now contains contributions from three neutrino species, and fcb=1j=13fνjf_{\rm cb}=1-\sum_{j=1}^{3}f_{\nu_{j}}. Collecting all terms for iith species, we arrive at

δνi(k,s)=\displaystyle{\delta}_{\nu_{i}}(\vec{k},s)= Ki(k,s)[fcbδcb(k,s)+jifνjδνj(k,s)],\displaystyle\,K_{i}(k,s)\left[f_{\rm cb}{\delta}_{\text{cb}}(\vec{k},s)+\sum_{j\neq i}f_{\nu_{j}}{\delta}_{\nu_{j}}(\vec{k},s)\right]\,, (A.2)

with

Ki(k,s)kFS,i2(s)[k+kFS,i(s)]2kFS,i2(s)fνi.K_{i}(k,s)\equiv\frac{k_{\text{FS},i}^{2}(s)}{[k+k_{{\rm FS},i}(s)]^{2}-k_{\text{FS},i}^{2}(s)\,f_{\nu_{i}}}. (A.3)

Save for an additional term proportional to the other neutrino species jij\neq i, the interpolation function (A.2) has essentially the same form as equation (3.18).

Defining a neutrino density contrast vector δν(k,s)(δν1,δν2,δν3)T\vec{\delta}_{\nu}(\vec{k},s)\equiv({\delta}_{\nu 1},{\delta}_{\nu_{2}},{\delta}_{\nu_{3}})^{T} and rewriting equation (A.2) in matrix form, we find

δν(k,s)=[𝟙M(k,s)]1ξ(k,s)fcbδcb(k,s),\vec{\delta}_{\nu}(\vec{k},s)=\left[\mathbb{1}-\mathrm{M}(k,s)\right]^{-1}\vec{\xi}(k,s)\,\,f_{\rm cb}\,{\delta}_{\text{cb}}(\vec{k},s)\,, (A.4)

where ξ(K1,K2,K3)T\vec{\xi}\equiv(K_{1},K_{2},K_{3})^{T}, M(k,s)\mathrm{M}(k,s) is a square matrix defined as

M(k,s)(0K1fν2K1fν3K2fν10K2fν3K3fν1K3fν20),\mathrm{M}(k,s)\equiv\begin{pmatrix}0&K_{1}f_{\nu 2}&K_{1}f_{\nu_{3}}\\ K_{2}f_{\nu_{1}}&0&K_{2}f_{\nu_{3}}\\ K_{3}f_{\nu_{1}}&K_{3}f_{\nu_{2}}&0\end{pmatrix}\,, (A.5)

and []1[\cdots]^{-1} denotes an inverse operation. Having thus expressed δνi(k,s){\delta}_{\nu_{i}}(k,s) solely in terms of the CDM–baryon density contrast δcb(k,s){\delta}_{\text{cb}}(\vec{k},s), they can now be combined to form the total matter density δm(k,s){\delta}_{\text{m}}(\vec{k},s) and hence the gravitational potential ϕ{\phi} via the Poisson equation (2.2). Implementation into NN-body simulations can then proceed as described in section 4.

References