Skip to main content
Log in

Weighted divergence correction scheme and its fast implementation

  • Research Article
  • Published:
Experiments in Fluids Aims and scope Submit manuscript

Abstract

Forcing the experimental volumetric velocity fields to satisfy mass conversation principles has been proved beneficial for improving the quality of measured data. A number of correction methods including the divergence correction scheme (DCS) have been proposed to remove divergence errors from measurement velocity fields. For tomographic particle image velocimetry (TPIV) data, the measurement uncertainty for the velocity component along the light thickness direction is typically much larger than for the other two components. Such biased measurement errors would weaken the performance of traditional correction methods. The paper proposes a variant for the existing DCS by adding weighting coefficients to the three velocity components, named as the weighting DCS (WDCS). The generalized cross validation (GCV) method is employed to choose the suitable weighting coefficients. A fast algorithm for DCS or WDCS is developed, making the correction process significantly low-cost to implement. WDCS has strong advantages when correcting velocity components with biased noise levels. Numerical tests validate the accuracy and efficiency of the fast algorithm, the effectiveness of GCV method, and the advantages of WDCS. Lastly, DCS and WDCS are employed to process experimental velocity fields from the TPIV measurement of a turbulent boundary layer. This shows that WDCS achieves a better performance than DCS in improving some flow statistics.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

