School of Economics and Management, Dalian University of Foreign Languages, Dalian 116044, China
School of Public Health, Dalian Medical University, Dalian 116044, China
Author to whom correspondence should be addressed.
Received: 9 October 2016 / Accepted: 9 December 2016 / Published: 15 December 2016
This paper proposes moving mesh strategies for the moving mesh methods when solving the nonlinear time dependent partial differential equations (PDEs). Firstly we analyse Huang’s moving mesh PDEs (MMPDEs) and observe that, after Euler discretion they could be taken as one step of the root searching iteration methods. We improve Huang’s MMPDE by adding one Lagrange speed term. The proposed moving mesh PDE could draw the mesh to equidistribution quickly and stably. The numerical algorithm for the coupled system of the original PDE and the moving mesh equation is proposed and the computational experiments are given to illustrate the validity of the new method.
For the numerical solution of nonlinear partial differential equations (PDEs) which involve large solution variations, large curvatures and even shock waves, two kinds of methods are generally considered. One is the Eulerian method [1,2,3,4] for which the fixed mesh is employed, when the length of the shock wave is similar to the length of the mesh, the accuracy will diminish significantly. In contrast, the other method: the Lagrangian (adaptive) method [5,6] is more efficient. In this case, the mesh is moved adaptively and always concentrated in regions with large and rapid variations.
In this paper we concentrate on one kind of adaptive method: moving mesh methods. The mesh of fixed number of knots are moved according to a moving mesh equation. The original PDE and the moving mesh equation form a coupled system and are often solved simultaneously by various numerical methods. Since the moving element methods by Miller et al.  and the moving finite methods by Dorfi et al. , the moving mesh method have been under extensive study, for details we refer the reader to [6,9,10,11,12,13,14,15,16,17,18,19,20,21] and the references therein.
One important work of the moving mesh method is the formulation of an efficient moving mesh PDE. In 1974, de Boor  proposed the equidistribution principle (EP) which offered an excellent error estimation principle when formulating moving mesh equations. Afterwards, a mount of moving mesh PDEs were constructed directly or indirectly based on the EP [6,14,15,17,18,23]. In 1994, Huang et al.  summarized and constructed the one-dimensional MMPDEs based on EP. Then the moving mesh methods were extended to high dimensions [6,13,24]. Since the moving mesh methods are widely and successfully applied to practical problems [19,21,25,26], the methods have been studied extensively [6,11,12,25]. The theoretical and numerical problems regarding the constructions of proper moving mesh equations are still the subject of research [6,13,19,27,28,29].
In [6,9], Huang proposed seven kinds of location based MMPDEs based on EP, both the theoretical and numerical problems have been analysed extensively, which offer a outstanding guidance when applying these MMPDEs in the practical problems. We observed that, after Euler discretization on time, the MMPDEs could be taken as deformations of iteration methods on EP. Based on this new explanation, the convergence conditions and orders on fixed time could be obtained. Moreover, the parameter in the MMPDEs which determines the speed of the equidistribution could be estimated.
The new explanation leaves space to improve Huang’s MMPDEs by adding a velocity-based term. In 2005, Wu et al. [30,31] constructed moving mesh PDEs which move the mesh along the characteristic line of the original PDE. Wu’s methods are able to maintain the distribution of knots during time iteration.
Combining the location based method by Huang and velocity based method by Wu, we construct the moving mesh PDEs in which the mesh are moved by two steps: firstly the approximation to the EP on fixed time, then the movement along the character line of the original PDE to keep the distribution. The moving mesh PDE accelerated the convergence speed and stabilized the moving process of the mesh to the EP. Compared with the existing two methods, the proposed method is more stable and could simulate sharper and faster propagating shock waves.
The moving mesh PDE and the original PDE form a coupled PDE system . In this manuscript, the PDE system is simulated simultaneously by methods of line. The system was first discretized in the spatial domain, and then the resulting system of ordinary differential equations (ODEs) is integrated using an variable step size ODE solver to observe the performance of the moving mesh equations.
The rest of the paper is organized as follows: We propose the improved moving mesh PDE in Section 2. The numerical algorithms are presented in Section 3. Section 4 shows the experiments to illustrate the validity of the new method. We end this paper with a brief conclusion in Section 5.
2. The Improved Moving Mesh PDEs
We show the approach through an example, and it can be generalized to various other kinds of the time dependent propagations problems. Consider the non-linear partial differential propagations equation:
subject to appropriate boundary and initial conditions, where L represents a differential operator involving only spatial derivatives.
Without loss of generality one can assume that . An one to one coordinate transformation between the computational domain and physical domain is defined as:
and the coordinate transformation satisfies:
The EP proposed by de Boor for determine is to require equidistribution of a positive monitor function M, so that:
Although the choice of the monitor function is important for the distribution of the mesh, we will utilize the arclength monitor function in this manuscript.
With the boundary conditions of (2), the Equations (4) and (5) are equivalent to the EP (3).
Based on the EP (3) and its derivatives (4), (5) Huang [6,9] constructed a series MMPDEs, the typical ones of them are as follows:
Here τ is a small parameter that determine the speed of the equidistribution of the mesh. In Huang , MMPDE3 and MMPDE4 are obtained from the Taylor expansion of the EP (5) with a time delay by dropping the high order terms. MMPDE5 and MMPDE6 are obtained based on the attraction and repulsion pseudoforces. Numerical and theoretical analysis about these MMPDEs are detailed in [6,11].
Here we try to propose a simple explanation of the MMPDEs in the following theorem. Compared with the source of the MMPDEs proposed in [6,9], the new explanation is more rational and direct and many theoretical problems could be settled simultaneously.
After Euler discretization on time, MMPDE 3-6 could be taken as one step of root searching iteration methods of the EPs (3),(4), or (5).
Proof of Theorem1.
Integrating MMPDE 3,4,6 to ξ twice, and by the boundary conditions of (2), MMPDE 3-6 becomes:
separately, where , .
Taking MMPDE 3 as one example, discreting the above Equation (6) applying the explicit Euler discretization on time, one can get:
where is the k-th time step.
In order to interpret MMPDE 3 more precisely and observe its differences with other moving mesh equations, we divide the above equation into two steps:
where is an intermediate term.
One can conclude that (11a) is one step root searching Newton iteration of EP (3) at time with as the relaxation factor. According to the theory of iteration methods, the convergence condition of MMPDE 3 on fixed time is
The source of other MMPDEs could be explained similarly, the theorem is proved. ☐
New MMPDEs could be constructed similarly based on the EPs, such as:
and their convergence conditions could be obtained similarly.
According to Theorem 1, (6) is the best, since it is a Newton iteration method derived from the original EP (3). Theorem 1 leaves a space for us to combine Huang location-based MMPDEs with the velocity based methods. Hence the convergence speed could be accelerated.
2.2. The Moving Mesh Equation Based on the Characteristic Line
Taking the original PDE (1) as a Hyperbolic PDE locally, Wu  let the mesh move along the characteristic line, for the original PDE (1), Wu ’s moving mesh equation is:
which is the direction of character line of the original PDE (1).
Discreting Equation (15) applying the explicit Euler discretization on time, one can get:
in order to interpret the moving mesh Equation (15) more precisely and do comparisons with other moving mesh methods, we divide the above into two steps:
where is an intermediate term.
As a velocity-based mesh movement method, Wu’s moving mesh equation takes the moving of the knots to be leaves on the wave (PDE) and the mesh is gone with the wave (PDE). The method keeps the mesh’s distribution on the solution according to time iteration. The benefit of the method is it considers the influence of the original PDE on the moving of the mesh. However, the method is not able to do the equidistribution on fixed time, if the initial mesh is not equidistributed, the mesh will always be unequidistributed until the end.
2.3. The Proposed Moving Mesh Equations
According to the discretization forms of the moving mesh equations of Huang and Wu, one can observe that Huang’s MMPDEs and Wu’s moving mesh equations are complementary. In order to accelerate the mesh’s convergence to the EP, we combine the location-based and velocity-based method and construct the new moving mesh PDE that moves the mesh by two steps: Firstly, the approximation to the EP on fixed time, then the movement along the original PDE to keep the distribution.
For the original PDE (1), the proposed moving mesh PDE takes the form:
To interpret the proposed moving mesh Equation (17) more precisely, discreting Equation (17) applying the explicit Euler discretization on time, one can get:
divide the above into two steps:
where is an intermediate term.
For arbitrary initial mesh, if the mesh is already equidistributed, , (18a) is no longer in force and (18b) keeps the equidistribution when moved to the next time iteration. If the mesh is not equidistributed, then , (18a) could draw the mesh to be more equidistributed, then (18b) could keep the distribution when moved to the next time iteration. For arbitrary initial mesh, the new moving mesh PDE is able to draw the mesh to equidistribution efficiently and stably.
Compared with the semi-discretization of moving mesh PDEs (11) proposed by Huang, (16) proposed by Wu, and the present (18), one can observe that the proposed moving mesh equation includes both the advantages of the MMPDEs proposed by Huang and Wu. The convergence speed of the mesh to the EP are accelerated and the mesh equidistribution process is more continuous, hence, the probability of the mesh crossing during time iterations is reduced, and the moving mesh process becomes more stable.
3. The Numerical Algorithms
Using the coordinate transformation, (1) can be rewritten as:
Equations (17) and (19) form a coupled PDE system, and it could be simulated by various numerical methods, such as the finite difference method , the finite element method , the meshfree methods [30,31] and so forth. In this manuscript, we apply the method of line in Huang [6,9] for the numerical solution of the system to compare the proposed moving mesh PDE with Huang’s MMPDEs. Specifically, the PDEs are first discretized in the spatial domain and then the resulting system of ODEs is integrated using an ODE solver.
Discreting the PDE system applying central finite differences, for , one can get:
where the integration is approximated applying the trapezoidal method,
. The expression of depends on its specific form.
When applying (17) in the practical problems, to avoid mesh crossing and keep the mesh moving stably, the spatial smoothing techniques proposed in  are employed; when treating the boundary nodes in the Lagrange method, the technique in  is applied.
Equations (20) and (21) form an ODE system, the system could be simulated by various schemes, such as the upwinding differencing. In this manuscript, the system is simulated using a MATLAB ODE solver “ode15i” as in  in order to observe the performances of the moving mesh PDEs. The method use a variable step-size backward differentiation Runge–Kutta schemes of order 5 and the method selects the step size based on the accuracy of the solution . The required input data is the initial and boundary conditions, the output time, the numberer of the knots N and local time stepping tolerance and . Throughout in this paper we set
In this section, the numerical results are presented for the moving mesh methods. One example is the well known convection diffusion equation, the other example is the Burgers equation. We choose these problems as our test examples because they have been used extensively in the adaptive methods literature. It is worth emphasizing that these problems are also the ones used in [6,9,29,30,33].
4.1. Advection-Diffusion Equation
The first example is the advection-diffusion equation
where is the diffusion coefficient, and V is the flow velocity. Let , and Dirichlet boundary conditions at the endpoints and are chosen such that the exact solution is:
where is the complementary error function. The smaller ϵ, the steeper the traveling front.
The exact solution is singular at . The integration starts at and stops at , when the steep front reaches the right endpoint.
Figure 1 and Figure 2 are the results of the two methods. One can observe from Figure 1 that both the two methods perform similarly. However, Figure 2 shows that Huang’s method are less stable than the proposed method. The time step sizes of the proposed method are larger and smoother, which results in less consuming time and iterations, as is shown in Table 1.
4.2. Burgers Equation
For the Burgers equation:
subject to the boundary conditions:
and initial conditions:
where n is a constant and , the solution has a smooth initial profile and develops a steep front. For different n, the front grows to n times higher and propagates toward the right end and eventually dies out at which is n times quicker than . The difficulty with the numerical solution of the problem is the resolution of this propagating steep front.
For Burgers Equations (23)–(25) with , Figure 3 shows the numerical solutions and the trajectories applying Huang’s methods (modified MMPDE5) and the proposed method. Both the two methods simulate the Burgers Equation precisely in a short time and the trajectories are smooth. The advantage of the new method is not valid. Figure 4 shows the time step sizes of the two methods. It is possible to determine from this that, for the same accuracy, the time step sizes of the proposed method are larger than Huang’s methods, which means that the proposed method consumes less time and iterations when simulating the Burgers equation.
When , according to the above analysis, the solution grows to 30 times of and the shock wave propagates to the end at time (about ). As is shown in Figure 5, from the solutions applying the Huang’s method bad nodes emerge, and the trajectories begin to be rough and unstable. Figure 6 shows that, for the same accuracy, the time step sizes of Huang’s method are smaller than the proposed method. As a result, Huang’s method consumes more time and iterations. However, the proposed method could simulate the PDE more efficiently and stably.
Table 1 shows the computational time and iteration times of the Burgers equation applying 21 knots with different n . One can observe that when n is small, the two methods’ computational time and iterations are similar, as n grows, the modified MMPDE 5 spends more time and yields much more time iterations than the proposed methods. When , the Computational time and iteration times of the proposed method is no more than of Huang’s method. From the figures and table above, the knots move steadily applying the new method, this corresponds to the analysis of Section 2.
In this paper, we construct one moving mesh equation for adaptive numerical methods when solving nonlinear PDEs. Firstly, we introduce the well known Huang’s MMPDEs. We discover that after Euler discretization, Huang’s MMPDEs could be taken as one step of root searching iteration methods of the EP or its derivatives. Secondly, we Improve Huang’s MMPDEs by adding one term which moves the mesh along the characteristic line of the original PDE. The convergence speed is accelerated and the moving mesh processes are more stable. The numerical algorithms are presented for the coupled system of the original PDE and the moving mesh PDE. We take the Advection-Diffusion equation and the Burgers equation as the examples, the method could also be applied to other time-dependent PDEs. The experiments show the validity of the proposed method.
The work was supported by 2015NSFC(11501006), the 2013 general project of Educational Commission of Liaoning Province(L2013434) and 2014 Dalian University of Foreign Languages (2014XJQN11). We wish to express our great gratitude to the referees for their valuable comments and suggestions.
The authors contributed equally to this work. Both authors have read and approved the final manuscript.
Conflicts of Interest
The authors declare no conflict of interest.
Meis, T.; Marcowitz, U. Numerical Solution of Partial Differential Equations; Springer: New York, NY, USA, 2012. [Google Scholar]
Gutierrez, J.M. Numerical Properties of Different Root-Finding Algorithms Obtained for Approximating Continuous Newton’s Method. Algorithms2015, 8, 1210–1218. [Google Scholar] [CrossRef]
Ullah, M.Z.; Ahmad, F.; Serra-Capizzano, S. Constructing Frozen Jacobian Iterative Methods for Solving Systems of Nonlinear Equations, Associated with ODEs and PDEs Using the Homotopy Method. Algorithms2016, 9, 18. [Google Scholar]
Huang, W.; Russell, R.D. Moving mesh strategy based on a gradient flow equation for two-dimensional problems. SIAM J. Sci. Comput.1998, 20, 998–1015. [Google Scholar] [CrossRef]
Huang, W.; Kamenski, L. A geometric discretization and a simple implementation for variational mesh generation and adaptation. J. Comput. Phys.2015, 301, 322–337. [Google Scholar] [CrossRef]
Luo, D.; Huang, W.; Qiu, J. A hybrid LDG-HWENO scheme for KdV-type equations. J. Comput. Phys.2016, 313, 754–774. [Google Scholar] [CrossRef]
Ngo, C.; Huang, W. A Study on Moving Mesh Finite Element Solution of the Porous Medium Equation. 2016; arXiv:1605.03570. [Google Scholar]
Ong, B.; Russell, R.; Ruuth, S. An hr Moving Mesh Method for One-Dimensional Time-Dependent PDEs. In Proceedings of the 21st International Meshing Roundtable; Springer: Berlin/Heidelberg, Germany, 2013; pp. 39–54. [Google Scholar]
Uzunca, M.; Karasozen, B.; Kucukseyhan, T. Moving Mesh Discontinuous Galerkin Methods for PDEs with Traveling Waves. Appl. Math. Comput.2017, 292, 9–18. [Google Scholar] [CrossRef]
Wu, Z.M. Dynamical knot and shape parameter setting for simulating shock wave by using multi-quadric quasi-interpolation. Eng. Anal. Bound. Elem.2005, 29, 354–358. [Google Scholar] [CrossRef]