Turbulence is complex. Analysis shouldn't be.

v0.8.0 alpha Python 3.10+ GPLv3 Windows ยท macOS ยท Linux .dat · .mat · .vc7

uPrime is a standalone desktop application for post-processing and turbulence analysis of velocity field data from PIV and CFD. Reads Tecplot ASCII .dat (LaVision DaVis) and MATLAB .mat files. No scripting. No setup. Just analysis.

Download v0.8.0 View on GitHub DOI Manual (PDF)
uPrime v0.8.0 GUI

NEW IN v0.8

Key Features

๐Ÿ“Š Convergence verification

Cumulative first, second, and third central moments at any picked point, with automatic N* detection. Know whether your statistics are trustworthy before you publish them.

๐Ÿ“‚ Two input formats

Reads Tecplot ASCII .dat from DaVis (one file per snapshot) and MATLAB .mat files (full time series in a single file, classic and v7.3 HDF5). Auto-detects variable names.

โšก Non-blocking computation

All heavy analysis runs in background threads. The window stays fully responsive during POD, DMD, TKE budget, and vortex identification.

๐Ÿ’พ Large dataset support

Datasets exceeding 4 GB are automatically memory-mapped to disk. Handle 10,000+ snapshots without running out of RAM.

๐ŸŽญ Non-destructive masking

Draw masks over walls, shadows, and reflections. Raw data is never modified. Toggle masks on and off instantly.

๐Ÿ” Unit auto-detection

Reads mm/m/s units directly from Tecplot .dat file headers and MATLAB variable shapes. No manual configuration needed.

๐Ÿ“„ Publication-ready export

PNG (300 DPI), PDF, and SVG with editable text. Compatible with Adobe Illustrator and Inkscape.

๐Ÿ–ฅ๏ธ Standalone executable

Windows .exe with no Python or dependencies required. macOS and Linux users run from source in three commands.

๐Ÿ“ Transform & Alignment

Correct camera misalignment, shift the coordinate origin, and mirror datasets. Built for experimental data where even a 1ยฐ tilt can corrupt turbulence statistics.

๐Ÿง  Full turbulence pipeline

Reynolds stresses, TKE budget, spectra, POD, DMD, correlations, and vortex identification, all in one environment. No MATLAB or Python required.

๐Ÿ“ Integral scales & correlation

Compute spatial and temporal correlations with automatic integral length and time scale extraction using multiple robust methods.

๐Ÿ”€ Multi-case comparison

Import previous results as CSV and overlay them on top of the current dataset. Per-case styling, manage cases, combined export.

Input Formats

Tecplot ASCII .dat (LaVision DaVis export): one file per snapshot, select multiple files to load a time series. Variable names and units auto-detected from the header. Supports 2D2C and 2D3C (stereo).

MATLAB .mat (classic v5/v7 and v7.3 HDF5): a single file containing the entire dataset. Velocity arrays in shape (Ny, Nx, N_snap); coordinates as 1D vectors or 2D meshgrid (auto-transposed if needed). Variable confirmation dialog reads metadata first, so even a 10+ GB file opens the dialog within seconds.

LaVision DaVis .vc7 / .vec (optional): read DaVis vector files natively when the lvpyio package is installed separately (pip install lvpyio). lvpyio is not bundled in the Windows executable, so this input is available when running uPrime from source; once installed, .vc7/.vec files load through the same workflow as .dat and .mat.

Analysis Modules

โœ“Mean & Convergence
โœ“Compare Cases
โœ“Reynolds Stress Analysis
โœ“TKE Budget
โœ“Space-Time Spectral Analysis
โœ“Anisotropy Invariants Stereo only
โœ“Correlation Analysis
โœ“POD Analysis
โœ“DMD Analysis TR only
โœ“Vortex Identification
โœ“Probability Analysis v0.8
โœ“Mask Editor
โœ“Coordinate Transform