Abstract

Solution of a nonlinear two-point boundary value problem is studied using variational iteration method (VIM) considering its convergence behavior due to the changing nonlinearity effects in the equation. To achieve this, steady Burger equation is first solved by using finite element method (FEM) with a very fine mesh for the comparison of results obtained from VIM. Effect of the nonlinear term in the equation that is multiplied by a constant is taken into account for five different cases by changing the corresponding constant. Results have shown that VIM is a flexible, easy to apply, and promising method for the analysis of nonlinear two-point boundary value problems with the fact that the larger the effect of the nonlinear term of the equation, the slower the convergence rate when compared to FEM solutions.

1. Introduction

In the scientific world, numerical solutions of two-point boundary value problems (BVP's) have great importance because of their wide range of applications. These problems have been studied immensely using different numerical approaches such as finite difference method, finite element method, B-spline methods, and so forth.

Recently, the variational iteration method introduced by He [1] has been the subject of numerous studies. This paper applies the variational iteration method to two-point boundary value problems. The method was first proposed in 1998 to solve nonlinear equations with fractional derivatives [2]. Then, the method has been applied to delay differential equations [3], Duffing equation with nonlinearity of fifth-order and mathematical pendulum [1], generalized KdV and coupled Schrodinger-KdV [4], and some other problems including solitary and compacton-like solutions of nonlinear wave equations, construction of some compact and noncompact structures of Klein-Gordon equations, and different types of nonlinear differential equations [519].

The numerical solution of Burger equation is very important because of the equations’ application in the approximate theory of flow through a shock wave traveling in a viscous fluid and in the Burger’s turbulence model [20]. Some specific one-dimensional Burger equations as an initial value problem rather than a boundary value problem have been solved using VIM [20, 21] and modified VIM [22, 23]. However, these studies have not focused on the effect of nonlinearity in the solution process of VIM.

In this study, VIM solution of nonlinear two-point boundary value problems is considered to focus on the effect of nonlinearity in the convergence behavior of VIM. As a nonlinear two-point boundary value problem, steady Burger equation is considered with changing weights of nonlinearity for the purpose of generalizing and predicting the behavior of nonlinear term in the equation. Five different cases have been solved by using both VIM and FEM, and comparisons are made with respect to the number of iterations and to the error norms based on FEM solutions of the equations with very fine meshes.

2. Variational Iteration Method

According to the variational iteration method, the following differential equation may be considered: where is a linear operator, is a nonlinear operator, and is an inhomogeneous term. Based on the variational iteration method, a correct functional can be constructed as follows: where is a general Lagrangian multiplier, which can be identified optimally via the variational theory, the subscript denotes the th-order approximation; the second term on the right is called the correction in which is considered as a restricted variation, that is, . Equation (2.2) is called correction functional. For further details He’s studies [1, 2, 17, 18] can be visited.

3. Finite Element Method

The equation to be solved in this study is a nonlinear two-point boundary value problem namely steady Burger equation given as follows: This equation can be linearized using classical linearization technique. To this aim, value of at any node in an element will be assumed to be known. Modified equation to be solved becomes: where represents the previously known values of

Weak form of (3.2) is where is assumed as changing linearly in a two-noded linear element shown in Figure 1. For such an element, corresponding shape functions are defined by the following equations: where is the element length. Weak formulation of the equation gives the following coefficient matrices for each element: In (3.6), and are assumed values of at the nodes 1 and 2 shown in Figure 1. Final form of the finite element formulation resulting from classical linearization technique is The analysis procedure is iterative. First a starting value for is assumed at the nodes of FEM mesh for the whole domain, and the matrix is determined using (3.6). Then (3.7) is solved for The last step in a typical iteration is the comparison of new values with the previous ones. This comparison is based on an error criterion for the whole domain. The error criterion used in this study is where is the total number of unknowns in the FEM mesh, is the iteration number, and is the preselected error tolerance.

If error tolerance obtained from (3.8) is less than preselected error, iteration stops and the results produced by final iteration become the solution from FEM analysis. However, if error tolerance is greater than preselected error, then the assumed value of ) is changed with the new values of current iteration, and the process goes in the same manner until preselected error tolerance is reached.

