https://github.com/tvumcc/pde-sandbox
Interactive simulation of physics based PDEs using OpenGL compute shaders
https://github.com/tvumcc/pde-sandbox
cpp opengl pdes physics
Last synced: 2 months ago
JSON representation
Interactive simulation of physics based PDEs using OpenGL compute shaders
- Host: GitHub
- URL: https://github.com/tvumcc/pde-sandbox
- Owner: tvumcc
- Created: 2024-11-27T20:44:51.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T21:13:45.000Z (4 months ago)
- Last Synced: 2024-12-28T22:19:36.860Z (4 months ago)
- Topics: cpp, opengl, pdes, physics
- Language: C++
- Homepage:
- Size: 2.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDE Sandbox
A simple numerical solver and sandbox for some partial differential equations to learn about numerical methods for solving differential equations.
[Link to Demo Video](https://youtu.be/d68Ic7olhRg)

## Installation and Building
There is a Windows build in the Releases tab. To build the project from source, ensure that you have CMake and C++ compiler installed. Then just run the following commands:
```bash
git clone --recursive https://github.com/tvumcc/pde-sandbox.git
cd this-repo
mkdir build
cd build
cmake -G "MinGW Makefiles" .. # Replace with your generator of choice
cmake --build .
```The executable should be located in the build folder. Move the executable to the project's root directory before running the program to allow it to access the shaders and other assets.
## Atribution
* [Playlist by Aerodynamic CFD](https://www.youtube.com/playlist?list=PLcqHTXprNMINSc1n62_-SYUF963y_vYTT) - Used to learn about spatial discretization
* [VisualPDE](https://visualpde.com/) - For inspiration and presets for the Gray-Scott Reaction Diffusion Equations
* gehtsiegarnixan's [Matplotlib Color Maps for GLSL](https://www.shadertoy.com/view/Nd3fR2)