Vous êtes sur la page 1sur 20

Electronic Journal of Mathematical Analysis and Applications

Vol.2(1) Jan 2014, pp. 246-265.


ISSN: 2090-792X(online).
http://ejmaa.6te.net//
-

CUBIC B-SPLINE COLLOCATION ALGORITHM FOR THE


NUMERICAL SOLUTION OF NEWELL WHITEHEAD SEGEL
TYPE EQUATIONS
W. K. ZAHRA , W. A. OUF , M. S. EL-AZAB

Abstract. In this paper, numerical solutions of the Newell Whitehead Segel


Type equations (NWS) are obtained using different cubic B-spline basis. A
linear Von-Neumann stability analysis shows that the numerical scheme is
unconditionally stable. Accuracy of the method is discussed by computing the
max numerical error. The numerical result shows that the presented method
is a successful numerical technique for solving NWS equation.

1. Introduction
The general nonlinear parabolic partial differential equation is of the form
ut = kuxx + au + buq + (x, t, u, ux )

(1)

where k, a, b and q are real constants, then (1) gives rise to well-known models
in fluid dynamics. For a = 4, b = 4, k = 1 and q = 3, (1) becomes the Allen-Cahn
equation [1]. For b = a = 1, k = 1 and q = 2, (1) reduces to the well-known
Fishers equation [2]. By setting the values as b = 1, a = 1, k = 1, q = 2 and the
source term (x, t, u, ux ) = uux gives Burgers-fisher equation. Changing the values
to k = 1, a = ,b = 1 + , q = 2 and (x, t, u, ux ) = u3 (1) becomes Huxley
equation. However, by letting the values to k = 1, a = , b = 1 + , q = 2 and
(x, t, u, ux ) = uux u3 leads to Burgers-Huxley equation. Another form by letting
k = 1, a = , b = 1, q = 2 and (x, t, u, ux ) = u3 u2 gives Nagumo reaction
diffusion equation. Last, by replacing the coefficient b with b and letting q = 2
(1) becomes the famous Newell Whitehead Segel Equation. The Newell Whitehead
Segel type Equations describes the dynamical behavior near the bifurcation point
of the Rayleigh-Benard convection of binary fluid mixtures [3].
The Rayleigh -Benard convection is a type of natural convection, occurring in
a plane horizontal layer of fluid heated from below, in which the fluid develops
a regular pattern of convection cells known as Bernard cells. When the heating
2010 Mathematics Subject Classification. 65M70, 65M12.
Key words and phrases. NWS equation, Cubic B-spline, Collocation method, Von-Neumann
stability.
246

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

247

is sufficiently intensive, convective motion of the fluid is developed spontaneously


then the hot fluid moves upward, and the cold fluid moves downward. Rayleigh
Bernard convection is one of the most commonly studied convection phenomena
because of its analytical and experimental accessibility. The convection patterns
are the most carefully examined example of self-organizing nonlinear systems [4].
Buoyancy and gravity are responsible for the appearance of convection cells. The
initial movement is the upwelling of warmer liquid from the heated bottom layer
[5]. Fig. (1) and Fig. (2) Shows the Rayleigh -Benard convection phenomenon and
the convection cells in a gravity field.

Fig. (1)

Fig. (2)

There are two kinds of patterns that are observed especially often. The first one
is the roll pattern (or stripe pattern) in which the fluid streamlines form cylinders.
These cylinders may be bent and they may form spirals or target-like patterns.
Another typical pattern is the hexagonal one in which the liquid flow is divided
into honeycomb cells. For some fluids, the motion is downward in the center of
each cell and upward on the border between the cells; for other fluids, the motion
is in the opposite direction. The same patterns, stripes and hexagons, appear in
completely different physical systems and on different spatial scales. For instance,
stripe patterns are observed in human fingerprints, on Zebras skin and in the visual
cortex. Hexagonal patterns result from the propagation of laser beams through a
nonlinear medium and in systems with chemically reacting and diffusing species [6].
Recently a lot of research work has been presented for solving NWS type equations. Ezzati and Shakibi [7] applied the Adomians Decomposition and multiquadric quasi-interpolation methods for solving Newell-whitehead equation. Kheiri
et. al., [8] Adapted the Homotopy analysis and Homotopy Pade methods to find
the numerical solution of NWS equation. Aasaraai [9] considered the differential
transformation method for solving this equation with both constant and variable coefficients finding the analytical solution of equation. Macias-Diaz and Ruiz-Ramirez
[10], proposed a finite-difference scheme to approximate the solutions of a generalization of the classical NWS equation. Lastly, Nourazar et. al., applied the
Homotopy perturbation method for five different cases of the equation [11].
In this paper, we adapt a collocation method based on cubic B-spline functions
with different type basis functions to solve (1) such as the trigonometric B-spline
that has been presented by I. G. Burova in [13], [14] and [15] that has the same

