Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-07T06:14:54.617Z Has data issue: false hasContentIssue false

Solving PDEs with radial basis functions*

Published online by Cambridge University Press:  27 April 2015

Bengt Fornberg
Affiliation:
Department of Applied Mathematics, University of Colorado, Boulder, CO 80309, USA E-mail: fornberg@colorado.edu
Natasha Flyer
Affiliation:
Institute for Mathematics Applied to Geosciences, National Center for Atmospheric Research, Boulder, CO 80305, USA E-mail: flyer@ucar.edu
Rights & Permissions [Opens in a new window]

Abstract

Finite differences provided the first numerical approach that permitted large-scale simulations in many applications areas, such as geophysical fluid dynamics. As accuracy and integration time requirements gradually increased, the focus shifted from finite differences to a variety of different spectral methods. During the last few years, radial basis functions, in particular in their ‘local’ RBF-FD form, have taken the major step from being mostly a curiosity approach for small-scale PDE ‘toy problems’ to becoming a major contender also for very large simulations on advanced distributed memory computer systems. Being entirely mesh-free, RBF-FD discretizations are also particularly easy to implement, even when local refinements are needed. This article gives some background to this development, and highlights some recent results.

Information

Type
Research Article
Copyright
© Cambridge University Press, 2015 
Figure 0

Figure 2.1. Graphical illustration of the RBF concept. (a) Example of two-dimensional scattered data. (b) Basis function set. One rotated Gaussian is located at each data point. (c) The unique linear combination of the Gaussians that agrees with all the provided data.

Figure 1

Table 2.1. Some common choices for radial functions.

Figure 2

Figure 3.1. (a) A set of 41 scattered nodes in the unit circle. (b) The error in the max norm when the test function $f(x,y)=59/(67+(x+\frac{1}{7})^{2}+(y-\frac{1}{11})^{2})$ is interpolated using these nodes, displayed as a function of the shape parameter ${\it\varepsilon}$.

Figure 3

Figure 3.2. (a) Test function $f(x)=\exp (-7(x+{\textstyle \frac{1}{2}})^{2}-8(y+{\textstyle \frac{1}{2}})^{2}-9(z-{\textstyle \frac{1}{\sqrt{2}}})^{2}).$ (b) $N=1849$ ME (minimal energy) nodes on the surface of the unit sphere. (c) MQ interpolation errors (in the max norm), as functions of ${\it\varepsilon}$, when using RBF-Direct versus using the stable RBF-QR algorithm. The RBF-QR error level seen here for small ${\it\varepsilon}$ is unrelated to the nearby machine rounding level of $10^{-16}$.

Figure 4

Table 3.1. Numbers of eigenvalues of different sizes (powers of ${\it\varepsilon}$) for different geometries and types of shape parameter.

Figure 5

Figure 4.1. How polar-type grids create highly non-uniform resolutions in different directions near the origin. (a) Polar, equispaced in radius. (b) Polar, Chebyshev along each diameter. (c) Irregular (but avoiding clustering), as typically used in RBF contexts.

Figure 6

Figure 4.2. Max norm errors, as functions of ${\it\varepsilon}$, when solving a two-dimensional Poisson test problem using three choices of RBFs, GA, IQ and MQ, using (a) RBF-Direct and (b) Contour-Padé. The dashed lines across the two subplots compare the accuracies reached by FD2, PS (both independent of ${\it\varepsilon}$).

Figure 7

Figure 4.3. (a) Patterns produced by RBF solutions of the Brusselator reaction–diffusion equations for two different parameter settings. (b) The skin patterns on two frog species (Tabasara rain frog, and poison dart frog, respectively). Illustration provided by Cécile Piret.

Figure 8

Figure 4.4. Mantle convection. (a) RBF-CH discretization. (b) Steady-state solution at $\mathit{Ra}=7\,000$ (colour online: yellow, upwelling; blue, downwelling; red, core). (c) Snapshot of a $\mathit{Ra}=10^{6}$ solution after a time corresponding to about 4.5 times the age of the Earth.

