BRAC University Journal, vol. V, no. 2, 2008, pp. 9-14

NUMERICAL APPROXIMATION OF A NONLINEAR PARABOLIC PARTIAL DIFFERENTIAL EQUATION Samir K. Bhowmik Department of Mathematics University of Dhaha , Dhaka 1000, Bangladesh. email:[email protected]

ABSTRACT We consider the Allen-Cahn model of phase transitions. We approximate the problem using finite difference method in space coupled with several explicit and implicit methods in time and compare the solutions. We present some numerical experimental results of such approximations. Key words: Numerical approximations, Allen-Cahn model, finite difference, Euler’s method.

I. INTRODUCTION A lot of practical life problems from mechanical, biological, chemical, physical and many other systems have been modeled by reaction diffusion systems and advection reaction diffusion systems. There are various such models that contains local [8, 10, 11, 16, 15] or nonlocal diffusion [14, 2, 4, 7, 6, 12, 13], and a lot of them contain both [5]. The key feature lies in the nonlinear reaction term and it balance between diffusion, advected diffusion and reaction terms. These type of models are typically complicated, interesting to scientists, challenging to understand substantially and analyze them. Parabolic differential equations (PDE’s) are commonly used in the fields of Engineering and Science for simulating physical processes. In a variety of cases, approximations are used to convert PDE ’s to ordinary differential equations (ODE ’s) or even to algebraic equations. However, because of the ever increasing requirement for more accurate modeling of physical process, engineers and scientists are more and more required to solve the actual PDE ’s that govern the physical problem under investigated. The solutions of PDE ’s describe possible physical reactions that have to be fixed through boundary conditions. These equations involve two or more independent variables that determine the behavior of the dependent variable as described by a differential equation, usually of second or higher order. Consider the second-order nonlinear parabolic partial differential equation u t ( x, t ) = ε u xx ( x, t ) + f (u ( x, t )) . (1)

The equation (1) is known as the Allen-Cahn model of Phase transitions. For detail discussion please see [7, 17] and references therein. Here the initial function u (x,0) and we consider boundary conditions (a)

the

Dirichlet

u (−1, t ) = 0 = u (1, t ) or

boundary

condition

(b) the Neumann boundary condition u x (−1, t ) = 0 = u x (1, t ) ,

ε

is a nonnegative parameter and f (u ) = u − u which is a bistable nonlinearity associated with the ODE 3

u t = f (u ), which has two stable equilibria at ± 1 and 0 is its unstable equilibrium. If u ( x,0) > 0 solutions goes to 1 and if

u ( x,0) < 0 solution goes to − 1.

There are different type of nonlinearity have been using for this type of models. with k

f (u ) = k 2 u − u 3

is a controlling parameter represents

f (u ) = (u − γ )(1 − u 2 )

duffing equation and

with − 1 < γ < 1 gives general Allen-cahn equation. In general, we present this nonlinearity as

f (u ) = (u − γ )(k 2 − u 2 ) ; where k ∈ ℜ .

some

articles

scientists

f (u ) = u (u − 1)(u − a ) with 0 < a < 1.

also

In use

Samir K. Bhowmik

u i − 2u i +1 + u i −1 h2 for all 1 ≤ i ≤ N h . Then

In [1], the author discussed numerical computations of a PDE. He developed a stable parallel algorithm to solve the problem. He discritized the problem by finite difference scheme in space and consider exponential operator to get exact solution in time. Then he developed a parallel algorithm to speed up the computation. In [7], Duncan et. al. consider non-local parabolic problem and discuss stability and coarsening of solutions. They also present one numerical example using piecewise constant basis functions in space. Several sequential numerical methods (implicit as well as explicit) have been for the solution of this problem proposed in the literatures [18, 19, 20].

u xx ( xi , t ) =

(2) ( 1)

can be

approximated by

u t (t ) = Au + f (u ) .

(3)

Now when the boundary condition (a) is used

0 ⎛− 2 1 ⎜ ⎜ 1 −2 1 A=⎜ 0 1 −2 ⎜ ⎜ 0 O O ⎜0 L 0 1 ⎝