References

  • Allen DM (1974) The relationship between variable selection and data agumentation and a method for prediction. Technometrics 16(1):125–127

    Article  MATH  MathSciNet  Google Scholar 

  • Azijli I, Dwight RP (2015) Solenoidal filtering of volumetric velocity measurements using gaussian process regression. Exp Fluids 56(11):1–18

    Article  Google Scholar 

  • Azijli I, Sciacchitano A, Ragni D, Palha A, Dwight RP (2016) A posteriori uncertainty quantification of PIV-based pressure data. Exp Fluids 57(5):1–15

    Article  Google Scholar 

  • Borrell G, Sillero JA, Jiménez J (2013) A code for direct numerical simulation of turbulent boundary layers at high reynolds numbers in BG/P supercomputers. Comput Fluids 80(7):37–43

    Article  MATH  Google Scholar 

  • Bruschewski M, Freudenhammer D, Buchenberg WB, Schiffer HP, Grundmann S (2016) Estimation of the measurement uncertainty in magnetic resonance velocimetry based on statistical models. Exp Fluids 57(5):1–13

    Article  Google Scholar 

  • Buckley MJ (1994) Fast computation of a discretized thin-plate smoothing spline for image data. Biometrika 81(2):247–258

    Article  MATH  MathSciNet  Google Scholar 

  • Busch J, Giese D, Wissmann L, Kozerke S (2013) Reconstruction of divergence-free velocity fields from cine 3D phase-contrast flow measurements. Magn Reson Med 69(1):200–210

    Article  Google Scholar 

  • Chong M, Perry AE, Cantwell B (1990) A general classification of three-dimensional flow fields. Physics of Fluids A: Fluid Dynamics (1989–1993) 2(5):765–777

  • Clark TH (2012) Measurement of three-dimensional coherent fluid structure in high reynolds number turbulent boundary layers. PhD thesis. Trinity hall, Cambridge

  • de Silva CM, Philip J, Marusic I (2013) Minimization of divergence error in volumetric velocity measurements and implications for turbulence statistics. Exp Fluids 54(7):1–17

    Article  Google Scholar 

  • Deriaz E, Perrier V (2006) Divergence-free and curl-free wavelets in two dimensions and three dimensions: application to turbulent flows. J Turbul 7:N3

    Article  MATH  MathSciNet  Google Scholar 

  • Elkins CJ, Alley MT (2007) Magnetic resonance velocimetry: applications of magnetic resonance imaging in the measurement of fluid motion. Exp Fluids 43(6):823–858

    Article  Google Scholar 

  • Elsinga GE, Scarano F, Wieneke B, van Oudheusden BW (2006) Tomographic particle image velocimetry. Exp Fluids 41(6):933–947

    Article  Google Scholar 

  • Garcia D (2011) A fast all-in-one method for automated post-processing of PIV data. Exp Fluids 50(5):1247–1259

    Article  Google Scholar 

  • Gladden LF, Sederman AJ (2013) Recent advances in flow MRI. J Magn Reson 229(4):2–11

    Article  Google Scholar 

  • Golub GH, Huang LC, Simon H, Tang WP (1998) A fast poisson solver for the finite difference solution of the incompressible navier-stokes equations. SIAM J Sci Comput 19(5):1606–1624

    Article  MATH  MathSciNet  Google Scholar 

  • Graham J, Lee M, Malaya N, Moser R, Eyink G, Meneveau C, Kanov K, Burns R, Szalay A (2013) Turbulent channel flow data set. http://turbulence.pha.jhu.edu/docs/README-CHANNEL.pdf

  • Hestenes MR, Stiefel E (1952) Methods of conjugate gradients for solving linear systems. J Res Natl Bur Stand 49(6):99–147

    Article  MATH  MathSciNet  Google Scholar 

  • Kim J, Moin P, Moser R (1987) Turbulence statistics in fully developed channel flow at low reynolds number. J Fluid Mech 177:133–166

    Article  MATH  Google Scholar 

  • Ko J, Kurdila AJ, Rediniotis OK (2000) Divergence-free bases and multiresolution methods for reduced-order flow modeling. AIAA J 38(12):2219–2232

    Article  Google Scholar 

  • Lee M, Malaya N, Moser RD (2013) Petascale direct numerical simulation of turbulent channel flow on up to 786k cores. In: Proceedings of the International Conference on High Performance Computing, Networking, Storage and Analysis, ACM, p 61

  • Ooi A, Martin J, Soria J, Chong M (1999) A study of the evolution and characteristics of the invariants of the velocity-gradient tensor in isotropic turbulence. J Fluid Mech 381:141–174

    Article  MATH  MathSciNet  Google Scholar 

  • Orszag SA (1971) On the elimination of aliasing in finite-difference schemes by filtering high-wavenumber components. J Atmos Sci 28(6):1074–1074

    Article  Google Scholar 

  • Schiavazzi D, Coletti F, Iaccarino G, Eaton JK (2014) A matching pursuit approach to solenoidal filtering of three-dimensional velocity measurements. J Comput Phys 263:206–221

    Article  MATH  MathSciNet  Google Scholar 

  • Schneiders J, Dwight RP, Scarano F (2013) Vortex-in-cell method for time-supersampling of PIV data. In: PIV13; 10th International Symposium on Particle Image Velocimetry, Delft, The Netherlands, July 1-3, 2013, Delft University of Technology, Faculty of Mechanical, Maritime and Materials Engineering, and Faculty of Aerospace Engineering

  • Sciacchitano A, Dwight RP, Scarano F (2012) Navier-stokes simulations in gappy PIV data. Exp Fluids 53(5):1421–1435

    Article  Google Scholar 

  • Sillero JA, Jiménez J, Moser RD (2013) One-point statistics for turbulent wall-bounded flows at reynolds numbers up to \(\delta ^+\approx 2000\). Physics of Fluids (1994-present) 25(10)

  • Simens MP, Jiménez J, Hoyas S, Mizuno Y (2009) A high-resolution code for turbulent boundary layers. J Comput Phys 228:4218–4231

    Article  MATH  Google Scholar 

  • Song SM, Napel S, Glover GH, Pelc NJ (1993) Noise reduction in three-dimensional phase-contrast MR velocity measurementsl. J Magn Reson Imaging 3(4):587–596

    Article  Google Scholar 

  • Suzuki T, Ji H, Yamamoto F (2009) Unsteady PTV velocity field past an airfoil solved with DNS: part 1. algorithm of hybrid simulation and hybrid velocity field at \({\rm Re}\approx 10^3\). Exp Fluids 47(6):957–976

    Article  Google Scholar 

  • Vennell R, Beatson R (2009) A divergence-free spatial interpolator for large sparse velocity data sets. Journal of Geophysical Research: Oceans 114(C10)

  • Wahba G (1990) Spline models for observational data, vol 59. SIAM, Philadelphia

    Book  MATH  Google Scholar 

  • Wahba G, Wold S (1975) A completely automatic french curve: fitting spline functions by cross validation. Commun Stat Theory Methods 4(1):1–17

    Article  MATH  MathSciNet  Google Scholar 

  • Wang C, Gao Q, Wang H, Wei R, Li T, Wang J (2016a) Divergence-free smoothing for volumetric PIV data. Exp Fluids 57(1):1–23

    Article  Google Scholar 

  • Wang H, Gao Q, Wei R, Wang J (2016b) Intensity-enhanced mart for tomographic PIV. Exp Fluids 57(5):1–19

    Google Scholar 

  • Wang Z, Gao Q, Wang C, Wei R, Wang J (2016c) An irrotation correction on pressure gradient and orthogonal-path integration for PIV-based pressure reconstruction. Exp Fluids 57(6):1–16. doi:10.1007/s00348-016-2189-6

    Google Scholar 

  • Westerweel J, Scarano F (2005) Universal outlier detection for PIV data. Exp Fluids 39(6):1096–1100

    Article  Google Scholar 

  • Yang G, Kilner P, Firmin D, Underwood S, Burger P, Longmore D (1993) 3D cine velocity reconstruction using the method of convex projections. Computers in Cardiology 1993. Proceedings, IEEE, pp 361–364