248

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

form as in [17] that we will use as our basis functions in the later section. We solve
(1) according to the following classes of initial and boundary conditions as follows
Class No (1)
initial condition
u(x, 0) = g(x)
Dirichlet boundary conditions
u(a, t) = g1 (t), u(b, t) = g2 (t)
Class No (2)
initial condition
u(x, 0) = g(x)
Neumann boundary conditions
ux (a, t) = g3 (t), ux (b, t) = g4 (t)
The method is tested for six different test problems with different boundary conditions. The most important feature of this method is that it is easy to implement
to both linear and nonlinear problems with no computational or time effort.
In section 2, we apply the cubic B-spline collocation method to solve the NWS
equation where we use uniform, trigonometric and extended cubic B-spline as basis
functions. In section 3 we propose a stability analysis using Von-Neumann method
showing to be unconditionally stable. Finally, section 4 is the closing stage where
we present the numerical results of our method for six test problems.

2. Application of the collocation method


2.1. Uniform Cubic B-spline (UCBS). We introduce the cubic spline space
and basis functions to construct an interpolant S(x) satisfying certain end conditions and then derive several asymptotic expansions to be used in the formulation
of the cubic spline collocation method.
Let {a = x0 < x1 < ..... < xN 1 < xN = b} be a uniform partition of the
interval [a, b] with 6 additional knots outside the region, positioned at:
x3 < x2 < x1 < x0 ,
xN < xN +1 < xN +2 < xN +3 ,
and h = xi xi1 = (b a)/N as a step size. Consider a smooth quartic spline
S(x) that is an element of S3 () {q(x)/q(x) C 2 [a, b], q(x) is a polynomial of
degree at most 3 on the partition } . Consider the B-splines basis in S3 () is
defined as follows in different ways.
The B-spline basis can be defined as
3

x
1 3 x3 + 12 h x2 12 h2 x + 4 h3 ,
Bi (x) =
3 x3 24 h x2 + 60 h2 x 44 h3 ,
6 h3

x3 + 12 h x2 48 h2 x + 64 h3

0x<h
h x < 2h
2h x < 3h
3h x < 4h

(2)

where
Bi1 (x) = Bi (x (i 1)h), i = 2, 3, .....

(3)

The Bi (x) and their first two derivatives, evaluated at the nodal points are
needed. Their coefficients are given in Table 1.

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

249

Table 1: coefficients of Bi and its derivatives


x
xi1 xi xi+1
1
4
1
Bi
6
6
6
3
3
0
hBi
0
6
6
2 00
h Bi
1
2
1
2.2. Extended cubic uniform B-spline (ECBS). We introduce the blending
function of the extended cubic uniform B-spline with degree 4, EBi (x) is given by
[16] as

4h(1 )zi3 + 3zi3 ,

2
3
4
1
(4 )h4 + 12h3 zi+1 + 6h2 (2 + )zi+1
12hzi+1
3zi+1
,
EBi (x) =
4
3
2
2
3
4
4
(4

)h

12h
z
+
6h
(2
+
)z
+
12hz

3z
24 h
i+1
i+1
i+1
i+1 ,

4h(1 )zi3 + 3zi3 ,

x Ii
x Ii+1
x Ii+2
x Ii+3
(4)

Where zi = x xi , Ii [xi , xi+1 ], and the parameter satisfies 8 1 .


The EBi (x) and their first two derivatives, evaluated at the nodal points are
needed. Their coefficients are given in Table2.
Table 2: coefficients of EBi and its derivatives
x
xi2 xi1
xi
xi+1 xi+2
4
8+
4+
EBi
0
0
24
12
24
1
1
0
EBi
0
0
0
2h
2h
2+
2+
2+
EBi00
0

