Skip to content

A computational fluid dynamics (CFD) application implementing multiple fluid simulation methods for the Imcompressible Navier-Stokes equations with real-time visualization and real time analysis tools I made during holidays.

Notifications You must be signed in to change notification settings

katyushapolye/FLUID_LAB

Repository files navigation

FLUID_LAB v0.1

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.


Simulation Methods

ADI Eulerian Solver FLIP Solver SPH Solver

ADI (Eulerian) | FLIP (Hybrid Eulerian–Lagrangian) | SPH (Lagrangian)


Validation Test Cases

ADI (2D / 3D) Eulerian Solver — Gases

1. Lid-Driven Cavity Flow [1]

Lid Driven Cavity

2. Flow Past Obstacle (Wind Tunnel: Cylinder / Sphere) [2]

Flow Past Obstacle

Parameter ADI + Projection Schäfer et al. (1996)
Cl0.9981.00
Cd3.243.23
ΔP2.462.48
Strouhal Number0.2990.30

3. Backward-Facing Step [3]


FLIP (2D / 3D) & SPH (2D) — Liquid Solvers [4]

Viscous Flow

Viscous Dam Break

Turbulent Flow

Turbulent Flow Case 1 Turbulent Flow Case 2


Numerical & Computational Features

  • 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

Interface & Visualization

  • ImGUI-based control panel
  • Real-time plotting using ImPlot
  • 3D visualization with ImPlot3D
  • ParaView-compatible .vtk export

Simulation Interface


References

[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)

About

A computational fluid dynamics (CFD) application implementing multiple fluid simulation methods for the Imcompressible Navier-Stokes equations with real-time visualization and real time analysis tools I made during holidays.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published