Computation of 2D Stokes flows via lightning and AAA rational approximation
Yidan Xue, Sarah L. Waters, Lloyd N. Trefethen
TL;DR
The paper develops LARS (Lightning-AAA Rational Stokes), a fast, accurate solver for 2D Stokes flows in general bounded domains by integrating lightning-based corner handling, AAA rational approximation for curved boundaries, and a series method for multiply connected regions. It leverages Goursat functions to represent the biharmonic Stokes problem, constructs well-conditioned rational bases via Vandermonde–Arnoldi, and solves boundary-value problems with a linear least-squares formulation to obtain high-precision velocity, pressure, and vorticity fields. Key contributions include enabling sub-second solutions with 6+ digit accuracy across smooth and multiply connected geometries, demonstrated on constricted channels and cylinder configurations, and providing a practical framework for rapid quasi-steady simulations in microfluidics and related applications. The approach broadens the use of rational approximation in 2D Stokes problems, offering a general, implementable tool for complex geometries and potentially extensible to time-dependent and unbounded-domain settings.
Abstract
Low Reynolds number fluid flows are governed by the Stokes equations. In two dimensions, Stokes flows can be described by two analytic functions, known as Goursat functions. Brubeck and Trefethen (2022) recently introduced a lightning Stokes solver that uses rational functions to approximate the Goursat functions in polygonal domains. In this paper, we present the "LARS" algorithm (Lightning-AAA Rational Stokes) for computing 2D Stokes flows in domains with smooth boundaries and multiply-connected domains using lightning and AAA rational approximation (Nakatsukasa et al., 2018). After validating our solver against known analytical solutions, we solve a variety of 2D Stokes flow problems with physical and engineering applications. Using these examples, we show rational approximation can now be used to compute 2D Stokes flows in general domains. The computations take less than a second and give solutions with at least 6-digit accuracy.
