Submitted:
29 September 2023
Posted:
30 September 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Implementation and Architecture
2.2. Data Sets and Image Processing
3. Results
3.1. Mean Flow Field
3.2. Instantaneous Flow Field
3.3. Computational Performance
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| PIV | Particle Image Velocimetry |
| CPU | Central Processing Unit |
| GPU | Graphical Processing Unit |
| WIDIM | Window Deformation Iterative Multigrid |
| PyPI | Python Package Index |
| DFT | Discrete Fourier Transform |
| FFTW | Fastest Fourier Transform in the West |
| LIL | LIst of Lists |
| CSR | Compressed Sparse Row |
| DNS | Direct Numerical Simulation |
| CDI | Central Difference Interrogation |
| STD | Standard-deviation |
| CI | Confidence Interval |
| MAE | Mean Absolute error |
| RMSE | Root Mean Squared Error |
| NSERC | Natural Sciences and Engineering Research Council of Canada |
Appendix A
Appendix B


References
- Adrian, R.J. Twenty years of particle image velocimetry. Experiments in Fluids 2005, 39, 159–169. [Google Scholar] [CrossRef]
- Raffel, M.; Willert, C.E.; Scarano, F.; Kähler, C.J.; Wereley, S.T.; Kompenhans, J. Particle Image Velocimetry: A Practical Guide, third ed.; 2018. [CrossRef]
- Booth-Gauthier, E.A.; Alcoser, T.A.; Yang, G.; Dahl, K.N. Force-induced changes in subnuclear movement and rheology. Biophysical journal 2012, 103, 2423–2431. [Google Scholar] [CrossRef] [PubMed]
- Sarno, L.; Carravetta, A.; Tai, Y.C.; Martino, R.; Papa, M.; Kuo, C.Y. Measuring the velocity fields of granular flows–Employment of a multi-pass two-dimensional particle image velocimetry (2D-PIV) approach. Advanced Powder Technology 2018, 29, 3107–3123. [Google Scholar] [CrossRef]
- Voorneveld, J.; Kruizinga, P.; Vos, H.J.; Gijsen, F.J.; Jebbink, E.G.; Van Der Steen, A.F.; De Jong, N.; Bosch, J.G. Native blood speckle vs ultrasound contrast agent for particle image velocimetry with ultrafast ultrasound-in vitro experiments. 2016 IEEE International Ultrasonics Symposium (IUS). IEEE, 2016, pp. 1–4. [CrossRef]
- Scarano, F.; Riethmuller, M.L. Iterative multigrid approach in PIV image processing with discrete window offset. Experiments in Fluids 1999, 26, 513–523. [Google Scholar] [CrossRef]
- Meunier, P.; Leweke, T. Analysis and treatment of errors due to high velocity gradients in particle image velocimetry. Experiments in fluids 2003, 35, 408–421. [Google Scholar] [CrossRef]
- Dallas, C.; Wu, M.; Chou, V.; Liberzon, A.; Sullivan, P.E. Graphical Processing Unit-Accelerated Open-Source Particle Image Velocimetry Software for High Performance Computing Systems. Journal of Fluids Engineering 2019, 141. [Google Scholar] [CrossRef]
- Ben-Gida, H.; Gurka, R.; Liberzon, A. OpenPIV-MATLAB–An open-source software for particle image velocimetry; test case: Birds’ aerodynamics. SoftwareX 2020, 12, 100585. [Google Scholar] [CrossRef]
- Thielicke, W.; Sonntag, R. Particle Image Velocimetry for MATLAB: Accuracy and enhanced algorithms in PIVlab. Journal of Open Research Software 2021, 9. [Google Scholar] [CrossRef]
- PIVLab. Available online: https://www.mathworks.com/matlabcentral/fileexchange/27659-pivlab-particle-image-velocimetry-piv-tool-with-gui (accessed on 15 August 2023).
- OpenPIV. Available online: http://www.openpiv.net/ (accessed on 15 August 2023).
- Fluere. Available online: https://www.softpedia.com/get/Science-CAD/Fluere.shtml (accessed on 15 August 2023).
- Fluidimage. Available online: https://pypi.org/project/fluidimage/ (accessed on 15 August 2023).
- mpiv. Available online: https://www.mathworks.com/matlabcentral/fileexchange/2411-mpiv (accessed on 15 August 2023).
- JPIV. Available online: https://eguvep.github.io/jpiv/ (accessed on 15 August 2023).
- UVMAT. Available online: http://servforge.legi.grenoble-inp.fr/projects/soft-uvmat (accessed on 15 August 2023).
- Yang, E.; Ekmekci, A.; Sullivan, P.E. Phase evolution of flow controlled by synthetic jets over NACA 0025 airfoil. Journal of Visualization 2022, 25, 751–765. [Google Scholar] [CrossRef]
- Scarano, F. Iterative image deformation methods in PIV. Measurement science and technology 2001, 13, R1. [Google Scholar] [CrossRef]
- Garcia, D. Robust smoothing of gridded data in one and higher dimensions with missing values. Computational statistics & data analysis 2010, 54, 1167–1178. [Google Scholar] [CrossRef]
- Gomersall, H. pyFFTW: python wrapper around FFTW. Astrophysics Source Code Library, record ascl:2109.009, 2021, [2109.009].
- Westerweel, J.; Scarano, F. Universal outlier detection for PIV data. Experiments in fluids 2005, 39, 1096–1100. [Google Scholar] [CrossRef]
- Perlman, E.; Burns, R.; Li, Y.; Meneveau, C. Data Exploration of Turbulence Simulations Using a Database Cluster. 2007 ACM/IEEE Conference on Supercomputing; Association for Computing Machinery: New York, NY, USA, 2007; SC ’07. [Google Scholar] [CrossRef]
- Saikrishnan, N.; Marusic, I.; Longmire, E.K. Assessment of dual plane PIV measurements in wall turbulence using DNS data. Experiments in fluids 2006, 41, 265–278. [Google Scholar] [CrossRef]















