Example MATLAB Code from Computing fluid–fluid interface evolution in Hele-Shaw cells using rational approximation

We deploy a rational solver to compute moving boundary problems in Hele-Shaw cells and porous media. At each time, a quasi-stationary Laplace problem for the pressure is solved using rational approximation. This furnishes the interfacial velocity from which the moving boundary is updated. Two approaches for representing the moving boundary are presented: orthonormal basis functions (such as Chebyshev polynomials) and level-set functions. For fluid domains with corners that are stationary or translate in a simple fashion, poles are exponentially clustered exterior to the fluid domain in the vicinity of the corner and moved in step with the respective vertex. In the case of more complicated flows, we use the adaptive Antoulas–Anderson (AAA) algorithm to select the location of poles at each time-based adaptively upon the interface shape and boundary conditions. The accuracy of the numerical method is verified by comparison with various exact solutions. The method has wide applicability, which we demonstrate through examples including porous gravity currents, one- and two-phase instabilities and flow in doubly connected regions. Key advantages of our method are its speed, relative simplicity of implementation, and ability to handle interfaces with corners and regions of high curvature at low computational cost.

Publication Details

Journal
Figshare
Published
2025-01-01
DOI
https://doi.org/10.6084/m9.figshare.28853311
Primary Topic
Theoretical and Computational Physics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Example MATLAB Code from Computing fluid–fluid interface evolution in Hele-Shaw cells using rational approximation

Figshare
Theoretical and Computational Physics
article

Example MATLAB Code from Computing fluid–fluid interface evolution in Hele-Shaw cells using rational approximation

article en

Abstract

We deploy a rational solver to compute moving boundary problems in Hele-Shaw cells and porous media. At each time, a quasi-stationary Laplace problem for the pressure is solved using rational approximation. This furnishes the interfacial velocity from which the moving boundary is updated. Two approaches for representing the moving boundary are presented: orthonormal basis functions (such as Chebyshev polynomials) and level-set functions. For fluid domains with corners that are stationary or translate in a simple fashion, poles are exponentially clustered exterior to the fluid domain in the vicinity of the corner and moved in step with the respective vertex. In the case of more complicated flows, we use the adaptive Antoulas–Anderson (AAA) algorithm to select the location of poles at each time-based adaptively upon the interface shape and boundary conditions. The accuracy of the numerical method is verified by comparison with various exact solutions. The method has wide applicability, which we demonstrate through examples including porous gravity currents, one- and two-phase instabilities and flow in doubly connected regions. Key advantages of our method are its speed, relative simplicity of implementation, and ability to handle interfaces with corners and regions of high curvature at low computational cost.

Figshare
Openalex Percentile: Top 72%
Theoretical and Computational Physics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.