Skip to content

This project is being performed during a course named - "Simulation in computer graphics" at Computer graphics lab of University of Freiburg

License

Notifications You must be signed in to change notification settings

Dwaipayan-R-C/SPHSimPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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.

Visualization

In this animation, we show a simple solver with 3600 particles that uses pressurer boundaries.

animated

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

Run

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

About

This project is being performed during a course named - "Simulation in computer graphics" at Computer graphics lab of University of Freiburg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published