0
2h2
h2
2h2
2.3. Trigonometric cubic B-spline (TCBS). Let T S3 () be the space of cubic trigonometric spline functions over the partition . We can define the cubic
trigonometric B-spline functions T Bi (x), for i = 1, 0, 1, ....., n + 1 for T S3 ()
after including two more points on each side of the partition . Thus the cubic
trigonometric B-spline functions is defined as in [17] as

x [xi2 , xi1 ] i
sin3 ( xx2i2 ),

xx
xx
x

x
x
i2
i2
i+1
i

sin( 2 ) sin( 2 ) sin( 2 ) + sin( 2 x ) sin( xx2i+1 ) +

1 sin( xx2i1 ) hsin2 ( xi+12 x ),


x [xi1 , xi ] i
T Bi (x) =
xi+2 x
xxi1
xi+1 x
xi+2 x
i
(h)
sin( 2 ) sin( 2 ) sin( 2 ) + sin( 2 ) sin( xx

2 ) +

xx
x
x

sin( 2i+2 ) sin2 ( i+12 ),


x [xi , xi+1 ]

x [xi+1 , xi+2 ]
sin3 ( xi+22 x ),
(5)
Where
(h) = sin( h2 )sin(h)sin( 3h
2 )
The T Bi (x) and their first two derivatives, shown at the nodal points are needed.
Their coefficients are given in Table 3.

250

W. K. ZAHRA ET AL.

x
T Bi
T Bi0

xi2
0
0

T Bi00

EJMAA-2014/2(1)

Table 3: coefficients of T Bi and its derivatives


xi1
xi
xi+1
xi+2
2 h
2
3h
sin2 ( h2 ) csc(h) csc( 3h
sin
(
0
)
)
csc(h)
csc(
)
2
1+2 cos(h)
2
2
3
3h
3
3h
0
0
4 csc( 2 )
4 csc( 2 )
3(1+3 cos(h)) csc2 ( h
2)
3h
13(2 cos h
2 +cos( 2 ))

3 cot2 ( h
2)
2+4 cos(h)

3(1+3 cos(h)) csc2 ( h


2)
3h
13(2 cos h
2 +cos( 2 ))

3. Implementation of the method


The approximate solution U to the exact solution u(x, t) will be sought in form
of an expansion of uniform B-splines
Um (x) =

N
+1
X

m Bm (x),

(6)

m=1

where m are unknown parameters to be determined using cubic B-spline colloca00


0
tion form of (6). The nodal values Um , Um and (Um ) at the knots xm are derived
from expression (6) and Table 1 in the following form

U (xm ) =

1
(m+1 + 4m + m1 ),
6

(7)

3
(m+1 m1 ),
6h

(8)

U (xm ) =

1
(m+1 2m + m1 ),
(9)
h2
These knots are used as collocation points. We discretize the time derivative by a
difference formula to the space derivative
00

U (xm ) =

Ut (x, tn ) =

(U (x, tn+1 ) U (x, tn ))


.

(10)

Substitute (10) into (1), yields


