top of page

Basic 2D/3D Eulerian Particle Fluid Simulator

Along side C4D&MR, I've also experimented with RealFlow, a Fluid Simulation software by Nextlimit. This project was an opportunity for me to peek behind the scenes of such Fluid Simulation softwares and study their building blocks.

 

Unfortunately I lacked the required Mathematical and Mechanical background, so I studied it all from scratch covering PDEs, Numerical Advection Schemes, Navier-Stokes Equations, MAC Grids, Fluid Tracing Methods and Pressure Field Solvers.

I started out with the initial intent to achieve a basic understanding of how Fluid Simulation works, but because of the difficulty of finding material sources adapted for beginners such as I, and thanks to the freedom permitted by my Professor, I've decided that this project would serve more than just my needs. And so, I've put this project together as a tool for others who, like me, would like to learn the basics of CFD but lack the required background. The project consists of the entire MATLAB code along with a report document summarizing all the subjects(link to website below)

 

Code and Report Feature:
- Eulerian Specification of Fluid Flow
- 2D and 3D Static MAC Grids.
- Particle Method Fluid Tracer.
- Semi-Lagrangian Advection Scheme with Second Order Runge-Kutta Method. 
- Two Pressure Solvers.
- Volume Conservation through Diffusion.
- Velocity Extrapolation through Averaging.
- Particle Advection, Collision Detection and Correction.
- Up to 4 User-defined Emitters and Cubic Obstacles.
- MATLAB GUI.
- Export Data and Import to HOUDINI.
Website

bottom of page