Search

Search papers and lessons

Modal Analysis of Fluid Flows: An Overview

Kunihiko Taira, Steven L. Brunton, Scott T. M. Dawson et al. · 2017

A survey of how modal decomposition splits a fluid flow into a few dominant spatial patterns, from POD's energy-ranked modes to DMD's modes with a single frequency and growth rate each.

On this page

  • Colour = topic mix
  • Linear algebra
  • Probability
  • Discrete math
  • Calculus
  • Mechanical engineering
  • Control systems
  • Sign in to see your progress

TL;DR

A fluid flow produces far more numbers than anyone can read: a velocity value at every point of a grid, at every instant. Modal decomposition finds a short list of spatial patterns, called modes, that carry most of the energy or most of the dynamics. This overview by Taira and co-authors, written for engineers entering the field, explains the main techniques and the linear algebra behind them, starting from eigenvalues and singular values.

Where you'll see it: in the analysis of wakes behind wings, cavity and jet flows, turbulent boundary layers, and in building low-order models that are cheap enough for control.

The problem

Simple aerodynamic configurations can produce complex flows, with features at many sizes and frequencies. Engineers look for the important structures first, because a flow is easier to understand and to model once its dominant pattern is named. Before this overview, the methods were spread across journals and the notation differed from one community to another. A newcomer could not easily tell which method answers which question.

A concrete case shows the goal. A two-dimensional separated flow (one that peels away from the wing surface) past a flat-plate wing at a Reynolds number of 100 (a low value, meaning smooth, orderly flow) and 30 degrees incidence (the angle between the wing and the oncoming stream) develops a von Kármán vortex street (a regular alternating row of swirls) in its wake. Two proper orthogonal decomposition modes plus the mean flow reconstruct the streamwise velocity field well. The rest of the paper explains how such modes are found and what each technique can and cannot say.

Key idea

Every method starts from the same step. Arrange the flow data as columns of a matrix, one column per snapshot in time, and then factor that matrix. Two families follow.

Data-based methods take measured or simulated snapshots as input. Proper orthogonal decomposition (POD) ranks modes by how much of the flow's energy they carry. Dynamic mode decomposition (DMD) fits a linear map between snapshots and reports each mode with one frequency and one growth or decay rate.

Operator-based methods work from the governing equations, usually the linearised Navier–Stokes operator about a steady or mean flow. Global stability analysis finds the eigenmodes of that operator, and resolvent analysis finds the forcing and response modes that are most amplified.

The mathematical backbone is the eigenvalue decomposition and the singular value decomposition, reviewed in Section 2 of the paper.

The method

The paper is a survey, so its method is a sequence of techniques. The core mathematics is the following.

Eigenvalue and singular value decompositions. For a square matrix A\boldsymbol{A} with a full set of eigenvectors, AV=VΛ\boldsymbol{A}\boldsymbol{V} = \boldsymbol{V}\boldsymbol{\Lambda}, so A=VΛV−1\boldsymbol{A} = \boldsymbol{V}\boldsymbol{\Lambda}\boldsymbol{V}^{-1} (see Eigenvalues and Eigenvectors). For a rectangular matrix X\boldsymbol{X} the singular value decomposition writes X=UΣVT\boldsymbol{X} = \boldsymbol{U}\boldsymbol{\Sigma}\boldsymbol{V}^T. The paper points out that the eigenvalue problem for XX∗\boldsymbol{X}\boldsymbol{X}^* or X∗X\boldsymbol{X}^*\boldsymbol{X} gives the same singular information, and the smaller of the two is cheaper to solve.

POD. Let x(t)\boldsymbol{x}(t) be a snapshot of the velocity field with its time-averaged value removed, and stack mm snapshots as the columns of X∈Rn×m\boldsymbol{X} \in \mathbb{R}^{n \times m}, where nn is the number of grid values. POD finds orthonormal spatial modes ϕj\boldsymbol{\phi}_j that maximise the energy captured by the first rr modes. The modes are eigenvectors of the spatial covariance matrix R=XXT\boldsymbol{R} = \boldsymbol{X}\boldsymbol{X}^T, and the eigenvalues λj\lambda_j measure the energy in each mode. The flow is then approximated as

q(ξ,t)−q‾(ξ)≈∑j=1raj(t) ϕj(ξ),\boldsymbol{q}(\boldsymbol{\xi}, t) - \overline{\boldsymbol{q}}(\boldsymbol{\xi}) \approx \sum_{j=1}^{r} a_j(t)\,\boldsymbol{\phi}_j(\boldsymbol{\xi}),