In [8] author analysed accuracy of Crank-Nicolson and Richtmyer-Morton methods for local diffusion and advection operators for non-periodic problems whereas [10] discussed finite differences for linear variable coefficient local diffusion operator. In [11] and [16] authors well presented spectral methods for parabolic problem, in particular, [11] restricted themselves with the stability issues of Fourier spectral method. In [15] author discussed various issues of finite difference approximation of partial differential equations (PDE) in infinite domain. Author discussed welposedness, stability, accuracy and convergence of various finite difference approximations of time dependent PDE.

0 0

L M

O O

0 1 −2

⎞ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎠

. And using the boundary condition (b) we have u1 (t ) − u −1 (t ) = 0 gives u1 (t ) = u −1 (t ) and u N +1 (t ) − u N −1 (t ) = 0 gives u N +1 (t ) = u N −1 (t ). h

h

h

h

So

0 0 L ⎞ ⎛− 2 2 ⎜ ⎟ ⎜ 1 −2 1 0 M ⎟ ⎜ ⎟ A= 0 1 −2 O 0 ⎜ ⎟ ⎜ 0 O O O 1 ⎟ ⎜0 L 0 2 − 2 ⎟⎠ ⎝ The matrix obtained from (2 ) has some specialty. In most cases A is a toeplitz matrix.

Here we consider numerical approximations of such model using several schemes in space and time. Then we compare the results. The article is organized in the following way. We start with discretising the problem using a finite difference scheme, then we find a bound on the spectral radius of semidiscerete matrix in Section II. In Section III we present several time discretisations whereas Section IV contains numerical experimental results. We finish our study in Section V with the conclussion.

Definition 1: Toeplitz matrix: A Toeplitz matrix is a matrix which is constant along each of its diagonals.

A of the form a 0 0 L ⎞ ⎟ b a 0 M ⎟ ⎟. a b O 0 (3a ) ⎟ O O O a ⎟ L 0 a b ⎟⎠ which depends on space Nh

Now consider the matrix the

⎛b ⎜ ⎜a A = ⎜0 ⎜ ⎜0 ⎜0 ⎝

II. THE PROBLEM AND ITS DISCRETISATIONS We consider 2 N + 1 points over the interval

1 . We define xi = −1 + ih, N 0 ≤ i ≤ 2 N + 1 = N h . We approximate u xx in

[−1, 1] and h =

of

order

discretisation. The eigenvalues and eigenvectors [21] of A are of the form

space by

10

Numerical approximation of a Nonlinear Parabolic Partial Diferential Equation

λi = b + 2 a

⎛ iπ ⎞ c ⎟⎟ cos⎜⎜ a ⎝ Nh +1⎠

⎞ ⎛ iπ ⎟⎟ = 2 a 2 sin 2 ⎜⎜ ⎝ 2( N h + 1) ⎠

and

So, we can write

⎛ iπ ⎞ ⎟⎟ ≤ 4 a , 2 a 2 sin 2 ⎜⎜ ⎝ 2(N + 1) ⎠ for all i = 1, 2, L , N h . Thus the proof follows

⎡ ⎤ ⎢⎛⎜ c ⎞⎟ sin ⎛⎜ 1.iπ ⎞⎟ ⎥ ⎜ N +1⎟ ⎥ ⎢⎝ a ⎠ ⎠ ⎝ h ⎢ ⎥ 2 ⎢ c 2 ⎛ 2.iπ ⎞ ⎥ ⎢ ⎛⎜ ⎞⎟ sin ⎜ ⎥ ⎜ N + 1 ⎟⎟ ⎥ ⎢ ⎝a⎠ ⎠ ⎝ h ⎢ ⎥ 3 ⎢ ⎛ c ⎞ 2 ⎛ 3.iπ ⎞ ⎥ ⎟⎟ ⎥ xi = ⎢ ⎜ ⎟ sin ⎜⎜ ⎢ ⎝a⎠ ⎝ Nh + 1⎠ ⎥ ⎢M ⎥ ⎢ ⎥ Nh ⎢ ⎥ ⎢ ⎛⎜ c ⎞⎟ 2 sin ⎛⎜ N h .iπ ⎞⎟⎥ ⎜ N + 1 ⎟⎥ ⎢ ⎝a⎠ ⎠ ⎝ h ⎢ ⎥ ⎢ ⎥ ⎢⎣ ⎥⎦ for each i = 1, 2, L , N h . 1 2

