A sophisticated 3-dimensional fluid simulation developed in C to model real-time flow dynamics using the Navier-Stokes equations. This project demonstrates advanced numerical methods and high-performance computing techniques.
Key Achievements
- • Implemented numerical solvers for advection and diffusion
- • Created realistic fluid motion simulation
- • Built scalable cloud backend using AWS and Modal
- • Developed interactive web-based visualization
- Live Demofluid-sim-frontend.vercel.app
- PlatformWeb (Cross-platform)
- BackendAWS, Modal
- FrontendVercel
- StackC, Numerical Methods, Data Visualization, WebGL
Technical Details
The simulation solves the incompressible Navier-Stokes equations using a semi-Lagrangian advection scheme combined with a pressure projection method. The implementation focuses on stability and visual accuracy while maintaining real-time performance.
The backend infrastructure leverages AWS for compute resources and Modal for serverless GPU acceleration, enabling complex simulations to run efficiently in the cloud. The frontend provides an interactive interface where users can manipulate fluid parameters and observe the resulting dynamics in real-time.
Mathematical Foundation
The project implements core fluid dynamics equations including:
- • Momentum equation (velocity field evolution)
- • Continuity equation (mass conservation)
- • Pressure Poisson equation
- • Viscous diffusion terms