Download references

Acknowledgements

This work is supported by the National Natural Science Foundation of China (11327202, 11472030, 11490552) and the Fundamental Research Funds for Central Universities (YWF-16-JCTD-A-05).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Qi Gao.

Electronic Supplementary Material

Appendix

Appendix

Deriving the fast algorithm

The optimization problem for WDCS shown as Eq. 3 could be rewritten as a matrix form:

$$\left\{ \begin{aligned} \min (\mathbf{U}_{{\exp }} - & \mathbf{U}_{c} )^{\text T} \varvec{\alpha} ^{2} (\mathbf{U}_{{\exp }} - \mathbf{U}_{c} ) \\ & {\text{s.t.}}\; {\mathbf{AU}_{c} = 0} \\ \end{aligned} \right.$$
(20)

where \(\mathbf {U}_{\mathrm {exp}}\) and \(\mathbf {U}_c\) are column matrices collecting all the three components of velocities from all the spatial positions, with subscripts of ‘exp’ and ‘c’ denoting the experimental data and corrected field. \(\varvec{\alpha}\) is the corresponding weighting matrix and \(\mathbf {A}\) is the divergence operator. The specific forms for \(\varvec{\alpha }\) and \(\mathbf {A}\) are dependent on the arrangement orders of velocity elements in \(\mathbf {U}_{\mathrm {exp}}\) and \(\mathbf {U}_c\). In this work, the velocity elements are arranged by the following order: the l-th velocity component element in the spatial position (ijk) is arranged at \((i+(j-1)\times nx+(k-1)\times nx\times ny+(l-1)\times nx\times ny\times nz)\)-th position in the vector matrix \(\mathbf {U}_{\mathrm {exp}}\) or \(\mathbf {U}_c\). In this way,

$$\begin{aligned} \varvec{{\alpha }}=\begin{bmatrix} \alpha_1\mathbf{I}_{nx}& &\\ &\alpha_2\mathbf{I}_{ny}&\\ & &\alpha_3\mathbf{I}_{nz}\\ \end{bmatrix} \end{aligned}$$
(21)
$$\begin{aligned} \mathbf {A}=[\mathbf {I}_{nz}\otimes \mathbf {I}_{ny}\otimes \mathbf {d}_{nx},\mathbf {I}_{nz}\otimes \mathbf {d}_{ny}\otimes \mathbf {I}_{nx},\mathbf {d}_{nz}\otimes \mathbf {I}_{ny}\otimes \mathbf {I}_{nx}], \end{aligned}$$
(22)

with \(\mathbf {I}_{nx}\), \(\mathbf {I}_{ny}\), \(\mathbf {I}_{nz}\) denoting the identity matrices with the dimensions of nx, ny, nz, respectively. \(\otimes\) denotes the Kronecker tensor product between two matrices. \(\mathbf {d}_{nx}\), \(\mathbf {d}_{ny}\), \(\mathbf {d}_{nz}\) are derivative operators with dimensions of nx, ny, nz, respectively, which has been introduced in the article.

By introducing a Lagrange multiplier \(2\varvec{{\mu }}\), the constrained minimization problem (Eq. 20) could be transformed as the solution of a set of linear equations (Azijli and Dwight 2015) as:

$$\begin{aligned} {\left\{ \begin{array}{ll} \mathbf {AU}_c=\mathbf {0}\\ \mathbf {A}^\mathrm {T}\varvec{{\mu }}+\varvec{{\alpha }}^2\mathbf {U}_c=\varvec{{\alpha }}^2\mathbf {U}_{\mathrm {exp}} \end{array}\right. }, \end{aligned}$$
(23)

Solving \(\mathbf {U}_c\) in the second equation and replacing it in the first equation, a new set of equations are obtained as

$$\begin{aligned} {\left\{ \begin{array}{ll} \mathbf {A\varvec{{\alpha }}^{-2}A}^\mathrm {T}\varvec{{\mu }}=\mathbf {AU}_{\mathrm {exp}}\\ \mathbf {U}_c=\mathbf {U}_{\mathrm {exp}}-\varvec{{\alpha }}^{-2}\mathbf {A}^\mathrm {T}\varvec{{\mu }} \end{array}\right. }. \end{aligned}$$
(24)

The critical procedure to solve these equations is to derive the inverse of \(\mathbf {A\varvec{{\alpha }}}^{-2}\mathbf {A}^\mathrm {T}\). The specific form of \(\mathbf {A\varvec{{\alpha }}}^{-2}\mathbf {A}^\mathrm {T}\) is

$$\begin{aligned} \mathbf {A\varvec{{\alpha }}}^{-2}\mathbf {A}^\mathrm {T}=\alpha _1^{-2}\mathbf {I}_{nz}\otimes \mathbf {I}_{ny} \otimes \mathbf {d}_{nx}\mathbf {d}_{nx}^\mathrm {T}+\alpha _2^{-2}\mathbf {I}_{nz}\otimes \mathbf {d}_{ny}\mathbf {d}_{ny}^\mathrm {T}\otimes \mathbf {I}_{nx}+ \alpha _3^{-2}\mathbf {d}_{nz}\mathbf {d}_{nz}^\mathrm {T} \otimes \mathbf {I}_{ny}\otimes \mathbf {I}_{nx}. \end{aligned}$$
(25)

Considering \(\mathbf {d}_{nx}\mathbf {d}_{nx}^\mathrm {T}\), \(\mathbf {d}_{ny}\mathbf {d}_{ny}^\mathrm {T}\), \(\mathbf {d}_{nz}\mathbf {d}_{nz}^\mathrm {T}\) are all real symmetric matrices, they could be decomposed as

$$\begin{aligned} \left\{ \begin{array}{l} \mathbf {d}_{nx}\mathbf {d}_{nx}^\mathrm {T}=\mathbf {\Phi }_{nx}\mathbf {\Lambda }_{nx}\mathbf {\Phi }_{nx}^\mathrm {T}\\ \mathbf {d}_{ny}\mathbf {d}_{ny}^\mathrm {T}=\mathbf {\Phi }_{ny}\mathbf {\Lambda }_{ny}\mathbf {\Phi }_{ny}^\mathrm {T}\\ \mathbf {d}_{nz}\mathbf {d}_{nz}^\mathrm {T}=\mathbf {\Phi }_{nz}\mathbf {\Lambda }_{nz}\mathbf {\Phi }_{nz}^\mathrm {T} \end{array}\right. . \end{aligned}$$
(26)

where \(\mathbf {\Phi }_{nx}\), \(\mathbf {\Phi }_{ny}\), \(\mathbf {\Phi }_{nz}\) and \(\varvec{{\lambda }}_{nx}\), \(\varvec{{\lambda }}_{ny}\), \(\varvec{{\lambda }}_{nz}\) are the eigenvalue and eigenvector matrices of \(\mathbf {d}_{nx}\mathbf {d}_{nx}^\mathrm {T}\), \(\mathbf {d}_{ny}\mathbf {d}_{ny}^\mathrm {T}\), \(\mathbf {d}_{nz}\mathbf {d}_{nz}^\mathrm {T}\). \(\mathbf {\Phi }_{nx}\), \(\mathbf {\Phi }_{ny}\), \(\mathbf {\Phi }_{nz}\) are all orthogonal matrices, which would significantly simplify the complex inverse operation.

Employing the decomposition results of \(\mathbf {d}_{ny}\mathbf {d}_{ny}^\mathrm {T}\), \(\mathbf {d}_{nz}\mathbf {d}_{nz}^\mathrm {T}\), and considering the operation properties for the Kronecker tensor product, \(\mathbf {A\varvec{{\alpha }}}^{-2}\mathbf {A}^\mathrm {T}\) could be decomposed as

$$\begin{aligned} \mathbf {A\varvec{{\alpha }}}^{-2}\mathbf {A}^\mathrm {T}=(\mathbf {\Phi }_{nz}\otimes \mathbf {\Phi }_{ny} \otimes \mathbf {\Phi }_{nx})\mathbf {\Gamma } (\mathbf {\Phi }_{nz}\otimes \mathbf {\Phi }_{ny} \otimes \mathbf {\Phi }_{nx})^\mathrm {T}, \end{aligned}$$
(27)

where

$$\begin{aligned} \mathbf {\Gamma }=\alpha _1^{-2}\mathbf {I}_{nz}\otimes \mathbf {I}_{ny}\otimes \mathbf {\Lambda }_{nx}+\alpha _2^{-2}\mathbf {I}_{nz}\otimes \mathbf {\Lambda }_{ny}\otimes \mathbf {I}_{nx}+\alpha _3^{-2}\mathbf {\Lambda }_{nz}\otimes \mathbf {I}_{ny}\otimes \mathbf {I}_{nx}. \end{aligned}$$
(28)

The matrix \(\mathbf {\Phi }_{nz}\otimes \mathbf {\Phi }_{ny} \otimes \mathbf {\Phi }_{nx}\) is an orthogonal matrix, which facilitates the inverse operation by a simple transposing. Therefore, the Lagrange multiplier could be derived by an explicit function, as

$$\begin{aligned} \varvec{{\mu }}=(\mathbf {\Phi }_{nz}\otimes \mathbf {\Phi }_{ny} \otimes \mathbf {\Phi }_{nx})\mathbf {\Gamma }^{-1}(\mathbf {\Phi }_{nz}\otimes \mathbf {\Phi }_{ny} \otimes \mathbf {\Phi }_{nx})^\mathrm {T}\mathbf {AU}_{\mathrm {exp}}. \end{aligned}$$
(29)

The final correction velocity \(\mathbf {U}_c\) could be determined by the second equation in Eq. 24. For more application about the operation of Kronecker tensor product and similar decomposition work, the reader should refer to Buckley (1994) and Golub et al. (1998).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, C., Gao, Q., Wei, R. et al. Weighted divergence correction scheme and its fast implementation. Exp Fluids 58, 44 (2017). https://doi.org/10.1007/s00348-017-2307-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s00348-017-2307-0

Keywords

Navigation