FLUID_LAB is a computational fluid dynamics (CFD) application implementing multiple fluid simulation methods for the incompressible Navier–Stokes equations, featuring real-time visualization and real-time analysis tools.
This project was developed during holidays for research and experimentation, focusing on testing different numerical approaches and identifying their strengths and weaknesses.
The project provides three distinct fluid simulation frameworks, each suited to different physical regimes.
ADI (Eulerian) | FLIP (Hybrid Eulerian–Lagrangian) | SPH (Lagrangian)
| Parameter | ADI + Projection | Schäfer et al. (1996) |
|---|---|---|
| Cl | 0.998 | 1.00 |
| Cd | 3.24 | 3.23 |
| ΔP | 2.46 | 2.48 |
| Strouhal Number | 0.299 | 0.30 |
- OpenMP-parallelized CPU computation
- Eigen library for small linear systems and ADI solvers
- TDMA algorithm for ADI steps
- GPU acceleration using NVIDIA AMGX for large Poisson systems
- Custom MAC (Marker-and-Cell) grid with linearized memory layout
- ImGUI-based control panel
- Real-time plotting using ImPlot
- 3D visualization with ImPlot3D
- ParaView-compatible
.vtkexport
[1] Ghia, U. K. N., Ghia, K. N., Shin, C. T.
High-Re solutions for incompressible flow using the Navier–Stokes equations and a multigrid method (1982)
[2] Schäfer, M., et al.
Benchmark computations of laminar flow around a cylinder (1996)
[3] Armaly, B. F., et al.
Experimental and theoretical investigation of backward-facing step flow (1983)
[4] Nguyen-Thi, L.-Q., et al.
Influence of viscosity on dam-break flow behavior (2021)








