Automatic grid control in adaptive BVP solvers

Grid adaptation in two-point boundary value problems is usually based on mapping a uniform auxiliary grid to the desired nonuniform grid. Here we combine this approach with a new control system for constructing a grid density function ϕ(x). The local mesh width Δxj + 1/2 = xj + 1 − xj with 0 = x0 < x1 < ... < xN = 1 is computed as Δxj + 1/2 = εN / φj + 1/2, where $\{\varphi_{j+1/2}\}_0^{N-1}$ is a discrete approximation to the continuous density function ϕ(x), representing mesh width variation. The parameter εN = 1/N controls accuracy via the choice of N. For any given grid, a solver provides an error estimate. Taking this as its input, the feedback control law then adjusts the grid, and the interaction continues until the error has been equidistributed. Digital filters may be employed to process the error estimate as well as the density to ensure the regularity of the grid. Once ϕ(x) is determined, another control law determines N based on the prescribed tolerance ${\textsc {tol}}$. The paper focuses on the interaction between control system and solver, and the controller’s ability to produce a near-optimal grid in a stable manner as well as correctly predict how many grid points are needed. Numerical tests demonstrate the advantages of the new control system within the bvpsuite solver, ceteris paribus, for a selection of problems and over a wide range of tolerances. The control system is modular and can be adapted to other solvers and error criteria.

[1]  C. Budd,et al.  From nonlinear PDEs to singular ODEs , 2006 .

[2]  A. Ramage,et al.  On the numerical solution of one-dimensional PDEs using adaptive methods based on equidistribution , 2001 .

[3]  Robert D. Russell,et al.  Numerical solution of boundary value problems for ordinary differential equations , 1995, Classics in applied mathematics.

[4]  Othmar Koch,et al.  Self-Similar Blow-Up in Nonlinear PDEs , 2004 .

[5]  Gustaf Söderlind,et al.  Digital filters in adaptive time-stepping , 2003, TOMS.

[6]  Tao Tang,et al.  Adaptive Mesh Methods for One- and Two-Dimensional Hyperbolic Conservation Laws , 2003, SIAM J. Numer. Anal..

[7]  Weizhang Huang,et al.  Variational mesh adaptation II: error estimates and monitor functions , 2003 .

[8]  Othmar Koch,et al.  Efficient Numerical Solution of the Density Profile Equation in Hydrodynamics , 2007, J. Sci. Comput..

[9]  Carl de Boor,et al.  Good approximation by splines with variable knots + , 2011 .

[10]  Lawrence F. Shampine,et al.  A User-Friendly Fortran BVP Solver , 2006 .

[11]  C. C. Christara,et al.  Optimal Quadratic and Cubic Spline Collocation on Nonuniform Partitions , 2005, Computing.

[12]  Weizhang Huang,et al.  Variational mesh adaptation: isotropy and equidistribution , 2001 .

[13]  L. Shampine,et al.  A BVP Solver that Controls Residual and Error 1 , 2008 .

[14]  F. Hoog,et al.  Collocation Methods for Singular Boundary Value Problems , 1978 .

[15]  Robert M. Corless,et al.  Adaptivity and computational complexity in the numerical solution of ODEs , 2008, J. Complex..

[16]  Othmar Koch,et al.  On a singular boundary value problem arising in the theory of shallow membrane caps , 2007 .

[17]  Victor Pereyra,et al.  Mesh selection for discrete solution of boundary problems in ordinary differential equations , 1974 .

[18]  Ke Chen Error Equidistribution and Mesh Adaptation , 1994, SIAM J. Sci. Comput..

[19]  Othmar Koch,et al.  Computation of Self-similar Solution Profiles for the Nonlinear Schrödinger Equation , 2005, Computing.

[20]  Robert D. Russell,et al.  Collocation Software for Boundary-Value ODEs , 1981, TOMS.

[21]  Graham F. Carey,et al.  GRADING FUNCTIONS AND MESH REDISTRIBUTION , 1985 .

[23]  Ivo Babuška,et al.  Analysis of optimal finite-element meshes in ¹ , 1979 .

[24]  Lawrence F. Shampine,et al.  Solving Boundary Value Problems for Ordinary Differential Equations in M atlab with bvp 4 c , 2022 .

[25]  Winfried Auzinger,et al.  A Collocation Code for Boundary Value Problems in Ordinary Differential Equations , 2002 .

[26]  John D. Pryce On the convergence of iterated remeshing , 1989 .

[27]  Gustaf Söderlind,et al.  Time-step selection algorithms: Adaptivity, control, and signal processing , 2006 .

[28]  Winfried Auzinger,et al.  Ecient Mesh Selection for Collocation Methods Applied to Singular BVPs , 2004 .

[29]  C. C. Christara,et al.  Adaptive Techniques for Spline Collocation , 2005, Computing.

[30]  Winfried Auzinger,et al.  Efficient Collocation Schemes for Singular Boundary Value Problems , 2004, Numerical Algorithms.

[31]  John M. Stockie,et al.  A Moving Mesh Method for One-dimensional Hyperbolic Conservation Laws , 2000, SIAM J. Sci. Comput..

[32]  U. Ascher,et al.  A collocation solver for mixed order systems of boundary value problems , 1979 .

[33]  Winfried Auzinger,et al.  Ein Algorithmus zur Gittersteuerung bei Kollokationsverfahren f ur singul are Randwertprobleme , 2001 .

[34]  Weizhang Huang,et al.  Moving mesh partial differential equations (MMPDES) based on the equidistribution principle , 1994 .

[35]  Lawrence F. Shampine,et al.  A BVP solver based on residual control and the Maltab PSE , 2001, TOMS.

[36]  U. Ascher,et al.  A New Basis Implementation for a Mixed Order Boundary Value ODE Solver , 1987 .

[37]  R. Russell,et al.  Adaptive Mesh Selection Strategies for Solving Boundary Value Problems , 1978 .

[38]  Winfried Auzinger,et al.  A Collocation Code for Singular Boundary Value Problems in Ordinary Differential Equations , 2004, Numerical Algorithms.

[39]  Richard Weiss,et al.  Difference Methods for Boundary Value Problems with a Singularity of the First Kind , 1976 .