LinStabPy: an efficient Python framework for compressible stability and resolvent analysis

This article presents , an open-source Python package for temporal stability, spatial stability, and resolvent analysis of compressible flows. The package implements the summation-by-parts, curvilinear linearized Navier–Stokes formulation of , a MATLAB package whose analyses run in one process on a single machine. instead assembles the discrete linearized operator as one distributed PETSc matrix, common to temporal stability (direct and adjoint) and resolvent analysis; spatial stability is built from the same discretization. Temporal and resolvent analyses reduce to SLEPc Krylov iterations around sparse-direct solves with this matrix, shifted and factorized once: the eigenvalue problems use shift-invert Krylov–Schur and need forward solves only, while the resolvent iteration applies one forward and one adjoint solve per step. The factorization is delegated, through the PETSc linear-solver interface, to interchangeable backends, so the full PETSc/SLEPc toolbox remains available to the user. The configurations validated here use the distributed-memory MUMPS (CPU) and STRUMPACK (GPU-capable), and the single-node NVIDIA cuDSS (GPU). Verification against the released example suite and against two oblique shock-wave/boundary-layer interactions from the literature is reported. The source code is available at https://github.com/openfluids/linstabpy, with documentation at https://linstabpy.vercel.app/.

Authors

Institutions

Publication Details

Journal
Theoretical and Computational Fluid Dynamics
Published
2026-12-02
DOI
https://doi.org/10.1007/s00162-026-00806-z
Primary Topic
Computational Fluid Dynamics and Aerodynamics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

LinStabPy: an efficient Python framework for compressible stability and resolvent analysis

Gabriel Y.R. Hamada, Carlos Junqueira-Junior, William Roberto Wolf, Jean-Christophe Robinet et al.
Theoretical and Computational Fluid Dynamics
Computational Fluid Dynamics and Aerodynamics
article

LinStabPy: an efficient Python framework for compressible stability and resolvent analysis

Gabriel Y.R. Hamada, Carlos Junqueira-Junior, William Roberto Wolf, Jean-Christophe Robinet, Ricardo André Schuh Frantz
article en

Abstract

This article presents , an open-source Python package for temporal stability, spatial stability, and resolvent analysis of compressible flows. The package implements the summation-by-parts, curvilinear linearized Navier–Stokes formulation of , a MATLAB package whose analyses run in one process on a single machine. instead assembles the discrete linearized operator as one distributed PETSc matrix, common to temporal stability (direct and adjoint) and resolvent analysis; spatial stability is built from the same discretization. Temporal and resolvent analyses reduce to SLEPc Krylov iterations around sparse-direct solves with this matrix, shifted and factorized once: the eigenvalue problems use shift-invert Krylov–Schur and need forward solves only, while the resolvent iteration applies one forward and one adjoint solve per step. The factorization is delegated, through the PETSc linear-solver interface, to interchangeable backends, so the full PETSc/SLEPc toolbox remains available to the user. The configurations validated here use the distributed-memory MUMPS (CPU) and STRUMPACK (GPU-capable), and the single-node NVIDIA cuDSS (GPU). Verification against the released example suite and against two oblique shock-wave/boundary-layer interactions from the literature is reported. The source code is available at https://github.com/openfluids/linstabpy, with documentation at https://linstabpy.vercel.app/.

Theoretical and Computational Fluid DynamicsVol. 41(1)
Universidade Estadual de Campinas (UNICAMP) (BR), Arts et Métiers (FR), Laboratoire de Dynamique des Fluides (FR), École Polytechnique Fédérale de Lausanne (CH)
Computational Fluid Dynamics and Aerodynamics
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.

Laika access coming soon