Abstract
Scientific research and engineering practice often require the modeling and decomposition of nonlinear systems. The dynamic mode decomposition (DMD) is a novel Koopman-based technique that effectively dissects high-dimensional nonlinear systems into periodically distinct constituents on reduced-order subspaces. As a novel mathematical hatchling, the DMD bears vast potentials yet an equal degree of unknown. This effort investigates the nuances of DMD sampling with an engineering-oriented emphasis. It aimed at elucidating how sampling range and resolution affect the convergence of DMD modes. We employed the most classical nonlinear system in fluid mechanics as the test subject—the turbulent free-shear flow over a prism—for optimal pertinency. We numerically simulated the flow by the dynamic-stress Large-Eddies Simulation with Near-Wall Resolution. With the large-quantity, high-fidelity data, we parametrized and identified four global convergence states: Initialization, Transition, Stabilization, and Divergence with increasing sampling range. Results showed that Stabilization is the optimal state for modal convergence, in which DMD output becomes independent of the sampling range. The Initialization state also yields sufficient accuracy for most system reconstruction tasks. Moreover, defying popular beliefs, over-sampling causes algorithmic instability: as the temporal dimension, n, approaches and transcends the spatial dimension, m (i.e., m < n), the output diverges and becomes meaningless. Additionally, the convergence of the sampling resolution depends on the mode-specific dynamics, such that the resolution of 15 frames per cycle for target activities is suggested for most engineering implementations. Finally, a bi-parametric study revealed that the convergence of the sampling range and resolution are mutually independent.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
In today’s realm of science and engineering, nonlinearity remains one of the few unanswered questions of classical physics. Nonlinear systems are often high-dimensional and have intertwining dynamics, so modeling them can be extremely strenuous. Seeking engineering solutions, applied mathematicians invented the Reduced-Order Models (ROM) that serve precisely for the purpose of dimension reduction and modeling of nonlinear systems. After decades, ROMs proved effective and crucial for nonlinear analysis. In fact, its value in data processing is so prominent that it has already become a well-defined discipline with a vast collection of literature [2].
The Dynamic Mode Decomposition (DMD) is a new addition to the ROM family [3, 4]. Like its closest cousin, the Proper Orthogonal Decomposition (POD) [5], the DMD is purely data-driven. This undiscriminating nature permits broad applications. Kutz et al. [6] offered an excellent collage of DMD implementations on nonlinear systems from fluid mechanics, video processing, signal and controls, epidemiology, neuroscience, finance, etc. For most systems, the DMD proved powerful in generating spatiotemporally accurate representations of complex dynamics and, subsequently, in producing visual decompositions with insightful revelations [4, 7,8,9,10,11]. Nonetheless, like any other brand-new mathematical hatchlings, its potential comes with many unknowns.
Perhaps the greatest uncertainty that prohibits the pervasive dissemination of the DMD in engineering practices is the nuances in data sampling. Till today, most contributions to the DMD literature come directly from applied mathematicians. Their expertise in linear algebra and signal processing translates to intuitive decisions on the sampling state space, range, resolution, truncation order, etc. However, it is unrealistic to expect these mathematical intuitions from most engineering practices. Moreover, the transition from a priori findings to practical successes may not always be straightforward. For example, Klus et al. [12] and Korda and Mezić [13] laid the theoretical basis for the sampling convergence on the observable space and state space, respectively, but the realization of such convergence in practice remains a knowledge gap.
In this effort, we look to bridge some major gaps in the DMD sampling. Specifically, we offer a parametric, a posteriori investigation on the sampling range and resolution. To this end, Schmid briefly discussed the sampling convergence as the dimension of the Krylov subspace in the DMD’s debut [4]. However, the shortage of a dedicated follow-up led to vast uncertainties in the subsequent literature. Take the fluid mechanics community as an example, there are major inconsistencies in the data sampling of DMD implementations (Table 1). The sampling range varies from as few as 20 snapshots to as large as 89 oscillation cycles. The sampling resolution, on the other hand, lacks any discernible uniformity, accruing in units from the non-dimensional timescale frame-per-cycle (f.p.c) to the numerical timescale tDNS to the physical timescale Hertz. Some did not even specify a clear resolution scale. In terms of convergence, although some studies relied solely on the l2-residual for assessment, most works neglected the convergence assessment altogether. The inconsistencies in data sampling, as observed by our parametric study and presented subsequently, resulted in substantial differences in DMD output. Therefore, this alarming gap needs to be filled with precise knowledge of sampling range, resolution, and convergence.
Intending to fill this gap, we investigated the sampling convergence by significantly extending the sampling range from 2.0 × 103 to as large as 2.3 × 104 snapshots and refining the resolution from 50 to as fine as 105 Hz. We also inspected both the global and mode-specific behaviors of the DMD algorithm for the convergence assessment. Importantly, we conducted our investigation using the canonical turbulent free-shear flow for the optimal reproducibility and pertinency to other nonlinear systems. We employed a moderately-high subcritical flow regime at Re = 2.2 × 104 in a prism wake for the parametric study herein.
We chose the bluff-body wake as the test subject with several justifications. As free-shear flows (i.e., the velocity of one direction dominates) are behaviorally similar, the conclusions herein will apply to a wide range of flow configurations, such as jets,mixing layers, other wakes, etc. Including the bluff body, the applicability further extends to many wall-bounded boundary layer flows. Moreover, the prism wake is simplistic yet sophisticated enough for a parametric study. The simplicity refers to the configuration’s commonality in engineering application and the abundance of knowledge we share on its fluid mechanism [24,25,26,27,28]. The sophistication refers to its simultaneous inclusion of many fluid phenomena like stagnation, separation, reattachment, secondary separation, vortex roll-up, etc.
On the other hand, we also selected a moderately high Reynolds number in the subcritical regime, where the shear layer experiences the turbulence transition and remains phenomenologically similar for a significant range of Re [29]. The selected Re also accommodates high-fidelity simulation with common computing power for engineering applications. To this end, we numerically simulated the flows by the Large-Eddy Simulations with Near-Wall Resolution (LES-NWR) [30]. Rigorous tests on the numerical results certify the fidelity of the DMD input.
This comprehensive parametric effort expended tremendous computational resources. On two 64- and 80-core high performance computers (HPCs), the investigation took over 16 months to complete, tallying over 800,000 core-hours excluding those dedicated to the LES-NWR, and more than 1.5 million core-hours altogether. Investing the vast resource, we aim to provide an insightful and reliable reference for future applications of the DMD, especially with its rapid dissemination in the engineering domain.
In composition, we lay out the contextual introduction in Sect. 1, formulate the DMD algorithm in Sect. 2, describe and validate our LES-NWR simulation in Sect. 3, establish a benchmark on the sampling range in Sect. 4, examine the effect of the sampling range with a bi-parametric study in Sect. 5, and finally conclude the major findings in Sect. 6.
2 Dynamic mode decomposition
We introduce the conceptual and mathematical formulations of the vanilla Dynamic Mode Decomposition in this section. Conceptually, one may reckon the DMD as a joint Koopman-modal analysis. Koopman [31] outlined the possibility to represent a nonlinear dynamical system in terms of an infinite-dimensional linear operator acting on a Hilbert space of measurement functions of the state of the system [32]. The Koopman Operator Theory later developed into a whole mathematical subdiscipline for nonlinear systems. To this end, by applying the purely data-driven, physics-uninformed DMD technique, the Koopman operator linearly approximates the dynamics that evolve the input data in time, and the modal analysis decomposes the operator into discernible features for interpretation. For simplicity, we dissect the conceptual process of the DMD into five parts, as illustrated by Fig. 1.
2.1 Input data curation
The first step is the curation of the input data. The DMD’s data-driven nature appeals to neural networks in machine-learning. Therefore, the attribute of the input signal is essentially unbounded. For the vanilla DMD, the input signal shall be (1) of transient nature, (2) sampled by a uniform frequency, and (3) captured on a fixed domain. Inadequate input may result in numerical degeneration. Researchers have recently developed some DMD variants to target these input constraints, though by different degrees of success and practicality. We refer readers to Schmid [4] and Kutz et al. [6] for non-uniform sampling and Erichson et al. [33] for unfixed signal domains.
The input signal may also require noise elimination. The DMD is highly sensitive to frequency content, so excessive contamination may lead to the mistreatment of noise as the dynamics of high-wavenumber turbulence. Thus, noise elimination is critical for experimental data. By contrast, while numerical error (due to discretization and residual) is possible in CFD data, noise is unlikely. With proper numerical settings, the DMD algorithm can also sieve out the erroneous dynamics in the order-reduction and the dominant mode selection processes. For these reasons, we justify our preference for numerical data for the present work. We also refer readers to Dawson et al. [34] and Hemati et al. [35] for noise elimination techniques in the DMD.
With properly treated data, one shall arrange the input signal into two snapshot sequences, such that:
where xi\(\in\mathbb{C}\)n are snapshots sampled at a uniform interval t*. The spatial dimension n corresponds to that of the fixed sampling domain (i.e., number of data entries per snapshot). The temporal dimension m corresponds to that of the time series (i.e., number of snapshots).
2.2 Spatiotemporal mapping
Spatiotemporal mapping is the core of the Koopman analysis. We suppose a mapping matrix, or a Koopman operator, A, that connects the matrices X1 and X2:
A encompasses all the dynamics to evolve a nonlinear system by a single time step. In the scenario herein, A is closely an implicit representation of the Navier–Stokes equations.
We use the adverb ‘closely’ because, as Eq. 2.2.1 implies, A is strictly linear. It is to say, while A is exact for a linear system, it is only a best-fit approximation for a nonlinear system. Even so, it is of tremendous merit. As the readers may be aware, acquiring exact solutions or representations for many nonlinear systems is often a herculean, if not impossible, task. The yet-to-be claimed Millenium Prize for the Navier–Stokes equations is a prime example of such a conundrum. Although A is linear, it becomes an increasingly more accurate representation of a nonlinear system with increasing dimensionality and resolution. In an analogous sense, the Koopman approximation is a numerical discretization of the nonlinear dynamics. In the absence of an analytical solution, the numerical solution provides the most convincing alternative, especially for engineering practices.
One shall also reckon the acquisition of A is by no means straightforward. The elegance of the DMD exudes precisely from the mathematical possibility that it offers in this aspect [20, 21, 25, 26]. Compared to the companion matrix formulation [4], the approximation of A using a similarity matrix [6, 36] proves more robust and tractable for high-dimensional systems [37]. Accordingly, one may assume a low-dimensional similarity matrix à for the approximation of the full-rank A.
To obtain Ã, one first performs the Singular Value Decomposition (SVD), economy-sized to avoid null spaces, on X1:
where U ∈ \(\mathbb{C}\)n×r contains spatially orthogonal modes uj on an optimal POD subspace; Σ ∈ \(\mathbb{C}\)r×r, a diagonal matrix, contains singular values σj that describe the modal energy of uj; V ∈ \(\mathbb{C}\)m×r contains temporally orthogonal modes vj which pertains to the evolution of uj; the superscript T denotes the conjugate transposition; r denotes the truncation rank. One may also manipulate the rank of Ã, hence the dimensionality of the low-order approximation, by adjusting r.
With it, the POD-projected à ∈ \(\mathbb{C}\)r×r relates to A by:
Recall Eq. 2.2.1, it is intuitive to minimize the difference between X2 and AX1 to find the optimal subspace:
where ║ ║F denotes the Frobenius normal.
One may re-express Eq. 2.2.4 by substituting in Eqs. 2.2.2 and 2.2.3:
Finally, one acquires à based on the approximation:
And the reduced-order similarity matrix à replaces A in Eq. 2.2.1:
Equation 2.2.7 provides an all-inclusive, finite-dimensional, linearly approximated, and highly accurate representation for the dynamics of a nonlinear system.
2.3 Modal decomposition
The acquisition of \(\tilde{\user2{A}}\) signals one’s full possession of a system’s spatiotemporal information. The modal decomposition aims to dissect the implicit information into discernible constituents, thus permitting user interpretations.
A commonplace technique to analyze a dynamical model \(\tilde{\user2{A}}\) is the eigen decomposition:
where W contains the eigenvectors wj, and Λ contains the corresponding discrete-time eigenvalues λj.
The eigen tuples yield the exact DMD modes [36]:
where Φ contains the mode shape ϕj.
Every mode ϕj corresponds to a physical frequency ωj in continuous time:
and a modal growth rate gj:
2.4 Dominant mode selection
The singular value σj, while dictating the modal dominance of POD modes, merely offers a reference to the DMD truncation. The modal dominance of the DMD involves more complications because DMD modes are only temporally orthogonal. The original DMD modal amplitude [36] or the α-criterion [8, 9] projects DMD modes onto the input signal, mapping out weighted coefficients α based on the initial conditions:
where the superscript \( ^{\dag}\) denotes the Moore–Penrose pseudoinverse.
The amplitude αj dictates the modal dominance of DMD modes. However, coefficients based on initial conditions can be obtuse for highly capricious systems, especially those involving random transience. Therefore, Kou and Zhang [37] proposed an evolution-informed amplitude, or the I-criterion, for modal dominance. One shall obtain the Vandermonde matrix Vand, such that:
where i denotes time instant in the input signal.
One then obtains the I-amplitude Ij by:
We remind readers that in addition to those introduced herein, an array of algebraic criteria or deep-learning techniques, each with advantages and limitations, have been developed for the selection of the most spatiotemporally dominant DMD modes [35, 38,39,40]. Users may employ various criteria accordingly to preference and analytical need.
2.5 User interpretation
Being physics-uninformed, the output of the DMD demands user interpretation. Needless to reiterate the importance of acumen and background knowledge, we briefly comment on the mathematical implications of the DMD in hope to inspire better insights into its essence.
In the humblest scenario, suppose we have a fluid system in the steady state. The sampling of the flow field snapshots inevitably yields discrete signals. Meanwhile, by finding a linear approximation to the nonlinear fluid dynamics, the DMD produces a linearly time-invariant (LTI) system. Therefore, in the eigen space, the seek for complex frequencies is equivalent to finding eigenfunctions of a linear operator (i.e., A or Ã). Similarly, DMD modes render poles on a Region of Convergence (ROC) of a Z-transformation [2], where if we suppose an input data u[k], then U(z) becomes:
where \({k}\in\mathbb{Z}^+\) yields a unilateral Z-transform and z = bejθ.
As such, the DMD modes, or the poles, contain vast information about the LTI system like stability, causality, etc. The DMD also intakes data of intertwined dynamics, and sorts them out in terms of frequency-content, and returns distinct representations of periodicities in the form of Ritz pairs. Therefore, for the turbulence system herein, each standalone DMD frequency represents a group of fluid particles travelling at similar convective speeds or eddies forming in similar sizes. Therefore, the DMD decomposition echoes with the Richardson-Kolmogorov decomposition of turbulence into eddies of difference wavenumber and the process of energy cascade [30].
3 Numerical details and validation
We present the numerical details and validations of our LES in this section. The purpose is to assure the subsequent DMD analysis is driven by accurate data, eliminating the possibility of erroneous input. To main concision, we direct readers to “Appendix” for the mathematical formulation of the Large-Eddy Simulation with Near-Wall Resolution.
3.1 Numerical domain
The ensuing Fig. 2 illustrates the computational domain and the boundary conditions prescribed to our LES-NWR. The configuration is a classic turbulent, free-shear flow around an infinite square prism with side length D. The inflow, with the free-stream velocity U∞, has a uniform profile and is free of initial perturbation. We replicated the dimensions of the inlet, outlet, and laterals from the DNS domain in Portela et al. [41]. Yet, we employed a spanwise dimension of 4D for numerical ease in filtering in the physical (Cartesian) space, whereas [41] used πD for that in the wavenumber space. For this particular flow during the shear layer transition (Re = 22,000), 4D suffices and has been adopted by most works in the literature [29].
However, readers are reminded that during the 2D-to-3D transition of the prism wake between Re = 150–250, modes A, B, and S produce spanwise vortices as large as 5.2D, 1.2D, and 2.8D, respectively. Interested readers may refer to [29, 42,43,44] for details. Likewise, in the high-Re subcritical regime, another type of spanwise vortex occurs in scales as large as 9D and 14D in circular cylinder and prism wakes, respectively [45, 46]. This vortex is unique to ultra-slender structures and therefore beyond the scope of the present work. Nevertheless, we reiterate the importance of an appropriate spanwise dimension for different configurations of interest.
Our LES-NWR employed a strictly hexahedral grid to minimize numerical errors (Fig. 3). The grid G consists of 4.3 million elements in sum and 2.9 million elements in a refinement region Ɍ around the prism. Ɍ always encloses the shear layers and near wake, thus capturing all the global phenomena and local extremities of turbulence. Four regions with coarser elements, namely the inlet, the outlet, and the two laterals adhere to Ɍ in a non-conformal fashion, as described by [47]. The non-conformal griding significantly lowered the mesh size while preserving high accuracy (shown later). Table 2 summarizes the details of the grid G.
We estimated the thickness of the viscous sublayer to determine the height of the wall-adjacent cells. The estimation relied on an analogy of the laminar boundary layer over a flat plate, as pointed out by White [48]:
where lx denotes the characteristic length of the boundary layer, which is taken as 0.5D after Cao et al. [49]. We set a fine resolution of 1/4000D to keep the y+ strictly under unity. We also set a grading ratio of 1.05 to resolve the viscous sublayer by as many as 36 layers. Finally, we followed Menter [50] for suggested resolution in the x- and z-directions.
3.2 Numerical methods
We employed a finite-volume, segregated, pressure-based solution algorithm for this low-Mach-number incompressible flow. The projection-based method obtains the velocity field from the momentum equation and satisfies the continuity by corrections of the pressure equation. To this end, we chose the Pressure-Implicit with the Splitting of Operators (PISO) scheme for the pressure–velocity coupling. The neighbor and skewness corrections of the PISO, particularly for transient simulations, notably improve the efficiency and robustness of the original SIMPLE-based solver. We also chose second-order schemes for the pressure interpolation and the spatial discretization of the viscous term, and the second-order bounded central-differencing scheme for that of the convection term.
In temporal discretization, we selected the bounded second-order scheme for time integration. We set a small time-interval ∆t*, such that the Courant-Friedrichs-Lewy (CFL) convergence condition is always satisfied, which eliminates the time marching issues in solving partial differential equations:
We sampled data at t* = 5∆t* and only in Ɍ to expedite the simulation and avoid excessive data storage. Finally, we selected the least-squares method for the evaluation of gradients and derivatives in the post-analysis.
3.3 Statistical stationarity
In turbulent flows, the so-called steady state is not an entirely appropriate description. The ever-changing nature of turbulence makes two identical flow snapshots nearly impossible, let alone the predictability implied by the term steadiness. In practice, one may only identify a ‘steady state’ in the statistical descriptions of turbulence called the statistical stationarity.
3.3.1 Global statistics
First, we eyed on the global fluctuating lift coefficient for stationarity (Fig. 4). Despite persistent fluctuations due to unsteady motions, the root-square-mean (RMS) and the mean lift reached statistical stationarity before 1.2 × 105t*. Consequently, we began sampling for the DMD analysis thereafter. We sampled a range of 24 oscillation cycles at the highest frequency 1/t*, which pushed the storage limit of our HPC server by amassing more than 2.3 × 104 field snapshots.
3.3.2 Local statistics
We further assured the statistical stationarity by local statistics. Figure 5a illustrates the seven nodes selected to monitor the mean local velocities. With respect to the prism, the nodes are characteristic of the inflow, the pulsating shear layers, and the turbulent wake. At all monitor points, vast instabilities are observed in the early and transitional stages. By contrast, the normalized mean velocities exhibited stationarity by approaching clear asymptotes before 1.0 × 105 t*, reaffirming the observations on global statistics.
3.4 Grid resolution
The resolution of our structured grid G is critically important to the accuracy of LES-NWR, so we adopted stringent criteria for its assessment.
3.4.1 Resolved spectrum
Recall the definition of LES-NWR, a proper implementation shall resolve all the large-scale eddies in the energy-containing range and only model the smaller, more trivial ones toward the dissipation range. This is to say that, if an LES filter sits inside the inertial subrange, then the Navier–Stokes equations guarantee the accuracy of large-scale turbulence. Therefore, grid resolution is often the most indicative evidence of LES accuracy. In his masterpiece on turbulence, Pope [30] defined a demarcation between the energy-containing range and the inertial subrange – 80% resolution for the total turbulence kinetic energy (TKE).
To quantify the resolved portion, we denote the resolved TKE by kr, the subgrid TKE by ksgs, and the numerical TKE by knum. We then express the resolved spectrum, E, by:
where kall denotes the total TKE:
where G(x) denotes the filter function in three-dimensional space; \(\overline{{u^{{{\prime }2}} }}\), \(\overline{{v^{{{\prime }2}} }}\), and \(\overline{{w^{{{\prime }2}} }}\) denote variance of the fluctuating velocities \(u^{{\prime }}\), \(v^{{\prime }}\), and \(w^{{\prime }}\), respectively. knum is a pseudo-energy term that accounts for discretization error and numerical residual. Celik et al. [51] pointed out that knum is sufficiently small for a LES-NWR with an overall second-order discretization. As introduced before, our discretization is at least second-order, producing minimal numerical dissipation. As we also strictly maintained the Courant-Friedrichs-Lewy (CFL) condition, the numerical dispersion is insignificant. Our convergence criteria are also stringent, at 1 × 10–6, for both the continuity and momentum equations. Therefore, we treated knum as negligible.
The ensuing Fig. 6 presents the resolved spectra of the mid-span x–y plane and the prism walls. Given the incompressible Newtonian fluid and a grid-dependent filter, E is inversely proportional to the local velocities and cell volume. Evidently, our grid resolved at least 90% of the TKE. The same was true for the prism walls, except for some narrow strips near the corners A and B, where the resolved TKE is about 77%. We anticipated them because local accelerations occur as the result of sharp corner separation. Since TKE is proportional to local Re, the resolution requirement becomes more stringent near the corners. In general, the resolved spectra prove that our filter sits inside the inertial subrange, hence the resolution of our grid is suitable for LES simulation.
3.4.2 LESIQ index
In the fluid mechanics community, some researchers, like Davidson [52], had challenged the 80% demarcation. Though this topic is beyond our scope, we still looked for an alternative assurance to our grid resolution. Celik et al. [51] proposed the LESIQ, an index quantifying the resolution of a LES grid, as:
where αν = 0.05 and ae = 0.53 are empirically derived constants. Accordingly, LESIQ < 80% indicates a Very Large-Eddy Simulation (VLES), LESIQ > 80% signals a proper LES-NWR, and LESIQ > 95% suggests a Direct Numerical Simulation (DNS).
Accordingly, Fig. 7 presents the LESIQ contours of the mid-span x–y plane and the prism walls. Our grid achieved the DNS resolution in most fluid domains and on all prism walls. It also achieved at least the LES resolution in all fluid domains of interest, including the shear layers and the near wake. Although a few patches of VLES resolution existed in the far wake, but being neither influential to the upstream activities nor partial to the sampled domain, they are of trivial importance. Overall, the LESIQ confirms the quality of our grid resolution.
3.5 Simulation accuracy
Since numerical accuracy is indispensable to our subsequent DMD analysis, beside the grid resolution, we compare the simulated results to the literature for further validation.
3.5.1 Global statistics and spectral density
Table 3 summarizes global force coefficients and the Strouhal number St of our simulation compared to previous experiments. The statistics not only agree with the experiments performed at exactly Re = 22,000, but also an array of others in the subcritical regime, because one expects the universal occurrence of the shear layer transition II and an asymptotic convergence vortex formation length in this flow regime [29].
On the other hand, we determined the Strouhal number St by performing the Fourier transformation and power spectral density analysis for the fluctuating global lift coefficient, \({C_L}^{\prime}\). Apart from the stellar agreement in global St, the periodogram (Fig. 8) supports our previous conclusions on the grid resolution. The curve lucidly exhibits the Kolmogorov − 5/3 Law before St = 1.1. As a fundamental pillar to the Richardson-Kolmogorov energy cascade, the -5/3 power-law is unique to the inertial subrange and often regarded as its most indicative icon [30]. Therefore, its appearance signifies that at least a significant portion of the inertial subrange was resolved by the Navier–Stokes equations based on our grid G. On a different note, one shall expect an exponential decay in the dissipation range of the full turbulence spectrum, instead of the linear decay herein toward the high-frequency space. Nevertheless, we find the observed linearity truthful to the subgrid dynamics, especially considering the one-equation, linear mixing-length hypothesis undertaken by the Smagorinsky model. The linearity shows the filtering process only takes place inside and beyond the inertial subrange, depicting the anticipated spectrum of a proper LES-NWR.
3.5.2 Prism walls
Next, we examine the grid resolution at the prism walls for validation. Figure 9 presents the x+ and y+, or the dimensionless wall distances, calculated from wall shear and the notion of friction velocity. Our grid met the x+ ≈ 30 and y+ ≈ 1 requirements proposed by Menter [50]. The z+ is trivial in this infinite length configuration. Moreover, we compared the time-averaged, normalized pressure coefficient on the prism walls to the literature (Fig. 10). Our results agree well with a range of wind tunnel and DNS studies, especially the more recent empirical results like Nishimura [62] and Nishimura and Taniike [63]. Notably, some variations occur on the downstream wall across the existing studies. Nonetheless, the present result falls well within the comparative range of wind tunnel and DNS studies, validating the accuracy and fidelity of our LES-NWR.
3.5.3 Velocity field
As the final piece of validation, we examine the velocity field. Figure 11 presents the time-averaged, normalized u along the zero-ordinate. Our results sit fittingly among the array of experiments and DNS studies. To ensure such an agreement is not fortuitous, we also examine the fluctuating velocities that characterize turbulence. Figure 12 presents the time-averaged, normalized u′, v′, and w′ along the zero-ordinate. Besides the self-evident validation of our results, we also made an interesting observation between the experiments and simulations.
For fluctuating velocities, unlike the instantaneous velocity u, high-fidelity simulations (DNS and proper LES-NWR) tend to agree closely with each other and only moderately with the experiments. The experimental results are somewhat scattered even among themselves. Although one can hardly judge the right and wrong, we reflect on the necessary symbiosis between experiments and numerical simulations. Since the former is the most direct portrayal of physics, one often sees it as the unwavering shrine of truth. However, for many elusive phenomena like turbulence, limitations in apparatus or simply in the number of sampling points may cause perspectives partial to the whole. With the potentials of quantum computing, so the foreseeable ubiquity of LES-NWR or even DNS in the near future, we see the CFD as the finest wingman, if not the missing puzzles, for empirical investigations in addition to experiments. The duo will elevate physical insights and engineering applications to unprecedented heights.
4 Benchmark on sampling range
The sampling range and resolution are the two independent variables in this parametric investigation of DMD sampling. Before assessing their combined effect, we establish a benchmark by parametrizing only the sampling range while keeping the sampling resolution constant and at its highest frequency. The convergence of the sampling range indicates that of the Krylov sequence, which signals minimal ensemble differences, or time-mean differences in the statistical stationary case, with data repetition [16].
4.1 Convergence and modal frequency
We quantify the sampling range by the number of cycles–an intuitive measure for this statistically stationary, oscillatory, and turbulent free shear flow. Figure 13 presents the Strouhal numbers St of the most dominant DMD modes 1–3 versus the number of oscillation cycles. Clearly, the modes exhibit different degrees of fluctuation below cycle 10. By contrast, they universally stabilize above cycle 11, tending asymptotically toward the St = 0.127, 0.121, and 0.006, for the DMD modes 1, 2, and 3, respectively. On this note, for some modes like mode 1, fluctuations are sufficiently small even after cycle 5. We point out that the mechanism portrayed by mode 1 may be vastly different from those by the others, so we try to make the best judgment on the global state à instead of over-relying on the behavior of a single mode. Overall, Fig. 13 lucidly demonstrates the convergence of the DMD with increasing sampling range up to 20 cycles, and the sudden divergence in the subsequence.
4.2 Convergence and stability
In Fig. 13, we take note of an unanticipated behavior toward the high-cycle end —the convergence deteriorates drastically and almost universally on cycle 22 and beyond. The observation contradicts the logical intuition that convergence becomes progressively better, or at least consistent, with an increasing sampling range. This divergence also disobeys the predictions of previous investigations on sampling convergence [4, 12, 13]. To this end, we eye on the growth rate to analyze the perplexity. Figure 14 displays a distinct constancy of the growth rate up to cycle 22. The infinitesimal magnitudes (< ± 10–6) also appeal to excellent modal stability. On the zoom-in sub-figure, one may note that small fluctuations begin to build up between cycles 15 to 21, but the magnitudes are well within the 10–6 tolerance therefore negligible.
What triggers the sudden, colossal (by nine orders of magnitude) divergence on cycle 22? We anticipate it is due to the loss of modal stability. To validate the notion, we examine the DMD spectrum. Figure 15 presents the DMD spectra for cycles 1, 21, 22, and 24. In a perfectly oscillatory, or marginally stable system, the modes, or the poles of the system, represent singularities where the system behaves with regularity and will lie exactly on the ℜ2 + ℑ2 = 1 unit circle. As expected, the DMD modes for cycles 1 and 21, although not perfectly oscillatory, are infinitely close to the unit circle. The corresponding radius free of poles, or the Region of Convergence (ROC), also contains the ℜ2 + ℑ2 = 1, manifesting the system’s stability. The ROC’s inclusion of the origin also indicates an acausal, or anti-causal system, which means the system depends only on future input and not the past input. This is concrete evidence of a time-invariant Koopman description. On the contrary, the modal stability experiences a clear and drastic deterioration for cycle 22. The scattered poles lie far from and on either side of ℜ2 + ℑ2 = 1. The ROC also no longer encloses the unit circle, indicating the loss of system stability. A pole also appears near the origin, shrinking the ROC down to an annulus. Therefore, the system is no longer acausal. With more encroachment of the unit circle, the stability and causality further exacerbate for cycle 24.
Despite the observations, the origin of the instability might not be straightforward. With a well-established DMD algorithm, the likelihood of numerical fault is scant. From a fluid dynamics point-of-view, the turbulence characteristics of cycles 21 and 22 cannot be vastly different, especially given the flow’s statistical stationarity. Thus, the only possibility lies in the nuances of sampling. After scrutiny, we found our grid G yields a spatial dimension (i.e., number of nodes)of n = 21,257 for the tested plane. The 24-cycle sampling range yields a temporal dimension (i.e., number of snapshots) of m = 23,400. Here, readers are reminded of one tacit and often taken-for-granted assumption of the DMD, which is m ≪ n. The temporal dimensions of cycles 21 and 22 are m21 = 20,475 and m22 = 21,450, respectively. The stability overturn takes place precisely over the range in which m transcends n, that is, between cycle 21 and 22. As such, we conclude the violation of m ≪ n results in unstable and spurious DMD decompositions. Moreover, empirical observation of this parametric test reveals that although the m ≪ n must be strictly met, the extent of m ≪ n is not as substantial as we anticipated. For engineering practices, m < n generally suffices for modal stability. The m < n condition originates from the Singular-Value Decomposition (SVD). The violation of the condition produces zero singular values or principal components, null spaces, and nontrivial cokernels. If we consider the geometric implication of the SVD, it is the transformation of a Euclidian unit sphere into a hyper-ellipse. Violation of the condition is equivalent to forcing a stretch of the sphere into an ellipse along a zero principal semiaxis. As the result, the DMD becomes ill-conditioned, and its outputs are bound to diverge.
4.3 Convergence and reconstruction
The analysis of the Strouhal number revealed the convergence with sampling range. The investigation of modal stability also disclosed the importance of meeting the m < n condition. In this section, we augment existing findings with an examination on the reconstruction accuracy.
4.3.1 Reconstruction accuracy
We quantify the reconstruction accuracy by the mean l2-norm of reconstruction error:
where xk,i is the original input data, and
is the DMD reconstructed data at node k and instant i. Figure 16 presents the reconstruction error versus time step t*. Given the increasing temporal dimension n, we conveniently divided the cycles into four groups, Groups 1, 2, 3, and 4, consisting of 1–8, 9–14, 15–20, and 21–24 cycles, respectively. Figure 16a illustrates the supreme reconstruction accuracy of Group 1, echoing with the findings in [8, 9]. The error is limited to 0.1 and has only a few singularities exceeding the threshold. Given the erratic nature of turbulence, the singularities are both expected and trivial to global performance.
On the other hand, Fig. 16b illustrates an entirely different trend. Conforming to the accuracy of Group 1 in the early stage, Group 2 universally exhibits a spike in error after ~ 7800 time-steps. Afterward, the spike immediately drops off and plateaus on an elevated level (~ 0.8). In this range, not only is the accuracy slightly compromised, the spiking phenomenon per se is transfixing.
What causes the spike? First, we note a behavioral contradiction between St and reconstruction. Recall Fig. 13b, c, the convergence of St for modes 2 and 3 begins after cycle 8, which coincides precisely with the timeline of the error spike. Before cycle 8, one would naturally assume that the fluctuations in St are due to the incomplete capture of flow mechanisms. However, the excellent reconstruction accuracy suggests the otherwise. To this end, we remark the sampling of a few cycles (Group 1) sufficiently capture all the flow dynamics, and the fluctuations in St are attributed to the DMD’s pursuit of an optimal subspace. It is to say, with a small sample, although the DMD provides a sufficiently accurate description of the system, the set of descriptors (i.e., DMD modes as Ritz pairs) are subjected to great variability. Sometimes, even the same set of descriptors are in play, it displays vastly different ranking in dominance. These observations imply the modal characteristics of the individual DMD mode are far from temporal convergence, and that \(\tilde{\user2{A}}\) is not invariant. Upon inspection of individual mode shapes, we confirmed this conclusion. So, Group 2 marks a transition stage in the algorithm’s pursuit of optimal subspace.
Expectedly, Group 3 (Fig. 16c) restores the reconstruction accuracy after the establishment of an optimal subspace. Up to Cycle 19, only occasional singularities violate the 0.1 threshold. This signifies the temporal convergence in both global dynamics and individual modal characteristics. \(\tilde{\user2{A}}\) is also invariant. By contrast, the curve of Cycle 20 begins to exhibit exponential growth after 16,000 time-steps, showing an early sign of divergence. Cycle 21 in Group 4 (Fig. 16d) confirms this notion. The exponential growth becomes apparent and signifies a rapid deterioration of the DMD representation of the fluid system. It implies the Ritz pairs, manifested as the DMD modes, cease to provide good approximations of an invariant \(\tilde{\user2{A}}\).
One may also note cycles 22–24 exhibit the same exponential growth, except shooting off in the very early stage. We attribute the deterioration to the violation of the m < n condition. Although cycle 21 sets a somewhat threshold of stability, the effect of divergence emerges as m approaches n. Before the actual violation, the behavioral change is gradual, where the reconstruction accuracy in the early stage remains intact. Upon violation, the behavioral change is bi-polar, so the DMD representation becomes spurious and entirely meaningless.
4.3.2 The convergence states
To better generalize our findings, we define the grand mean l2-norm of reconstruction error from Eq. 4.3.1.1:
The grand mean is a spatiotemporally averaged statistic that essentializes the behaviors of the reconstruction error into a single index. Figure 17 presents the grand mean error versus the number of cycles. The generalization of the convergence is lucid. We found four distinct states:
-
Stage 1, the Initialization, defines the early stage in which, by sampling only a small range of data, the algorithm captures a system’s spatiotemporal dynamics for fair reconstruction accuracy. However, the algorithm cannot find the optimal subspace nor a set of temporally stable Ritz descriptors, so the modal characteristics of individual modes are subject to great variability. The global à has also yet to reach invariance. This stage is characterized by fluctuating St and small reconstruction error.
-
Stage 2, the Transition, marks the intermediate phase in which the algorithm seeks the optimal subspace with more sampled data. Yet the tradeoff is a drastic deterioration of reconstruction accuracy. This stage is characterized by stabilizing St and elevated reconstruction error.
-
Stage 3, the Stabilization, describes the optimal state in which the algorithm fully establishes the temporal convergence of modal characteristics and reconstruction accuracy. In this stage, sufficient data yields an optimal subspace and an invariant Ã, so the output of the decomposition becomes independent from additional sampling. This stage is characterized by near-constant St and minimal reconstruction error.
-
Stage 4, the Divergence, depicts the case in which excessive sampling violates the DMD’s tacit condition m<n, so the decomposition loses stability, and the algorithm yields meaningless output. This stage is characterized by the sudden loss of integrity in both the global and mode-specific DMD characteristics.
Finally, the benchmark reveals the sampling of 15–20 oscillation cycles achieves the Stabilization state for the turbulent flow herein, which appeals to a spatial–temporal ratio of m ~ 2/3n. We also suggest the achievement of the Stabilization state for the most analytical effort on nonlinear systems, while the Initialization state suffices for most reconstruction tasks.
5 Parametrization of range and resolution
Based on the benchmark in previous section, we investigate the effect, both standalone from and combined with the sampling range, of the sampling resolution. We quantify the sampling resolution by a binary system 2SF where \({SF}\in\mathbb{Z}^0+\). In practice, the temporal dimension m dictates the upper limit of SF. The benchmark adopted the highest resolution, SF = 0, which translates to the sampling of every single snapshot. Table 4 summarizes all the tested scenarios of SF.
5.1 Convergence of resolution
We first examine the standalone effect of the sampling resolution on the Stabilization state. Figure 18 presents the Strouhal number St versus the sampling resolution of dominant modes 1–3 with 20 sampled cycles. The convergence of the sampling resolution is apparent up to SF = 8. Close inspection reveals that SF = 6 is more appropriate because the constancy of St is slightly altered thereafter for modes 1 and 2. Given the global vortex-shedding frequency is St = 0.127, mode 1 (St = 0.127) and mode 2 (St = 0.121) describe the Strouhal and Bloor-Gerrard instabilities that make up the Kármán vortex, respectively [64]. SF = 6 resolves the oscillation periods of modes 1 and 2 by using approximately 15 frames per cycle. We extend this observation to a suggestion of 15 frames per cycle for most fluid systems. Additionally, we advise users to tailor the resolution according to the dynamics of interest. For example, if one investigates the Kelvin–Helmholtz instability, SF = 6 (St = 1.945) might be insufficient given its high-frequency, so the DMD may produce unsatisfactory results [48, 65]. However, an even coarser SF = 7 (St = 0.9723) is like to be sufficient to resolve the periodic motions of separation bubbles [66].
5.2 Combined effect of range and resolution
In this last section, we examine the combined effect of the sampling range and resolution by simultaneously parametrizing the number of cycles and 2SF. Figure 19 presents the Strouhal number St after omitting the unstable range (Stage 4). For all three modes, the observations are consistent with previous findings. Cycle 8 generally marks the beginning of the St stabilization (Transition state), and SF = 6 marks the end of the resolution convergence. More importantly, the figures show that, within the convergence state, variations in range and/or resolution do not affect the DMD output. This is to say, there is no apparent interaction or nonlinear complications between the sampling range and resolution. However, one shall reckon that the convergence of both is necessary for an optimal DMD decomposition.
After all, we draw several key remarks from this bi-parametric study:
-
The convergence of the sampling range depends primarily on the global state of the system. The modal behaviors shift universally as the system transitions across the four states.
-
The convergence of the sampling resolution depends primarily on the mode-specific periodicity. The convergence of one mode does not necessarily translate to that of another.
-
For the fluid system herein, the convergence of the sampling range and resolution are mutually independent.
-
For most analytical engineering implementations of the DMD, users are advised to sample a sufficient range to reach the Stabilization state without violating the m < n condition and resolve the periodicity of target dynamics by at least 15 frames.
-
For most reconstruction tasks, the Initialization state suffices but the convergence of sampling resolution shall be maintained. The Transition and Instability state shall generally be avoided.
6 Conclusion
In this effort, we parametrically investigated the nuances of DMD sampling from an engineering point-of-view. We presented a parametric work, and, from which some practical suggestions on the sampling range and resolution for the DMD algorithm are provided. Based on high-fidelity LES-NWR data of a canonical fluid system, we found the convergence domains for both the sampling range and resolution, on which the DMD output is independent and à is invariant to the respective variables.
Specifically, we discovered four states of mode convergence: Initialization, Transition, Stabilization, and Divergence depending on the sampling range. The Stabilization is the preferred state in which the decomposition reaches full statistical and modal convergence. Meanwhile, the Initialization suffices for most system reconstruction tasks. In addition, contrary to popular beliefs, excessive sampling violates the m < n condition and produces meaningless DMD output. Finally, the convergence of the sampling range is a global transition of the system.
On the other hand, the convergence of the sampling resolution is mode-specific—the convergence of one mode does not necessarily translate to those of the others. We found an appropriate practical rule-of-thumb, which suggests that an oscillatory cycle of a target dynamical activity shall be resolved by 15 frames. Besides, we observed no apparent entanglement between the sampling range and resolution.
Finally, we must clarify that the conclusions drawn based on the model herein may not be exactly the same for its experimental counterpart, especially given the disparities in the restrictions of numerical and experimental procedures. A direction of future work can study the sensitivity of the parameters through empirical data to assess the applicability of the conclusions herein.
Availability of data and materials
The datasets generated during and/or analyzed during the current work are restricted by provisions of the funding source but are available from the corresponding author on reasonable request.
Code availability
The custom code used during and/or analyzed during the current work are restricted by provisions of the funding source.
Abbreviations
- A :
-
Infinite-dimensional Koopman operator
- \(\tilde{\user2{A}}\) :
-
Similarity-matrix approximation of A
- a e :
-
ae = 0.53. Empirical constant for \({\text{LES}}_{{{\text{IQ}}}}\)
- α ν :
-
av = 0.05. Empirical constant for \({\text{LES}}_{{{\text{IQ}}}}\)
- b :
-
Scalar Magnitude of Z-transform z = bejθ
- C D, RMS :
-
Root-mean-square deviation of Drag coefficient
- \(\left\langle {C_{D} } \right\rangle\) :
-
Mean Drag coefficient
- C L :
-
Lift coefficient
- C L, RMS :
-
Root-mean-square deviation of Lift coefficient
- C L′:
-
Fluctuating component of Lift coefficient
- C p :
-
Wall pressure coefficient
- C s :
-
Smagorinsky constant
- \({\mathcal{C}}_{s}\) :
-
Dynamic Smagorinsky coefficient
- D :
-
Side length of prism/diameter of cylinder
- D α :
-
Diagonal matrix of α
- d :
-
Distance from a cell centroid to the closest wall
- E CL′:
-
Spectrum of fluctuating Lift coefficient
- E R :
-
Portion of ETKE resolved by the filtered Navier–Stokes equations
- E TKE :
-
Spectrum of total turbulence kinetic energy
- \(\left\| e \right\|_{{\text{2,ins}}}\) :
-
Mean l2-norm of reconstruction error by DMD
- G :
-
Hexahedral grid of 4.3 million elements
- G(x):
-
Filter function in three-dimensional space
- \(G_{{\left\| e \right\|_{2} }}\) :
-
Grand mean l2-norm of reconstruction error by DMD
- f.p.c.:
-
Frames per cycle
- g j :
-
Growth rate of DMD mode ϕj
- I j :
-
I-criterion for dominant mode selection
- \({\Im }\) :
-
The imaginary space
- k all :
-
Total turbulence kinetic energy
- k num :
-
Pseudo-energy term for discretization error/numerical residual
- k r :
-
Portion of kall resolved by the filtered Navier–Stokes equations
- k sgs :
-
Portion of kall modeled by subgrid-scale model(s)
- \({\text{LES}}_{{{\text{IQ}}}}\) :
-
Index quantifying the resolution of a LES grid
- \({\mathcal{L}}_{ij}\) :
-
The Germano identity relating grid-and test-filtered stresses
- \({\mathcal{L}}_{ij}^{d}\) :
-
Deviatoric component of \({\mathcal{L}}_{ij}\)
- \({\mathcal{L}}_{ij}^{S}\) :
-
Smagorinsky model for \({\mathcal{L}}_{ij}^{d}\)
- l s :
-
Smagorinsky lengthscale
- l x :
-
Characteristic length of a boundary layer
- \(M_{ij}\) :
-
A definition for least square analysis after Lilly [1]
- m :
-
DMD temporal dimension (i.e., number of snapshots)
- N G :
-
Spatial dimension of G
- N R :
-
Spatial dimension of R
- n :
-
DMD spatial dimension (i.e., number of nodes per snapshot)
- \(\bar{p}\) :
-
Modified pressure
- R :
-
Region with refined hexahedral grid within G
- r :
-
Order of truncation
- Re:
-
Reynolds number based on D
- Rex :
-
Reynolds number based on lx
- Re:
-
The real space
- St (Stj):
-
(jth) Strouhal number. Reduced frequency
- \(\bar{S}_{{ij}}\) :
-
Filtered rate of strain
- \({\bar{\mathcal{S}}}\) :
-
Filtered characteristic rate of strain
- \({\mathcal{T}}_{{{\text{ij}}}}^{{{\text{SGS}}}}\) :
-
Test-filtered stress
- \({\mathcal{T}}_{{{\text{ij}}}}^{{{\text{sgs}}}}\) :
-
Deviatoric component of \({\mathcal{T}}_{{{\text{ij}}}}^{{{\text{SGS}}}}\)
- t*:
-
Normalized time-step for DMD sampling
- t DNS :
-
Time step of detached-Eddy simulation
- t DNS :
-
Time step of direct numerical simulation
- t washout :
-
Time step of washout
- U :
-
Matrix containing all POD modes
- u :
-
Instantaneous velocity field
- u :
-
Flow velocity in the x-direction
- \(\left\langle U \right\rangle\) :
-
Mean magnitude of flow velocity
- \(\left\langle \user2{u} \right\rangle\) :
-
Mean component of u
- U(z):
-
Z-transform of u[k]
- U ∞ :
-
Free-stream flow velocity
- u j :
-
Component of U, jth POD mode
- u[k]:
-
Arbitrary discrete signal as input of Z-transform
- \(\user2{u}^{\prime}\) :
-
Fluctuating component of u
- \({u}^{\prime}\) :
-
Fluctuating component of u
- \(\overline{{u_{i} }}\) :
-
Filtered velocity
- V :
-
Volume of computational cell
- V :
-
Matrix containing temporal information of spatial matrix U
- V and :
-
The Vandermonde matrix
- v :
-
Flow velocity in the y-direction
- v j :
-
Component of V, temporal evolution of uj
- \(v^{{\prime }}\) :
-
Fluctuating component of v
- W :
-
Matrix containing all eigenvectors of \(\tilde{\user2{A}}\)
- w :
-
Flow velocity in the z-direction
- w j :
-
Component of W, jth eigenvector of \(\tilde{\user2{A}}\)
- \(w^{{\prime }}\) :
-
Fluctuating component of w
- X 1 :
-
Input snapshot sequence spanning from 1 to m − 1
- X 2 :
-
Input snapshot sequence spanning from 2 to m
- \(x_{{{\text{DMD}}, k, i}}\) :
-
DMD reconstructed data at node k and instant i
- x i :
-
Component of X1 and X2, individual input snapshot
- \(x_{k, i}\) :
-
Original input data at node k and instant i
- x + :
-
Non-dimensional wall distance in the x-direction
- y + :
-
Non-dimensional wall distance in the y-direction
- z + :
-
Non-dimensional wall distance in the z-direction
- \({\boldsymbol{{\mathcal{Z}}}}\) :
-
Z-transformation
- α :
-
Modal amplitude, α-criterion for dominant mode selection
- α j :
-
Modal amplitude of DMD mode ϕj
- \(\Delta\) :
-
Grid-dependent filter of LES
- ∆t :
-
Time-step of LES simulation in second
- ∆t*:
-
Normalized time-step of LES simulation
- Δx min :
-
Minimum x-dimension of wall-adjacent cells
- Δy min :
-
Minimum y-dimension of wall-adjacent cells
- Δz :
-
Z-dimension of cells
- \(\tilde{\Delta }\) :
-
Secondary test filter of dynamic stress model
- \({\delta }_{\text{BL}},99\%\) :
-
Laminar boundary layer thickness at 99% of U∞
- \(\delta _{{ij}}\) :
-
The Kronecker Delta
- κ :
-
The von Kármán constant κ = 0.40
- Λ :
-
Matrix containing all eigenvalues of \(\tilde{\user2{A}}\)
- λ j :
-
Component of Λ, jth eigenvalue of \(\tilde{\user2{A}}\)
- ν :
-
Fluid molecular kinematic viscosity
- ν sgs :
-
Subgrid viscosity
- ρ :
-
Fluid density
- Σ :
-
Diagonal matrix containing all singular values of matrix U
- σ j :
-
Component of Σ, singular value (energy content) of uj
- \(\tau_{{{\text{kk}}}}^{{{\text{SGS}}}}\) :
-
Isotropic component of \(\tau_{{{\text{ij}}}}^{{{\text{SGS}}}}\)
- \(\tau_{{{\text{ij}}}}^{{{\text{SGS}}}}\) :
-
Subgrid stress
- \(\tau_{ij}^{{{\text{sgs}}}}\) :
-
Deviatoric component of \(\tau_{ij}^{{{\text{SGS}}}}\)
- \(\widetilde{{\tau_{ij}^{{{\text{SGS}}}} }}\) :
-
Test-filtered subgrid stress
- Φ :
-
Matrix containing all DMD modes
- ϕ j :
-
Component of Φ, jth DMD mode (complex shape)
- ω j :
-
Continuous-time frequency of DMD mode ϕj
- T :
-
Conjugate transposition
- \({ }^{\dag }\) :
-
Moore–Penrose pseudoinverse
- ║ ║F :
-
Frobenius normalization
- SF :
-
Binary index of sampling resolution
- Bold:
-
Vector quantity
- Normal:
-
Scalar quantity
- i , j , k , l :
-
Indicial notation for vector/tensor quantities
References
Lilly, D.K.: A proposed modification of the Germano subgrid-scale closure method. Phys. Fluids A 4(3), 633–635 (1992). https://doi.org/10.1063/1.858280
Oppenheim, A.V., Willsky, A.S., Nawab, S.H.: Signals & Systems, 2nd edn. Prentice-Hall International (1997)
Rowley, C.W., Mezic, I., Bagheri, S., Schlatter, P., Henningson, D.S.: Spectral analysis of nonlinear flows. J. Fluid Mech. 641, 115–127 (2009). https://doi.org/10.1017/S0022112009992059
Schmid, P.J.: Dynamic mode decomposition of numerical and experimental data. J. Fluid Mech. 656, 5–28 (2010). https://doi.org/10.1017/S0022112010001217
Berkooz, G., Holmes, P., Lumley, J.L.: The proper orthogonal decomposition in the analysis of turbulent flows. Annu. Rev. Fluid Mech. 25(1), 539–575 (1993). https://doi.org/10.1146/annurev.fl.25.010193.002543
Kutz, J.N., et al.: Dynamic Mode Decomposition: Data-Driven Modeling of Complex Systems, no. 4, vol. 32. Society for Industrial and Applied Mathematics, Philadelphia (2016)
Rowley, C.W., Dawson, S.T.M.M.: Model reduction for flow analysis and control. Annu. Rev. Fluid Mech. 49(1), 387–417 (2017). https://doi.org/10.1146/annurev-fluid-010816-060042
Li, C.Y., Tse, T.K.T., Hu, G.: Dynamic mode decomposition on pressure flow field analysis: flow field reconstruction, accuracy, and practical significance. J. Wind Eng. Ind. Aerodyn. 205, 104278 (2020). https://doi.org/10.1016/j.jweia.2020.104278
Li, C.Y., Tse, K.T., Hu, G.: Reconstruction of flow field around a square prism using dynamic mode decomposition. In: The 4th Hong Kong Wind Engineering Society Workshop, p. 61 (2020)
Zhou, L., Tse, K.T., Hu, G., Li, Y.: Higher order dynamic mode decomposition of wind pressures on square buildings. J. Wind Eng. Ind. Aerodyn. 211, 104545 (2021). https://doi.org/10.1016/j.jweia.2021.104545
Zhou, L., Tse, K.T., Hu, G., Li, Y.: Mode interpretation of interference effects between tall buildings in tandem and side-by-side arrangement with POD and ICA. Eng. Struct. 243, 112616 (2021). https://doi.org/10.1016/j.engstruct.2021.112616
Schütte, C., Koltai, P., Klus, S., Koltai, P., Schütte, C.: On the numerical approximation of the Perron-Frobenius and Koopman operator. J. Comput. Dyn. 3(1), 1–12 (2016). https://doi.org/10.3934/jcd.2016003
Korda, M., Mezić, I.: On convergence of extended dynamic mode decomposition to the Koopman operator. J. Nonlinear Sci. 28(2), 687–710 (2018). https://doi.org/10.1007/s00332-017-9423-0
Jardin, T., Bury, Y.: Lagrangian and spectral analysis of the forced flow past a circular cylinder using pulsed tangential jets. J. Fluid Mech. 696, 285–300 (2012). https://doi.org/10.1017/jfm.2012.35
Muld, T.W., Efraimsson, G., Henningson, D.S.: Mode decomposition on surface-mounted cube. Flow Turbul. Combust. 88(3), 279–310 (2012). https://doi.org/10.1007/s10494-011-9355-y
He, G., Wang, J., Pan, C.: Initial growth of a disturbance in a boundary layer influenced by a circular cylinder wake. J. Fluid Mech. 718, 116–130 (2013). https://doi.org/10.1017/jfm.2012.599
Tissot, G., Cordier, L., Benard, N., Noack, B.R.: Model reduction using dynamic mode decomposition. C.R. Mec. 342(6–7), 410–416 (2014). https://doi.org/10.1016/j.crme.2013.12.011
Sarmast, S., et al.: Mutual inductance instability of the tip vortices behind a wind turbine. J. Fluid Mech. 755, 705–731 (2014). https://doi.org/10.1017/jfm.2014.326
Gómez, F., et al.: On the origin of frequency sparsity in direct numerical simulations of turbulent pipe flow. Phys. Fluids 26(10), 101703 (2014). https://doi.org/10.1063/1.4900768
Wan, Z.-H., Zhou, L., Wang, B.-F., Sun, D.-J.: Dynamic mode decomposition of forced spatially developed transitional jets. Eur. J. Mech. B Fluids 51, 16–26 (2015). https://doi.org/10.1016/j.euromechflu.2014.12.001
Roy, S., Hua, J.C., Barnhill, W., Gunaratne, G.H., Gord, J.R.: Deconvolution of reacting-flow dynamics using proper orthogonal and dynamic mode decompositions. Phys. Rev. E Stat. Nonlinear, Soft Matter Phys. 91(1), 013001 (2015). https://doi.org/10.1103/PhysRevE.91.013001
Ducoin, A., Loiseau, J.-C., Robinet, J.-C.: Numerical investigation of the interaction between laminar to turbulent transition and the wake of an airfoil. Eur. J. Mech. B Fluids 57, 231–248 (2016). https://doi.org/10.1016/j.euromechflu.2016.01.005
Statnikov, V., Bolgar, I., Scharnowski, S., Meinke, M., Kähler, C.J., Schröder, W.: Analysis of characteristic wake flow modes on a generic transonic backward-facing step configuration. Eur. J. Mech. B Fluids 59, 124–134 (2016). https://doi.org/10.1016/j.euromechflu.2016.05.008
Kareem, A., Cermak, J.E.: Pressure fluctuations on a square building model in boundary-layer flows. J. Wind Eng. Ind. Aerodyn. 16(1), 17–41 (1984). https://doi.org/10.1016/0167-6105(84)90047-3
Chen, Z., Tse, K.T., Hu, G., Kwok, K.C.S.S.: Experimental and theoretical investigation of galloping of transversely inclined slender prisms. Nonlinear Dyn. 91(2), 1023–1040 (2018). https://doi.org/10.1007/s11071-017-3926-y
Chen, Z., Fu, X., Xu, Y., Li, C.Y., Kim, B., Tse, K.T.: A perspective on the aerodynamics and aeroelasticity of tapering: partial reattachment. J. Wind Eng. Ind. Aerodyn. 212, 104590 (2021). https://doi.org/10.1016/j.jweia.2021.104590
Chen, Z., Huang, H., Tse, K.T.T., Xu, Y., Li, C.Y.: Characteristics of unsteady aerodynamic forces on an aeroelastic prism: a comparative study. J. Wind Eng. Ind. Aerodyn. 205, 104325 (2020). https://doi.org/10.1016/j.jweia.2020.104325
Lander, D.C., Moore, D.M., Letchford, C.W., Amitay, M.: Scaling of square-prism shear layers. J. Fluid Mech. 849, 1096–1119 (2018). https://doi.org/10.1017/jfm.2018.443
Bai, H., Alam, M.M.: Dependence of square cylinder wake on Reynolds number. Phys. Fluids 30(1), 015102 (2018). https://doi.org/10.1063/1.4996945
Pope, S.B.: Turbulent Flows. Cambridge University Press, Cambridge (2000)
Koopman, B.O.: Hamiltonian systems and transformation in Hilbert space. Proc. Natl. Acad. Sci. 17(5), 315–318 (1931). https://doi.org/10.1073/PNAS.17.5.315
Brunton, S.L.: Notes on Koopman Operator Theory (2019)
Benjamin Erichson, N., Mathelin, L., Nathan Kutz, J., Brunton, S.L.: Randomized dynamic mode decomposition. SIAM J. Appl. Dyn. Syst. 18(4), 1867–1891 (2019). https://doi.org/10.1137/18M1215013
Dawson, S.T.M., Hemati, M.S., Williams, M.O., Rowley, C.W.: Characterizing and correcting for the effect of sensor noise in the dynamic mode decomposition. Exp. Fluids 57(3), 42 (2016). https://doi.org/10.1007/s00348-016-2127-7
Hemati, M.S., Rowley, C.W., Deem, E.A., Cattafesta, L.N.: De-biasing the dynamic mode decomposition for applied Koopman spectral analysis of noisy datasets. Theor. Comput. Fluid Dyn. 31(4), 349–368 (2017). https://doi.org/10.1007/s00162-017-0432-2
Tu, J.H., Rowley, C.W., Luchtenburg, D.M., Brunton, S.L., Kutz, J.N.: On dynamic mode decomposition: theory and applications. J. Comput. Dyn. 1(2), 391–421 (2014). https://doi.org/10.3934/jcd.2014.1.391
Kou, J., Zhang, W.: An improved criterion to select dominant modes from dynamic mode decomposition. Eur. J. Mech. B Fluids 62, 109–129 (2017). https://doi.org/10.1016/j.euromechflu.2016.11.015
Jovanović, M.R., Schmid, P.J., Nichols, J.W.: Sparsity-promoting dynamic mode decomposition. Phys. Fluids 26(2), 24103 (2014). https://doi.org/10.1063/1.4863670
Sayadi, T., Schmid, P.J., Richecoeur, F., Durox, D.: Parametrized data-driven decomposition for bifurcation analysis, with application to thermo-acoustically unstable systems. Phys. Fluids 27(3), 37102 (2015). https://doi.org/10.1063/1.4913868
Luo, X., Kareem, A.: Dynamics of random pressure fields over bluff bodies: a dynamic mode decomposition perspective (2019). https://arxiv.org/abs/1904.02245
Portela, A.F., Papadakis, G., Vassilicos, J.C.: The turbulence cascade in the near wake of a square prism. J. Fluid Mech. 825, 315–352 (2017). https://doi.org/10.1017/jfm.2017.390
Luo, S.C., Chew, Y.T., Ng, Y.T.: Characteristics of square cylinder wake transition flows. Phys. Fluids 15(9), 2549–2559 (2003). https://doi.org/10.1063/1.1596413
Luo, S.C., Tong, X.H., Khoo, B.C.: Transition phenomena in the wake of a square cylinder. J. Fluids Struct. 23(2), 227–248 (2007). https://doi.org/10.1016/j.jfluidstructs.2006.08.012
Robichaux, J., Balachandar, S., Vanka, S.P.: Three-dimensional Floquet instability of the wake of square cylinder. Phys. Fluids 11(2–3), 560–578 (1999). https://doi.org/10.1063/1.869930
Cao, Y., Tamura, T.: Numerical investigations into effects of three-dimensional wake patterns on unsteady aerodynamic characteristics of a circular cylinder at Re=1.3×105. J. Fluids Struct. 59, 351–369 (2015). https://doi.org/10.1016/j.jfluidstructs.2015.10.001
Cao, Y., Tamura, T.: Large-eddy simulations of flow past a square cylinder using structured and unstructured grids. Comput. Fluids 137, 36–54 (2016). https://doi.org/10.1016/j.compfluid.2016.07.013
Iousef, S., Montazeri, H., Blocken, B., van Wesemael, P.J.V.: On the use of non-conformal grids for economic LES of wind flow and convective heat transfer for a wall-mounted cube. Build. Environ. 119, 44–61 (2017). https://doi.org/10.1016/j.buildenv.2017.04.004
White, F.: Viscous Fluid Flow, 3rd edn. McGraw Hill (2006)
Cao, Y., Tamura, T., Kawai, H.: Spanwise resolution requirements for the simulation of high-Reynolds-number flows past a square cylinder. Comput. Fluids 196, 104320 (2020). https://doi.org/10.1016/j.compfluid.2019.104320
Menter, F.R.: Best practice: scale-resolving simulations in ANSYS CFD. ANSYS Germany GmbH (2012)
Celik, I.B., Cehreli, Z.N., Yavuz, I.: Index of resolution quality for large eddy simulations. J. Fluids Eng. Trans. ASME 127(5), 949–958 (2005). https://doi.org/10.1115/1.1990201
Davidson, L.: Large Eddy simulations: how to evaluate resolution. Int. J. Heat Fluid Flow 30(5), 1016–1025 (2009). https://doi.org/10.1016/j.ijheatfluidflow.2009.06.006
Vickery, B.J.: Fluctuating lift and drag on a long cylinder of square cross-section in a smooth and in a turbulent stream. J. Fluid Mech. 25(3), 481–494 (1966). https://doi.org/10.1017/S002211206600020X
Lee, B.E.: Some effects of turbulence scale on the mean forces on a bluff body. J. Wind Eng. Ind. Aerodyn. 1, 361–370 (1975). https://doi.org/10.1016/0167-6105(75)90030-6
Bearman, P.W., Obasaju, E.D.: An experimental study of pressure fluctuations on fixed and oscillating square-section cylinders. J. Fluid Mech. 119, 297–321 (1982). https://doi.org/10.1017/S0022112082001360
Cheng, C.M., Lu, P.C., Chen, R.H.: Wind loads on square cylinder in homogeneous turbulent flows. J. Wind Eng. Ind. Aerodyn. 41(1–3), 739–749 (1992). https://doi.org/10.1016/0167-6105(92)90490-2
McLean, I., Gartshore, I.: Spanwise correlations of pressure on a rigid square section cylinder. J. Wind Eng. Ind. Aerodyn. 41(1–3), 797–808 (1992). https://doi.org/10.1016/0167-6105(92)90498-Y
Norberg, C.: Flow around rectangular cylinders: Pressure forces and wake frequencies. J. Wind Eng. Ind. Aerodyn. 49(1), 187–196 (1993). https://doi.org/10.1016/0167-6105(93)90014-F
Luo, S.C., Yazdani, M.G., Chew, Y.T., Lee, T.S.: Effects of incidence and afterbody shape on flow past bluff cylinders. J. Wind Eng. Ind. Aerodyn. 53(3), 375–399 (1994). https://doi.org/10.1016/0167-6105(94)90092-2
Lyn, D.A., Rodi, W.: The flapping shear layer formed by flow separation from the forward corner of a square cylinder. J. Fluid Mech. 267, 353–376 (1994). https://doi.org/10.1017/S0022112094001217
Lyn, D.A., Einav, S., Rodi, W., Park, J.-H.: A laser-Doppler velocimetry study of ensemble-averaged characteristics of the turbulent near wake of a square cylinder. J. Fluid Mech. 304, 285–319 (1995). https://doi.org/10.1017/S0022112095004435
Nishimura, H.: Fundamental Study of Bluff Body Aerodynamics. Kyoto University (2001)
Nishimura, H., Taniike, Y.: Fluctuating pressures on a two-dimensional square prism. J. Struct. Constr. Eng. (Trans. AIJ) 65(533), 37–43 (2000). https://doi.org/10.3130/aijs.65.37_3
Li, C.Y., Tse, T.K.T.T., Hu, G., Zhou, L.: On some modal implications of the dynamic mode decomposition through the lens of a subcritical prism wake. Under Rev. Accessed 15 Oct 2021. https://arxiv.org/abs/2110.06570v2
Kundu, P.K.: Fluid Mechanics, 3rd edn. Elsevier Academic Press, Amsterdam (2004)
Kiya, M., Sasaki, K.: Structure of a turbulent separation bubble. J. Fluid Mech. 137, 83–113 (1983). https://doi.org/10.1017/S002211208300230X
Smagorinsky, J.: General circulation experiments with the primitive equations. Mon. Weather Rev. 91(3), 99–164 (1963). https://doi.org/10.1175/1520-0493(1963)091%3c0099:gcewtp%3e2.3.co;2
Lilly, D.K.: The representation of small-scale turbulence in numerical simulation experiments. In: Proceedings of IBM Scientijc Computing Symposium on Environmental Sciences, pp. 195–210 (1967). https://doi.org/10.5065/D62R3PMM
ANSYS FLUENT 12.0 Theory Guide. https://www.afs.enea.it/project/neptunius/docs/fluent/html/th/main_pre.htm. Accessed 26 Feb 2021.
Germano, M., Piomelli, U., Moin, P., Cabot, W.H.: A dynamic subgrid-scale eddy viscosity model. Phys. Fluids A 3(7), 1760–1765 (1991). https://doi.org/10.1063/1.857955
Acknowledgements
We give a special thanks to the IT Office of the Department of Civil and Environmental Engineering at the Hong Kong University of Science and Technology. Its support for installing, testing, and maintaining our high-performance servers is indispensable for the current project.
Funding
The work described in this paper was supported by the Research Grants Council of the Hong Kong Special Administrative Region, China (Project No. 16207719), the Fundamental Research Funds for the Central Universities of China (Project No. 2021CDJQY-001), the National Natural Science Foundation of China (Project Nos. 51908090 and 42175180), the Natural Science Foundation of Chongqing, China (Project No. cstc2019jcyj-msxmX0565 and cstc2020jcyj-msxmX0921), the Key Project of Technological Innovation and Application Development in Chongqing (Project No. cstc2019jscx-gksbX0017), and the Innovation Group Project of Southern Marine Science and Engineering Guangdong Laboratory (Project No. 311020001).
Author information
Authors and Affiliations
Contributions
All authors contributed to the study conception and design. Funding, project management, and supervision were led by TKTT and ZC and assisted by XZ. Material preparation, data collection, and formal analysis were led by CYL and ZC and assisted by AUW, YF, and XL. The first draft of the manuscript was written by CYL and all authors commented on previous versions of the manuscript. All authors read, contributed, and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Consent to participate
Informed consent was obtained from all individual participants included in the study.
Consent for publication
Publication consent was obtained from all individual participants included in the study.
Ethical approval
All procedures performed in this work were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix: Large-Eddy simulation with near-wall resolution
Appendix: Large-Eddy simulation with near-wall resolution
1.1 Large-eddy simulation
1.1.1 Governing equations
We simulated the turbulent flows by the Large-Eddy Simulation with Near-Wall Resolution. The LES-NWR does not employ any modeling in the near-wall viscous regions, hence the high accuracy. It is, however, computationally prohibitive for many high-Re flows. But for the moderate-Re subcritical regime herein, LES-NWR is feasible. In formulation, the filtered, time-dependent Navier–Stokes equations for an incompressible Newtonian fluid resolve the large-scale eddies and govern the fluid dynamics, which include the continuity equation:
and the momentum equation:
where \(\overline{{u_{i} }}\) denotes the filtered velocities; ρ denotes the fluid density; ν denotes the fluid molecular viscosity; \(\overline{p}\) denotes the modified pressure; \(\tau_{ij}^{{{\text{sgs}}}}\) denotes the deviatoric subgrid stress.
The filtered equations differ slightly from the original Navier–Stokes, insofar as the continuity equation commutes, but an additional pseudo-stress term arises in the momentum equation. Like the Reynolds stress, the subgrid stress \(\tau_{ij}^{{{\text{SGS}}}}\) originates from the nonlinear convection term. One may also decompose it into the isotropic and deviatoric parts:
While the former straightforwardly merges into the modified pressure term \(\stackrel{\mathrm{-}}{\text{p}}\), the latter instigated an entire sub-domain of mathematical modeling called the subgrid stress models.
1.1.2 Smagorinsky-Lilly model
Perhaps the most widely accepted subgrid stress model, as adopted in this work, is the Smagorinsky model [67] with the Lilly formulation [68]. The Smagorinsky model consists of two parts. First, the linear eddy-viscosity model by the Boussinesq hypothesis relates the deviatoric subgrid stress to the filtered rate of strain \(\overline{S}_{ij}\):
where the coefficient νsgs is named the subgrid viscosity. Henceforth, one may model the subgrid viscosity by the mixing-length hypothesis:
where
denotes the Smagorinsky lengthscale; \({\overline{\mathcal{S}}}\) denotes the filtered characteristic rate of strain; κ = 0.40 denotes the von Kármán constant; d denotes the distance from a cell centroid to the closest wall; Cs denotes the Smagorinsky constant; ∆ denotes the filter width. For filtering, we adopted a grid-dependent filter in the physical space, Δ = V1/3, where V denotes the cell volume. Also, ls takes in the smaller of d and ∆ to accommodate the near-wall viscous regions.
1.1.3 Dynamic-stress model
The original Lilly formulation derived a universal Smagorinsky constant Cs = 0.17, yet experiments found ‘excessive damping of large scale fluctuations in the presence of mean shear and transitional flows as near-solid boundary’ [69]. Despite efforts to find the optimal value, one shall reckon that Cs appeals to no universality and depends on the scale of fluid motions. Decades later, Germano et al. [70] and Lilly [1] developed a dynamic concept for Cs, which we have adopted herein. The dynamic-stress model imposes a second filter \({\tilde{\Delta}} = 2\Delta \) to compute the Smagorinsky constant based on the dynamics of the inter-filter eddies. The grid- and test-filtered stresses are:
One may also derive the deviatoric part as:
where \({\mathcal{C}}_{s}\) replaces Cs in the original equations and may take in negative values to accommodate backscatter—the energy transfer from the subgrid scale to the resolved scale in depiction of the inverse energy cascade.
The Germano identity [70] relates the stresses by:
Taking \({\mathcal{C}}_{s}\) as uniform, one may define:
Substituting Eq. A.1.3.4 into Eq. A.1.3.5 and combining with Eq. A.1.3.6, one obtains:
which is the Smagorinsky model for the deviatoric part of \({\mathcal{L}}_{{{\text{ij}}}}\),
At last, the dynamic coefficient \({\mathcal{C}}_{s}\) takes the minimized mean-square error that best approximates \({\mathcal{L}}_{{{\text{ij}}}}^{{\text{d}}}\) by \({\mathcal{L}}_{{{\text{ij}}}}^{{\text{S}}}\) [1]
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Li, C.Y., Chen, Z., Tse, T.K.T. et al. A parametric and feasibility study for data sampling of the dynamic mode decomposition: range, resolution, and universal convergence states. Nonlinear Dyn 107, 3683–3707 (2022). https://doi.org/10.1007/s11071-021-07167-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11071-021-07167-8