← CFD

POD Sample for Square Cylinder

Introduction

Proper orthogonal decomposition (POD) is a data-driven technique that decomposes a flow field into a set of orthogonal modes ranked by their energy content, thereby identifying the dominant coherent structures. In this study, the simulation of the flow around a square cylinder was first validated against the ERCOFTAC 2D-benchmark (Case 043) by comparing the drag and lift coefficients. POD was then applied to the validated flow field to extract its dominant modes.

Key equation

The hydrodynamic force acting on the cylinder is obtained by integrating the wall stress $\boldsymbol{\tau}_f$ over all boundary faces $f$ of the cylinder surface $\Gamma$, and is normalised by the dynamic pressure and the frontal area $A = H L_z$, where $H$ is the cylinder height, $L_z = 0.1H$ the spanwise length, $\rho$ the fluid density and $U_0$ the inlet velocity:

\[\boldsymbol{F}(t) = \sum_{f \in \Gamma} \boldsymbol{\tau}_f(t)\, S_f, \qquad C_d(t) = \frac{F_x(t)}{\frac{1}{2}\rho U_0^2 A}, \qquad C_l(t) = \frac{F_y(t)}{\frac{1}{2}\rho U_0^2 A}\]

The mean coefficients are computed over the $N$ time steps after the initial transient ($t_n \geq t_0 = 10\,\mathrm{s}$):

\[\bar{C}_d = \frac{1}{N} \sum_{n=1}^{N} C_d(t_n), \qquad \bar{C}_l = \frac{1}{N} \sum_{n=1}^{N} C_l(t_n)\]

The Strouhal number is determined from the dominant frequency $f_{\mathrm{peak}}$ of the fluctuating lift coefficient $C_l' = C_l - \bar{C}_l$, obtained as the peak of its Hann-windowed discrete Fourier transform:

\[St = \frac{f_{\mathrm{peak}} H}{U_0}, \qquad f_{\mathrm{peak}} = \underset{f > 0}{\arg\max} \left| \mathcal{F}\left[ w_n\, C_l'(t_n) \right](f) \right|\]

Setting

The configuration follows the experiment of Lyn and Rodi (ERCOFTAC Case 043): flow past a square cylinder at $Re = 21{,}400$ with a blockage ratio of about $7\%$. A uniform, steady inflow velocity $U_0$ was imposed at the inlet, with the inlet values of $k$ and $\omega$ chosen to reproduce the free-stream turbulence intensity of $2\%$ reported in the experiment. The resulting flow is unsteady owing to periodic vortex shedding; statistics were therefore evaluated after the initial transient ($t \geq 10\,\mathrm{s}$), once the flow had reached a statistically stationary state.

Table 1. Computational domain and mesh
ParameterValue
Cylinder cross-sectionSquare, $H \times H$, $H = 0.04\,\mathrm{m}$
Upstream / downstream length$20H$ / $50H$
Lateral extent$\pm 7H$ (blockage ratio $H/14H \approx 7.1\%$)
Spanwise length$0.1H$, 1 cell layer (quasi-2D)
Cell size on cylinder / far field$H/40$ / $H/4$
Mesh typeUnstructured quadrilateral, extruded (Gmsh)
Table 2. Flow conditions and boundary conditions
ParameterValue
FluidWater, $\rho = 998\,\mathrm{kg/m^3}$, $\mu = 9.98 \times 10^{-4}\,\mathrm{Pa \cdot s}$
Inflow velocityUniform and steady, $U_0 = 0.535\,\mathrm{m/s}$
Reynolds number$Re = \rho U_0 H / \mu = 21{,}400$
Inflow turbulenceIntensity $I = \sqrt{2k/3}\,/\,U_0 = 2\%$, length scale $\ell = 0.25H$ ($k = 1.717 \times 10^{-4}\,\mathrm{m^2/s^2}$, $\omega = 2.393\,\mathrm{s^{-1}}$)
OutletFree outlet
Top / bottomWall
Spanwise facesSymmetry
Cylinder surfaceNo-slip wall
Table 3. Numerical settings
ParameterValue
SolverCode_Saturne 9.0
Turbulence model$k$-$\omega$ SST (URANS), two-scale log-law wall function
Pressure–velocity couplingSIMPLEC (10–100 outer iterations per step)
Convection scheme (velocity)Centered
Relaxation factorsVelocity 0.6, pressure 0.5
Time step$\Delta t = 2.5 \times 10^{-4}\,\mathrm{s}$ ($U_0 \Delta t / H \approx 3.3 \times 10^{-3}$)
Simulated time$60\,\mathrm{s}$; statistics for $t \geq 10\,\mathrm{s}$
Field output interval (POD snapshots)$0.05\,\mathrm{s}$

Result

Figure 1. Time series of force coefficients
Figure 2. Modes of Ux and Uy

Summary

Reference

Benchmark Case 043 ↗cfd.mace.manchester.ac.uk Proper Orthogonal Decomposition in Fluid Flow Analysis ↗www.nagare.or.jp