Spectral decomposition based fast pressure integration algorithm (SD-FPI)
Introduction for SD_FPI code
The code could integrate a 2D or 3D pressure gradient field to get the pressure field, which is a necessary procedure for PIV-based pressure reconstruction. The code also works for integrating any other gradient fields, just replacing the input pressure gradient fields.
The returning result for this code is the least-square solution for
(∂p/∂x=f(x,y,z);
∂p/∂y=g(x,y,z);
∂p/∂z=h(x,y,z);
f(x,y,z),g(x,y,z),h(x,y,z) are input 3D scalar fields. The solving algorithm is based on the spectral decomposition, which has been reported by Wang et al. (2017). The time-cost and memory consumption for running this code are pretty low.
Reference:
Wang C, Gao Q, Wei R, Li T, Wang J (2017) Spectral decomposition‑based fast pressure integration algorithm. Exp Fluids 58:84
Wang C, Gao Q, Wei R, Li T, Wang J (2017) Weighted divergence correction scheme and its fast implementation. Exp Fluids 58:44
Cite As
Chengyue Wang (2025). Spectral decomposition based fast pressure integration algorithm (SD-FPI) (https://se.mathworks.com/matlabcentral/fileexchange/63307-spectral-decomposition-based-fast-pressure-integration-algorithm-sd-fpi), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Fluid Dynamics >
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
FastGradientIntegration/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |