Skip Content
You are currently on the new version of our website. Access the old version .
MathematicsMathematics
  • Article
  • Open Access

1 November 2025

Numerical Approximation for a Nonlocal and Nonlinear Reaction–Diffusion Problem with Robin Boundary Conditions

,
and
1
Institute of Computer Science, Romanian Academy–Iaşi Branch, Str. Teodor Codrescu, nr. 2, 700481 Iaşi, Romania
2
Faculty of Mathematics, “Alexandru Ioan Cuza” University of Iaşi, Bvd. Carol I, No. 11, 700506 Iaşi, Romania
3
RECENT AIR, Laboratory of Astronomy and Astrophysics, Astronomy Observatory, Research Center with Integrated Techniques for Atmospheric Aerosol Investigation in Romania, “Alexandru Ioan Cuza” University of Iaşi, 5–7 Mihail Sadoveanu, 700490 Iaşi, Romania
*
Author to whom correspondence should be addressed.

Abstract

In this paper we consider a reaction–diffusion model with nonlocal diffusion and a nonlinear reaction term analogous to a local reaction–diffusion problem with Robin boundary conditions. Firstly, we investigate the existence of solutions in a two-dimensional spatial domain. Then we attach a semi-implicit numerical scheme by using finite differences in order to approximate the solution. We use the iterative Newton method to numerically solve the resulting implicit problem. Based on theoretical results we generate an adaptive mesh in time that ensures the stability of the corresponding numerical scheme. Numerical experiments that illustrate the effectiveness of the theoretical results are provided.

1. Introduction

We consider the following nonlocal and nonlinear reaction–diffusion problem:
p t u ( t , x ) = p d Ω J ( x y ) u ( t , y ) u ( t , x ) d y + p d Ω G ( x y s ) g ( t , y s ) p t u ( t , x ) d y s + p r u ( t , x ) u 3 ( t , x ) + p s f ( t , x ) , ( t , x ) Q u ( 0 , x ) = u 0 ( x ) , x Ω ,
where u ( t , x ) is the unknown function, t [ 0 , T ] , x Ω R 2 with Ω a bounded, closed domain of Lebesgue measure | Ω | with a C 2 boundary Ω , T > 0 , Q = ( 0 , T ] × Ω , and the following hold:
  • p , p d , p r , p s , and p t are positive values, standing for the speed, diffusion, reaction, source, and thermal transfer parameters, respectively;
  • f ( t , · ) C ( Ω ) and g ( t , · ) C ( Ω ) are given real functions;
  • d y s represents the surface element in the surface integral;
  • J and G are symmetric non-negative real functions in C ( R 2 ) compactly supported in the unit ball such that R 2 J ( z ) d z = 1 and R 2 G ( z ) d z = 1 . We set
    C 1 = max z R 2 | J ( z ) | and C 2 = max z R 2 | G ( z ) |
  • u 0 ( x ) C ( Ω ) is the initial condition.
We denote
C = 2 | Ω | p d p C 1 + c ¯ p d p t p 2 C 2 + p r p ,
where c ¯ > 0 in (3) comes from the continuous embedding L ( Ω ) L ( Ω ) , which implies that the inequality w L ( Ω ) c ¯ w L ( Ω ) holds for every w L ( Ω ) (for details, see [1]).
Let C 3 ( 0 , ) be such that
sup x Ω | f ( t , x ) | C 3 , t ( 0 , T ] .
The nonlocal and nonlinear reaction–diffusion problem (1) is important when modeling various real-world phenomena: phase transition and phase transformation, particle systems, image processing, etc.
The integro-differential Equation (1), together with the initial condition, can be seen as a nonlocal version of the following local reaction–diffusion equation with Robin boundary conditions (see [1,2,3] and the references therein):
p t u ( t , x ) p d Δ u ( t , x ) = p r u ( t , x ) u 3 ( t , x ) + p s f ( t , x ) in Q p d n u ( t , x ) + p t u ( t , x ) = g ( t , x ) in Σ u ( 0 , x ) = u 0 ( x ) on Ω ,
where Σ = ( 0 , T ] × Ω and n = n ( x ) is a vector of the outward unit normal to the boundary Ω . We also assume that the initial condition u 0 ( x ) verifies the compatibility condition
p d n u 0 ( x ) + p t u 0 ( x ) = g ( 0 , x ) on Ω .
Problem (5) is related to the Allen–Cahn equation, which was a well-established model in Materials Science and can be used to model, for example, order–disorder transitions such as ferromagnetism. This model has been applied to many complex moving interface problems. The nonlinear version occurs in the phase–field transition system where the phase function u ( t , x ) describes the transition between the solid and liquid phases in the solidification process of a material occupying a region Ω (e.g., see [4,5,6]). Robin boundary conditions offer greater flexibility than Dirichlet or Neumann conditions in modeling complex physical phenomena involving boundary interactions. They are used in a variety of scientific and engineering fields, including heat transfer (to model thermal convection or radiation from a surface), electromagnetism (to describe the relationship between electric and magnetic fields on a surface), fluid mechanics (to describe the interaction of a fluid with a solid surface), and quantum physics (to model certain phenomena at the boundary of materials). This type of boundary condition can also be interpreted in the context of biological population dynamics as a way to model the migration and interaction of a population with its external environment at the edge of a domain (e.g., an island, a lake, or a specific geographic area). From a formal point of view, the Neumann and Robin conditions differ by the thermal/heat transfer term p t u ( t , x ) . Moreover, this term brings more difficulties in the proofs of the theoretical results and also in the development of the numerical schemes. Last but not least, the thermal/heat term is a source of instability of the numerical solutions.
The Laplace operator Δ u ( t , x ) is approximated by the integral term Ω J ( x y ) u ( t , y ) u ( t , x ) d y , while the surface integral term p d Ω G ( x y s ) g ( t , y s ) p t u ( t , x ) d y s is derived from the boundary condition (5). Both positive kernels J ( · ) and G ( · ) take into account the distribution of interactions between particles at sites x , y Ω . Details about the terms J ( x y ) , Ω J ( x y ) u ( t , y ) d y , and Ω J ( x y ) u ( t , x ) d y from (1) can be found in [2,7] and references therein. The integral term Ω G ( x y s ) g ( t , y s ) p t u ( t , x ) d y s takes into account the prescribed flux of individuals that enter or leave the domain according to the sign of g (see [3]).
For theoretical results regarding the well-posedness, existence, and uniqueness of the solutions to the nonlocal problem (1), considering different boundary conditions, we refer to [1,3,7,8,9,10,11,12,13]. Numerical approximations of the corresponding solutions can be found in [1,2,7,8,9,10,11,12,14,15,16].
This paper introduces an adaptive time-step size method to approximate the solution of the nonlocal model (1). This concept of adaptivity means updating the time-step size for each time iteration according to the current state of the system and not using a classical, equidistant mesh in time. For example, this approach is important due to the different time scales that arise in the evolution of phase field models (see [5,6,12]). The size of the time-step is also adjusted taking into account the model parameters and initial data for each time iteration. In the literature, there are various numerical methods with adaptive time-steps that are based on different theoretical results; e.g., in [12], the authors used the local error method to create a non-uniform mesh. Here, we shall use an adaptive time-step method based on Banach fixed point theory, firstly developed in [10] and then improved in [1,8,11,16]. The second section contains some results related to the existence and the uniqueness of the solution to the nonlocal problem (1). Then, using the obtained theoretical results, we introduce a numerical scheme with adaptive time-step size and we perform some numerical experiments that illustrate its effectiveness. These are followed by some conclusions and some possible further work.

2. Existence and Uniqueness of the Solution to Problem (1)

We denote X = L ( ( 0 , T ] , C ( Ω ) ) . Let us note that we can find a small enough t ¯ > 0 , depending on u 0 L ( Ω ) and g X , that satisfies the following conditions:
t ¯ < 1 C p d p C 2 t ¯ g X + p s p C 3 t ¯ + u 0 L ( Ω ) < 2 3 ( 1 C t ¯ ) 3 3 p r p t ¯ ,
where C is given by (3) (for details, see [1,10,11]).
The solutions to the problem (1) belong to the space Y = C ( [ 0 , t ¯ ] , C ( Ω ) ) , with the corresponding norm
| u | = max t [ 0 , t ¯ ] u ( t , · ) L ( Ω ) = max t [ 0 , t ¯ ] ess sup x Ω | u ( t , x ) | , u Y ,
as C ( Ω ) L ( Ω ) .
Following the same steps as in [1], we obtain the unique solution of problem (1) on [ 0 , t ¯ ] . Namely, by integrating (1) on [ 0 , t ] , with 0 < t t ¯ , and using the initial condition (1), we have
u ( t , x ) = u 0 ( x ) + p d p 0 t Ω J ( x y ) u ( s , y ) d y d s p d p 0 t Ω J ( x y ) u ( s , x ) d y d s + p d p 0 t Ω G ( x y ) g ( s , y ) p t p u ( s , x ) d y s d s + p r p 0 t u ( s , x ) u 3 ( s , x ) d s + p s p 0 t f ( s , x ) d s .
For any u ( t , x ) Y , we define the following operator:
( H u ) ( t , x ) = u 0 ( x ) + p d p 0 t Ω J ( x y ) u ( s , y ) d y d s p d p 0 t Ω J ( x y ) u ( s , x ) d y d s + p d p 0 t Ω G ( x y ) g ( s , y ) p t p u ( s , x ) d y s d s + p r p 0 t u ( s , x ) u 3 ( s , x ) d s + p s p 0 t f ( s , x ) d s
with
( H u ) ( 0 , x ) = u 0 ( x ) C ( Ω ) , x Ω .
We will check that
( H u ) ( t , · ) C ( Ω ) , t [ 0 , t ¯ ] , u Y .
Let us verify that ( H u ) ( t , x ) Y , ( t , x ) Q , u ( t , x ) Y . In order to draw this conclusion, we take the first integral term:
I 1 ( t , x ) = p d p 0 t Ω J ( x y ) u ( s , y ) d y d s
which satisfies the inequality
| I 1 ( t , x ) | p d p C 1 C 4 | Ω | t ¯ , t [ 0 , t ¯ ] , a . p . t . x Ω ,
where C 4 ( 0 , + ) is given by the following inequality:
u ( t , · ) L ( Ω ) C 4 , t [ 0 , t ¯ ] ,
resulting from the fact that u ( t , · ) C ( Ω ) L ( Ω ) . Indeed,
| I 1 ( t , x ) | = | p d p 0 t Ω J ( x y ) u ( s , y ) d y d s |               p d p 0 t | Ω J ( x y ) u ( s , y ) d y | d s p d p 0 t Ω | J ( x y ) | | u ( s , y ) | d y d s               p d p C 1 0 t Ω | u ( s , y ) | d y d s p d p C 1 0 t Ω ess sup y Ω | u ( t , y ) | d y d s               = p d p C 1 0 t ess sup y Ω | u ( t , y ) | Ω d y d s = p d p C 1 0 t ess sup y Ω | u ( t , y ) | | Ω | d s               = p d p C 1 | Ω | 0 t u ( t , · ) L ( Ω ) d s p d p C 1 C 4 | Ω | 0 t d s p d p C 1 C 4 | Ω | t ¯ .
Consequently,
ess sup x Ω | I 1 ( t , x ) | < , t [ 0 , t ¯ ] , a . p . t . x Ω ,
i.e., I 1 ( t , · ) L ( Ω ) , t [ 0 , t ¯ ] . In a similar way we prove that the other integral terms of (8) also belong to L ( Ω ) , t [ 0 , t ¯ ] .
Lemma 1.
If u 0 ( x ) C ( Ω ) , f ( t , · ) C ( Ω ) , and g ( t , · ) C ( Ω ) , then the operator H, given by (8) and (9), is well defined.
Proof. 
We take u ( · , · ) Y and t 1 , t 2 [ 0 , t ¯ ] , with t 1 < t 2 , and we obtain
( H u ) ( t 1 , · ) ( H u ) ( t 2 , · ) L ( Ω ) = ess sup x Ω | ( H u ) ( t 1 , x ) ( H u ) ( t 2 , x ) | = ess sup x Ω | p d p t 1 t 2 Ω J ( x y ) u ( s , y ) u ( s , x ) d y d s + p d p t 1 t 2 Ω G ( x y ) [ g ( s , y ) p t p u ( s , x ) ] d y s d s + p r p t 1 t 2 u ( s , x ) u 3 ( s , x ) d s + p s p t 1 t 2 f ( s , x ) d s | .
Then we have the inequality
( H u ) ( t 1 , · ) ( H u ) ( t 2 , · ) L ( Ω ) C 5 ( t 2 t 1 ) ,
where
C 5 = 2 | Ω | p d p C 1 | u | + p d p C 2 g X + c ¯ p d p t p 2 C 2 | u | + p r p [ | u | + | u | 3 ] + p s p C 3 .
So, the operator H defined by (8) and (9) is Lipschitz continuous on ( 0 , t ¯ ] , with the Lipschitz constant C 5 given by (11). Then we have
( H u ) ( t , · ) u 0 ( x ) L ( Ω ) C 5 t , t [ 0 , t ¯ ] .
From (10) and (12) we obtain that the operator H is continuous on [ 0 , t ¯ ] , so H : Y Y is well defined.    □
Remark 1.
If we take u B ( 0 , r ) , where B ( 0 , r ) stands for the closed ball of Y, meaning that | u | r , we get the inequality (10) with
C 5 2 | Ω | p d p C 1 + c ¯ p d p t p 2 C 2 + p r p r + p d p C 2 g X + p r p r 3 + p s p C 3
or (see (3))
C 5 C r + p d p C 2 g X + p r p r 3 + p s p C 3 = C 6 .
By imposing that C 6 < 1 , we have that H is a contraction.
The space Y = C ( [ 0 , t ¯ ] , C ( Ω ) ) is complete, as a subspace of C ( [ 0 , t ¯ ] , L ( Ω ) ) , which is complete. Consequently, we have that the operator H admits a unique fixed point, so problem (1) has a unique solution.
Our further goal is to find r > 0 such that H B ( 0 , r ) B ( 0 , r ) ; therefore the solution is stable. To do so, we prove the two theorems below.
Theorem 1.
There exists r = r ( t ¯ ) > 0 such that
u 0 L ( Ω ) + p r p r 3 + C r + p d p C 2 g X + p s p C 3 t ¯ r
and
3 p r p r 2 + C t ¯ < 1 ,
where t ¯ > 0 satisfies (6).
Proof. 
We consider the function
h ( x ) = p r p t ¯ x 3 + ( C t ¯ 1 ) x + p d p C 2 g X + p s p C 3 t ¯ + u 0 L ( Ω ) ,
with
h ( x ) = 3 p r p t ¯ x 2 + C t ¯ 1 .
We have that p r p t ¯ > 0 , ( C t ¯ 1 ) < 0 (see (6)) and p d p C 2 g X + p s p C 3 t ¯ + u 0 L ( Ω ) > 0 , and from (6) we also have
2 3 ( C t ¯ 1 ) ( C t ¯ 1 ) 3 p r p t ¯ + p d p C 2 g X + p s p C 3 t ¯ + u 0 L ( Ω ) < 0 .
Now, we may apply Proposition 2.1 from [1], where a = p r p t ¯ > 0 , b = ( C t ¯ 1 ) < 0 and c = p d p C 2 g X + p s p C 3 t ¯ + u 0 L ( Ω ) > 0 . If
2 3 b b 3 a + c < 0 ,
then there exists z ( 0 , ) such that
h ( z ) < 0 .
We note that the hypothesis of the proposition is satisfied, and the technique that gives the z point such that the function in z is negative is described in the following. Due to the monotonicity of h, it results that x 1 = 1 C t ¯ 3 p r p t ¯ is the positive root of h and so
min x ( 0 , ) h ( x ) = h ( x 1 ) = h 1 C t ¯ 3 p r p t ¯ < 0 .
Due to the continuity of h and because h ( x 1 ) < 0 < h ( 0 ) , there exist a unique z 1 ( 0 , x 1 ) such that h ( z 1 ) = 0 and h ( z ) < 0 , z ( z 1 , x 1 ) and a unique z 2 ( x 1 , + ) such that h ( z 2 ) = 0 and h ( z ) < 0 , z ( x 1 , z 2 ) . So, we may find r z 1 , z 2 such that h ( r ) < 0 and h ( r ) < 0 , which are equivalent to the conclusions of the theorem.    □
Theorem 2.
The operator H defined in (8) and (9) maps B ( 0 , r ) into itself, where t ¯ and r are given by Theorem 1.
Proof. 
For any u Y and t 1 , t 2 [ 0 , t ¯ ] , t 1 < t 2 , we know (see Lemma 1)
( H u ( t 1 , · ) ( H u ) ( t 2 , · ) L ( Ω ) [ p r p | u | 3 + 2 | Ω | p d p C 1 + c ¯ p d p t p 2 C 2 + p r p | u | + p d p C 2 g X + p s p C 3 ] ( t 2 t 1 ) .
We take u B ( 0 , r ) , meaning that | u | r , and we get that
( H u ) ( t , · ) ( H u ) ( 0 , · ) L ( Ω ) p r p r 3 + 2 | Ω | p d p C 1 + c ¯ p d p t p 2 C 2 + p r p r + p d p C 2 g X + p s p C 3 + p d p t ,
t , 0 t t ¯ . Using (3) and Theorem 1, it follows that
H u ( t , · ) L ( Ω ) u 0 L ( Ω ) + p r p r 3 + C r + p d p C 2 g X + p s p C 3 t ¯ r .
It follows that
| H u | = max t [ 0 , t ¯ ] H u ( t , · ) L ( Ω ) r .
  □
We may conclude that the fixed point of the operator H defined by (8) and (9) is the unique solution of the problem (1) on ( 0 , t ¯ ] .
Remark 2.
To find a solution on an interval larger than ( 0 , t ¯ ] , with t ¯ satisfying (6), we consider the same problem as (1), but with the initial condition u 1 ( x ) = u ( t ¯ , x ) , x Ω . We can now find the solution on [ t ¯ , t ¯ + t ¯ 1 ] , where t ¯ 1 satisfies
t ¯ 1 < 1 C p d p C 2 t ¯ 1 g X + p s p C 3 t ¯ 1 + u 1 L ( Ω ) < 2 3 ( 1 C t ¯ 1 ) 3 3 p r p t ¯ 1 .
Following the same technique, we can obtain a solution defined on some time interval [ 0 , T ] , where T = t ¯ + t ¯ 1 + t ¯ n , where by n we denote the number of time iterations required to obtain the solution on [ 0 , T ] .

3. Numerical Approximation

In order to approximate the solution to the nonlocal and nonlinear reaction–diffusion problem (1), we propose a semi-implicit numerical scheme based on finite differences and the iterative Newton method. To do so, we shall use a forward finite difference formula for the time derivative of u with an order of accuracy of O ( h t ) , where h t is the difference between two successive time points where the solution is approximated. The numerical method is a semi-implicit and not fully implicit one because not all of the terms can be evaluated at the current moment in time. Thus, for the integral terms in Equation (1), the evaluations from the time point before the current one will be used.
The numerical methods proposed, for example, in [1,8,10,11,16] with the aim of approximating the solutions of various related problems with different boundary conditions are explicit and therefore may encounter stability problems. In addition, the nonlinearity of the reaction term was also treated in the mentioned papers in an explicit manner, considering that the reaction is given only by the solution from the moment of time before the current one. We propose to eliminate these shortcomings using a semi-implicit method, approaching the resulting nonlinear system with the Newton iterative method.
We consider the rectangular domain Ω = [ a , b ] × [ c , d ] R 2 . To approximate the problem in Ω (a two-dimensional space), we introduce a computational grid by considering equidistant discretization nodes for both axes corresponding to Ω , O x and O y . To do so, we discretize [ a , b ] by the finite set
M x = x 0 , x 1 , , x N x + 1 ,
where
x j = x 0 + j h x , j = 0 , 1 , , N x + 1 , with h x = b a N x + 1 , x 0 = a , x N x + 1 = b ,
and the interval [ c , d ] by the finite set
M y = y 0 , y 1 , , y N y + 1 ,
where
y k = y 0 + k h y , k = 0 , 1 , , N y + 1 , with h y = d c N y + 1 , y 0 = c , y N y + 1 = d .
With these notations, the Cartesian product
Ω x , y = M x × M y = { ( x j , y k ) , x j M x , y k M y , j = 0 , 1 , , N x + 1 , k = 0 , 1 , , N y + 1 }
represents the computational grid on Ω . By Ω x , y we will denote the subset of grid points from Ω x , y which are on the boundary Ω .
We consider [ 0 , t ¯ ] , with 0 = t 0 < t 1 t ¯ , where t ¯ satisfies the inequalities (6), and denote by u j , k 1 the approximation of the unique solution u ( t , x ) of (1) at each grid point ( t 1 , x j , y k ) , where ( x j , y k ) Ω x , y , j = 0 , 1 , , N x + 1 , and k = 0 , 1 , , N y + 1 . Corresponding to the initial condition (1), we have u j , k 0 = u 0 ( x j , y k ) at each grid point ( t 0 , x j , y k ) , where ( x j , y k ) Ω x , y for j = 0 , 1 , , N x + 1 , and k = 0 , 1 , , N y + 1 .
In the following, we shall use a semi-implicit numerical scheme based on finite difference approximations of Equation (1). The approximation system corresponding to (1) on [ 0 , t ¯ ] is
p u j , k 1 u j , k 0 t 1 = p d J j , k 0 + p d G j , k 0 + p r u j , k 1 ( u j , k 1 ) 3 + p s f j , k 1 in Ω x , y , u j , k 0 = u 0 ( x j , y k ) on Ω x , y ,
where
f j , k 1 = f ( t 1 , x j , y k ) , J j , k 0 = Ω J ( x j , k y ) u 0 ( y ) u j , k 0 d y , G j , k 0 = Ω G ( x j , k y s ) g ( t 0 , y s ) p t u j , k 0 d y s ,
for j = 0 , 1 , , N x + 1 and k = 0 , 1 , , N y + 1 .
We use the iterated trapezoidal rule to approximate the integral terms of J j , k 0 such that we have
J j , k 0 = h x h y { d = 1 N x l = 1 N y J ( x j , k y d , l ) u d , l 0 u j , k 0 + 1 2 d = 1 N x J ( x j , k y d , 0 ) u d , 0 0 u j , k 0 + J ( x j , k y d , N y + 1 ) u d , N y + 1 0 u j , k 0 + 1 2 l = 1 N y J ( x j , k y 0 , l ) u 0 , l 0 u j , k 0 + J ( x j , k y N x + 1 , l ) u N x + 1 , l 0 u j , k 0 + 1 4 [ J ( x j , k y 0 , 0 ) u 0 , 0 0 u j , k 0 + J ( x j , k y N x + 1 , 0 ) u N x + 1 , 0 0 u j , k 0 + J ( x j , k y 0 , N y + 1 ) u 0 , N y + 1 0 u j , k 0 + J ( x j , k y N x + 1 , N y + 1 ) u N x + 1 , N y + 1 0 u j , k 0 ] } ,
and
G j , k 0 = h x { d = 1 N x [ G ( x j , k y d , 0 ) g d , 0 0 p t u j , k 0 + G ( x j , k y d , N y + 1 ) g d , N y + 1 0 p t u j , k 0 ] + 1 2 [ G ( x j , k y 0 , 0 ) g 0 , 0 0 p t u j , k 0 + G ( x j , k y N x + 1 , 0 ) g N x + 1 , 0 0 p t u j , k 0 + G ( x j , k y 0 , N y + 1 ) g 0 , N y + 1 0 p t u j , k 0 + G ( x j , k y N x + 1 , N y + 1 ) g N x + 1 , N y + 1 0 p t u j , k 0 ] } + h y { l = 1 N y [ G ( x j , k y 0 , l ) g 0 , l 0 p t u j , k 0 + G ( x j , k y N x + 1 , l ) g N x + 1 , l 0 p t u j , k 0 + 1 2 [ G ( x j , k y 0 , 0 ) g 0 , 0 0 p t u j , k 0 + G ( x j , k y N x + 1 , 0 ) g N x + 1 , 0 0 p t u j , k 0 + G ( x j , k y 0 , N y + 1 ) g 0 , N y + 1 0 p t u j , k 0 + G ( x j , k y N x + 1 , N y + 1 ) g N x + 1 , N y + 1 0 p t u j , k 0 ] } ,
where
g d , 0 0 = g ( 0 , y d , 0 ) , y d , 0 Ω x , y ,   
g d , N y + 1 0 = g ( 0 , y d , N y + 1 ) , y d , N y + 1 Ω x , y , d = 0 , 1 , , N x + 1 ;   
g 0 , l 0 = g ( 0 , y 0 , l ) , y 0 , l Ω x , y ,   
g N x + 1 , l 0 = g ( 0 , y N x + 1 , l ) , y N x + 1 , l Ω x , y , l = 0 , 1 , , N y + 1 .
Thus, from (13) we get the following numerical approximation scheme to problem (1) on [ 0 , t ¯ ] :
( p p r t 1 ) u j , k 1 + p r t 1 ( u j , k 1 ) 3 = p u j , k 0 + p d t 1 J j , k 0 + p d t 1 G j , k 0 + p s t 1 f j , k 1 .
We consider the column vectors
U i = ( u 0 , 0 i , u 0 , 1 i , , u 0 , N y + 1 i , u 1 , 0 i , u 1 , 1 i , , u 1 , N y + 1 i , , u N x + 1 , 0 i , u N x + 1 , 1 i , , u N x + 1 , N y + 1 i ) T ,
with d i m = ( N x + 2 ) ( N y + 2 ) elements and
W i = ( ( u 0 , 0 i ) 3 , ( u 0 , 1 i ) 3 , , ( u 0 , N y + 1 i ) 3 , , ( u N x + 1 , 0 i ) 3 , ( u N x + 1 , 1 i ) 3 , , ( u N x + 1 , N y + 1 i ) 3 ) d i m × 1 ,
for each time level i = 0 or i = 1 . We also make the following notations:
a 1 = p p r t 1 , a 2 = p r t 1 , a 3 = p d t 1 , a 4 = p s t 1 .
We can rewrite the discrete system (17) as follows:
a 1 U 1 + a 2 W 1 = p U 0 + a 3 ( J 0 + G 0 ) + a 4 f 1 ,
where
J 0 = ( J 0 , 0 0 , J 0 , 1 0 , , J 0 , N y + 1 0 , J 1 , 0 0 , J 1 , 1 0 , , J 1 , N y + 1 0 , , J N x + 1 , 0 0 , J N x + 1 , 1 0 , , J N x + 1 , N y + 1 0 ) d i m × 1 G 0 = ( G 0 , 0 0 , G 0 , 1 0 , , G 0 , N y + 1 0 , G 1 , 0 0 , G 1 , 1 0 , , G 1 , N y + 1 0 , , G N x + 1 , 0 0 , G N x + 1 , 1 0 , , G N x + 1 , N y + 1 0 ) d i m × 1 .
In order to approximate the solution for the first time level, we shall use the iterative Newton method. From (20) it follows that we have to solve a nonlinear equation of the form
F ( U 1 ) = 0 ,
where
F ( U 1 ) = a 1 U 1 + a 2 W 1 p U 0 a 3 ( J 0 + G 0 ) a 4 f 1 .
Let us recall that at each Newton iteration n = 0 , 1 , 2 , , we have
U 1 , n + 1 = U 1 , n J F 1 ( U 1 , n ) F ( U 1 , n ) ,
where
U 1 , 0 = U 0 , J F ( U 1 ) = a 1 + 3 a 2 V 1 , V 1 = ( ( u 0 , 0 1 ) 2 , ( u 0 , 1 1 ) 2 , , ( u 0 , N y + 1 1 ) 2 , , ( u N x + 1 , 0 1 ) 2 , ( u N x + 1 , 1 1 ) 2 , , ( u N x + 1 , N y + 1 1 ) 2 ) d i m × 1 .
By left multiplication of (22) by J F ( U 1 , n ) , we obtain that U 1 , n + 1 is the solution of the linear system
J F ( U 1 , n ) U 1 , n + 1 = J F ( U 1 , n ) U 1 , n F ( U 1 , n ) .
At this point we can develop the numerical approximation algorithm that will solve our problem on [ 0 , t ¯ ] . Let us summarize the steps required to start this algorithm:
  • We need to obtain the approximation system (17) of the problem (1) that includes the Robin-type conditions in the surface integral term—for this we will use the semi-implicit finite difference scheme described above;
  • We need to write (17) in matrix form (20);
  • We need to obtain and solve the linear system (24) for each Newton iteration.
The conceptual algorithm can be described in pseudocode as follows (Algorithm 1):
Algorithm 1: NEWTON ALGORITHM
Input:
       t o l , m a x i t e r , a , b , c , d , N x , N y
      p, p d , p r , p t , p s , f , g
       h x , h y , C 1 , C 2 , C 3 , C
Output:
       U 1 —the approximative solution of (1) at t ¯
Initialize  U 0
Compute  t ¯ from (6)
U 1 , 0 = U 0
For  n = 1  to  m a x i t e r
      Compute  W 1 , n 1 , V 1 , n 1 , F ( U 1 , n 1 ) , J F ( U 1 , n 1 ) from (18), (19), (21), (23)
      Solve the system (24) and get the solution U 1 , n
      If  | | U 1 , n U 1 , n 1 | | < t o l  then break
If  n < = m a x i t e r
       U 1 = U 1 , n
Else
      ‘No convergence’
The flow chart of the NEWTON ALGORITHM can be viewed in Figure 1.
Figure 1. Flow chart of Newton algorithm.
The algorithm continues to iterate until the difference between two consecutive approximations is sufficiently small (tol is a prescribed tolerance) or it stops when it reaches a specific number of iterations (maxiter is the maximum number of Newton iterations).
Using the NEWTON ALGORITHM and continuing the procedure in the manner suggested by Remark 2, we can find the approximate solution to problem (1) on a larger interval of time than [ 0 , t ¯ ] .

4. Numerical Experiments

For the computational experiments we set Ω to be the rectangle [ 1 , 1 ] × [ 1 , 1 ] ( a = 1 , b = 1 , c = 1 , d = 1 ). We also consider the rescaled kernels
J ε ( z ) = 1 ε 2 J z ε and G ε ( z ) = 1 ε 2 G z ε ,
with
J z ε = G z ε = 1 2 π e ( x 2 + y 2 ) 2 ε 2 , z = ( x , y ) Ω
(e.g., see [12]). For simplicity, we take N x = N y = 20 .
The aim of the following numerical experiments was to show that the numerical method proposed in Section 3 provides approximative solutions to the problem (1) that are consistent with the theory developed in Section 2 and with the results obtained in papers such as [2,7,11] for various related problems. To make such comparisons we considered input data similar to those in the mentioned works.
Experiment 1.
We consider the initial data u 0 a square lattice with uniformly random generated values between 1 (black) and 1 (white) that can simulate a homogeneous alloy with two constituents. Figure 2a represents such an initial condition. We also choose g ( t , x ) = 0 and f ( t , x ) = 0 , ( t , x ) Q to fit the theoretical background in [7].
Figure 2. Numerical results for a small diffusion coefficient p d = 0.1 and p = 1 , p r = 1 , p s = 0 , and p t = 0 .
The parameters of the mathematical model will now be set as p d = 0.1 , p = 1 , p r = 1 , p s = 0 , and p t = 0 . With a small diffusion coefficient, the numerical solution settles in time to a heterogeneous state composed of both phases, + 1 and 1 (see Figure 2b below, where ε = 0.1 and T 105 ). In [7] the author proved that, for a small diffusion parameter, the solution through u 0 to the modified problem (1) (according to input data) does not coarsen at all.
In Figure 2c we can see the evolution of t ¯ during the time iterations. We can observe that the time-step size remains at the same value after a relatively small number of time iterations.
With a large diffusion coefficient, p d = 5 , and the same values p r = 1 , p = 1 , p s = 0 , p t = 0 , we can observe in Figure 3a separation of particles into the two phases, + 1 and 1 (here, T 98 ). As we can see, the initial data changes sign, having large regions of positive sign interposed with large regions of negative sign. After some time, a solution with large regions in which u + 1 or u 1 is formed. These regions are connected by some interfaces, called transition layers.
Figure 3. Numerical results for a large diffusion coefficient p d = 5 and p r = 1 , p = 1 , p s = 0 , and p t = 0 .
On the other hand, we can see in Figure 4 the approximation of u ( 148 , x , y ) for a larger time. We can conclude that the numerical solution to the nonlocal model is attracted to a steady state ( + 1 ) for t .
Figure 4. The approximation U j , k 3000 .
All these results are consistent with those in [2,7,11], since it has been proved that, for a large enough diffusion coefficient, the solutions to particular forms of problem (1) do coarsen to either u 1 or u 1 . The results of this experiment allow us to conclude that the approximate solution obtained by applying the proposed numerical method is sufficiently accurate.
Experiment 2.
We consider g ( t , x ) = 1 , f ( t , x ) = 1 , ( t , x ) Q , and p d = 0.1 , p = 1 , p r = 2 , p s = 1 , and p t = 0.5 . As we can observe in Figure 5, even with a small diffusion coefficient, the numerical solution is attracted to a steady state ( + 1 ) ( T 3.5 ). The points near the boundary are an exception. Here, the solution tends to approach the value 1 , and then, as we move away from the boundary, it tends to + 1 . This is the effect of the Robin boundary conditions embedded in the surface integral term.
Figure 5. Numerical results for a small diffusion coefficient: p d = 0.1 and p r = 2 , p = 1 , p s = 1 , and p t = 0.5 .
We can draw the same conclusion for a larger diffusion coefficient, p d = 0.75 or p d = 2 . We can observe that the numerical solution is attracted to + 1 , one of the steady states, as time increases (except the points near the boundary) (see Figure 6).
Figure 6. Numerical results for p d = 0.75 and p d = 2 .
We can also observe that starting with u 0 bounded, 1 u 0 1 , the obtained numerical solution remains bounded as it evolves in time. This is consistent with the central result of Section 2. In conclusion, adjusting the size of the time-step at each iteration gives stability to the proposed numerical scheme.
Another interest related to our numerical experiments was to estimate the order of convergence of Newton’s method. This method is based on the fact that, as the sequence of iterations converges, the difference between two successive approximations becomes a good approximation for the approximation error. We used a formula for estimating the convergence order p based on four successive iterations U 1 , n 2 , U 1 , n 1 , U 1 , n , and U 1 , n + 1 :
p n = log ( U 1 , n + 1 U 1 , n / U 1 , n U 1 , n 1 ) log ( U 1 , n U 1 , n 1 / U 1 , n 1 U 1 , n 2 ) .
For each input data set, we obtained the same thing, namely that the calculated values for p n quickly tend towards 1, which means that the convergence order of the numerical method is linear.

5. Conclusions

The aim of this paper was to introduce a numerical method in order to approximate the solution to the reaction–diffusion problem (1) with nonlocal diffusion and a nonlinear reaction term. The model can be seen to be similar to the reaction–diffusion Equation (5) with Robin boundary conditions. The boundary conditions of Robin type are somehow incorporated in the second integral term of (1). Using the finite difference method, we have derived a semi-implicit numerical scheme to approximate the solution of the studied model. We have used the Newton method to solve the corresponding implicit problem. The novelty brought by this paper is that we developed an adaptive time-step size numerical method, which ensures the stability of the corresponding numerical scheme. We believe that the numerical method we have proposed is superior in terms of stability and accuracy to the explicit counterpart. The fact that it is a semi-implicit method and that the nonlinear reaction term is treated appropriately, involving the solution at the current time level and not the one at the previous level, makes the provided numerical approximation more reliable. The numerical method uses an adaptive time grid, which means more than a non-equidistant one, because the new time-step size is determined according to several factors, as suggested by Formula (6) and Remark 2, including the initial condition, which changes for each time interval.
As for further directions we intend to use some numerical approaches based on fractional step schemes (as in [17,18,19,20,21,22,23]) and to make some eloquent and comparative numerical experiments. The motivation for such a study is that Newton’s method is an iterative method, while the fractional step method does not require iterations to advance from one time level to another. Therefore, we expect the fractional step method to be faster, which would definitely be a plus. We also want to extend the use of the adaptive time-step mesh obtained on theoretical bases for the nonlocal model to the local model and then compare the results. An important research direction that we are considering for future work is to apply the obtained numerical schemes to real-world problems, such as those in medicine and computer vision [24].

Author Contributions

Conceptualization, A.-M.M. and G.T.; methodology, A.-M.M.; software, T.B.; validation, T.B. and G.T.; formal analysis, G.T.; investigation, A.-M.M. and G.T.; resources, G.T.; data curation, A.-M.M.; writing—original draft, A.-M.M.; writing—review and editing, T.B.; supervision, T.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. For further inquiries, please contact the corresponding author.

Acknowledgments

Acknowledgement is given to infrastructure support from the Operational Program Competitiveness 2014–2020, Axis 1, under POC/448/1/1 Research infrastructure projects for public R&D institutions/Sections F 2018, through the Research Center with Integrated Techniques for Atmospheric Aerosol Investigation in Romania (RECENT AIR) project, under grant agreement MySMIS no. 127324.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Croitoru, A.; Moroşanu, C. On the existence and numerical approximation of a nonlocal and nonlinear second-order boundary value problem with in-homogeneous Cauchy-Newmann boundary condition. Case 2D. Discret. Contin. Dyn. Syst.-S 2005. [Google Scholar] [CrossRef]
  2. Bates, P.W.; Brown, S.; Han, J. Numerical analysis for a nonlocal Allen-Cahn equation. Int. J. Numer. Anal. Model. 2009, 6, 33–49. [Google Scholar]
  3. Bogoya, M.; Gómez, J. On a nonlocal diffusion model with Neumann boundary conditions. Nonlinear Anal. 2012, 75, 3198–3209. [Google Scholar] [CrossRef]
  4. Miranville, A. Some mathematical models in phase transition. Discret. Contin. Dyn. Syst.-S 2014, 7, 271–306. [Google Scholar] [CrossRef]
  5. Miranville, A.; Moroşanu, C. Qualitative and Quantitative Analysis for the Mathematical Models of Phase Separation and Transition. Aplications; American Institute of Mathematical Sciences, Differential Equations & Dynamical Systems: Springfield, IL, USA, 2020; Volume 7, Available online: https://www.aimsciences.org/fileAIMS/cms/news/info/28df2b3d-ffac-4598-a89b-9494392d1394.pdf (accessed on 1 October 2024).
  6. Moroşanu, C. Analysis and Optimal Control of Phase-Field Transition System: Fractional Steps Methods; Bentham Science Publishers: Oak Park, IL, USA, 2012. [Google Scholar] [CrossRef]
  7. Stoleriu, I. Non-local models for solid-solid phase transitions. ROMAI J. 2011, 7, 157–170. [Google Scholar]
  8. Croitoru, A.; Moroşanu, C.; Tănase, G. Well-posedness and numerical simulations of an anisotropic reaction-diffusion model in case 2D. J. Appl. Anal. Comput. 2021, 11, 2258–2278. [Google Scholar] [CrossRef] [PubMed]
  9. Moroşanu, C.; Pavăl, S. Rigorous Mathematical Investigation of a Nonlocal and Nonlinear Second-Order Anisotropic Reaction-Diffusion Model: Applications on Image Segmentation. Mathematics 2021, 9, 91. [Google Scholar] [CrossRef]
  10. Moroşanu, C.; Satco, B. Qualitative and quantitative analysis for a nonlocal and nonlinear reaction-diffusion problem with in-homogeneous Neumann boundary conditions. Discret. Contin. Dyn. Syst.-S 2013, 16, 1–15. [Google Scholar] [CrossRef]
  11. Moşneagu, A.-M. On some local and nonlocal reaction-diffusion models with Robin boundary conditions. Discret. Contin. Dyn. Syst.-S 2023, 16, 104–125. [Google Scholar] [CrossRef]
  12. Moşneagu, A.-M.; Stoleriu, I. An adaptive time-step method for a nonlocal version of the Allen-Cahn equation. Discret. Contin. Dyn. Syst.-S 2024. [Google Scholar] [CrossRef]
  13. Pérez-Llanos, M.; Rossi, J.D. Blow-up for a non-local diffusion problem with Neumann boundary conditions and a reaction term. Nonlinear Anal. 2009, 70, 1629–1636. [Google Scholar] [CrossRef]
  14. Banerjee, M.; Kuznetsov, M.; Udovenko, O.; Volpert, V. Nonlocal Reaction–Diffusion Equations in Biomedical Applications. Acta Biotheor. 2022, 70, 12. [Google Scholar] [CrossRef]
  15. Barbu, T.; Miranville, A.; Moroşanu, C. On a Local and Nonlocal Second-Order Boundary Value Problem with In-Homogeneous Cauchy–Neumann Boundary Conditions. Applications in Engineering and Industry. Mathematics 2024, 12, 2050. [Google Scholar] [CrossRef]
  16. Croitoru, A.; Tănase, G. On a nonlocal and nonlinear second-order anisotropic reaction-diffusion model with in-homogeneous Neumann boundary conditions. Discret. Contin. Dyn. Syst.-S 2023, 16, 75–88. [Google Scholar] [CrossRef]
  17. Miranville, A.; Moroşanu, C. Analysis of an iterative scheme of fractional steps type associated to the nonlinear phase-field equation with non-homogeneous dynamic boundary conditions. Discret. Contin. Dyn. Syst. Ser.-S 2016, 9, 537–556. [Google Scholar] [CrossRef]
  18. Croitoru, A.; Moroşanu, C. Analysis of an iterative scheme of fractional steps type associated to the phase-field equation endowed with a general nonlinearity and Cauchy-Neumann boundary conditions. J. Math. Anal. Appl. 2015, 425, 1225–1239. [Google Scholar] [CrossRef]
  19. Fetecău, C.; Moroşanu, C. Fractional Step Scheme to Approximate a Non-Linear Second-Order Reaction–Diffusion Problem with Inhomogeneous Dynamic Boundary Conditions. Axioms 2023, 12, 406. [Google Scholar] [CrossRef]
  20. Fetecău, C.; Moroşanu, C.; Stoicescu, D.C. Fractional Steps Scheme to Approximate the Phase Field Transittion System Endowed with Inhomogeneous/Homogeneous Cauchy-Neumann/Neumann Boundary Conditions. Axioms 2023, 12, 1098. [Google Scholar] [CrossRef]
  21. Fetecău, C.; Moroşanu, C.; Pavăl, S.D. On the Convergence of an Approximation Scheme of Fractional-Step Type, Associated to a Nonlinear Second-Order System with Coupled In-Homogeneous Dynamic Boundary Conditions. Axioms 2024, 13, 286. [Google Scholar] [CrossRef]
  22. Moşneagu, A.-M.; Tănase, G. A second-order fractional-steps method to approximate a nonlinear reaction-diffusion equation with non-homogeneous Robin boundary conditions. Discret. Contin. Dyn. Syst.-S 2025. [Google Scholar] [CrossRef]
  23. Tănase, G. A first-order fractional–steps–type method to approximate a nonlinear reaction–diffusion equation with homogeneous Cauchy–Neumann boundary conditions. Discret. Contin. Dyn. Syst.-S 2024, 18, 566–577. [Google Scholar] [CrossRef]
  24. Barbu, T. Deep learning-based multiple moving vehicle detection and tracking using a nonlinear fourth-order reaction-diffusion based multi-scale video object analysis. Discret. Contin. Dyn. Syst.-S AIMS J. 2023, 16, 16–32. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.