#### Abstract

We present a new numerical method for solving nonlinear reaction-diffusion systems with cross-diffusion which are often taken as mathematical models for many applications in the biological, physical, and chemical sciences. The two-dimensional system is discretized by the local discontinuous Galerkin (LDG) method on unstructured triangular meshes associated with the piecewise linear finite element spaces, which can derive not only numerical solutions but also approximations for fluxes at the same time comparing with most of study work up to now which has derived numerical solutions only. Considering the stability requirement for the explicit scheme with strict time step restriction (), the implicit integration factor (IIF) method is employed for the temporal discretization so that the time step can be relaxed as . Moreover, the method allows us to compute element by element and avoids solving a global system of nonlinear algebraic equations as the standard implicit schemes do, which can reduce the computational cost greatly. Numerical simulations about the system with exact solution and the Brusselator model, which is a theoretical model for a type of autocatalytic chemical reaction, are conducted to confirm the expected accuracy, efficiency, and advantages of the proposed schemes.

#### 1. Introduction

In 1952, Turing proposed the reaction-diffusion systems in the seminal paper [1], which constitute an essential basis to describe morphogenetic mechanisms. It was suggested that, in a reaction-diffusion system describing the interaction between two species, different diffusion rates can lead to the destabilization of a constant steady state, followed by the transition to a nonhomogeneous steady state. According to this result, the equilibrium of the nonlinear system is asymptotically stable in the absence of diffusion but unstable in the presence of diffusion, which is called Turing unstable [2, 3]. This mechanism, known as diffusion driven instability, leads to the pattern appearance. In [4], Levin and Segel added diffusion to a planktonic system and demonstrated that diffusion plays an important role in generating spatial patterns. And these phenomena of spatial patterns have also been reported in [5–7] (see [8] for an extensive review).

Most of the reaction-diffusion systems used to predict the formation of patterns assumed that the diffusion of each species depends only on the gradient of the density of the species itself. However, cross-diffusion terms should be introduced when the gradient of the density of one species induces not only a flux of the species itself but also a flux of another species, which was originally introduced in the context of population dynamics [9] and has now gained a renewed interest in diverse contexts like ecology [10–12], social systems [13], drift-diffusion in semiconductors [14–16], granular materials [17], and other references [18–21].

In this paper, we study the reaction-diffusion system with both self-diffusion and cross-diffusion:where are the two biological or physical species or even two chemical concentrations, describe the reaction kinetics, and is the diffusion constant matrix. Here, the diagonal elements are called self-diffusion coefficients; the nondiagonals are called cross-diffusion coefficients. The term takes into account the flux of , , induced by the gradient of species , and the other three terms are the same.

In addition to the above theoretical aspects, an important interest lies in the behavior of numerical approximations exhibiting spatial pattern. And there are many numerical schemes to simulate system (1) including the finite difference methods, spectral methods, finite volume methods, and finite element methods. However, finite difference methods and spectral methods are constrained with the complicated and irregular domain geometries. At this point, they are not so popular as finite volume methods and finite element methods. In [22–24], the finite volume method proposed by Andreianov et al. [25] was adopted for the numerical treatment of the reaction-cross-diffusion system, and the formation and identification of spatial patterns were studied. And in [26], two kinds of finite element methods, which contain variational multiscale element-free Galerkin (VMEFG) and local discontinuous Galerkin (LDG) methods proposed by Cockburn and Shu [27], were applied to discretize the space derivative of the system. And fourth-order exponential time differencing Runge-Kutta method [28, 29] has been employed for temporal discretization.

In this paper, we choose to pursue LDG method, where more general numerical fluxes than those in [26] are used, coupled with Krylov implicit integration factor (IIF) methods [30, 31] for temporal discretization which is based on the IIF method [32]. By applying this method, we can derive the numerical approximations not only for solutions but also for fluxes at the same time. What is more, we can relax the time step necessary for explicit schemes to . Moreover, the method allows us to compute element by element and avoids solving a global system of nonlinear algebraic equations as the standard implicit schemes do, which can reduce the computational cost greatly.

The rest of this paper is organized as follows. In Section 2, we present the LDG formulation for spatial discretization, eliminate the auxiliary variables at the element level, and then apply the second-order IIF methods to discretize the resulting ordinary differential equations (ODEs) which have only original variables as unknowns. In Section 3, some numerical experiments including the test system with exact solutions and the Brusselator model (see, e.g., [33, 34]) are conducted to show that the results obtained by our method agree well with those in [23, 26] and our method possesses its own advantages. Finally, some conclusions are drawn in Section 4.

#### 2. Construction of the Fully Discrete Scheme