from inspection. In Figure 1 we plot spectral radius and stiffness ratio of the matrix A considering both boundary conditions. We notice that in both cases the spectral radius and stiffness ratio are computationally same and the spectral radius is of 2

O( N h ) which reflects the Lemma 1. 5

10

4

10

3

10

Lemma 1: The spectral radius of the toeplitz tridiagonal matrix of type (3a ) is bounded and

aπ 2

(N + 1)2

spectral radius stiffness ratio

2

10

1

10

≤ λi ≤ 4 a

where the matrix A is defined by

50

150 200 250 system size

300

350

400

Figure 1: Spectral radius and stiffness ratio of the stiffness matrix A with both boundary conditions. We notice that both the spectral radius and stiffness ratio grows as system size grows and it is of

(3a ).

Proof: From the definition of the eigenvalue of A we have

2

O( N h ) .

⎛ iπ ⎞ c ⎟⎟ cos⎜⎜ a ⎝ Nh +1⎠ For all i = 1, 2, L , N h .

λi = b + 2 a

Now in the matrix

100

III. THE TIME DISCRETISATION Now for time discretisation we use the following schemes. Applying explicit Euler formula to (3)

A of type (3a ) 2 a = b and

u n +1 − u n = Au n + f (u n ) ∇t

a = c . Then we have And so

u n +1 = u n + ∇t (Au n + f (u n ) )

⎛ iπ ⎞ ⎟⎟ ⎝ Nh + 1⎠

(4) which can be solved easily using one iteration per time steps.

λi = 2 a 1 + cos⎜⎜

11

Samir K. Bhowmik Applying implicit Euler formula to (3)

u

n +1

−u = Au n +1 + f (u n +1 ) , ∇t

which can be written as

1

(5) u

u n +1 = u n + ∇t Au n +1 + ∇t f (u n +1 ) .

Here is a problem of getting solutions in each time steps since ( 5 ) is a nonlinear system of equations. We start solving the problem using Newton’s method for nolinear system. Actually solving the problem in such a way gives better stability and accuracy than the explicit solver (4) but has a difficulty of solving nonlinear system of equations per time steps.

50

(

( I − ∇t A)

u −1

y

-0.5

-1

(

∇t = 0.1 , u 0 = sin 2πx 2

0.5

0

1

x

)

and

ε = 0.001 .

Here we experience that after very little iteration, solutions become unstable (the vertical lines of the figure are jumps of the solutions). Then we consider an implicit solver with full discrete nonlinear scheme (5), linear approximate scheme (6 ) and approximate inverse of the co-

is

efficient matrix in (6 ) . We observe that schemes

(5) and (6 )

gives same steady state with any

suitable choice of ∇t (see Figure 4 and Figure 5) with two different choices of ε . We also experiment solutions for the scheme (6) with

Here we present numerical experimental results for the schemes discussed above. In most cases we

N = 32, vary ∇t and ε .

0

Figure 3: Explicit Euler solver with N = 32 ,

we

IV. RESULTS

consider

0

0.5

≈ I + ∇tA + Ο(∇t ) 2 when ∇t → 0 which is Ο(∇t ) accurate. We observe that numerical scheme (6 ) with such an

(I − ∇t A)−1

ε = 0.001 .

-1 1

2

approximation of inverse of stable.

and

1

(6)

(I − ∇t A)−1 ,

)

We notice that solutions converge to single steady sate 1 .

We experienced another problem while solving the linear system (6 ) . That is to invert the matrix

To avoid computing approximate the inverse by

1

x

∇t = 0.01 , u 0 = sin 2πx 2

u n +1 = u n + ∇t Au n +1 + ∇t f (u n ) ,

( I − ∇t A) .

0.5

Figure 2: Explicit Euler solver with N = 32 ,

n

u n +1 (I − ∇t A) = u n + ∇t f (u n ) .

0

-0.5

0 -1

y

by u in f . That linearization replacing u can give an alternative of solving the nonlinear system. Thus (5) can be written as and thus

0

-1 100

To avoid the difficulty we linearise the problem by n +1

∇t solution

N ), whereas for larger choice of diverges (see Figure 3).

n