and the number of modes is chosen so that ∑j=1rλj/∑j=1nλj≈1\sum_{j=1}^{r}\lambda_j / \sum_{j=1}^{n}\lambda_j \approx 1. When nn is much larger than mm, the method of snapshots (Sirovich) solves the smaller m×mm \times m problem for XTX\boldsymbol{X}^T\boldsymbol{X} and recovers the same dominant modes.

DMD. Take two shifted data matrices, X=[x(t1) ⋯ x(tm)]\boldsymbol{X} = [\boldsymbol{x}(t_1)\ \cdots\ \boldsymbol{x}(t_m)] and X#=[x(t2) ⋯ x(tm+1)]\boldsymbol{X}^{\#} = [\boldsymbol{x}(t_2)\ \cdots\ \boldsymbol{x}(t_{m+1})], and fit the best linear map X#=AX\boldsymbol{X}^{\#} = \boldsymbol{A}\boldsymbol{X}. Its least-squares solution is A=X#X+\boldsymbol{A} = \boldsymbol{X}^{\#}\boldsymbol{X}^{+}, where X+\boldsymbol{X}^{+} is the pseudoinverse. The DMD eigenvalues and modes are the eigenvalues and eigenvectors of A\boldsymbol{A}. In practice the paper uses a reduced SVD, X≈UrΣrVrT\boldsymbol{X} \approx \boldsymbol{U}_r\boldsymbol{\Sigma}_r\boldsymbol{V}_r^T, and computes the eigenvalues of the small r×rr \times r matrix A~=UrTX#VrΣr−1\widetilde{\boldsymbol{A}} = \boldsymbol{U}_r^T\boldsymbol{X}^{\#}\boldsymbol{V}_r\boldsymbol{\Sigma}_r^{-1}. Each eigenvalue μ\mu of a discrete-time map with time step Δt\Delta t gives a mode with frequency arg⁡(μ)/(2πΔt)\arg(\mu)/(2\pi\Delta t) and growth rate ln⁡∣μ∣/Δt\ln|\mu|/\Delta t.

The linear dynamical view explains why DMD works. If the data come from a linear system xk+1=Axk\boldsymbol{x}_{k+1} = \boldsymbol{A}\boldsymbol{x}_k, the fit recovers A\boldsymbol{A} exactly. For example, with x(0)=(1,1)\boldsymbol{x}(0) = (1, 1) and A=diag(0.9,0.5)\boldsymbol{A} = \mathrm{diag}(0.9, 0.5), two snapshots already give X=(10.910.5)\boldsymbol{X} = \begin{pmatrix} 1 & 0.9 \\ 1 & 0.5 \end{pmatrix} and X#=(0.90.810.50.25)\boldsymbol{X}^{\#} = \begin{pmatrix} 0.9 & 0.81 \\ 0.5 & 0.25 \end{pmatrix}, and X#X−1\boldsymbol{X}^{\#}\boldsymbol{X}^{-1} returns diag(0.9,0.5)\mathrm{diag}(0.9, 0.5) exactly.

Results

The paper does not introduce a new method, so its results are demonstrations of the techniques on published data.

  • POD of a flat-plate wing wake. Two POD modes plus the mean reconstruct the laminar separated flow at Re=100Re = 100 and α=30∘\alpha = 30^\circ very effectively, and the first two modes are the oscillatory von Kármán pair.
  • POD of turbulent separated flow over a NACA 0012 airfoil. The data come from a three-dimensional large-eddy simulation at Re=23,000Re = 23{,}000 and α=9∘\alpha = 9^\circ. The four most dominant POD modes together capture about 19 percent of the unsteady fluctuations. Modes 1 and 2 form an oscillatory pair, and modes 3 and 4 are their subharmonic structures. More modes are needed than in the laminar case because the turbulent flow has many scales, yet the leading modes resemble those of the Reynolds-number-100 case. (A large-eddy simulation, LES, resolves the big eddies and models the small ones.)
  • Snapshot POD of an open cavity. Experiments at free-stream Mach numbers from 0.2 to 0.73 give a first mode holding 15 to 20 percent of the energy, and the first 7 modes hold about 50 percent. The modes are similar across several Mach numbers even though the mean flows differ.
  • DMD of a jet in crossflow. Rowley and co-authors applied DMD to a direct numerical simulation (DNS, which resolves all scales of the flow) of a three-dimensional jet in crossflow, using 251 snapshots. The modes with large amplitude have distinct frequencies and capture different flow structures.

