Generating layer-adapted meshes using mesh PDEs

Róisín Hill (NUI Galway, 🇮🇪)
Niall Madden (NUI Galway, 🇮🇪)
Wednesday session 3 (Zoom) (17:00–18:30 GMT)
View slides (pdf) (available under a CC BY 4.0 license)
10.6084/m9.figshare.14495376

We consider the numerical solution, by finite element methods, of singularly-perturbed differential equations (SPDEs) whose solutions exhibit boundary layers. We will discuss our numerical method and the implementation in FEniCS [1], including some technical problems we overcame.

Our interest lies in developing parameter-robust methods, where the quality of the solution is independent of the value of the perturbation parameter. One way of achieving this is to use layer resolving methods based on meshes that concentrate their mesh points in regions of large variations in the solution.

We investigate the use of Mesh PDEs (MPDEs), as first presented in [2], to generate layer resolving meshes that yield parameter robust solutions to SPDEs. Specifically, we present MPDEs whose solutions, in the 1D case, yield the celebrated graded "Bakhvalov" meshes [3].

The true value of the proposed approach comes to the fore when we investigate 2D problems. Whereas the classical Bakhvalov mesh is restricted to generating tensor product grids, the use of MPDEs allows us to generate non-tensor product grids that are still highly anisotropic and layer-adapted grids, and yield robust solutions. We demonstrate this by solving problems on irregular domains, and with space-varying diffusion.

As the MPDEs are non-linear problems, we use a fixed-point iterative method to solve them numerically. We present an approach involving alternating between \(h\)- and \(r\)-refinement which is highly efficient, especially for larger meshes and small values of the perturbation parameter.

The manuscript on which this talk is based, and the code that generated the results, are available at osf.io/dpexh/

References

  • [1] M. S. Alnæs, J. Blechta, J. Hake, A. Johansson, B. Kehlet, A. Logg, C. Richardson, J Ring, M. E. Rognes, and G. N. Wells. The FEniCS project version 1.5, Archive of Numerical Software 3, 2015. [DOI: 10.11588/ans.2015.100.20553]
  • [2] Weizhang Huang, Yuhe Ren, and Robert D. Russell. Moving mesh partial differential equations (MMPDES) based on the equidistribution principle, SIAM Journal on Numerical Analysis 31, 709–730, 1994. [DOI: 10.1137/0731038]
  • [3] N. S. Bakhvalov. The optimization of methods of solving boundary value problems with a boundary layer, USSR Computational Mathematics and Mathematical Physics 9, 139–166, 1969. [DOI: 10.1016/0041-5553(69)90038-X]