Theoretical Results
In this section, we apply the results of Barré et al. (2017) to the one-dimensional periodic domain \([-L,L]\), to study the stability of stationary solutions of the macroscopic model given by Eqs. (6a) and (7) with \(R<L\).
Identification of the Stability Region
We first linearize equation (6a) around the constant steady state \(\rho ^*=\frac{1}{2L}\), so that the total mass is equal to 1, we denote the perturbation by \(\rho \), so we have \(f=\rho ^*+\rho \), that satisfies
$$\begin{aligned} \partial _{t} \rho ={D\Delta _{x} \rho }+\rho ^*\Delta (V*\rho ), \end{aligned}$$
(8)
where V is given by (7). We will further decompose f into its Fourier modes
$$\begin{aligned} \rho (x)=\sum _{k\in \mathbb {Z}}\hat{\rho }_{k}e_{k},\quad \text{ where } e_{k}=\exp {\left[ i\pi \frac{kx}{L}\right] } \end{aligned}$$
and the Fourier transform is given by
$$\begin{aligned} \hat{\rho }_{k}=\frac{1}{2L}\int _{-L}^{L} \rho (x)e_{-k}\, \mathrm{d}x. \end{aligned}$$
Applying the Fourier transform to (8), a straightforward computation gives
$$\begin{aligned} \partial _{t}\hat{\rho }_k=-\left( \frac{\pi k}{L} \right) ^2\left( D+\hat{V}_k \right) \hat{\rho }_k, \end{aligned}$$
(9)
where the Fourier modes of the potential V are given by
$$\begin{aligned} \hat{V}_k&=\frac{2R^3 }{L}\left( -\frac{\sin (z_k)}{z_k^3}+(1-\alpha )\frac{\cos (z_k)}{z_k^2}+\frac{\alpha }{z_k^2} \right) . \end{aligned}$$
(10)
Here, we denoted
$$\begin{aligned} \alpha =\frac{\ell }{R},\quad z_k=\frac{\pi R |k|}{L}. \end{aligned}$$
Therefore, the stability of the constant steady state will be ensured if the coefficient in front of \(\hat{\rho }_k\) on the r.h.s. of (9) has a non-positive real part for \(k=1\). Indeed, as observed in Barré et al. (2017), this condition implies that all the other modes are then also stable. This condition is related to the H-stable/catastrophic behavior of interaction potentials that characterizes the existence of global minimizers of the total potential energy as recently shown in Cañizo et al. (2015), Simione et al. (2015).
Characterization of the Bifurcation Type
As shown in Barré et al. (2017), it is possible to distinguish two types of bifurcation as functions of the model parameters. Indeed, if we define:
$$\begin{aligned} \lambda =\lambda _{\pm 1}=-\frac{\pi ^2}{L^2}\left( D+\hat{ V}_{1} \right) , \end{aligned}$$
(11a)
$$\begin{aligned} \lambda _{k}=-\frac{\pi ^2k^2}{L^2}\left( D+\hat{V}_{k} \right) , \end{aligned}$$
(11b)
we have the following proposition (see Barré et al. 2017):
Proposition 1
Assume that \(\lambda >0\) and \(\lambda _{k}<0, \; \forall k \ne \pm 1\). Then,
-
if \(2\hat{V}_{2} - \hat{V}_{-1}>0\), the steady state exhibits a supercritical bifurcation;
-
if \(2\hat{V}_{2} - \hat{V}_{-1}<0\), the steady state exhibits a subcritical bifurcation.
Note that the above criterion only involves the potential, but does not involve the parameter D, and it only restricts the values of \(\alpha \) or \(\ell \).
Numerical Results
Choice of Numerical Parameters
In the linearized equation (8), there are four parameters that may vary: D, \(\ell \), R, and L. In this part of the paper, we focus on the case where the potential is of comparable range R to the size of the domain L, and fix the value of the following parameters:
$$\begin{aligned} L=3\quad \text{ and } \quad R=0.75; \end{aligned}$$
therefore, \(z_1=\frac{\pi }{4}\). Using (9) and the discussion from the end of Sect. 3.1.1, we can identify the region where the constant steady state is unstable. Computing \(\hat{V}_1<0\) and \(\hat{V}_1<-D\), respectively, leads to the following restriction for two remaining parameters of the system \(\ell \) and D:
$$\begin{aligned} \frac{\ell }{0.75}<\alpha _c:=\frac{(4-\pi )(\sqrt{2}+1)}{\pi }\quad \text{ and }\quad (0.75)^2>\frac{D\pi ^2(2+\sqrt{2})}{8\left( \alpha _c-\frac{\ell }{0.75} \right) }, \end{aligned}$$
which allows to approximate the instability region for this particular case as \(D<D(\ell )=0.1781(0.4948-\ell )\). We also introduce a notation \(\ell _c=R\alpha _c\), which in this case gives \(\ell _c=0.4948\). The parameter \(\ell _c\) denotes the value of \(\ell \) above which the constant steady state is always stable independently of the value of the parameter D.
Using (10) and Proposition 1, we check that the bifurcation changes its character for \(\ell =\ell ^*\), where \(\ell ^*=0.75\frac{(\pi -4)\sqrt{2}+2}{\pi (\sqrt{2}-1)}\approx 0.4530\). Recall that our criterion did not involve the parameter D; therefore, the bifurcation is supercritical if only \(\ell \in \left( \ell ^*,\ell _c \right) \approx (0.4530, 0.4948)\), and subcritical if \(\ell \in (0,l^*)\approx (0, 0.4530)\). The value of parameter D corresponding to the instability threshold for \(l=l^*\approx 0.4530\) is denoted by \(D^*\), and it is equal to 0.0074. All of these parameters are presented in Fig. 2.
Remark 1
Choosing R comparable to L allows us to observe two types of bifurcation: continuous and discontinuous one. It was observed in Barré et al. (2017) that taking \(R\ll L\) would cause that for most values of \(\ell \) the bifurcation would be subcritical (discontinuous). This effect is captured in Fig. 8, for the two-dimensional case.
Macroscopic Model
We now make use of the numerical scheme developed in Carrillo et al. (2015) to analyze the macroscopic equation (6a) with the potential (7) in the unstable regime. The choice of the numerical scheme is due to its free energy decreasing property for equations enjoying a gradient flow structure such as (6a). Keeping this property of gradient flows is of paramount importance in order to compute the right stationary states in the long time asymptotics. In fact, under a suitable CFL condition the scheme is positivity preserving and well balanced, i.e., stationary states are preserved exactly by the scheme.
To check the correctness of the criterion from Proposition 1, we consider two cases corresponding to two different types of bifurcation, as depicted in Fig. 2:
-
\(\ell _1= 0.4725\) for different values of the noise D, where we expect a supercritical (continuous) transition for \(D<D_{1} = 0.0040\);
-
\(\ell _2= 0.3\) for different values of the noise D, where we expect a subcritical (discontinuous) transition for \(D< D_2 = 0.0347\).
In order to trace the influence of the diffusion on the type of bifurcation, for fixed \(\ell _1\), \(\ell _2\), we will be looking for the values of diffusion coefficients \(D_{1,\lambda }\), \(D_{2,\lambda }\) such that
$$\begin{aligned} D_{1,\lambda }\uparrow D_{1}=0.0040,\quad D_{2,\lambda }\uparrow D_{2}=0.0347. \end{aligned}$$
Recall that according to Barré et al. (2017), the parameter \(\lambda \) defined in (11a) measures the distance from the instability threshold. We will use this information to determine the values of parameters \(D_{1,\lambda }=D_{1,\lambda }(\lambda )\) and \(D_{2,\lambda }=D_{2,\lambda }(\lambda )\) computed from (11a). We consider 14 different values for subcritical and supercritical case, as specified in Table 1.
Table 1 Table of parameters \(D_{1,\lambda }\) (supercritical) and \(D_{2,\lambda }\) (subcritical) for the numerical simulations in the macroscopic case with highlighted values corresponding to the phase transition
Moreover, in Barré et al. (2017) the authors proved that the perturbation \(\rho (t)\) of the constant steady state satisfies the following equation
$$\begin{aligned} \rho (t,x) = A(t) e_{1}+A^*(t) e_{-1} +A^2(t) h_{2} e_{2} + (A^{*})^2(t) h_{-2} e_{-2} + O((A,A^*)^3), \end{aligned}$$
(12)
where
$$\begin{aligned} \dot{A}=\lambda A +8\frac{\pi ^4}{L^2}\frac{\hat{V}_{1}}{2\lambda -\lambda _2}\left( 2\hat{V}_{2}-\hat{V}_{1} \right) |A|^2A+ O((A,A^*)^4), \end{aligned}$$
(13)
and
$$\begin{aligned} h_{2}= -\frac{4\pi ^2}{L}\frac{\hat{V}_1}{(2\lambda -\lambda _2)},\quad h_{-2}= -\frac{4\pi ^2}{L}\frac{\hat{V}_{-1}}{(2\lambda -\lambda _2)}. \end{aligned}$$
Equation (13) means that for the supercritical bifurcation we can observe a saturation. This means that before stabilizing A(t) first grows exponentially until the r.h.s. of (13) is equal to zero, i.e., for
$$\begin{aligned} |A|=\frac{\sqrt{\lambda }L}{2\sqrt{2}\pi ^2}\sqrt{\frac{2\lambda -\lambda _2}{-\hat{V}_1(2\hat{V}_2-\hat{V}_1)}}. \end{aligned}$$
(14)
Using this information to estimate the r.h.s. of (12), we obtain that
$$\begin{aligned} |\rho (t,x)|\approx 2|A|+\frac{\lambda L}{\pi ^2(2\hat{V}_2-\hat{V}_1)} = \frac{\sqrt{\lambda }L}{\sqrt{2}\pi ^2}\sqrt{\frac{2\lambda -\lambda _2}{-\hat{V}_1(2\hat{V}_2-\hat{V}_1)}}+\frac{\lambda L}{\pi ^2(2\hat{V}_2-\hat{V}_1)}.\nonumber \\ \end{aligned}$$
(15)
This condition gives us the upper estimate for the amplitude of perturbation \(\rho \) when the steady state is achieved, that is, after the saturation. The derivation of Proposition 1 in Barré et al. (2017) assumes sufficiently small perturbation of the steady state. Therefore, the initial data for our numerical simulations should be least smaller than the value of |A| corresponding to the saturation level. It turns out that |A| computed in (14) is always less than \(\sqrt{\lambda }\), so the size of initial perturbation of the steady state should be also taken in this regime. If we choose the initial data for the numerical simulations of the supercritical case in this regime, we should see a continuous decay of the saturated amplitude of perturbation to 0, as \(\lambda \) decreases. We will perturb the initial data for the subcritical case similarly, showing that even though the smallness restriction is respected, the saturated amplitude of perturbation is a discontinuous function of \(\lambda \).
In what follows, we perturb the constant initial condition by the first Fourier mode:
$$\begin{aligned} f_0(x)=\frac{1}{2L}+{\delta (\lambda )} \cos \left( \frac{x\pi }{L} \right) , \end{aligned}$$
with \({\delta (\lambda ) \le \sqrt{\lambda }}\). In the numerical simulations, we consider the case \({\delta }=0.01\). In order to distinguish between the homogeneous steady states (corresponding to the stable regime) and the aggregated steady states (corresponding to the unstable regimes), we compute the following quantifier Q on the density profiles of the numerical solutions:
$$\begin{aligned} Q = \sqrt{c_1^2 + s_1^2}, \end{aligned}$$
(16)
where
$$\begin{aligned} c_1 = \frac{1}{L} \int _{-L}^L f(T_\mathrm{max}, x) \cos \left( \frac{x\pi }{L} \right) \mathrm{d}x,\quad s_1 = \frac{1}{L} \int _{-L}^L f(T_\mathrm{max}, x) \sin \left( \frac{x\pi }{L} \right) \mathrm{d}x, \end{aligned}$$
where \(T_\mathrm{max}\) corresponds to the formation of the steady state. Note that (i) if the steady state is homogeneous in space then \(Q=0\) and (ii) if f is a symmetric function with respect to x, then \(Q = c_1\).
To estimate \(T_\mathrm{max}\), we use the following criterion. From the theory (Carrillo et al. 2003), we know that steady states are positive everywhere and the quantity \(\xi =D\log \varrho + V*\varrho \) is equal to some constant C. We then compute the distance of \(\xi \) from its mean value:
$$\begin{aligned} \xi ^*(t)=\max _{x\in [-L,L]}\left| \xi (t, x)-\frac{1}{2L}\int _{-L}^L\xi (t, x)\ \mathrm{d}x\right| . \end{aligned}$$
The steady state is achieved if \(\xi ^*\) is sufficiently close to 0, and in our numerical scheme we continue the computations until \(t=T_\mathrm{max}\) for which \({\xi }^*(T_\mathrm{max})<10^{-7}\). The computed values are presented in Tables 5 and 6 in “Appendix 2”. In Fig. 3, we show the values of the order parameter Q as a function of the noise intensity D for both types of bifurcation.
As shown in Fig. 3, the quantifier Q indeed undergoes a discontinuous transition around \(D = 0.0347\) for \(\ell = 0.3\) (subcritical case, Fig. 3a) and a continuous transition around \(D = 0.004\) for \(\ell = 0.4725\) (supercritical case, Fig. 3b). These results show that the numerical solutions are in very good agreement with the theoretical predictions.
In order to check the accuracy of our prediction of the value of \(T_\mathrm{max}\), we show in Fig. 4 the graph of \(\xi ^*(t)\) for several values of D in the supercritical and the subcritical cases (see Table 1). As shown in Fig. 4, we observe a very sharp change of \(\xi ^*\) for the subcritical bifurcation and much smoother one for the supercritical case. The amplitude change of \(\xi ^*\) is also a good indication of the type of bifurcation. As for the order parameter, we see that for the subcritical bifurcation it is on similar level (Fig. 4a) for all values of D, while for the supercritical bifurcation it decays to 0 (Fig. 4b). We will use this observation to analyze the results of the two-dimensional simulations later on.
Finally, we can also check how the theoretical prediction of the size of perturbation from (15) is confirmed by our numerical results. For this purpose, we compute the maximum of the perturbation once the steady state is achieved:
$$\begin{aligned} |\rho |_\mathrm{num}=\Vert f(T_\mathrm{max},x)-\rho ^*\Vert _{L^\infty ((-L,L))} \end{aligned}$$
for all the points of supercritical bifurcation. The results are presented in Fig. 5 and in Table 2.
Table 2 Theoretical (\(|\rho |_\mathrm{th}\)) vs numerical (\(|\rho |_\mathrm{num}\)) values for the size of perturbation
We now aim at performing the same stability analysis on the microscopic model from Sect. 2.1—the starting point of the derivation of the macroscopic model.
Microscopic Model
Here, we aim at performing simulations of the microscopic model from Section 2.1, rescaled with the scaling from Section 2.3. After rescaling and if we consider an explicit Euler scheme in time (see “Appendix 1”), we can show that Eq. (3) between time steps \(t^n\) and \(t^n+\Delta t^n\) reads (in non-dimensionalized variables):
$$\begin{aligned} X_i^{n+1} = X_i^n - \nabla _{X_i} W(X^n) \Delta t^n + \sqrt{2{D} \Delta t^n}{\mathcal {N}}(0,1), \end{aligned}$$
(17)
where W is defined by (2) and \({\mathcal {N}}(0,1)\) is the normal distribution with mean 0 and standard deviation 1. Between two time steps, new links are created between close enough pairs of particles that are not already linked with probability \(\mathbb {P}_f = 1 - e^{{\nu _f \Delta t^n}/{((N-1)\varepsilon ^2)}}\) and the existing links disappear with probability \(\mathbb {P}_d = 1 - e^{-{\nu _d \Delta t^n}/{((N-1)\varepsilon ^2)}}\). Therefore, the rescaled version of the microscopic model features a very fast link creation/destruction rate, as the linking and unlinking frequencies are supposed to be of order \(1/\varepsilon ^2\), for small \(\varepsilon \). Note also that to capture the right time scale, the time step \(\Delta t\) must be decreased with \(\varepsilon \), which makes the microscopic model computationally costly for small values of \(\varepsilon \). For computation time reasons, we also consider the limiting case \(\varepsilon = 0\) of the microscopic model; we can show that it reads:
$$\begin{aligned} X_i^{n+1} = X_i^n - \nabla _{X_i} W_0(X^n) \Delta t^n + \sqrt{2{D} \Delta t^n}{\mathcal {N}}(0,1), \end{aligned}$$
(18)
where
$$\begin{aligned} W_0(X) = \sum _{i,j |\ |X_i - X_j|\le R} V(X_i,X_j). \end{aligned}$$
Note that in this regime, no fiber link remains and particles interact with all of their close neighbors. The limit \(N \rightarrow \infty \) of this limiting microscopic model should exactly correspond to the macroscopic model (6) (see, for instance, Bolley et al. 2011; Fournier et al. 2015; Carrillo et al. 2014; Godinho and Quiñinao 2015 for studies of mean-field limits including, as in the present case, singular forces). If not otherwise stated, the values of the parameters in the microscopic simulations are given in Table 3.
Table 3 Table of parameters (non-dimensionalized values)
As for the macroscopic model, the order of the particle system at equilibrium is measured by the quantifier Q defined by Eq. (16), where the integrals are computed using the trapezoidal rule. To compute the density of agents f(x) in the microscopic simulations, we divide the computational domain \([-L,L]\) into \(N_x\) boxes of centers \(x_i\) and sizes \(\mathrm{d}x = \frac{L}{N_x}\), and for \(i= 1\ldots N_x\), we estimate
$$\begin{aligned} {f_i} = \frac{N_i}{2 N L}, \end{aligned}$$
where \(f_i=f(x_i)\) and \(N_i\) are, respectively, the density and the number of agents whose centers belong to the interval \([-L + (i-1)\mathrm{d}x, -L + i\, \mathrm{d}x]\). Following the analysis of the macroscopic model, we explore the same two cases: \(\ell _1= 0.4725\), \(D_{1}=0.0040\), and \(\ell _2= 0.3\), \(D_{2}=0.0347\) to check whether they correspond to the super and subcritical bifurcations, respectively.
In Fig. 6, we show the values of Q plotted as functions of the noise intensity D computed from the simulations of the scaled microscopic model (17) at equilibrium, for two different values of \(\ell \): \(\ell = 0.3\) (a), \(\ell = 0.4725\) (b), and different values of \(\varepsilon \): \(\varepsilon = \frac{1}{6}\) (blue curves), \(\varepsilon = \frac{1}{8}\) (orange curves), \(\varepsilon = \frac{1}{12}\) (black curves), and the limiting case “\(\varepsilon = 0\)” [Eq. (18), green curves]. For each \(\ell \), we superimpose the values of Q obtained with the simulations of the macroscopic model (red curves). As expected, we observe subcritical transitions for \(\ell = 0.3\) and a supercritical transition for \(\ell = 0.4725\). As \(\varepsilon \) decreases, the values of the noise intensity D for which the transitions occur get closer to the theoretical values predicted by the analysis of the macroscopic model. These results show that the scaled microscopic model has the same properties as the macroscopic one, and that the values of the parameters (\(\ell , D\)) which correspond to a bifurcation in the steady states tend, as \(\varepsilon \rightarrow 0\), to the ones predicted by the analysis of the macroscopic model. Indeed for the limiting case “\(\varepsilon =0\)” of the microscopic model, we obtain a very good agreement between the micro- and macroformulations, showing that the microscopic model behaves as predicted by the analysis of the macroscopic model.
It is noteworthy that the small differences observed in the values of the transitional D (subcritical case, Fig. 6a) can be due to the fact that we use a finite number of \(N=1000\) particles for the microscopic simulations, whereas the macroscopic model is in the limit \(N\rightarrow \infty \). However, these differences are very small when we consider the limit case \(\varepsilon =0\) for the microscopic model. Indeed, determining visually the transitional D in the microscopic simulations with neglecting the slight increase appearing after (see Fig. 6b), the relative error between the microscopic and macroscopic transitional D, \(\frac{|D_\mathrm{mic} - D_\mathrm{mac}|}{D_\mathrm{mac}}\) is \(7\%\) for \(\ell = 0.3\), and \(5\%\) for \(\ell = 0.4725\). In order to give a more quantitative analysis on the influence of the number of particles, we show in Fig. 7 the values of Q plotted as functions of the noise intensity D, for the macroscopic model (dashed red curves), and for the microscopic model with “\(\varepsilon =0\)” [Eq. (18)] and different number of particles N: \(N=500\) (green curves), \(N=1000\) (blue curves), and \(N=2000\) (red curves). Figure 7a shows the case \(\ell = 0.3\) (subcritical bifurcation) and (b) the case \(\ell = 0.4725\) (supercritical bifurcation). As depicted in Fig. 7, as the number of particle increases, the value of the critical noise intensities \(D_c\) get closer to the ones predicted by the macroscopic model for both the subcritical and supercritical transitions. Moreover, the values of Q corresponding to space homogeneous equilibria (for \(D>D_c\) in both cases) get closer to zero as N increases, and its variations after the transitional D observed for \(N=500\) or \(N=1000\) get negligible for \(N=2000\). Altogether, these results show that the microscopic model is a good approximation of the macroscopic dynamics when considering a large number of particles and a small value of \(\varepsilon \). It is noteworthy that the simulations of the microscopic model become very time-consuming when considering \(N=2000\) particles, and we refer the reader to “Computational Aspects of the Micro-and-Macroscopic Models” section of Appendix 1 for a detailed analysis of the computational time.
We now aim at comparing the profiles of the solutions between the microscopic and macroscopic models, to numerically validate the derivation of the macroscopic model from the microscopic dynamics.
Comparison of the Density Profiles in the Microscopic and Macroscopic Models
Here, we aim at comparing the profiles of the particle densities of the microscopic model with the ones of the macroscopic model as functions of time. As shown in the previous section, for \(\varepsilon \) small enough, we recover the bifurcation and bifurcation types observed from the macroscopic model with the microscopic formulation, with very good quantitative agreement when considering the limiting microscopic model (18) with “\(\varepsilon = 0\).” The simulations of the microscopic model are very time-consuming for small values of \(\varepsilon \), because we are obliged to consider very small time steps (see “Computational Aspects of the Micro-and-Macroscopic Models” section of Appendix 1). Here, due to computational time constraints, we therefore compare the results of the macroscopic model (6) with \(\varepsilon =0\) for which the time step can be taken much larger and independent of \(\varepsilon \).
In order to have the same initial condition for both the microscopic and macroscopic models, we initially choose the particle positions for both models such that:
$$\begin{aligned} f_0(x) = \frac{1}{2L} + \delta (\lambda ) \cos \frac{x\pi }{L}. \end{aligned}$$
We send the reader to “Appendix 1” for the numerical method used to set the initial conditions of the microscopic model. Because of the stochastic nature of the model, the microscopic model does not preserve the symmetry of the solution, contrary to the macroscopic model (where noise results in a deterministic diffusion term). To enable the comparison between the macroscopic and microscopic models, we therefore re-center the periodic domain of the microscopic model such that the center of mass of the particles is located at \(x=0\) (center of the domain). To this aim, given the set of particles \(X_j, j=1 \ldots N\), we reposition all the particles at points \(\tilde{X}_j, j=1\ldots N\) such that:
$$\begin{aligned} \tilde{X}_j = {\left\{ \begin{array}{ll} X_j - X_m \quad \text {if } |X_j - X_m|\le L\\ X_j - X_m - 2L \frac{X_j - X_m}{|X_j - X_m|} \quad \text {if } |X_j - X_m|> L, \end{array}\right. } \end{aligned}$$
where \(X_m\) is the center of mass computed on a periodic domain:
$$\begin{aligned} X_m =\frac{L}{\pi } \; \hbox {arg} \bigg (\frac{1}{2}\sum _{j=1}^N e^{\frac{i \pi X_j}{L}} \bigg ). \end{aligned}$$
Finally, in order to decrease the noise in the data of the microscopic simulations due to the random processes, the density of particles is computed on a set of several simulations of the microscopic model.
In Fig. 8, we show the density distributions of the macroscopic model (continuous lines) and of the microscopic one with “\(\varepsilon = 0\)” (circle markers) at different times, for \(\ell = 0.4725\) and \(\ell = 0.3\), respectively. For each value of \(\ell \), we consider two values for the noise intensity D: For \(\ell = 0.4725\), we study the cases \(D = 0.003\) and \(D=0.0003\), and for \(\ell = 0.3\), we choose \(D = 0.0338\) and \(D = 0.0034\). Note that all these values are in the unstable regime.
As shown in Fig. 8, we obtain a very good agreement between the solutions of the macroscopic model and of the microscopic one with “\(\varepsilon = 0\).” Close to the transitional D (Fig. 8a, b), the particle density converges in time toward a Gaussian-like distribution for both the microscopic and macroscopic models. Note that the microscopic simulations seem to converge in time toward the steady state faster than the macroscopic model (compare the orange curves on the top panels). This change in speed can be due to the fact that the microscopic model features finite number of particles while the macroscopic model is obtained in the limit of infinite number of particles. Therefore, in the macroscopic setting, each particle interacts with many more particles than in the microscopic model, which could result in a delay in the aggregation process.
When far from the transitional D in the unstable regime (Fig. 8c, d), one can observe the production of several bumps in the steady state of the particle density. The production of several particle clusters in these regimes shows that the noise triggers particle aggregation. For small noise intensity, local particle aggregates are formed which fail to detect neighboring aggregates. As a result, one can observe several clusters in the steady state, for small enough noise intensities. These bumps are observed for both the microscopic and macroscopic models, showing again a good agreement between the two dynamics.
In the next section, we present a numerical study of the macroscopic model in the two-dimensional case. As mentioned previously, the microscopic model is in very good agreement with the macroscopic dynamics for small values of \(\varepsilon \) as in the one-dimensional case. Its simulations are, however, very time-consuming, due to the need of very small time steps (see “Computational Aspects of the Micro-and-Macroscopic Models” section of Appendix 1). As a result, the microscopic model is not suited for the study of very large systems such as the ones considered in the two-dimensional case. We therefore provide a numerical two-dimensional study using the macroscopic model only.