100 linear elements are used in the finite element analysis of the problem, and error tolerance is chosen as that is, for the iteration process. The results obtained from FEM analysis can be seen between Figures 26 with the VIM solutions of the same equation.

4. VIM Applications

We recall steady Burger equation in (3.1) to be solved by using VIM: A correct functional can be derived using VIM as follows: where is the Lagrange multiplier and can be easily found as Hence, the following iteration formula would be obtained: Iteration process can be started using initial guess as where and are constants to be determined.

For the analysis, different values will be considered based on this formulation. takes values between 0.1 and 100 to represent the increasing power of nonlinearity in the equation.

In each case, an error norm is calculated for each iteration to represent the convergence behavior of the solution. The error norm is defined as follows: where is the number of nodes in the FEM mesh, is the iteration number of the VIM, is the FEM solution, and is the VIM solution at the th iteration.

Case 1 (α = 0.1). The iteration formula for this case is The first iteration gives

This approximation is very close to the FEM solution of the equation as shown in Figure 2. Error norm defined in (4.6) is calculated as 0.000202871. VIM solution is in perfect agreement with FEM solution even in the first iteration due to the fact that there is considerably weak nonlinearity in the equation.

Case 2 (α = 1). The iteration formula for this case is Iterations are In this case, the number of iterations increased with the increasing nonlinearity effect. Second approximation is in perfect agreement with the FEM solution as shown in Figure 3, and error norms for this case are given in Table 1.

Case 3 (α = 5). The iteration formula for this case is Iterations are As shown in Figure 4, fourth approximation is in very good agreement with the FEM solution. It can be expected that fifth or sixth iteration will be in excellent agreement with the FEM solution. Table 1 shows the decreasing error norms with the increasing iterations for this case.

Case 4 (α = 10). The iteration formula for this case is Iterations are

Figure 5 shows that fifth approximation is in good agreement with the FEM solution. It can be expected that two or more iterations are required for being in excellent agreement with the FEM solution. Decreasing error norms with the increasing iterations for this case can be seen in Table 1.

Case 5 (α = 100). The iteration formula for this case is Iterations are In this final case, the equation is highly nonlinear. As it can be seen from Figure 6, sixth approximation is still not enough for being in good agreement with the FEM solution, and it can be expected that many more iterations are required to reach the close proximity of the FEM solution. For the final case, decreasing error norms with the increasing iterations are also included in Table 1.

5. Discussion of Results

When all the cases are considered consecutively, a pattern emerges from the number of iterations related with the weight of nonlinearity in the equation. It is obvious that there is a strong relation between the increasing number of iterations required to reach an acceptable solution and the effect of the increasing weight of the nonlinearity in the equation. This phenomenon can also be seen in Figure 7. Based on this figure, it can be inferred that values, higher than the values considered in this study, will produce very large errors even for considerably many iterations.

6. Conclusion

In this paper, VIM solution of nonlinear two-point boundary value problems with changing nonlinearity effects in the equation is considered. Steady Burger equation is chosen because of its wide range of applications in different disciplines. Five different cases are considered in detail with respect to their nonlinear terms. The results obtained from these cases are compared with the corresponding FEM solutions.

Although FEM is a powerful numerical technique for the solution of differential equations, a fixed mesh with fixed points within the boundary is used for FEM analysis. These fixed points are called “node" in FEM, and the solutions are obtained at the nodes. Important merits of VIM are that it is a kind of analytical solution which does not need a discretized solution domain, and the solution procedure is very simple. The advantage of VIM at this point is that VIM solution is obtained for any arbitrary point instead of fixed points in the domain. Another advantage of VIM is the method which is easy to apply. In addition, application of FEM is much more difficult when compared to VIM in the analysis of nonlinear boundary value problems.

However, as shown from the case studies, when the equation becomes highly nonlinear, the advantages of VIM disappear dramatically compared to FEM. In such a case, many more iterations are required in VIM for an acceptable solution.

As a result, it can be concluded that VIM can be preferred for the analysis of nonlinear two-point boundary value problems when the equation is not dominated by its nonlinear part. For such cases, FEM is much more suitable for the analysis of the problem.