Machine Learning
in Fluid Mechanics

Lecture 6 — Analysis of coherent structures

Andre Weiner

Chair of Fluid Mechanics

Why look for coherent structures?

Buffeting from the cockpit

Aviation Week · Boeing 737 full-stall simulator demonstration (from 3:13)

Transonic shock buffet on an airfoil

Conceptual sketch of transonic shock buffet. Dashed lines pair the upstream shock with the larger separated region. Solid lines pair the downstream shock with the smaller separated region. A wavy line runs between the counter-rotating vortices downstream of the trailing edge.

The measured cylinder wake

Data: Shang & Tu (Zenodo) · Experiment: Tu et al. (2014)

Temporal mean and standard deviation

Temporal means and sample standard deviations of both measured velocity components.

Probe locations in the cylinder wake

Streamwise velocity standard deviation with the lower and upper probe locations in the measured wake.

Fluctuations at the two probes

Time series of the measured streamwise velocity fluctuations. Peaks at one probe roughly coincide with troughs at the other.

Paired samples in probe coordinates

Scatter plot and hexagonal counts for the same paired probe fluctuations and reference axes.

Mean, fluctuations, variance, and covariance

Snapshots and projection

Finding the principal axes

What PCA finds in the probe data

What if we use all points?

How quickly does the variance decay?

Individual and cumulative variance fractions for the leading 20 wake POD modes.

Components of the spatial modes

Streamwise and transverse components of POD modes 1, 3, and 4 on a shared signed color scale.

Streamlines of the mean and the spatial modes

Four streamline panels showing the mean flow and POD modes 1, 3, and 4.

Time coefficients of the leading POD modes

Temporal coefficients grouped as modes 1 and 2, mode 3, and modes 4 and 5.

Spectra of individual POD time coefficients

One-sided spectra of the POD time coefficients for modes 1, 3, 4, and 6.

Reconstruction of streamwise velocity

Reconstruction of transverse velocity

Economy singular value decomposition

Full and economy SVD

Economy and full SVD matrix shapes. The full left factor has extra columns, and the full singular-value matrix has extra zero rows. Every diagonal position in the shared square block is marked.

Inversion with singular values

Spatial modes and time coefficients

Method of snapshots

Discrete Fourier transform

Fourier matrix and POD projection

Fourier spectrum of the cylinder wake

One-sided projected Fourier spectrum of the cylinder wake with three selected peaks.

Selected Fourier modes of the cylinder wake

Streamwise and transverse components of three phase-aligned complex Fourier modes.

One cycle of the leading Fourier mode

Lecture 6 review

What makes a flow structure coherent?
Its spatially correlated features evolve together in an organized way. A recurring structure can retain a consistent phase relationship between different locations.
Why look for coherent structures in a complex flow?
They can explain a quantity of interest, such as fluctuating lift, and help identify where to measure or apply control.
What sustains transonic shock buffet on an airfoil?
Feedback between the shock and the boundary layer sustains shock motion and changes in downstream separation.
How can aerodynamic buffet lead to structural buffeting?
Unsteady aerodynamic loads can excite structural modes and produce a strong aeroelastic response.
What does the measured cylinder-wake dataset contain?
Planar PIV snapshots of the streamwise and transverse velocity components on a fixed grid. Masked regions are excluded from the analysis.
How do we obtain a velocity fluctuation at a probe?
Subtract the temporal sample mean at that probe from each instantaneous measurement.
What does negative covariance between the two wake probes tell us?
When one probe is above its mean, the other tends to be below its mean. The paired scatter is elongated along a direction with opposite signs.
How are the snapshots organized in the data matrix?
Each column is one time snapshot. Each row represents a spatial degree of freedom, such as a probe or a velocity component at a grid point.
What does the first principal axis maximize?
The sample variance of the projected, centered data among all unit directions.
How do we identify a principal axis from the covariance matrix?
The stationarity condition gives a covariance eigenproblem. The first axis is an eigenvector for the largest eigenvalue, which equals the variance along that axis.
How do we organize both measured velocity components for full-field POD?
Stack the flattened streamwise and transverse fields in each snapshot column. Split the spatial modes at the same index to plot both components.
What is the maximum rank of a centered snapshot matrix with N snapshots?
At most N − 1, because the centered snapshot columns sum to zero. The rank is also bounded by the number of spatial degrees of freedom.
What links the economy SVD to the spatial POD of centered data?
The left singular vectors give the spatial modes. Each covariance eigenvalue equals the squared singular value divided by N − 1.
Why is projecting onto the economy basis and back exact for the original snapshots?
The retained nonzero left singular vectors span the snapshot column space. The projection preserves any vector in that span.
What do the POD time coefficients tell us?
They are the coordinates of each snapshot in the spatial POD basis. Their time histories show how the modal amplitudes and signs evolve.
Why use the method of snapshots when there are many more spatial points than snapshots?
It solves the eigenproblem in an N × N Gram matrix. Nonzero temporal eigenvectors can then be mapped back to spatial modes.
What changes when we keep the mean before taking the SVD?
The decomposition analyzes uncentered second moments. A strong mean can dominate the first mode. Exact alignment also requires the mean direction to be an eigenvector of the centered covariance and to remain leading.
Why can we compute the DFT on POD time coefficients?
The DFT acts along time and the POD basis acts along space. With all nonzero POD modes, transforming the coefficients and projecting back recovers the same Fourier field.
What does the phase of a complex Fourier mode tell us?
Relative phase across locations shows how the single-frequency pattern progresses in time. Animating one period helps distinguish apparent propagation from nearly simultaneous motion.
What does a Strouhal number near 0.194 represent in this dataset?
It is the dominant dimensionless shedding frequency, with St = fD/U∞. A harmonic completes an integer number of cycles during one period of the fundamental.