In this section, we present the fully discrete scheme, which was obtained by combining the LDG method with the IIF method, to solve the nonlinear reaction-diffusion system (1). Here we consider the system defined on , together with no-flux boundary conditions,and appropriate initial conditions,where is an open, bounded domain and is the outward unit normal to .

Let be regular triangulation of , and is the mesh size. denotes the collection of all edges in . and are the sets of interior edges and boundary edges, respectively.

##### 2.1. The LDG Method for Spatial Discretization

Firstly, by introducing two auxiliary variables and , we rewrite (1) as the following first-order differential equations:

Define the finite element space as follows: where denotes the linear polynomials defined on element .

Then the semidiscrete LDG formulation can be defined as follows. For , find and such that, for and ,where is the outward unit normal vector to . The quantities and are the so-called numerical fluxes and are chosen as [35] The stability parameter is taken to be to enhance the accuracy of the LDG method. The auxiliary vector parameter is generally chosen as on each edge .

The boundary conditions (2) are imposed through the following definition of the numerical fluxes:The numerical fluxes and can be defined similar to and , respectively.

By use of basis functions, we express and , in element aswhere denotes the basis functions: and , , , , , are the corresponding degrees of freedom:

For element , let , , denote its three adjacent elements. And we employ the subscript to mark the quantities belonging to the adjacent elements (see Figure 1).

Then, substituting (7) into (6), and applying expressions (9), we can obtain the matrix form for interior element , where we do by the same way with that in [36]: where and denote the time derivatives and the matrices are calculated as follows: for , where , with denoting the common edge between element and its adjacent element . We also use the relations that , , and .

*Remark 1. *If the edge shared by and is a boundary edge, that is to say, does not exist, then the above matrices related to the edge can have some differences. We only need to insert the numerical fluxes on boundary edges (8) into (6). Then, by the same way, we can derive the matrices for the boundary edges. The quantities , , and , are not needed and should be gotten rid of. In addition,

To facilitate computations, we rewrite the above matrix form into two separate matrix equations: where we use the notifications

In this paper, we take the degrees of freedom as the values of midpoints at three edges of ; then where is the area of element , is the unit matrix, and At this moment, (15) can be rewritten as ; :which is an advantage of LDG method where the auxiliary variables can be expressed by original variables locally.

As a special case of (20), for the adjacent elements , , we have where and , , denote the quantities belonging to adjacent elements (see Figure 1). Similarly, , , are used to mark the quantities belonging to the adjacent elements of , respectively. In addition, and when .

Substituting the above equations and (20) into (16), we derive a system including original variables only: where

##### 2.2. The IIF Methods Based on Krylov Subspace Approximation for Temporal Discretization

Assembling (22) over all of the elements in , we derive a global system of ODEs:where , , is the degrees of freedom on , and here denotes the number of triangular elements. The global matrix is sparse and formulated element by element according to (22). Each element contributes to the global matrix with no more than ten block matrices at corresponding six rows of .

Then we apply the second-order IIF scheme to system (24): where is the time level, , and .

When we compute , the vector is a known quantity related to the earlier time level and can be computed by the Krylov subspace approximation shown in [30]. The nonlinear system at is decoupled from the diffusion term with a simple form:which can be solved element by element. And the systems are independent of each other with every system of the same structure. The local algebraic system on every element , is of the following form: with The Newton iterative method can be applied to solve the above system. In the iterations to compute , we use the numerical value at time as the initial guess. The threshold value for judging Newton iteration can be set small enough and is taken as in the numerical examples.

#### 3. Numerical Experiments

In this section, numerical experiments are presented to demonstrate the validity and accuracy of the LDG method with the IIF scheme for solving the reaction-cross-diffusion system on two-dimensional triangular meshes. Firstly, we give a test example with exact solutions to manifest the spatial accuracy of the method. Then we apply the method to the Brusselator model with cross-diffusion. And numerical results agree well with those in other references [23, 26]. In addition, our Krylov IIF method for temporal discretization reduces the computational cost greatly, and LDG method for spatial discreetization derives the numerical approximations not only for solutions but also for fluxes at the same time.

All of the numerical examples considered in this section are subject to no-flux boundary conditions (2). The triangular partitions used here are Delaunay partitions gotten from EasyMesh (see Figure 2). And the time step size is taken aswhere is the length of the minimum edge in the triangular partition.

**(a)**Partition for with

**(b)**Partition for circular domian withIn addition, the auxiliary parameters in the numerical fluxes (7) and (8) are taken as where is the length of edge ; is the penalization parameter and is set to be in the following computation. is the outward unit normal vector of on .

##### 3.1. A Test Problem with Exact Solutions

To validate the spatial accuracy of our method numerically, we firstly consider a simple auxiliary reaction-diffusion system given in [23].

