This project is developed for a course named - "Simulation in computer graphics" at University of Freiburg. This skeleton uses CMake and automatically downloads Eigen3 and Googletest.
To accomplish this course successfully, I cordially thank Computer graphics department to guide through the process. Also we use Ovito to visualize our atoms and use Numpy, Matplotlib for plots.
In this animation, we show a simple solver with 3600 particles that uses pressurer boundaries.
This figure shows the snapshots of a SPH simulation of 400 particles. The stiffness constant is set to K = 30000, viscosity coefficient of ν = 18 and timestep Δt = 0.005 seconds
This figure shows the snapshots of a SPH simulation of 1 million particles. The stiffness constant is set to K = 20000, viscosity coefficient of ν = 8 and timestep Δt = 0.005 seconds
To run the project, navigate to the source code and create this directory,
mkdir build # Create a build folder
cd build # inside that folder
cmake .. # configure the cmake filer
make # build the project
./myproject # run the make file
tests/myproject_tests