Skip to main content
QUICK REVIEW

[Paper Review] Kernel Aggregated Fast Multipole Method: Efficient summation of Laplace and Stokes kernel functions

Wen Yan, Robert N. Blackwell|arXiv (Cornell University)|Oct 28, 2020
Fluid Dynamics Simulations and InteractionsEngineering27 references7 citations
TL;DR

This paper introduces the Kernel Aggregated Fast Multipole Method (KAFMM), an extension of KIFMM that accelerates Laplace and Stokes kernel summations using kernel-specific equivalent points at different octree traversal stages. It achieves O(N) complexity with support for open and periodic boundaries, no-slip walls, and multiple kernels—including Stokeslet, RPY tensor, and regularized Stokeslets—via the open-source STKFMM library with minimal overhead for periodic conditions.

ABSTRACT

Many different simulation methods for Stokes flow problems involve a common computationally intense task -- the summation of a kernel function over $O(N^2)$ pairs of points. One popular technique is the Kernel Independent Fast Multipole Method (KIFMM), which constructs a spatial adaptive octree for all points and places a small number of equivalent multipole and local equivalent points around each octree box, and completes the kernel sum with $O(N)$ cost, using these equivalent points. Simpler kernels can be used between these equivalent points to improve the efficiency of KIFMM. Here we present further extensions and applications to this idea, to enable efficient summations and flexible boundary conditions for various kernels. We call our method the Kernel Aggregated Fast Multipole Method (KAFMM), because it uses different kernel functions at different stages of octree traversal. We have implemented our method as an open-source software library STKFMM based on the high performance library PVFMM, with support for Laplace kernels, the Stokeslet, regularized Stokeslet, Rotne-Prager-Yamakawa (RPY) tensor, and the Stokes double-layer and traction operators. Open and periodic boundary conditions are supported for all kernels, and the no-slip wall boundary condition is supported for the Stokeslet and RPY tensor. The package is designed to be ready-to-use as well as being readily extensible to additional kernels.

Motivation & Objective

  • To address the O(N²) computational bottleneck in simulating Stokes flow and related problems involving kernel summations.
  • To extend kernel-independent FMM (KIFMM) by introducing stage-specific kernel aggregation for improved efficiency across diverse kernels.
  • To implement support for complex boundary conditions—open, periodic, and no-slip walls—within a unified, extensible framework.
  • To deliver a high-performance, open-source library (STKFMM) that supports multiple physical kernels with minimal performance overhead.

Proposed method

  • Proposes KAFMM, which uses distinct kernel functions during upward (multipole) and downward (local) octree passes, enabling kernel-specific approximations at different stages.
  • Employs equivalent source points (M and L points) per octree box to represent far-field interactions, replacing direct pairwise summation.
  • Introduces kernel aggregation by applying different kernels (e.g., Laplace, Stokeslet, RPY) at different traversal levels, optimizing accuracy and speed.
  • Supports multiple kernels including Laplace, Stokeslet, regularized Stokeslet, RPY tensor, and traction operators, all with consistent O(N) complexity.
  • Implements periodic boundary conditions by integrating the M→L operator into the downward pass, reducing overhead to ~5% of evaluation time.
  • Builds on PVFMM with minimal modifications, ensuring compatibility with existing parallelization and SIMD optimizations (AVX2, future AVX-512).

Experimental results

Research questions

  • RQ1Can kernel-specific approximations at different octree traversal stages significantly reduce computational cost for Laplace and Stokes kernel summations?
  • RQ2How can periodic boundary conditions be efficiently integrated into kernel-independent FMM with minimal performance penalty?
  • RQ3To what extent can a single FMM framework support diverse physical kernels like Stokeslet, RPY tensor, and regularized Stokeslets with consistent O(N) scaling?
  • RQ4What is the performance overhead of supporting no-slip wall boundary conditions in a kernel-agnostic FMM framework?
  • RQ5How does the KAFMM implementation scale in parallel environments across different kernels and boundary conditions?

Key findings

  • The KAFMM method achieves O(N) computational complexity for kernel summations, enabling scalable simulations of large-scale Stokes and Laplace problems.
  • Periodic boundary conditions add only ~5% overhead to evaluation time compared to open boundary conditions, significantly reducing prior implementation costs.
  • The STKFMM library supports 12 distinct kernels, including Stokeslet, RPY tensor, and traction operators, with consistent performance across open, singly, doubly, and triply periodic conditions.
  • No-slip wall boundary conditions are successfully implemented for Stokeslet and RPY tensor, extending the method’s applicability to confined fluid dynamics.
  • Strong and weak scaling benchmarks show ~70% parallel efficiency on 48-core nodes, matching the performance of the underlying PVFMM library.
  • The method is highly extensible, with a clean software design enabling easy integration of new kernels without modifying core algorithms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.