| Settings | Variable | Description | Value |
|---|---|---|---|
| Masking | mask | 2D array with non-zero values indicating the masked locations. | None |
| Data type | dtype_f1 | Type of floating-point numbers. | "float32" |
| Geometry | frame_shape | Size of the images. | (512, 1608) |
| min_search_size | Interrogation window size for the final iteration. | 8 | |
| search_size_iters | Number of iterations for each window size. | (1, 1, 2) | |
| overlap_ratio | Ratio of overlap for each window size. | 0.5 | |
| shrink_ratio2 | Ratio to shrink the search size for the first iteration. | 1 | |
| Correlation | deforming_order | Order of spline interpolation for window deformation. | 2 |
| normalize | Normalize the window intensity by subtracting the mean value. | True | |
| subpixel_method3 | Method to estimate subpixel location of the correlation peak. | "gaussian" | |
| n_fft | Size-factor for the 2D FFT. | (1, 1, 2) | |
| deforming_par4 | Ratio of the predictor used to deform each frame. | 0.5 | |
| batch_size | Batch size for calculating the cross-correlation. | 1 | |
| Validation | s2n_method5 | Method of signal-to-noise-ratio measurement. | "peak2peak" |
| s2n_size | Half size of a square around the first peak ignored for second peak. | 2 | |
| validation_size6 | Size parameter for validation kernel. | 1 | |
| s2n_tol7 | Tolerance for signal-to-noise ratio validation. | None | |
| median_tol7 | Tolerance for median validation. | 2 | |
| mad_tol7 | Tolerance for median-absolute-deviation validation. | None | |
| mean_tol7 | Tolerance for mean validation. | None | |
| rms_tol7 | Tolerance for root-mean-square validation. | None | |
| Replacement | num_replacing_iters | Number of iterations per replacement cycle. | 2 |
| replacing_method8 | Method to use for outlier replacement. | "spring" | |
| replacing_size6 | Size parameter for replacement kernel. | 1 | |
| revalidate | Revalidate the fields in between replacement iterations. | True | |
| ]Smoothing | smooth9 | Smooth the displacement fields. | True |
| smoothing_par10 | Smoothing parameter to apply to the velocity fields. | None | |
| Scaling | dt11 | Time delay separating the two images. | 1 |
| scaling_par11 | Scaling factor to apply to the velocity fields. | 1 |
| Subroutine | Percentage of relative time consumption1 | Average | ||||
|---|---|---|---|---|---|---|
| Interrogation | 0.835 | 0.833 | 0.913 | 0.898 | 0.883 | 0.872 |
| Deformation2 | 14.858 | 15.029 | 15.116 | 15.592 | 14.902 | 15.100 |
| Normalization | 1.794 | 1.665 | 1.703 | 1.673 | 1.720 | 1.711 |
| Cross-correlation | 65.611 | 65.238 | 65.493 | 64.289 | 65.493 | 65.225 |
| Peak estimation3 | 1.212 | 1.291 | 1.245 | 1.142 | 1.175 | 1.213 |
| Validation | 3.047 | 3.123 | 3.156 | 3.103 | 3.149 | 3.116 |
| Replacement | 3.754 | 3.705 | 3.736 | 3.672 | 3.695 | 3.713 |
| Smoothing | 0.707 | 0.789 | 0.746 | 0.692 | 0.713 | 0.729 |
| Method | Error | Mean | STD1 | 95% CI2 |
|---|---|---|---|---|
| ]3*Spring | u | |||
| v | ||||
| ]3*Mean | u | |||
| v | ||||
| ]3*Median | u | |||
| v | ||||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).