Harmonic Extension for Multiscale Analysis and Modeling Near Boundaries, with an Ocean Application
Benjamin A. Storer, Mehrnoush Kharghani, Alistair Adcroft, Hussein Aluie
TL;DR
This work tackles the challenge of extending ocean fields onto land to enable multiscale analysis and machine-learning applications near coastlines. It introduces a harmonic-extension framework built on solving the Laplace boundary-value problem $\nabla^2 u_*(x)=0$ in the fill region with boundary data tied to the existing domain, producing a unique extension that minimizes the Dirichlet energy $E(v)=\int_{\mathcal{D}_{fill}}|\nabla v|^2\,dA$ and remains fully consistent with boundary conditions. The method generalizes to vector fields and curved geometries via the Bochner Laplacian or Stokes-type formulations, supports Dirichlet or Neumann boundary conditions, and can be implemented with standard diffusion-solvers and multigrid techniques, incurring modest cost relative to full models. Demonstrations on global SST data show smooth, coast-consistent land fills for both Dirichlet and Neumann BCs, with convergence and coastal differences well-controlled. Overall, the approach provides a physically grounded, computationally efficient tool for boundary-aware multiscale analysis and ML-driven parameterizations, and it naturally lends itself to immersed-boundary style coupling in prognostic settings.
Abstract
Treatment of fields near domain boundaries is a long-standing problem in signal processing that has come into renewed focus following recent efforts in convolution-based multiscale coarse-graining and in machine-learned parameterizations due to ocean boundary artifacts. Here, we propose a general method for extending fields beyond the domain boundaries by solving a Laplace boundary-value problem. Construction of the harmonic extension is well-posed, including uniqueness, and is consistent with the boundary conditions by design. The formulation applies to irregular boundaries such as discretized coastlines. The harmonic extension is physically desirable since it has minimum spatial variability among all admissible extensions satisfying the boundary conditions. The method is simple to implement using well-established numerical approaches, and is broadly applicable to extending oceanic variables over land boundaries. Other applications include machine learning parametrization and subgrid modeling of wall-bounded flows and multiphase flows. We demonstrate the method by extending sea-surface temperature (SST) over land using fixed temperature (Dirichlet) and no-flux (Neumann) boundary conditions: the land-filled solution is smooth with SST values between the coastal minimum and maximum.