Figure 9

Table 4.1. Comparison of methods in the literature for the standard $\mathit{Ra}=\!7\,000$ case.

Figure 10

Figure 5.1. Numerical solution and magnitude of the errors for the solid-body rotation test case, using the stabilized RBF-FD approach. The displays are over the $({\it\varphi},{\it\theta})$-plane, with ${\it\varphi}\in [-{\it\pi},{\it\pi}],{\it\theta}\in [-{\it\pi}/2,{\it\pi}/2]$.

Figure 11

Figure 6.1. (a) Cone mountain results. (i) Profile of mountain. (ii) Plotted in metres, RBF-FD solution for $h$ at day 15, $N=25\,600$ and $n=31$ with contour intervals at 50 m. (iii) Magnitude of the error between the RBF-FD solution and DG reference solution in metres. The contour interval is 0.5 m, with white denoting errors less than 0.1 m. (iv) $\ell _{2}$-error as a function of the resolution $N$ for varying stencil sizes. (b) The same as (a) but for Gaussian mountain forcing. The dashed circle in all plots is the base of the mountain.

Figure 12

Figure 6.2. (a,b) Convergence plots in the $\ell _{2}$-norm with regard to the geopotential height fields $h$ for the RBF-FD (a) and global RBF (b), against the three reference solutions. Note that the RBF-FD and DG solutions agree perfectly. (c) The error as a function of computer runtime for the RBF-FD and DG methods.

Figure 13

Figure 6.3. The time evolution of the potential temperature ${\it\theta}$ using a hexagonal node layout at 100 m resolution.

Figure 14

Figure 6.4. The potential temperature ${\it\theta}$ for the Straka density current test case at the final time $t=900~\text{s}$, shown as a function of the total number of nodes when using the RBF-FD method on different node sets. For plot clarity, only half of the solution is displayed.

Figure 15

Figure 6.5. Comparison at $400~\text{m}$ between four different numerical methods: (a) RBF-FD (Barnett, Flyer and Wicker 2015), (b) fifth-order upwind advection, (c) discontinuous Galerkin and spectral element, eighth-order, (d) finite volume solver. Contour intervals: (a) $1~\text{K}$, (b) $1~\text{K}$, (c) $0.25~\text{K}$, (d) $1~\text{K}$.Figures 6.5(b), 6.5(c) and 6.5(d) are reproduced with the kind permission of Elsevier. All three plots are from the Journal of Computational Physics: (b) is from Figure 4 of Skamarock and Klemp (2008, p. 3475); (c) is from Figure 7 of Giraldo and Restelli (2008, p. 3869); (d) is from Figure 5 of Norman, Nair and Semazzi (2011, p. 1578).

Figure 16

Figure 6.6. The potential temperature ${\it\theta}$ for the Straka density current test case with the dynamic viscosity ${\it\mu}=0$ on a hexagonal node layout of $50~\text{m}$ and $25~\text{m}$.

Figure 17

Figure 6.7. Subsurface acoustic velocities in a ‘micro-Marmousi’ test case.

Figure 18

Figure 6.8. The three stencil types (a), (b), (c) used in a hybrid approach combining FD with RBF-FD/AC.

Figure 19

Figure 6.9. The naïve supporting monomials up through degree 4 compared to the interface-specific ones in the special case of $c_{L}=1,c_{R}=2,{\it\rho}_{L}={\it\rho}_{R}=1.$

Figure 20

Figure 6.10. Test calculation for the ‘micro-Marmousi’ example using the RBF-FD/AC approach, showing better than a factor of 10 reduction in error when the number of nodes is doubled. (a) Initial condition for $v$ at $t=0$, (b) solution for $v$ at $t=0.3$, (c) RBF-FD/AC error, $N=38\,400$ nodes, (d) RBF-FD/AC error, $N=153\,600$ nodes.