u 0 = sin (2πx 2 ) , and

approximate inverse of (I − ∇t A) and notice that approximate inverse computation version scheme also stable and converges (see Figure 6), but it converges to a state different from ones shown in Figure 5 with same choices of initial function and ε . −1

We start with Explicit Euler’s method with two different choices of ∇t. We notice from Figure 2 that solution converges to steady state and is bounded when ∇t is small (which is relative to 12

Numerical approximation of a Nonlinear Parabolic Partial Diferential Equation V. CONCLUSSION In this paper couple of schemes have been presented for the parabolic equation subject to suitable boundary conditions. The second-order spatial derivative was discretized to result in an approximating system of ODEs. We find bounds for the spectral radius of such a discretisation. We notice that the system of ordinary differential equation obtained from the space discretisation gives a stiff system (see Figure 1). We consider several explicit and implicit solvers in time. Then we move to approximate the full non-linear algebraic equation to a linear problem. We also approximate the inverse of the Jacobian matrix for the algebraic system. We also notice that stability of solution depends on time steps for the explicit approximation in time (Figure 2 and Figure 3). We notice that an implicit solver and its approximate versions converge fast to the steady state. The two approximate version (linearization and approximate inverse of a matrix for implicit Euler) works fine, stable and converges to the final state ± 1 (See Figure 4, Figure 5 and Figure 6).

1 1 -1

0.5 0

100 -0.5

50 0 -1

u 0 = x + sin (6πx ) ,

Figure 4: This plot with

ε = 0.0005 . implicit euler’s method for all t=[0, 125]. N=64.

u

1

-1 100

50 y

-0.5

0 -1

1

0.5

0 x

REFERENCES

Figure 5: Implicit Euler solver with N = 32 ,

(

∇t = 0.1 , u 0 = sin 2πx 2

)

and

ε = 0.001 .

Here we notice that solutions go to the steady state single steady state 1 and the solutions are stable. We also notice that the scheme (6) also converges to that same state as the scheme (5) does.

u

1

[1]

M. Akram, “On Numerical Solution of the Parabolic Equation with Neumann Boundary Conditions”, International Mathematical Forum, 2, 2007, no. 12, 551 – 559.

[2]

Peter W Bates and Adam Chmaj. A discrete convolution model for phase transitions. Archive for Rational Mechanics and Analysis, 150(4):281{305, 1999.

[3]

Samir K. Bhowmik. “Numerical approximation of a non-linear partial integro-differential equation” PhD thesis, Heriot-Watt University, Heriot-Watt university, UK, April, 2008.

[4]

Fengxin Chen. “Uniform stability of multidimensional travelling waves for the nonlocal allen-chan equation”. Fifth Mississippi State Conferrence on Di_erential Equations and Computational Simulations, Electronic Journal of Differential Equations, Conference 10:109{113, 2003.

[5]

Jerome Coville and Louis Dupaigne. “Propagation speed of travelling fronts in non local reaction-di_usion equations”.

0 -1 1 0.5 y

0 -1

0

-0.5

0.5

1

x

Figure 6: Linearised implicit Euler solver with

(

)

N = 32 , ∇t = 0.1 , u 0 = sin 2πx 2 and ε = 0.001 with approximate inverse of (I − ∇t A)−1 . Here we notice that solutions are stable and converge to a two jump steady state with

± 1.

13

Samir K. Bhowmik [13] Carlo R. Laing, William C. Troy, B. Gutkin, and G. B. Ermentrout. “Multiple bumps in a neuronal model of working memor”. SIAM J. Applied Math., 63:62{97, 2003.

ELSEVIER, Nonlinear Analysis, 60:797{819, 2005. [6]

[7]

[8]

[9]

Dugald B. Duncan, M Grinfeld, and I Stoleriu. “Approximating a convolution model of phase separation”. conference Talk at May 21, 2003.

[14] Xiaofeng Ren Peter W. Bates, Paul C. Fife and Xuefeng Wang. “Travelling waves in a convolution model for phase transitions”. Archive for Rational Mechanics and Analysis, 138(2):105{136, July 1997.

Dugald B. Duncan, M Grinfeld, and I Stoleriu. “Coarsening in an integrodi_erential model of phase transitions”. Euro. Journal of Applied Mathematics, 11:511{523, 2000.

[15] J. C. Strikwerda. “Finite Difference Schemes and Partial Differential Equations”. Wadsworth and Brooks, Cole Advanced Books and Software, Paci_c Grove, California,, 1989.

E. Gekeler. “A-convergence of finite di_erce approximations of parabolic initial-boundary value problems”. SIAM J. Numer. Anal., 12(1), 03 1975.

[16] Hillel Tal-Ezer. “Spectral methods in time for parabolic problems”. SIAM J. Numerical Analysis, 26(1):1{11, 02 1989.

W. Hundsdorfer and J. G. Verwer. “Numerical Solution of Time-Dependent Advection-Di_usion-Reaction Equations”. Springer Series in Computational Mathematics, 2003.

[17] Lloyd N. Trefethen. “Spectral Methods in Matlab”. SIAM, 2000. [18] G.E.Forsythe and W.R.Wasow,Finite difference methods for partial differential equations, John Wiley and sons:New York,1960.

[10] Bosko S. Jovanovic. “On the convergence of finite-difference schemes for parabolic equations with variable co-efficients”. Numerische Mathematik, Numer. Math., Springer-verlag, 54:395{404, 1989.

[19] A.Zafarullah,Some stable implicit difference methods for heat equation with derivative boundary condition, The Computer Journal, 14 1971) 309-311.

[11] Heinz-Otto Kreiss and Joseph Oliger. “Stability of the fourier method”. SIAM J. Numerical Analysis, 16(3), 06 1979.

[20] P.Keast and A.R.Mitchell,On the instability of the Crank Nicholson formula under derivative boundary conditions ,The Computer Journal, 9 1) (1966)110-114.

[12] Carlo R. Laing and William C. Troy. “Pde methods for nonlocal models”. SIAM J. Applied dynamical systems, 2(3):487{516, 2003.

[21] Carl D. Meyer, Matrix Analysis and Applied Linear Algebra, SIAM, 2000.

14

xu γ 1 1 < < − γ γ

ODE. ),( uf ut = which has two stable equilibria at 1. ± and 0 is its unstable equilibrium. If 0)0,(. > xu solutions goes to 1and if 0)0,(. < xu solution goes to .1. −. There are different type of nonlinearity have been using for this type of models. 3. 2. )( uuk uf. −. = with k is a controlling parameter represents duffing equation and.

340KB Sizes 1 Downloads 44 Views

Recommend Documents

Fixed Points: [[1 0 1 0 1 1 0 1 0 1 1 1 1 1 1 1] ] - GitHub
Key bae: Fixed Points: [[0 0 0 0 0 0 1 1 1 1 1 1 1 0 1 0]. [0 1 0 1 1 1 1 1 0 0 0 0 1 0 0 1]. ] Negated Fixed Points: [[0 1 1 1 0 0 1 1 1 1 0 1 0 0 0 1]. ] Key baf:.

home.php 1/1 include.php 1/1
remember that user's logged in. 46: $_SESSION["authenticated"] = TRUE;. 47: login5.php. 2/2 lectures/5/src/login/. 48: // redirect user to home page, using absolute path, per. 49: // http://us2.php.net/manual/en/function.header.php. 50: $host = $_SER

Jacky Xu
Large Size Bed With Laundry 2nd Level. Please Visit Our Website for The Virtual Tour. Feature & Upgrade List!! Mississauga One Realty Inc. Brokerage. (密市第 ...

l 1 1 1
5,278,979 A l/l994 Foster et a1. (22) Filed: NOV. 25, 2008. 5,301,336 A. 4/1994 Kodosky et al. 5,315,530 A. 5/1994 Gerhardt et al. Related US. Patent Documents. 5,325,431 A. 6/1994 Hunt. Reissue of: (Continued). (64) Patent No.: 7,444,197. Issued: Oc

1::__-1
Sep 7, 2007 - FIG.1(PRIOR ART). “Hm. .... In comparison with prior arts that individual LED of ... description is for purposes of illustration only, and thus is not.

I I 1.. 1.. -1.
Write true or false : 5x1=5. (a) The study of how to best implement and integrate cryptography in software applications is itself a distinct field. (b) Authentication is the process of verifying the identity of a person. MSEI-022. 1. P.T.O.. Page 2.

Yi (Daniel) Xu
Feb 2015 - , Research Affiliate, Innovations for Poverty Action, SME Initiatve ... Program Committee, SED Annual Meeting, 2012 (Cyprus), 2013 (Seoul), 2014 (Toronto) ... and the Extensive Margin in Export Growth: A Microeconomic Accounting of ... 201

adder.c 1/1 conditions1.c 1/1 - CS50 CDN
20: int x = GetInt();. 21: printf("Give me another integer: ");. 22: int y = GetInt();. 23: 24: // do the math. 25: printf("The sum of %d and %d is %d!\n", x, y, x + y);. 26: }.

adder.c 1/1 conditions1.c 1/1 - CS50 CDN
24: printf("char: %d\n", sizeof(c));. 25: printf("double: %d\n", sizeof(d));. 26: printf("float: %d\n", sizeof(f));. 27: printf("int: %d\n", sizeof(i));. 28: } switch1.c. 1/1.

adder.c 1/1 conditions1.c 1/1 - CS50 CDN
5: * David J. Malan. 6: *. 7: * Adds two ... 20: int x = GetInt();. 21: printf("Give me ... 25: printf("The sum of %d and %d is %d!\n", x, y, x + y);. 26: } conditions1.c. 1/1.

AIIMS-1 (1) (1).pdf
Page 1 of 8. ALL INDIA INSTITUTE INSTITUTE INSTITUTE OF MEDICAL MEDICAL MEDICAL SCIENCES SCIENCES SCIENCES. vf[ky Hkkjrh; vk;qfoZKku ...

b2b.xsl 1/1
91: depends="init". 92: description="apply xtube.xsl to xtube.xml for XHTML output">. 93: . 94: . 95: . 96: . 97: .

1 \1 i
electrode ?xed to said conductive support; said P channel and N channel driver ... each of said driver FE T s connected at a node to define a series totem pole ...

Ellinika-Tora-1-1-Tetradio-Askiseon-1-Greek-Now-1-1-Workbook-1 ...
Study On the web and Download Ebook Deutsch Aktuell Workbook 1 (1). Download KRAFT ebook file free of charge and. this ebook pdf found at Saturday 17th ...

1-1 Guidelines1-1 Guidelines.pdf
Please take care of your Netbook or Chromebook and treat it as if it was your own. With every privilege. comes responsibility. Have a great school year and ...

1-1-1 ENGLISH CORE.pdf
architecture. 5. Immediately ... the novelty of it all and in photographing it, than in its history or tradition. 8. At the start ... Page 3 of 12. 1-1-1 ENGLISH CORE.pdf.

Kevin S. Xu
Development of robust algorithms for analysis of physiological data (including electrodermal activity and heart rate variability) ... In Proceedings of the 6th IEEE International Conference on Big Data and Cloud. Computing, pages 21–28, .... Statis

Amy Xu Resume.pdf
Page 1 of 1. Design. Print Design. Packaging. Art Direction. UI/UX. Typography. Illustration. HTML/CSS. Software. Adobe CC. InDesign. Photoshop. Illustrator. Acrobat Pro. Premiere Pro. XD. Sketch. Proto.io. Mailchimp. MS Office. Technical. Scientific

dummy.xml 1/1
Friends since high school, 20-somethings Kaleil Isaza Tuz man and Tom ..... This Disney masterpiece from 1940 will hold up forever pr.

b2b.xsl 1/1
4: 5: 6: . 102:

build.xml 1/1
AttributeConverter.java. 1/1 project1-8.0/src/cscie259/project1/. 1: package cscie259.project1;. 2: 3: import org.apache.xml.serialize.OutputFormat;. 4: import org.apache.xml.serialize.XMLSerializer;. 5: 6: 7: /**. 8: * A program for converting eleme

dummy.xml 1/1
... block; margin-bottom: 20px; }. 4: title { font-size: 20pt; font-family: Arial; color: #00ff00 } .... Andrew Davis. 81: ..... film had the luck (or lac k thereof) to be shot during the same fateful and fatal climb of Mount Everest chronic.

map1.html 1/1
map1.html. 1/1 lectures/8/src/. 1: . 11:.