*Example 2. *The test reaction-diffusion system with cross-diffusion is of the following form: defined on square and here , , and . The exact solution is from which we can derive the initial conditions.

The simulation for Example 2 is carried up to with . The errors in -norm and -norm are measured for both solutions and the fluxes on various triangular meshes. And the results are displayed in Table 1, where denotes the number of triangular vertices. We can observe optimal convergence rates of for solutions in both -norm and -norm and suboptimal convergence rates of for fluxes . These rates are consistent with theoretical results for the LDG method [35].

Moreover, Figure 3 demonstrates graphs of numerical solutions (left) and (right) for this example, which are derived under the Delaunay partition shown in Figure 2(a). In addition, the numerical approximates for fluxes (top) and (bottom) are plotted in Figure 4.

**(a)**

**(b)**

**(a)**-direction component of

**(b)**-direction component of

**(c)**-direction component of

**(d)**-direction component of##### 3.2. Application to the Brusselator Model

In this subsection, we apply the LDG method coupled with the IIF scheme to solve the Brusselator model with cross-diffusion:with the initial conditions chosen as small random perturbations of the equilibrium:where , and rand: is a random function in Fortran. In the following simulations, we take as the square domain and circular domain , respectively.

Similar to [23], we set the parameters in the Brusselator model aswith and , respectively, based on which patterns are expected to appear. Actually, according to Theorem 2.3 in [23], the choice (35) is sufficient for the positive equilibrium point being linearly unstable and is taken as the Turing bifurcation parameter. Then the threshold is obtained from (2.5) in [23]. Furthermore, it is observed that the increase of over the threshold with and yields the formation of spotted and labyrinthine patterns.

*Example 3. *We solve the Brusselator model (33)-(34) on the square domain . In the computation, the square is divided into triangles and vertices, and now ; mesh size . The time step size is taken as (29) with .

Different patterns will be obtained by selecting two sets of values for parameters . The first set () leads to a spotted pattern as shown in Figure 5. It presents numerical approximations for solutions (left) and (right) at different values of final time , , and , respectively. In addition, our method derives the approximations for fluxes and at the same time, and the graphs for are plotted in Figure 6. The second set () generates a labyrinthine pattern (see Figure 7). The numerical approximations for fluxes and can also be obtained, and here we give only graphs of in Figure 8. We observe a larger amplitude of the patterns (higher gradients) for both species.

**(a)**at

**(b)**at

**(c)**at

**(d)**at

**(e)**at

**(f)**at

**(a)**-direction component of at

**(b)**-direction component of at

**(c)**-direction component of at

**(d)**-direction component of at

**(e)**-direction component of at

**(f)**-direction component of at

**(a)**at

**(b)**at

**(c)**at

**(d)**at

**(e)**at

**(f)**at

**(a)**-direction component of at

**(b)**-direction component of at

**(c)**-direction component of at

**(d)**-direction component of at

**(e)**-direction component of at

**(f)**-direction component of atSimulations for these two sets of parameters have also been conducted in [23] with finite volume methods and in [26] with two kinds of finite element methods. We observe that the patterns obtained by our method agree well with those in [23, 26]. Meanwhile our method possesses its own advantages. By using the LDG method for spatial discretization, our method derives not only numerical solutions as the references do but also numerical approximations for fluxes. And it is easy to derive high-order spatial approximations which is difficult for finite volume schemes. Furthermore, our method reduces the computational cost greatly and CPU time for this simulation carried up to is s for the first set () and s for the second set (). The reason is that, by employing the IIF scheme for temporal discretization, our method relaxes the strict time step restriction that is necessary for explicit schemes including the fourth-order exponential time differencing scheme used in [26] and allows us to compute element by element and avoids solving a global system of nonlinear algebraic equations as the backward difference advancing scheme applied in [23] does.

*Example 4. *We compute the Brusselator model (33)-(34) on the circular domain . In the computation, the circular domain is divided into triangles and vertices, and now ; mesh size (see Figure 2(b)). The time step size is taken as (29) with .

From the numerical simulations in Example 3, we have found that the patterns of numerical solutions and are always of the same type. Consequently, we can restrict our analysis of pattern formation to .

Figure 9 exhibits graphs of numerical solutions at , , and for (left) and (right), respectively, which also agree well with those in [23]. And the -direction components of at , , and for (left) and (right) are plotted in Figure 10. Compared with Example 3, we observe that the same patterns can be obtained on more complex geometry with larger final time.

**(a)**at ()

**(b)**at ()

**(c)**at ()

**(d)**at ()

**(e)**at ()

**(f)**at ()

**(a)**()

**(b)**()

**(c)**()

**(d)**