The paper's Table 1 summarises the coverage: POD, balanced POD and DMD on data; Koopman analysis, global stability and resolvent analysis on operators.

Why it mattered

The overview gave a shared vocabulary to a field that used several names for the same ideas. POD is also known as principal component analysis, the Karhunen–Loève procedure and empirical eigenfunction decomposition, and the paper says so explicitly. DMD, first presented to the fluids community in a conference talk and then in an archival paper by Schmid, became a general data-driven tool used well beyond fluid dynamics, including finance, video processing, epidemiology, robotics and neuroscience.

The paper also connected data-driven and operator-based methods. The later link between DMD and the Koopman operator explains DMD for nonlinear systems as an approximation of an infinite-dimensional linear operator. This is the reason the overview has become a common entry point for reduced-order modelling and flow control.

Reading guide

Read the paper in this order, with these prerequisites for each part.

  1. Section 2, eigenvalue and singular value decompositions. Needs Eigenvalues and Eigenvectors and Singular Value Decomposition (SVD). Skip the pseudospectra subsection on a first pass.
  2. Section 3, POD. Needs Covariance Matrix for the spatial eigenproblem, and Principal Component Analysis if you want the statistical version of the same idea.
  3. Section 5, DMD. Needs Dynamic Mode Decomposition and Linear Dynamical System for the map xk+1=Axk\boldsymbol{x}_{k+1} = \boldsymbol{A}\boldsymbol{x}_k, plus the reduced SVD from section 2.
  4. Section 6, Koopman analysis. Needs Koopman Operator. It generalises DMD to nonlinear systems, so read the DMD section first.
  5. Sections 7 and 8, stability and resolvent analysis. These rely on the operator view and on Proper Orthogonal Decomposition for the comparison of modes.

Check yourself

QuestionRecall: what does a POD eigenvalue measure, and how is the number of retained modes chosen?Show answer

A POD eigenvalue λj\lambda_j measures the energy captured by mode jj. Modes are sorted from largest to smallest eigenvalue, and the number rr is chosen so that the retained eigenvalues make up almost all of the total, that is ∑j=1rλj/∑j=1nλj≈1\sum_{j=1}^{r}\lambda_j / \sum_{j=1}^{n}\lambda_j \approx 1 in the paper's wording.

QuestionComputation: a snapshot matrix has two grid points and two snapshots, X=(2001)\boldsymbol{X} = \begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix}, with the columns as snapshots. What fraction of energy does the first POD mode capture?Show answer

Compute XTX=(4001)\boldsymbol{X}^T\boldsymbol{X} = \begin{pmatrix} 4 & 0 \\ 0 & 1 \end{pmatrix}. Its eigenvalues are 4 and 1, with a total of 5. The first mode captures 4/5=804/5 = 80 percent of the energy, and the second captures 20 percent. The ratio is the same whether one uses the snapshot form or the spatial form, which is why the method of snapshots gives the same dominant modes.

QuestionWhy does DMD compute the eigenvalues of a small matrix A~\widetilde{\boldsymbol{A}} rather than the full A\boldsymbol{A}?Show answer

The state vector has nn entries, often in the millions for a flow field, but there are only m≪nm \ll n snapshots. Forming A\boldsymbol{A} explicitly is expensive. Projecting onto the leading rr singular vectors of X\boldsymbol{X} gives an r×rr \times r matrix whose eigenvalues and eigenvectors yield the same DMD modes at a fraction of the cost.

QuestionApplied scenario: a DMD eigenvalue is μ=0.99 e0.4πi\mu = 0.99\,e^{0.4\pi i}, and the snapshots are 0.01 seconds apart. What are the frequency and the decay time of this mode?Show answer

The frequency is arg⁡(μ)/(2πΔt)=0.4π/(2π⋅0.01)=20\arg(\mu)/(2\pi\Delta t) = 0.4\pi/(2\pi \cdot 0.01) = 20 Hz. The growth rate is ln⁡(0.99)/0.01≈−1.0\ln(0.99)/0.01 \approx -1.0 per second, so the amplitude falls to about 1/e1/e in roughly one second. This is an illustrative calculation with made-up numbers, not a result from the paper.

Sources

Read the full paper

Kunihiko Taira, Steven L. Brunton, Scott T. M. Dawson et al., 2017. arXiv:1702.01453