Skip to content

dororo-ak/visco_elastic_sph

Repository files navigation

Particle based simulation implementation - Adama KOÏTA

Three different Example of fluid behaviour with different parameters

sticky behaviour Description de l'image 2 Description de l'image 3 Description de l'image 3

Drop formation thanks to double density

sticky behaviour

Comparison of Viscous particle based viscoelastic simulation (left) and viscous SPH simulation (right)

sticky behaviour sph viscous

ImGui interface

imgui

  • To change the view angle if you are in "Add particle with mouse" mode, click on CTRL and move the mouse.
  • if you put too high parameters the simuation will explode and the program will stop. I advise to not touch too much to beta and to not change timestep dt. Do not increase too much k and k_near -If you check the simulation SPH only, make sure to have a high k.

Not block template particles checked - only 1 particle

template

Not block template particles unchecked - A template of 1024 particles

no Template

Code definition

OpenMP

if you're computer can't manage openMP, you can directly comment the line "PARALLEL_CPU_VERSION" at the top of the main code openMp

NB : Before the simulation run the Makefile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published