Linstab2D: stability and resolvent analysis of compressible viscous flows in MATLAB
摘要
We present LinStab2D, an easy-to-use linear stability analysis MATLAB tool capable of handling complex domains, performing temporal and spatial linear stability, and resolvent analysis. We present the theoretical foundations of the code, including the linear stability and resolvent analysis frameworks, finite differences discretization schemes, and the Floquet ansatz. These concepts are explored in five different examples, highlighting and illustrating the different code capabilities, including mesh masking, mapping, imposition of boundary constraints, and the analysis of periodic flows using Cartesian or axisymmetric coordinates. These examples were constructed to be a departure point for studying other flows.