Randomized resolvent analysis
Jean H\'elder Marques Ribeiro, Chi-An Yeh, Kunihiko Taira

TL;DR
This paper introduces a randomized numerical linear algebra method to efficiently perform resolvent analysis on high-Reynolds-number turbulent flows, reducing computational costs while capturing dominant flow features.
Contribution
It presents a novel randomized approach using sketching and low-rank approximations to accelerate resolvent analysis for complex turbulent flows.
Findings
Significant reduction in computational time and memory usage.
Accurate extraction of dominant flow response and forcing modes.
Application demonstrated on turbulent airfoil flow.
Abstract
Performing global resolvent analysis for high-Reynolds-number turbulent flow calls for the handling of a large discrete operator. Even though such large operator is required in the analysis, most applications of resolvent analysis extracts only a few dominant resolvent response and forcing modes. Here, we consider the use of randomized numerical linear algebra to reduce the dimension of the resolvent operator for achieving computational speed up and memory saving compared to the standard resolvent analysis. To accomplish this goal, we utilize sketching of the linear operator with random test matrices with a Gaussian distribution and with insights from the base flow incorporated to perform singular value decomposition on a low-rank matrix holding dominant characteristics of the full resolvent operator. The strength of the randomized resolvent analysis is demonstrated on a turbulent…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Figure 29
Figure 30
Figure 31
Figure 32
Figure 33
Figure 34
Figure 35
Figure 36| Iteratively restarted Arnoldi method (MATLAB svds) | ||||
| tolerance | time (sec) | memory | ||
| 1E-14 | 4185 | 78.6 GB | ||
| 1E-14 | 2764 | 78.6 GB | ||
| 1E-14 | 1486 | 78.6 GB | ||
| 1E-05 | 2245 | 78.6 GB | ||
| 1E-14 | 4194 | 78.6 GB | ||
| Randomized resolvent (present) | ||||
| time (sec) | memory | |||
| 354 | 28.2 GB | |||
| 462 | 28.4 GB | |||
| 615 | 28.8 GB | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Randomized resolvent analysis
Jean Hélder Marques Ribeiro
Department of Mechanical and Aerospace Engineering, University of California, Los Angeles, CA 90095, USA
Chi-An Yeh
Department of Mechanical and Aerospace Engineering, University of California, Los Angeles, CA 90095, USA
Kunihiko Taira
Department of Mechanical and Aerospace Engineering, University of California, Los Angeles, CA 90095, USA
Abstract
Performing global resolvent analysis for high-Reynolds-number turbulent flow calls for the handling of a large discrete operator. Even though such large operator is required in the analysis, most applications of resolvent analysis extracts only a few dominant resolvent response and forcing modes. Here, we consider the use of randomized numerical linear algebra to reduce the dimension of the resolvent operator for achieving computational speed up and memory saving compared to the standard resolvent analysis. To accomplish this goal, we utilize sketching of the linear operator with random test matrices with a Gaussian distribution and with insights from the base flow incorporated to perform singular value decomposition on a low-rank matrix holding dominant characteristics of the full resolvent operator. The strength of the randomized resolvent analysis is demonstrated on a turbulent separated flow over an airfoil. This randomized approach clears the path towards tackling resolvent analysis for higher-Reynolds number bi- and tri-global base flows.
Keywords
resolvent analysis, instabilities, randomized methods
Suggested keywords
I Introduction
One of the central questions in turbulence and flow control is concerned with the evolution of perturbations. Gaining detailed understanding of the perturbation dynamics in turbulent flows is a daunting task, due to the complex nonlinear dynamics that takes place over a broad range of spatial and temporal scales. To modify the global flow characteristics with control, it is necessary that the nonlinear interactions involving the actuation input (perturbation) become appropriately large to alter the base flow. For flow control, we need not track all possible ways in which the actuation input can modify the flow, but instead we can focus on the dominant directions in which the perturbation can be amplified. This notion has led to the modal analysis based approaches [1, 2, 3, 4], including the global stability analysis [5] and the resolvent analysis [6].
In the presence of sustained perturbations or forcing inputs, the linear system response can be described by the transfer function from control theory. This linear analysis is greatly simplified when the input to the system is sinusoidal and leads to the well-known Bode plots that reveal the gain and phase response of the system over a range of forcing frequencies. The transfer function that relates the system input to the output is called the resolvent and its analysis has been extended to fluid flows by Trefethen et al. [6]. The resolvent analysis is based on the pseudospectral analysis and has been used to study the transient energy growth [6] as well as the harmonic response of the system [7]. These initial studies of resolvent analysis were performed about stable laminar flows.
An extension to resolvent analysis to study turbulent flows was presented by McKeon and Sharma [8]. They considered the nonlinear advection term to be the self-sustained input within the natural feedback loop of the fluid flow. This viewpoint has enabled the use of time-averaged base flows to reveal the input-output dynamics of turbulent flows. Moreover, discounting or finite-time horizon based extension of the resolvent analysis has enabled resolvent analysis to study flows with unstable base states [9, 10]. Because resolvent analysis can determine the most amplified forcing and response directions, it serves as a powerful analytical tool to find effective active and passive flow control techniques [10, 11].
The resolvent analysis needs two key ingredients: (i) the base flow and (ii) the linearized Navier–Stokes operator. It is known that the accuracy of the base flow and the spatial discretization of the linear operators is critical for extracting response characteristics correctly [10]. The need for accurate discretization of the linearized Navier–Stokes operators calls for sufficient grid resolution and appropriate computational domain size. As such, the discrete resolvent operator becomes large with size . Here, is essentially the number of variables times the size of the grid, which can easily be upward of for turbulent flows [12]. For resolvent analysis, the singular value decomposition (SVD) needs to be performed on the large resolvent operator with a taxing operation count of . To enable resolvent analysis at high Reynolds numbers, we must find a relief to perform SVD of the resolvent operator.
Although the resolvent analysis is performed on a very large matrix, only the leading forcing and response modes are generally sought. Based on the amount of necessary matrix data used to perform the analysis, the desired output is only a very small fraction of the input data size. For this reason, it would be natural to consider that all elements of the resolvent matrix are not necessary to determine the leading resolvent modes. Within the resolvent framework, the core of the computations lies with the SVD. In order to handle a large operator for SVD to find the leading modes, we can consider subsampling the matrix of interest and perform the SVD on the low-order representation of this large matrix. Randomized numerical linear algebra has recently emerged as an effective technique to reduce a large matrix to its low-order representation [13, 14, 15], for applications including big data compression and data transfer. The key idea is to pass a randomly generated low-rank test matrix through the large matrix to obtain the so-called sketch of the full matrix. This sketch is low-rank but holds key information about the full matrix and can be used to derive appropriate bases to represent the full matrix in a low-dimensional manner [17, 16, 13, 15]. Randomized techniques can be incorporated into SVD to achieve tremendous computational and memory savings [16, 18, 13].
In recent years, modal analyses are tackling flows over complex geometries and high-Reynolds number flows with increasingly large degrees of freedom [3, 4, 19, 22, 23, 20, 21]. To further aid this endeavor, randomized SVD have been incorporated into data-based modal analysis techniques, including the proper orthogonal decomposition [18] and dynamic mode decomposition [24]. For global operator-based analyses of high-Reynolds-number flows [19, 22, 23], the leading singular values and modes can be determined with significant reduction in computational costs with the aid of randomized techniques. The randomized technique presented in this study can greatly expand the applicability of the resolvent analysis to high-Reynolds number flows with multiple inhomogeneous spatial directions.
In fact, randomized SVD has been adopted in the one-dimensional resolvent analysis of turbulent channel flow by Moarref et al. [25]. Since the details on the use of the randomized techniques for large-scale resolvent analysis is not available, one of our objectives is to provide detailed guidance on the use of randomized resolvent analysis for multi-dimensional turbulent base flows. Moreover, the error bound of randomized SVD is generally not guaranteed and needs to be further characterized. We also note that the sketching strategy can be further improved with insights from the base flow. In the present study, we aim to address these issues on the use of randomized SVD in the context of resolvent analysis for fluid flows.
In what follows, we present the randomized resolvent analysis and demonstrate its use for turbulent flow over a canonical airfoil. In section II, we introduce the randomized resolvent analyses and discuss how randomized SVD can be implemented without the explicit generation of inverse matrices. We also propose an alternative route of recovering the response modes (left singular vectors) with significantly enhanced accuracy. In section III, the present randomized technique is applied to the resolvent analysis of turbulent flow over a NACA 0012 airfoil. We assess the level of error and the convergence behavior with respect to resolvent modes and gains obtained from the use of randomized SVD. To further enhance the accuracy of randomized resolvent analysis, we introduce a physics-informed sampling technique that leverages the insights from the base flow. At last, we provide concluding remarks in section IV.
II Approach
II.1 Full resolvent analysis
Let us consider the flow state as a sum of the time-invariant base state and the statistically stationary fluctuating component . With this Reynolds decomposed flow variable and appropriate discretization, we can express the discrete Navier–Stokes equations as
[TABLE]
where is the linearized Navier–Stokes operator about the base state and collects the nonlinear terms and the external forcing inputs. We gather the nonlinear terms as external forcing in the turbulent mean flow following the perspective of McKeon and Sharma [8], Farrell and Ioannou [26], and Schmid [27]. For the traditional resolvent analysis, is chosen to be the stable laminar equilibrium state such that can be considered as the forcing input to the system with the nonlinear term neglected [7]. More recently, turbulent mean flows has been used for with representing the nonlinear terms as sustained forcing input within the natural feedback system [8].
We can consider the Fourier transform and express the relationship between and in frequency space as
[TABLE]
where is the frequency. Note that spatial Fourier transform can also be incorporated if directional homogeneity is present. For stable base flows, can be chosen to be real. To extend resolvent analysis to unstable base flows, we can consider the use of finite-time/discounted analysis [9, 10] by choosing a complex frequency , where both and are real and discounts the modal growth rate of . The input-output relationship between and can be found from (2) as
[TABLE]
where
[TABLE]
is referred to as the resolvent operator [6, 7, 8]. It serves as a transfer function that amplifies (or attenuates) the harmonic forcing input and maps it to the response . The goal of resolvent analysis is to identify the dominant directions along which can be most amplified through to form the corresponding responses in . This question is addressed by the SVD of
[TABLE]
where denotes the Hermitian of . Resolvent analysis interprets left and right singular vectors and respectively as response modes and forcing modes, with the magnitude-ranked singular values being the amplification (gain) for the corresponding forcing-response pair. For unstable base flows, it is important that a finite-time window is chosen with larger than the highest growth rate such that the resolvent analysis reveals the input-output relationship on a shorter time scale than that of the base flow instability [9, 10].
Performing the SVD of requires an theoretical operation count of . In practice, some algorithms can reduce this operation count when only a few singular values are to be recovered, while still being computationally taxing for large [28]. Such cases are encountered in high-Reynolds number flows and bi/tri-global analysis settings. However, we note that many applications of resolvent analysis call only for the dominant forcing and response modes associated with the highest gain . This is appropriate when the first gain is much larger than the rest of the gains and shows a quick roll off. Such condition is related to non-normality of linear operator , which is encountered for flows with strong shear and separation [29].
When the contributions from the higher-order modes are neglected, it is referred to as the rank-1 assumption for which the flow response from forcing is approximated as , provided that and has reasonable magnitude along . For seeking only the dominant modal insights from resolvent analysis, we discuss a remedy for performing large-scale resolvent analysis [19, 22] in a computationally tractable manner below.
II.2 Randomized resolvent analysis
For a flow that have dominant structures, we consider a low-rank representation of the resolvent operator . That is, instead of directly performing SVD of and obtaining the leading-mode representation, we seek a low-rank representation of and perform the SVD of the low-rank version of . We can consider finding an appropriate low-dimensional basis to project the large resolvent operator on a suitable subspace to derive the low-rank resolvent approximation.
The action of a full matrix on a vector should reveal some insights on which components are modified in the dominant directions. In the case of flow that can be described with the rank-1 approximation, there should be a low number of dominant directions. This very point can be taken advantage of through what is known as sketching in numerical linear algebra. Sketching refers to a procedure in which a tall and skinny test matrix (or ), where , is passed through
[TABLE]
Here, matrix is called the sketch of the input matrix [16, 13, 15]. The test matrix can be constructed using random values with Gaussian distribution [30] and be weighted by any input matrix insight, as will be discussed in section III.4 for a physics-inspired random test matrix. As the sketch holds the dominant influence of , we can consider orthonormalizing using a QR decomposition to form the orthonormal basis with upon which we can project the full matrix to derive its low-rank approximation. In this way, it is possible to approximate for a rank as long as this approximation preserves the features of the leading modes.
Given this , a low-rank approximation of can be found as [13]. We can view this as a low-rank decomposition of , where . It is this reduced matrix upon which we can perform the SVD
[TABLE]
Hence, as a low-rank approximation, we now have
[TABLE]
where we can consider . This process is the randomized SVD [13], where the sketch was used to derive . This approximation almost always satisfies , where is the oversampling parameter, which is applied to build an approximation of rank while projecting the matrix to the low-dimensional subspace with vectors. With this overall approach, the computational cost for SVD is reduced to instead of for the full SVD. In our implementation, we use from (8) and retrieve the leading singular value and left singular vector through
[TABLE]
The singular value and vector can be separated by noticing that . Applied to resolvent analysis, the last equation provides more accurate leading singular value and left singular vector compared to the original randomized SVD algorithm [13]. The same operation can be used to recover the higher-order modes, with better accuracy than using the original algorithm [13]. For applications where high-order modes and orthogonality are desired, we can solve for and compute its SVD. In the present randomized resolvent analysis, we emphasize that only the discrete linear operator is needed for sketching and to find the reduced matrix . Unlike the original resolvent method, matrix linear solvers are used to avoid calling for the inverse within the resolvent operator. The resulting algorithm constitutes the randomized resolvent analysis summarized in Algorithm 1.
To utilize the randomized SVD for resolvent analysis, we must be aware that the resolvent operator contains an inverse operation in its definition, which need not be numerically performed. We do not intend to perform an inverse operation within in the present work. In the full resolvent analysis, when the matrices become too large and the inverse can not be performed (which is likely the case for 2D and 3D problems), one can focus on modes corresponding to the smallest singular values of to find those for the largest singular values of . Similar approaches have avoided the inverse computation, including the work by Jeun et al. [19].
Both full resolvent and randomized resolvent analyses are shown schematically in figure 1. Notice that we are not interested in all singular values and vectors of , but only in a few subset of the largest and their corresponding and . In the randomized resolvent analysis, we can approximate a low-rank representation of it using . Figure 1 shows an adaptation of the procedure from Halko et al. [13] in order to compute the largest singular values of the resolvent without performing its inverse. In the randomized resolvent analysis, we solve a linear system with , the columns of the random matrix form the right-hand side and the sketch columns of are the unknowns. By doing so, we sketch without finding the actual inverse matrix. The same procedure is performed to project the matrix to the low-dimensional subspace. The matrices are re-arranged in a way that the projection is performed using , but results in the low-dimensional projection of instead. Figure 1 also illustrates the procedures for recovering the left singular vectors and the singular values from the original algorithm [13] and from the present implementation.
II.2.1 Oversampling and power iteration schemes
Randomized algorithms can incorporate two additional procedures to improve performance and accuracy. Namely, they are oversampling [31] and power or subspace iterations [18, 13, 32]. Oversampling sketches the input matrix using vectors (with extra vectors) and increases the low-dimensional subspace to accurately recover a smaller quantity of singular values . For the randomized resolvent analysis, oversampling has the same outcome, in practice, of selecting a larger and the influence of will be discussed at the end of section III.2. When becomes large, it should be noticed that the memory consumption increases. Even for large sparse matrices, the sketch matrix and the subsequently reduced matrices that are formed are generally dense, which adds a computational burden.
The second procedure is the power or subspace iterations. These methods are a powerful tool when the singular values of the matrix decay slowly. For example, this type of spectral behavior appeared in the input-output analysis performed by Jeun et al. [19] for jet flows. The method consists of performing additional iterations after the sketch is evaluated. It should however be realized that such procedure calls for additional linear solvers, which is the most time consuming operation in Algorithm 1. For power iterations, one must compute the adjoint , where is the Hermitian of , times and solve the linear system times. For subspace iterations, additional decompositions are necessary, and the number of additional linear systems to be solved will be times . In practice, small values of improves the accuracy of the results substantially. More information on the general applicability of the subspace and power iterations are discussed by Halko et al. [13] and Erichson et al. [31]. In section III.4, we present another option for improving accuracy of the overall technique in a computationally inexpensive manner by constructing a physics-informed random test matrix .
II.2.2 Test matrix
The standard choice for the test matrix is the random matrix generated with a normal distributions. Such matrix is known to present excellent performance and accuracy [15]. For some cases, especially for very large matrices or when the singular values present slow decay, larger values of may be necessary to better approximate the matrix in the low-dimensional subspace. When large values of are used, orthonormalization of the columns of the test matrix can be considered to improve numerical stability [33, 13]. The test matrix can also be generated using a Rademacher distribution [17]. It is also possible to build an ultrasparse matrix with Rademacher distribution in the non-sparse entries which allows for the control of cost, stability and reliability in the operations [15, 17].
When randomized SVD is applied, there is no a priori knowledge of the structure of the matrix. However, in the present application, we know how the resolvent operator is constructed. This theoretical insight can be used to build a random test matrix that outperforms the standard normal distribution matrix. We later propose a physics-informed test matrix that can focus our sketching operation for regions of physical importance. In our application, the dominant directions are related to regions with the presence of high shear. The results from this approach will be discussed in Section III.4.
III Randomized resolvent analysis of turbulent post-stall flow
We demonstrate the use of randomized resolvent analysis on turbulent flow over a NACA 0012 airfoil. In this example, the randomized resolvent analysis will be applied a resolvent operator of size , where , to reveal the dominant gain and modal structures with a thin sketching matrix having as little as columns. The convergence of the gain and resolvent modes will also be reported with respect to the size of the sketching matrix. Influence of the ratio between the first and the second singular values of the resolvent operator will also be examined.
III.1 Problem setup
We consider the spanwise-periodic turbulent flow over a NACA 0012 airfoil at an angle of attack of , a chord-based Reynolds number of and a free stream Mach number of . Here, is the free-stream velocity, is the chord length, is the free-stream sonic speed, and is the kinematic viscosity. The time- and spanwise-averaged turbulent flow is considered as the base flow for the full and randomized resolvent analyses. For this 2D base flow, we adopt the bi-global setting that decomposes into spanwise Fourier modes with the wavenumber .
To obtain the base flow, large-eddy simulation (LES) is performed using a finite-volume compressible flow solver CharLES [34, 35], which is second-order accurate in space and third-order accurate in time. Vremen’s sub-grid scale model [36] is utilized in the LES. The LES is performed on a C-shaped mesh with the domain extent of , and in the streamwise, transverse and spanwise direction, respectively, with the airfoil leading edge at . Dirichlet boundary condition is specified at the far-field boundary as , where is the density, , and are respectively the streamwise, transverse and spanwise velocity, and is the temperature. Over the airfoil, the no-slip adiabatic boundary condition is prescribed. Along the outlet boundary, a sponge layer [37] is applied with a running-averaged state being the target state. The simulation has been validated with respect to the time-averaged pressure, lift and drag over the airfoil. The turbulent separated flow over the airfoil is visualized in figure 2. The visualization of the instantaneous flow shows the laminar separation from the leading edge. We have found that the shear layer physics dominates the pseudospectral behavior of the linearized Navier–Stokes operator, as shear is the main source of nonnormality in the operator. Further details regarding the computational setup, flow physics, and resolvent analysis based flow control of this setup are reported in Yeh and Taira [10].
The full and randomized resolvent analyses are performed on a separate mesh from that used in the LES. This mesh has a 2D rectangular domain with the extent of and , comprising approximately million cells. Compared to the LES mesh, the mesh for resolvent analysis is coarser over the airfoil and in the wake, but is much finer in the upstream of the airfoil in order to resolve the forcing mode structures. The time- and spanwise-averaged flow obtained from LES is interpolated onto this mesh. At the far-field boundary and over the airfoil, Dirichlet conditions are set for density and velocities and Neumann condition is prescribed for pressure in . At the outlet boundary, Neumann condition is set for all flow variables. With these boundary conditions for and the base flow , we construct the linearized Navier–Stokes operator for a chosen . The size of and the resolvent operator is approximately million million.
For this large operator, we summarize in Table 1 the computational costs of performing resolvent analysis using the Krylov-based Arnoldi-iteration method with a range of parameter setups (i.e., number of singular values (), Krylov subspace dimension (), and tolerance) and compare them with those for the present randomized algorithm. The former was conducted by simply calling the svds command in MATLAB. It requires almost gigabytes of memory and takes approximately to minutes (single-core) for each SVD. The high-memory demand necessitates the use of high performance computing resource to conduct the full resolvent analysis. In contrast, the randomized resolvent approach (Algorithm 1) achieves significant reductions in computational time and memory consumption. The present method only requires a third of the memory usage of the Arnoldi-iteration and cuts down the computational time by an order of magnitude. We also note that, in Algorithm 1, the linear systems solvers are the operations with higher computational cost. Since all the three linear systems solvers are conducted for the same operator, the LU decomposition of is performed in the beginning of the algorithm and is passed through the three solvers. This decomposition becomes the main source of the memory consumption.
III.2 Results
We perform the full and randomized resolvent analyses for spanwise wavenumbers of and . Since the base flow is found to be unstable [10], the finite-time approach is adopted with to ensure that the resolvent analysis is performed on a shorter time scale than that associated with the leading growth rate of the instability. Initially, for the randomized analysis, we consider for the width of the test matrix with random Gaussian distribution. Later in Section III.4, we show that this value of can be further reduced without compromising accuracy.
The leading response and forcing modes obtained from both full and randomized analyses are compared in figure 3 for representative frequencies and spanwise wavelength . Although , we observe excellent agreement between the modes from the full resolvent analysis and the randomized algorithm. We observe that randomized forcing and response modes are very similar to full resolvent ones. Only at and we observe the appearance of spatially distributed errors in the background, which we refer to as background noise.
The forcing modes are recovered directly from the SVD of the low-dimensional subspace projection. As they are used to recover the response modes using the linear operator, the accuracy of the forcing modes affect the results of the response ones. In the particular case of and , when forcing mode is affected by noise, the randomized approach returns some structures emanating from the trailing edge in the response mode , which was not present from the full resolvent analysis. This behavior is related to leakage from high-order modes, as and are close in the energy spectrum. This remarkable level of agreement over all frequencies and spanwise wavenumbers ensures that the randomized approach presented in Algorithm 1 can help extract insights into the spatial structures to identify regions of sensitivity and guide flow control efforts.
These results were obtained using the present implementation that extends the original randomized SVD algorithm. In figure 4, using the original randomized algorithm [13] within the resolvent analysis to recover the left singular vectors and singular values, the response modes contain background noise. Here, we use Algorithm 1 up to line 5, then SVD is performed as and is recovered a posteriori using the original procedure for the randomized SVD with the resolvent analysis [13, 25], by . Yeh and Taira [10] showed that the present problem setup presents a peak in the singular values near for both spanwise wavenumbers, influenced by the eigenmodes associated with the shear-layer structure over the separation bubble. These eigenmodes are highly nonnormal and induce high-energy amplification through pseudoresonance [6]. For the frequencies in a narrow region near , both implementations present similar results. Far from this band, the response modes obtained by the original procedure [13] are contaminated by random background noise or leakage from higher-order modes, as shown in figure 4 for and and . In these critical cases, the original randomized approach may not provide meaningful insights into flow physics. The present implementation shown in Algorithm 1 improves solving for the response modes. Algorithm 1 does not enhance the forcing modes, as they are already accurate. When utilizing this technique to generate reduced-order models, one may perform steps 11 and 12 in Algorithm 1 to orthogonalize the left singular vectors. Considering the results obtained by our implementation, the modes are found very accurately for almost all frequencies and wavenumbers. To provide a concrete assessment, we quantitatively assess the accuracy of the randomized resolvent analysis.
The agreement between the full and randomized analyses with respect to the gain (leading singular value) and modes over a range of frequencies is presented in figure 5. When Algorithm 1 is applied to recover left singular vectors and singular values, the randomized analysis accurately captures the trend of gain distribution over in figure 5(a,b) for both wavenumbers. At the low and high-frequency ends, the gain shows deviations. The resemblance of the modal structure is quantified in figure 5(c,d) with the cosine similarities, i.e., the inner products, and . As singular vectors are normalized, the cosine similarity of suggests that perfect match is attained between the modes from full and randomized resolvent analyses. Since these modes are complex, the cosine similarity removes dependence on the phase difference. For almost the entire range of frequencies the cosine similarities are near unity, which means the agreement between full and randomized modes is excellent. When this value is reduced, the modes may be affected by noise, as seen for at and in figure 4. For the original approach, using the randomized SVD algorithm [13], the modes have good agreement for a narrow band of frequencies only. By comparing the results from figures 3 and 4 to the values in figure 5(c,d), we observe that the noise affects the modes when cosine similarity is below . For frequencies and wavenumbers with cosine similarity up to 0.8 or higher, there is no noise and the results for full and randomized resolvent agree well. For this reason, it is desirable to search for solutions that provide a reliable agreement up to this scale to a broad range of frequencies and both wavenumbers. With the high-gain frequency range well captured, randomized resolvent analysis has demonstrated its capability of predicting the dominant pathway for energy amplification over the spectral space with reduced computational cost.
As stated in section II.2, the use of low-rank approximation in the randomized approach is built upon the assumption of the low-rank nature of the resolvent operator. The randomized resolvent analysis shows its strength when the singular values exhibit fast decay, as evident from figure 6. The accuracy of the modal structured captured by randomized analysis is examined with respect to the ratio of the leading and second singular values, from the full resolvent analysis. The error in the modal structures exhibits a decreasing trend as this ratio increases. When this ratio is close to unity, the randomized technique may not accurately separate the first and second modes. In fact, the aforementioned trailing edge structure that appeared in the randomized response mode for and is caused by the leakage of the structures from the second response mode (see figure 3). When the ratio is above , the error decreases to for forcing modes and for response modes.
Next, we study the influence of the width of the test matrix on the error in the leading singular values and modes, as presented in figure 7. When the value of is varied from to , the error from the use of randomized analysis decreases. For three representative frequencies, we observe the same rate of convergence for both the gain and cosine similarity. As stated in section II.2, increasing has the same practical effect of oversampling, in the present application. For this flow, we observe that is sufficient to achieve sufficient accuracy with error, which is remarkably low when compared to the high dimensionality of the resolvent operator.
The computational cost of the randomized resolvent technique can be further reduced. For instance, the biconjugate gradient stabilized (BiCGStab) or the generalized minimum residual (GMRES) methods can be utilized to solve linear systems with appropriate preconditioners (e.g., incomplete LU and Jacobian).
III.3 Higher-order modes
Let us discuss the performance of the randomized technique with respect to the high-order modes. For some cases, the second largest singular value may also be spaced apart from the higher-order singular values and be determined accurately. In figure 8, we show for and a case where both the leading and second singular values are spread from the rest of the singular values. In this case, the randomized algorithms accurately capture the second modes. The flow structures at the trailing edge are perceived in the response modes. The forcing modes appear over the pressure side near the trailing edge. For the results obtained from Algorithm 1, the modes are the same for randomized resolvent and for the full resolvent. However, for the resolvent analysis using the randomized SVD algorithm [13] within the resolvent analysis, the secondary singular values are poorly captured and the modes are polluted by background noise and leakage from other modes (not shown here). For this reason, when applying randomized resolvent, the present implementation shown in Algorithm 1 must be considered as they can approximate the detached high-order modes accurately.
III.4 Choice of the test matrix
For the randomized resolvent analysis with a test matrix size of , Gaussian, orthonormal, Rademacher and ultrasparse Rademacher test matrices provide similar results and no observable difference in computational savings. By using the implementation shown in Algorithm 1, all test matrices present similar accuracy as shown in figures 5 and 6. For very low and very high numbers in the range of frequencies analyzed in this work, where the singular values decay slowly, one can increase the size or apply subspace or power iterations. However, it is possible to obtain more accurate results by constructing a random test matrix that incorporates physical insights from the base flow.
While the random test matrix is effective in yielding accurate results, we can consider constructing a test matrix that can generate the entries in a smart manner by incorporating the knowledge of the base flow. We know that regions of strong shear are important in amplifying forcing inputs. Moreover, regions with minimal velocity gradients are not that important. For these reasons, the velocity gradient at each grid point can be used to scale the test matrix. Here, we propose a physics-informed test matrix, , scaled by the 2-norm of the velocity gradient, , where is the velocity vector. We construct a scaling factor at each grid point . The scaling vector has to be stacked according to the number of variables to reach the size of the linear operator. The physics-informed test matrix then becomes
[TABLE]
The results based on the physics-informed test matrix are shown in figure 9. While the results obtained from the use of a normal distribution test matrix have shown excellent accuracy, the use of physics-informed test matrix further improves the accuracy by a few orders of magnitude for the considered frequencies and spanwise wavenumbers. More importantly, we achieve results with comparable or higher level of accuracy using a extremely low width of the test matrix of . This results in a considerable reduction in computation time (see Table 1). Using , linear systems are solved at least 30 times. Now, using , only 6 linear solvers are needed to obtain the same accuracy, which is achieved only with a physics-informed scaling of the test matrix. By combining randomized numerical linear algebra and some physical insights, we are now empowered to perform the input-output analysis for ever more complex 2D and 3D turbulent base flows on a standard computer, or on a high-performance computing cluster to expand the envelope of resolvent analysis.
IV Conclusion
Resolvent analysis has proven to be a powerful technique to reveal the input-output characteristics of fluid flows. However, the computational cost and memory allocation of the resolvent analysis can be taxing for high-Reynolds number flows, making it prohibitive to be applied to complex turbulent base flows. The major computational cost of the analysis is associated with the SVD of the resolvent operator. To remove this bottleneck, the randomized approach has been adopted to reduce the computational cost of SVD by considering the low-rank approximation of the resolvent operator. This was achieved by constructing the low-rank basis based on the insights gained from the sketch of the resolvent, which is obtained from a linear system solver. For flows with fast singular value decays, e.g., flows with strong shear and separation, the randomized resolvent analysis reveals its power to accurately capture the response and forcing modes as well as the gain. Moreover, we consider the use of the velocity gradient to scale the random test matrix. Such scaling enhanced the accuracy of the randomized resolvent analysis. The necessary computation time was significantly reduced as the number of linear systems to be solved is considerably smaller. To demonstrate the capability of the randomized resolvent analysis, we analyzed the turbulent separated flow over a NACA 0012 airfoil. Excellent agreement of the leading forcing and response modes and the gains were shown between the full and randomized resolvent methods. By incorporating the knowledge of the base flow in terms of its velocity gradient into the randomized test matrix, additional speed up and accuracy enhancement were achieved. With the computational cost and memory allocation being relieved with the randomized approach, the application of the resolvent analysis can be significantly extended to higher-Reynolds number 2D and 3D base flows.
Acknowledgments
We gratefully acknowledge the support from the Office of Naval Research (N00014-16-1-2443), Air Force Office of Scientific Research (FA9550-18-1-0040), and Army Research Office (W911NF-17-1-0118). We thank L. Mathelin, S. L. Brunton, and N. B. Erichson for the enlightening discussions. Some of the computations presented here were supported by the Department of Defense High Performance Computing Modernization Program.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Holmes et al. [2019] P. Holmes, J. L. Lumley, G. Berkooz, and C. W. Rowley, Turbulence, coherent structures, dynamical systems and symmetry , Cambridge Univ. Press 2nd ed. (2012).
- 2Schmid [2010] P. J. Schmid, Dynamic mode decomposition of numerical and experimental data, J. Fluid Mech. 656 , 5–28 (2010).
- 3Taira et al. [2017] K. Taira, S. L Brunton, S. T. M. Dawson, C. W. Rowley, T. Colonius, B. J. Mc Keon, O. T. Schmidt, S. Gordoyev, V. Theofilis, and L. S. Ukeiley, Modal analysis of fluid flows: An overview, AIAA J. 55(12) 4013–4041 (2017).
- 4Taira et al. [2019] K. Taira, M. S. Hemati, S. L Brunton, Y. Sun, K. Duraisamy, S. Bagheri, S. T. M. Dawson, and C.-A. Yeh, Modal Analysis of Fluid Flows: Applications and Outlook, AIAA J. accepted, available online (2019).
- 5Theofilis [2011] V. Theofilis, Global linear instability, Annu. Rev. Fluid Mech. 43 , 319-352 (2011).
- 6Trefethen et al. [1993] L. N. Trefethen, A. E. Trefethen, S. C. Reddy, and T. A. Driscoll, Hydrodynamic stability without eigenvalues, Science 261 578–584 (1993).
- 7Jovanović and Bamieh [2005] M. R. Jovanović and B. Bamieh, Componentwise energy amplification in channel flows, J. Fluid Mech. 534 578–584 (2005).
- 8Mc Keon and Sharma [2010] B. J. Mc Keon and A. S. Sharma, A critical-layer framework for turbulent pipe flow, J. Fluid Mech. 658 336-382 (2010).
