Abstract
Numerical simulations with rigid particles, drops, or vesicles constitute some examples that involve 3D objects with spherical topology. When the numerical method is based on boundary integral equations, the error in using a regular quadrature rule to approximate the layer potentials that appear in the formulation will increase rapidly as the evaluation point approaches the surface and the integrand becomes sharply peaked. To determine when the accuracy becomes insufficient, and a more costly special quadrature method should be used, error estimates are needed. In this paper, we present quadrature error estimates for layer potentials evaluated near surfaces of genus 0, parametrized using a polar and an azimuthal angle, discretized by a combination of the Gauss-Legendre and the trapezoidal quadrature rules. The error estimates involve no unknown coefficients, but complex-valued roots of a specified distance function. The evaluation of the error estimates in general requires a one-dimensional local root-finding procedure, but for specific geometries, we obtain analytical results. Based on these explicit solutions, we derive simplified error estimates for layer potentials evaluated near spheres; these simple formulas depend only on the distance from the surface, the radius of the sphere, and the number of discretization points. The usefulness of these error estimates is illustrated with numerical examples.
Article PDF
Similar content being viewed by others
Avoid common mistakes on your manuscript.
References
af Klinteberg, L., Sorgentone, C., Tornberg, A.-K.: Quadrature error estimates for layer potentials evaluated near curved surfaces in three dimensions. Comput. Math. Appl. 111, 1–19 (2022). https://doi.org/10.1016/j.camwa.2022.02.001
Klinteberg, L., Tornberg, A.-K.: A fast integral equation method for solid particles in viscous flow using quadrature by expansion. J Comput. Phys. 326, 420–445 (2016) https://doi.org/10.1016/j.jcp.2016.09.006
Corona, E., Greengard, L., Rachh, M., Veerapaneni, S.: An integral equation formulation for rigid bodies in Stokes flow in three dimensions. J. Comput. Phys. 332, 504–519 (2017). https://doi.org/10.1016/j.jcp.2016.12.018
Sorgentone, C., Tornberg, A.-K.: A highly accurate boundary integral equation method for surfactant-laden drops in 3D. J. Comput. Phys. 360, 167–191 (2018). https://doi.org/10.1016/j.jcp.2018.01.033
Sorgentone, C., Vlahovska, P.M.: Tandem droplet locomotion in a uniform electric field. J. Fluid Mech. 951, (2022). https://doi.org/10.1017/jfm.2022.875
Firouznia, M., Bryngelson, S., Saintillan, D.: A spectral boundary integral method for simulating electrohydrodynamic flows in viscous drops. J. Comput. Phys. 489, 112248 (2023). https://doi.org/10.1016/j.jcp.2023.112248
Rahimian, A., Veerapaneni, S.K., Zorin, D., Biros, G.: Boundary integral method for the flow of vesicles with viscosity contrast in three dimensions. J. Comput. Phys. 298, 766–786 (2015). https://doi.org/10.1016/j.jcp.2015.06.017
Veerapaneni, S.: Integral equation methods for vesicle electrohydrodynamics in three dimensions. J. Comput. Phys. 326, 278–289 (2016). https://doi.org/10.1016/j.jcp.2016.08.052
Zhao, H., Isfahani, A.H.G., Olson, L.N., Freund, J.B.: A spectral boundary integral method for flowing blood cells. J. Comput. Phys. 229(10), 3726–3744 (2010). https://doi.org/10.1016/j.jcp.2010.01.024
Donaldson, J.D., Elliott, D.: A unified approach to quadrature rules with asymptotic estimates of their remainders. SIAM J. Numer. Anal. 9(4), 573–602 (1972). https://doi.org/10.1137/0709051
Elliott, D., Johnston, B.M., Johnston, P.R.: Clenshaw-Curtis and Gauss-Legendre quadrature for certain boundary element integrals. SIAM J. Sci. Comput. 31(1), 510–530 (2008). https://doi.org/10.1137/07070200X
Klinteberg, L., Tornberg, A.-K.: Error estimation for quadrature by expansion in layer potential evaluation. Adv. Comput. Math. 43(1), 195–234 (2017). https://doi.org/10.1007/s10444-016-9484-x
Trefethen, L.N., Weideman, J.A.C.: The exponentially convergent trapezoidal rule. SIAM Rev. 56(3), 385–458 (2014). https://doi.org/10.1137/130932132
Barnett, A.H.: Evaluation of layer potentials close to the boundary for Laplace and Helmholtz problems on analytic planar domains. SIAM J. Sci. Comput. 36(2), 427–451 (2014). https://doi.org/10.1137/120900253
Klinteberg, L., Tornberg, A.-K.: Adaptive quadrature by expansion for layer potential evaluation in two dimensions. SIAM J. Sci. Comput. 40(3), 1225–1249 (2018). https://doi.org/10.1137/17M1121615
Pålsson, S., Siegel, M., Tornberg, A.-K.: Simulation and validation of surfactant-laden drops in two-dimensional Stokes flow. J. Comput. Phys. 386, 218–247 (2019). https://doi.org/10.1016/j.jcp.2018.12.044
Elliott, D., Johnston, P.R., Johnston, B.M.: Estimates of the error in Gauss-Legendre quadrature for double integrals. J. Comput. Appl. Math. 236(6), 1552–1561 (2011). https://doi.org/10.1016/j.cam.2011.09.019
Elliott, D., Johnston, B.M., Johnston, P.R.: A complete error analysis for the evaluation of a two-dimensional nearly singular boundary element integral. J. Comput. Appl. Math. 279, 261–276 (2015). https://doi.org/10.1016/j.cam.2014.11.015
NIST: Digital library of mathematical functions. Release 1.0.16 of 2017-09-18. http://dlmf.nist.gov/
Mohlenkamp, M.J.: A fast transform for spherical harmonics. J. Fourier Anal. Appl. 5, 159–184 (1999). https://doi.org/10.1007/BF01261607
Schaeffer, N.: Efficient spherical harmonic transforms aimed at pseudospectral numerical simulations. Geochem. Geophys. Geosyst. 14(3), 751–758 (2013). https://doi.org/10.1002/ggge.20071
Funding
Open access funding provided by Università degli Studi di Roma La Sapienza within the CRUI-CARE Agreement. A.-K.T. acknowledges the support by the Swedish Research Council under grant no 2019-05206.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Additional information
Communicated by: Stéphanie Chaillat
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix A Derivations for the Gauss-Legendre error
We consider a sphere of radius a and the associated Gauss-Legendre error as defined in Eq. 57 with \(E_{fac}^{GL}(\varvec{x},\varphi )\) defined in Eq. 58. Under the map \(t=-\cos \theta \), the squared distance function evaluates as
and \(G_{\varvec{\gamma }, 1}\left( t,\varphi ,\varvec{x} \right) =(\partial R^2/\partial t)^{-1}\). The root \(\theta _0(\varphi ,\varvec{x})\) is given in Eq. 44, and \(t_0(\varphi ,\varvec{x})=-\cos (\theta _0(\varphi ,\varvec{x}))\).
We start by considering an evaluation point at the symmetry axis, i.e., \(\varvec{x}=(0,0,z)\), \(z \ne a\). For this case we get \(\theta _{0}=\pm i \ln (|z|/a)\) as given in Corollary 1. We get \(t_0=(\delta +1/\delta )/2\), where we let \(\delta =a/|z|\) if \(|z|>a\), and \(\delta =|z|/a\) if \(|z|<a\), such that \(\delta >1\). Hence, \(\left|\sqrt{t_0^2-1}\right|=(\delta -1/\delta )/2\), and \(\left|{t_0+\sqrt{t_0^2-1}}\right|=\delta \). Finally, we have \(G_{\varvec{\gamma }, 1}\left( t,\varphi ,\varvec{x} \right) =1/(2a|z|)\), and combined this yields the expression for \(E_{fac}^{GL}(\varvec{x},\varphi )\) given in Eq. 59.
Now, we instead consider an evaluation point at the equator, \(\varvec{x} =(0,y,0)\). We could, however, equally well pick \(\varvec{x}= (x,0,0)\), or \(\varvec{x}= (x,y,0)\) and would obtain the same final result with \(\Vert \varvec{x}\Vert =\rho \). With \(\varvec{x} =(0,y,0)\) we get
The root \(t_0(\varphi )=-\cos (\theta _0(\varphi ))\) where \(\theta _0(\varphi )\) is defined in Lemma 3, in Eq. 43. With \(\varvec{x} =(0,y,0)\), \(\lambda \) in that expression simplifies to \(\lambda =(|{y}|/a+a/|{y}|)/(2|{\sin \varphi }|=(\delta +1/\delta )/ (2 |{\sin \varphi }|)\) where we let \(\delta =|{y}|/a\) if \(|{y}|>a\) and \(\delta =a/|{y}|\) if \(|{y}|<a\), such that \(\delta >1\). The expression for \(\lambda ^2-1\) then becomes the same as in Eq. 64, but with \(\varphi \) instead of \(\theta \). The peak of the error is at the closest point to \(\varvec{x}=(0,y,0)\), i.e., at \(\varphi =\pi /2\), and also here, we ignore the last term in the expression for \(\lambda ^2-1\). With this we get that \(\lambda +\sqrt{\lambda ^2-1} \approx \delta /|{\sin \varphi }|\). Introducing \(\tilde{\delta }=\delta /|{\sin \varphi }|\), and noting that the square roots are evaluated at points away from the branch cut, we have
Similarly to the derivation based on the trapezoidal error, we evaluate all terms in Eq. A1 except the last term at \(\varphi =\pi /2\). We then have
Inserting into Eq. 57 and using
we can identify the integral in Eq. 67. With \(f=a^2\) the total result becomes \(E^{GL}(\varvec{\gamma },a^{2},p,2n_t,\varvec{x})\) as given in Eq. 69.
Appendix B Further reflections on the quadrature error behavior
In Error estimate 4, we derived a simplified estimate for the quadrature error for the integral,
with \(\sigma \equiv 1\), where S is a sphere of radius a, discretized with the \(n_t =n/2\) Gauss-Legendre rule in the t-direction (under the cosine map), and the \(n_\varphi =n\)-point trapezoidal rule in the \(\varphi \) direction. The evaluation point \(\varvec{x} =(x,y,z)\in \mathbb {R}^3\) can be close to, but not on S.
We have in Section 7.1 verified that the simplified error estimate is very accurate for \(p=1/2\) (see Fig. 4b), and similar results are found for \(p=3/2\). Hence, we are in a position to explore this estimate a bit more, trying to extrapolate some simple rule to understand at which (rescaled) distance special quadrature techniques are needed.
Now let \(h=2\pi a/n\), this is the grid size in the \(\varphi \) direction at the equator, and let the evaluation point \(\varvec{x}\) be such that \(\Vert \varvec{x}\Vert =a+qh\), \(q >0\). Then, the simplified error estimate in Eq. 63 yields
where
Assume now that for each n, we want to know the value of q needed to achieve \(E(p,q,n)=TOL\), for different tolerances TOL and choices of p. That means, how far from the surface, expressed in the multiples of the grid size, must the evaluation point be to reach this tolerance. Since we have an explicit formula, we can find the solution numerically, using, e.g., Newton’s method, and the results are shown in Fig. 9 for \(p=1/2\) and 3/2.
From this figure, we can deduce that we can not formulate any simple rule for what q should be to achieve a certain accuracy, as the curves we get are not flat lines. We could say that to achieve an error smaller than \(a^{2(1-p)} \cdot 10^{-4}\), \(q=2\) would suffice for \(p=1/2\) and \(q=2.5\) for \(p=3/2\), as long as n is at least 20. For more strict error levels, these statements become less useful, as the needed q changes more with n. The estimate we have considered is for the simplest case of a sphere with density \(\sigma \equiv 1\), and it is even more difficult to construct a simple rule for a different surface shape and a variable density.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Sorgentone, C., Tornberg, AK. Estimation of quadrature errors for layer potentials evaluated near surfaces with spherical topology. Adv Comput Math 49, 87 (2023). https://doi.org/10.1007/s10444-023-10083-7
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10444-023-10083-7
Keywords
- Error estimate
- Layer potentials
- Close evaluation
- Quadrature
- Nearly singular
- Spherical topology
- Gaussian grid