U (x, tn+1 ) = U (x, tn ) + kUxx (x, tn ) + a U (x, tn ) + b (U (x, tn ))q + (x, tn , un , unx )
(11)
where = t is the time step and the superscripts n and n + 1 are successive time
levels. Hence (11) can be rearranged as
U (x, tn+1 ) = kUxx (x, tn )+b (U (x, tn ))q +(1+a )U (x, tn )+ (x, tn , un , unx ) (12)
substituting (6) into (12) for time step tn
N
+1
N
+1
N
+1
X
X
X
n+1
n 00
n
(
(m Bm (x)) =
(m Bm (x))) + (1 + a )(
(m
Bm (x))
m=1

m=1

+ b ((

N
+1
X

m=1

n
(m
Bm (x)))q + (xm , tn , un , unx )

m=1

(13)

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

251

Then putting the values of the nodal values U and its derivatives using (7) to (9)
at the knots in (13) yields the following difference equation with the variables .
0

n+1
n+1
n+1
n
n
n
m+1
+ 4m
+ m1
= a m+1
+ b m
+ c m1
+ (xm , tn , un , unx )

(14)

Where m = 0, 1, ......, N
0

b = 4X 2Y + (4q )Z

a = c = X + Y + Z,

6
,
Z = b (1)q = b
h2
The system (14) results in (N + 1) linear equations in (N + 3) unknowns. To
solve this system two additional constrains are required. These constrains are
obtained from the boundary conditions. Applying the boundary conditions enables
us to add the parameters 1 , N +1 in the system and then the system can be
reduced to (N + 3) (N + 3) solvable system diven by
X = a + 1,

Y =

A n+1 = B n + C
T

Where = (1 , 0 , ......, N +1 ) and the


1 4 1
0
60
60
60
a b c
0

0 a0 b0 c0

0
0

b
B= 0 0 a

0 0 0 ...

0 0 0
0
0

1
0
0
0

(15)

matrix A, B and C is given by

0
0
0
0 0
0
0
0
0 0

0
0
0
0 0

0
c
0
0
0 0
,

.. .. ..
..
.
.
.
. 0

0
0
0
0
0 a
b
c

1
6

4
6

4
1
0
0

1
4
1
0

0
1
4
1
..
.

0
0
1
4
..
.

0
0
0
1
..
.

0
0
0
0
..
.

0
0
0
0
..
.

0
0

0
0

1
0

4
1

1
4

A=

0 0 0

0 0 0
0 0 0

1
6

0
0
0
0

0
1

And
C = [g1 (tn ), (x0 , tn , un , unx ), (x1 , tn , un , unx ), , (xm+1 , tn , un , unx ), g2 (tn )]T
where (x, t, u, ux ) denotes the right hand side of the equation after calculating
the initial state from the boundary conditions. All calculations were carried out
using Matlab 7 (R 2008 a). The same procedure is carried out using the trigonometric B-spline and the extended B-spline in the same sense of the uniform B-spline
as stated in the previous section by changing the basis used.
4. Stability analysis
In this section we will investigate the stability analysis by applying Von-Neumann
n
stability analysis.For sake of simplicity we let (x, t, u, ux ) = 0. We substitute m
=

252

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

n eih
into linearized form of (14)where is the mode number, h is size element
and i= 1 we obtain,
0

n (a ei(m+1) + b ei(m) + c ei(m1) ) = n+1 (ei(m+1) + 4ei(m) + ei(m1) )


Here we have taken, h = , dividing both sides by ei(m) we get
0

n (a ei + b + c ei ) = n+1 (ei + 4 + ei )
0

=

(a ei + b + c ei )
(ei + 4 + ei )

(16)

and by simplifying (16), we get


=

A
C

C can be put in the form


Where A,
A = (a0 + c0 ) cos + b0 ,

C = 2 cos + 4

(17)

after simplifying and substitution we see that


A2 C 2 = 24a2 2 72a 24ab 2 12ab 2 4q 24b 12b 4q 4b2 2
2(2+2q) b2 2 16q b2 2 1
Which implies that the scheme is unconditionally stable.

5. Test problems
Numerical method described in the previous section is tested on six test problems
from [9], [11] and [12] for different values of coefficients for getting solutions of the
NWS equation in order to demonstrate the robustness and numerical accuracy. The
L error norm
L = |U UN | = maxj |Uj (UN )nj |
is used to measure error between the exact and numerical solutions.
5.1. Problem (1). In (1) a = 2, b = 3, q = 2, k = 1 and (x, t, u, ux ) = 0 then
the NWS equation is written with class no (1) of boundary conditions as in [9]
ut uxx 2u + 3u2 = 0,

u(x, 0) = ,

u(1, t) =

u(0, t) =

(2e2t )
,
(2 + 3(1 e2t ))

(2e2t )
,
(2 + 3(1 e2t ))
u(x, t) =

(2e2t )
(2 + 3(1 e2t ))

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

Table 4: Absolute maximum error for 0 x 1


x/t Method
0.2
0.4
0.6
0.2 UCBS 8.323E-04 1.011E-03 8.581E-04
TCBS 8.295E-04 1.007E-03 8.514E-04
ECBS 6.068E-04 6.800E-04 5.476E-04
0.4 UCBS 1.226E-03 1.520E-03 1.302E-03
TCBS 1.222E-03 1.514E-03 1.292E-03
ECBS 9.013E-04 1.023E-03 8.289E-04
0.6 UCBS 1.226E-03 1.520E-03 1.302E-03
TCBS 1.222E-03 1.514E-03 1.292E-03
ECBS 9.013E-04 1.023E-03 8.289E-04
0.8 UCBS 8.323E-04 1.011E-03 8.581E-04
TCBS 8.295E-04 1.007E-03 8.514E-04
ECBS 6.068E-04 6.800E-04 5.476E-04

(a)

(b)

,0 t 1 and =0.1
0.8
1.0
4.745E-04 1.991E-05
4.651E-04 3.239E-05
2.746E-04 6.339E-05
7.334E-04 4.932E-06
7.194E-04 2.342E-05
4.221E-04 8.366E-05
7.334E-04 4.932E-06
7.194E-04 2.342E-05
4.221E-04 8.366E-05
4.745E-04 1.991E-05
4.651E-04 3.239E-05
2.746E-04 6.339E-05

253

254

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

(c)

(d)
Fig. 3. Approximate solution (a) Uniform, (b) Trigonometric, (c) Extended, (d)
Error (UCBS)

5.2. Problem(2). In (1) a = 2, b = 0, q = 1, k = 1 and (x, t, u, ux ) = 0 then


the NWS equation is written with class no (1) of boundary conditions as in [11]
ut uxx + 2u = 0,

u(x, 0) = ex , u(0, t) = et ,

u(1, t) = e(1t) , u(x, t) = e(xt)

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

Table 5: Absolute
x/t Method
0.2
0.2 UCBS 3.426E-03
TCBS 3.258E-03
ECBS 3.258E-03
0.4 UCBS 5.426E-03
TCBS 5.160E-03
ECBS 5.160E-03
0.6 UCBS 5.940E-03
TCBS 5.649E-03
ECBS 5.649E-03
0.8 UCBS 4.474E-03
TCBS 4.255E-03
ECBS 4.255E-03

maximum error for 0 x 1 ,0 t 1


0.4
0.6
0.8
1.0
3.544E-03 3.058E-03 2.536E-03 2.080E-03
3.372E-03 2.910E-03 2.413E-03 1.982E-03
3.372E-03 2.910E-03 2.413E-03 1.982E-03
5.651E-03 4.879E-03 4.048E-03 3.325E-03
5.376E-03 4.643E-03 3.851E-03 3.164E-03
5.376E-03 4.643E-03 3.851E-03 3.164E-03
6.094E-03 5.243E-03 4.345E-03 3.569E-03
5.798E-03 4.989E-03 4.135E-03 3.396E-03
5.798E-03 4.989E-03 4.135E-03 3.396E-03
4.438E-03 3.791E-03 3.136E-03 2.575E-03
4.223E-03 3.607E-03 2.985E-03 2.450E-03
4.223E-03 3.607E-03 2.985E-03 2.450E-03

(a)

(b)

255

256

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

(c)

(d)
Fig. 4. Approximate solution (a) Uniform, (b) Trigonometric, (c) Extended, (d)
Error (UCBS)

5.3. Problem(3). In (1) a = 1, b = 1, q = 2, k = 1 and (x, t, u, ux ) = 0 then


the NWS equation is written with class no (1) of boundary conditions as in [11]
ut uxx u + u2 = 0

u(x, 0) = (1 e

u(0, t) = (1+e( 6t ) )2

, u(1, t) = (1+e

( x6 ) 2

5
( 16 6t
) 2

, u(x, t) = (1+e

5
( x6 6t
) 2

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

Table 6: Absolute
x/t Method
0.2
0.2 UCBS 2.810E-04
TCBS 2.716E-04
ECBS 6.909E-04
0.4 UCBS 4.270E-04
TCBS 4.126E-04
ECBS 1.056E-03
0.6 UCBS 4.380E-04
TCBS 4.247E-04
ECBS 1.085E-03
0.8 UCBS 3.050E-04
TCBS 2.959E-04
ECBS 7.482E-04

maximum error for 0 x 1 ,0 t 1


0.4
0.6
0.8
1.0
3.030E-04 2.480E-04 1.660E-04 7.410E-05
3.249E-04 2.341E-04 1.506E-04 5.793E-05
6.760E-04 5.184E-04 3.196E-04 1.094E-04
4.740E-04 3.970E-04 2.760E-04 1.390E-04
4.551E-04 3.764E-04 2.536E-04 1.148E-04
1.059E-03 8.328E-04 5.384E-04 2.226E-04
4.910E-04 4.180E-04 2.990E-04 1.620E-04
4.723E-04 3.972E-04 2.765E-04 1.381E-04
1.099E-03 8.799E-04 5.897E-04 2.744E-04
3.370E-04 2.890E-04 2.110E-04 1.200E-04
2.905E-04 2.755E-04 1.962E-04 1.044E-04
7.547E-04 6.123E-04 4.219E-04 2.127E-04

(a)

(b)

257

258

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

(c)

(d)
Fig. 5. Approximate solution (a) Uniform, (b) Trigonometric, (c) Extended, (d)
Error (UCBS)

5.4. Problem(4). In (1) a = 1, b = 1, q = 4, k = 1 and (x, t, u, ux ) = 0 then


the NWS equation is written with class no (1) of boundary conditions as in [11]
ut uxx u + u4 = 0

u(x, 0) = (1 e

1
21
1 2
u(0, t) = ( tanh(( 2 ) + )) 3 ,
2
20t
2

3x

10

2
3

1
3
7
1 2
u(1, t) = ( tanh( (1 t) + )) 3 ,
2
2
2 10
10

1
3
7
1 2
u(x, t) = ( tanh( (x t) + )) 3
2
2
2 10
10

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

Table 7: Absolute
x/t Method
0.2
0.2 UCBS 3.800E-04
TCBS 3.951E-04
ECBS 9.673E-04
0.4 UCBS 4.230E-04
TCBS 4.448E-04
ECBS 1.159E-03
0.6 UCBS 2.890E-04
TCBS 3.111E-04
ECBS 8.863E-04
0.8 UCBS 1.120E-04
TCBS 1.270E-04
ECBS 4.224E-04

maximum error for 0 x 1 ,0 t 1


0.4
0.6
0.8
1.0
8.190E-04 1.112E-03 1.184E-03 1.080E-03
8.362E-04 1.130E-03 1.204E-03 1.103E-03
1.900E-03 2.446E-03 2.519E-03 2.251E-03
1.111E-03 1.613E-03 1.777E-03 1.658E-03
1.137E-03 1.640E-03 1.806E-03 1.688E-03
2.641E-03 3.587E-03 3.805E-03 3.462E-03
1.008E-03 1.569E-03 1.789E-03 1.703E-03
1.034E-03 1.596E-03 1.818E-03 1.734E-03
2.444E-03 3.512E-03 3.838E-03 3.558E-03
6.120E-04 1.024E-03 1.206E-03 1.172E-03
6.300E-04 1.042E-03 1.225E-03 1.192E-03
1.505E-03 2.293E-03 2.583E-03 2.441E-03

(a)

(b)

259

260

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

(c)

(d)
Fig. 6. Approximate solution (a) Uniform, (b) Trigonometric, (c) Extended, (d)
Error (UCBS)

5.5. Problem(5). In (1) a = 3, b = 4, q = 3, k = 1 and (x, t, u, ux ) = 0 then


the NWS equation is written with class no (1) of boundary conditions as in [11]
ut uxx 3u + 4u3 = 0

r
u(x, 0) =

r
u(0, t) =

3
1
(
), u(1, t) =
4 1 + e(1 9t2 )

3
e 6x

(
)
4 e 6x + e( 26x )

3
e 6

(
) , u(x, t) =
4 e 6 + e( 26 9t2 )

3
e 6x

(
)
4 e 6x + e( 26x 9t2 )

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

Table 8: Absolute
x/t Method
0.2
0.2 UCBS 6.129E-02
TCBS 6.134E-02
ECBS 5.166E-02
0.4 UCBS 8.711E-02
TCBS 8.718E-02
ECBS 7.224E-02
0.6 UCBS 8.030E-02
TCBS 8.036E-02
ECBS 6.461E-02
0.8 UCBS 4.857E-02
TCBS 4.862E-02
ECBS 3.721E-02

maximum error for 0 x 1 ,0 t 1


0.4
0.6
0.8
1.0
7.120E-02 4.312E-02 4.661E-02 1.560E-02
7.129E-02 6.430E-02 4.670E-02 1.563E-02
5.402E-02 4.511E-02 2.860E-02 1.518E-03
1.005E-01 8.771E-02 6.001E-02 1.640E-02
1.006E-01 8.786E-02 6.015E-02 1.650E-02
7.421E-02 5.888E-02 3.321E-02 4.323E-03
9.072E-02 7.637E-02 4.899E-02 9.878E-03
9.085E-02 7.651E-02 4.911E-02 9.969E-03
6.456E-02 4.822E-02 2.328E-02 9.679E-03
5.319E-02 6.420E-02 2.582E-02 2.862E-03
5.328E-02 4.321E-02 2.590E-02 2.915E-03
3.588E-02 2.500E-02 9.644E-03 9.118E-03

(a)

(b)

261

262

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

(c)

(d)
Fig. 7. Approximate solution (a) Uniform, (b) Trigonometric, (c) Extended, (d)
Error (UCBS)
5.6. Problem(6). In (1) setting k = 1 and (x, t, u, ux ) = u( 1)(1 u) then
the equation becomes the famous Nagumo reaction diffusion equation in [12] under
class no (2) of boundary conditions as
ut uxx u( u)(1 u) = 0
subject to initial conditions u(x, 0) =
And boundary conditions
ux (0, t) = 0, ux (1, t) = 0,
Where matrix A is the same and B and C in (15)becomes
3
3
0 6h
0
0
0
0
0
6h0
0
0
d
e d
0
0
0
0
0

0 d0 e0 d0
0
0
0
0

0
0
0

0 d
e
d
0
0
0
B= 0

.
.
.
.
.
.. .. ..
..
..
0
0 0

0
0
0
0 0
0
0
0
d
e
0
0
0 0
0
0
0 3
6h

0
0
0
0

0
d
3
6h

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

263

Where
d0 = 1 + X Y, e0 = 4 + 4X 16Y

X = (1 + ),
Y =
3
And
C = [g1 (tn ), 0, 0, , 0, g2 (tn )]T
Solving the above system gives the solution of the equation. Table(9) gives the approximate solution of the equation compared to the solution in [12]. The analytical
solution is given in [12]by
u(x, t) = 0.30.04201052049t+0.002794271318t2 +0.0001237074665t3 +(6.498086711(1010 )t
+2.063100590(109 )t2 1.502107790(109 )t3 )x2 (l x)2 + (5.530644662(109 )t
1.727330167(108 )t2 + 1.237824484(108 )t3 )x3 (l x)3
Table 9: Approximate solution for 0x1 ,0t0.1 using uniform cubic B-spline
with = 0.5, l = 1, = 0.3
x/t
0.02
0.04
0.06
0.08
UCBS
Ref. [12]
UCBS
Ref. [12]
UCBS
Ref. [12]
UCBS
Ref. [12]
0 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.1 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.2 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.3 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.4 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.5 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.6 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.7 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.8 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
0.9 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788
1.0 0.299161 0.302659 0.298324 0.30534 0.297489 0.308053 0.296657 0.310788

(a)
Fig. 8. (a) Our Method, (b) Ref. [12]

(b)

264

W. K. ZAHRA ET AL.

EJMAA-2014/2(1)

As seen from the results of the previous problems, that UCBS method and TCBS
method are in good agreement with each other sense they have the same value of
the maximum error where on the other hand the ECBS method has a bigger error
at some nodal points of the solution domain. Even by changing the value of
it does not affect the accuracy of the solution over the domain proving that the
ECBS method is not a good technique for solving such problems unlike the two
other methods.
6. Conclusion
In this paper, we presented a numerical scheme for solving the NWS equation.
The method employed to find the solution of this equation is based on the B-spline
functions of different types. The methods applied to several test problems from the
literature to equations with constant coefficients. The computational results are
found to be in good agreement with the exact solutions. Applying von-Neumann
stability analysis proves the scheme to be unconditionally stable. The proposed
method can be used to solve a large class of both linear and nonlinear partial
differential equations with no computational effort.
References
[1] A.Voigt, Asymptotic behavior of solutions to the Allen -Cahn equation in spherically symmetric domains, Caesar Preprints. 2001; 1-8.
[2] E.Babolian, J.Saeidian, Analytic approximate Solution to Burgers, Fisher, Huxley equations
and two combined forms of these equations. Commune. Nonlin- ear Sci. Numeric. Simulant.
2009; 14: 1984-1992.
[3] H.C.Rosu, O.Cornejo-Perez, Super symmetric pairing of kinks for polynomial nonlinearities,
Phys. Rev. E. 2005; 71: 1-13.
[4] A.V.Getling, RayleighB
enard Convection: Structures and Dynamics, World Scientific. 1998;
978-981-02-2657-2.
[5] RayleighBenard Convection, UC San Diego, Department of Physics. Archived from the
original on 22 January 2009.
[6] A. Alexander, Nepomnyashchya and A. Golovinb, General Aspects Of Pattern Formation,
Pattern Formation and Growth Phenomena in Nano-Systems. 2007; 1-54.
[7] R. Ezzati a, K. Shakibi, Using adomians decomposition and multiquadric quasi-interpolation
methods for solving newell-whitehead equation, Procedia Computer Science.2011; 3: 1043
1048.
[8] H. Kheiri1, N. Alipour, R. Dehghani, Homotopy analysis and Homotopy Pad
e methods for
The modified Burgers-Korteweg-de Vries and the Newell -Whitehead equations, Math.Sci.
2011; 5: 33-50.
[9] A.Aasaraai, Analytic solution of NewellWhiteheadSegel equation by differential transform
method, Mid-east-sci-research, 2011; 10: 270-273.
[10] E. Macas-Daz, J. Ruiz-Ramrez, A non-standard symmetry-preserving method to compute
bounded solutions of a generalized NewellWhiteheadSegel equation, App.Num. Math. 2011;
61: 630640.
[11] S. S. Nourazar, M. Soori, A. Nazari-Golshan, On the Exact Solution of Newell-WhiteheadSegel Equation Using the Homotopy Perturbation Method, Australian Journal of Basic and
Applied Sciences. 2011; 5: 1400-1411.
[12] A. Robert A, V. Gorder, K. Vajravelu, A vibrational formulation of the Nagumo reaction
diffusion equation and the Nagumo telegraph equation, Nonlin.Anl. 2010; 11: 2957-2962.
[13] I. G. Burova, T.O. Evdokimova, On smooth trigonometric splines of the second order, Vestn.
St. Petersbg. Univ. 2004; 37: 7-11.
[14] I. G. Burova, T.O. Evdokimova, On smooth trigonometric splines of the third order, Vestn.
St. Petersbg. Univ. 2004; 37: 8-15.
[15] I. G. Burova, Construction of trigonometric splines, Vestn. St. Petersbg. Univ. 2004; 37: 6-11.

EJMAA-2014/2(1)

NUMERICAL SOLUTION OF NWS TYPE EQUATIONS

265

[16] N. Abd Hamid, A. Abd Majid, and A. Izani, Extended Cubic B-spline Interpolation Method
Applied to Linear Two-Point Boundary Value Problem, World Academy of Science, Engineering and Technology. 2010; 62.
[17] Y. Gupta, M. Kumar, A Computer based Numerical Method for Singular Boundary Value
Problems, International Journal of Computer Applications. 2011; 1: 0975 8887.
W. K. Zahra, Department of Physics and Engineering Mathematics, Faculty Engineering, Tanta Univ., Tanta, 31521, Egypt.
E-mail address: waheed zahra@yahoo.com
W. A. Ouf, Department of Mathematics, Faculty of Engineering, Al Mansoura Univ.,
Al Mansoura, 33516, Egypt
E-mail address: waleedadel85@yahoo.com
M. S. El-Azab, Department of Mathematics, Faculty of Engineering, Al Mansoura
Univ., Al Mansoura, 33516, Egypt.
E-mail address: ms elazab@hotmail.com

Vous aimerez peut-être aussi