smoothed-particle-hydrodynamics
smoothed-particle-hydrodynamics copied to clipboard
Making Viscose-elastic sphere
Hi @Maarten-vd-Sande,
I'm very new to fluid simulation and I found your code very helpful. I'm wondering is it possible to make a viscous-elastic object with your code just by changing viscosity or other parameters. I'm going to implement two viscous-elastic spheres and merge them together like two bubbles (in 2D for the first step) something like the following video that I've done in python-blender:
https://user-images.githubusercontent.com/67892849/122868630-8b306500-d36e-11eb-8e90-80bb53337685.mp4
I would appreciate if you share me your ideas on this issue. Thanks
Hi @Hassan-math,
Thanks for your question, your animation looks nice!
About modelling spheres, I am not so sure. I did some fluid-dynamic modelling as a fun side-project, but I never got any formal training in this (I am actually a biologist). So my advice could be wrong very easily.
I happen to once have modelled cell shapes in a developing jellyfish, and something like this would be the way I would model these systems. See here for the publication (I added a video which is mildly what you want): https://www.sciencedirect.com/science/article/pii/S0012160619304130. I don't think you can use smoothed particle hydrodynamics easily for this type of modelling.
https://user-images.githubusercontent.com/15323399/123141316-8d6eee00-d458-11eb-9d05-e4062137ef57.mp4
However I don't know of a library that has implemented this (it might just exist if you are lucky), and the code I used for this publication is not easily reusable (read: very bad)....
Good luck!