In physics, the Navier Stokes equations are certain partial differential equations which describe the motion of viscous fluid substances, named after French engineer and physicist Claude-Louis Navier and Anglo-Irish physicist and mathematician George Gabriel Stokes. They were developed over several decades of progressively building the theories, from 1822 (Navier) to 1842–1850 (Stokes).
This project aims to create a fluid simulator based on a Navier Stokes equation and supported by OpenGL libraries. It was developed in 2007 by me (Roger Santos) and a friend (Thiago Baptista) when we were studying the Computer Graphics discipline at the University. During that time, we received orientation from Luciano Silva, our teacher. Recently, it was upgraded and refactored to work with VS2019 and FreeGLUT library.
- OpenGL - Cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics
- FreeGLUT - Open-source alternative to the OpenGL Utility Toolkit (GLUT) library
- Visual Studio 2019 - Integrated development environment
To get a copy up and running follow these steps.
This project requires Visual Studio 2019 to be built. Can be easily adapted to other platforms and C compilers, though.
Build and run the application. Play with context menu (right click) and keyboard UP, DOWN, LEFT, RIGHT, PAGE UP and PAGE DOWN keys.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
-
Fork the Project
-
Create your Feature Branch (
git checkout -b feature/AmazingFeature
) -
Commit your Changes (
git commit -m 'Add some AmazingFeature'
) -
Push to the Branch (
git push origin feature/AmazingFeature
) -
Open a Pull Request