doyubkim / fluid-engine-dev

Fluid simulation engine for computer graphics applications
https://fluidenginedevelopment.org/
MIT License
1.84k stars 256 forks source link

Multiphase fluid simulations #101

Open doyubkim opened 7 years ago

doyubkim commented 7 years ago

Implement multiphase fluids including:

doyubkim commented 7 years ago

@marcelsan, let's discuss this issue and see how we can implement each solver. The references are not complete, yet. Also, please let me know if this is aligned with your original thinking.

PavelBlend commented 5 years ago

Question: Is it possible to add the following effect in the future?: https://youtu.be/5h6UAjB4Xjo

Air incompressibility. To air was the second phase. There is a code, for example: https://github.com/ryichando/shiokaze

PavelBlend commented 5 years ago

And more interested. It is possible to realize multiphase fluids, like here: https://youtu.be/TawnuP5xPo4 https://youtu.be/3yyLIG935zc?t=191

doyubkim commented 5 years ago

Two-phase fluid is planned but didn't have enough bandwidth to implement it. I do have my old personal code that implements a couple of papers mentioned above -- one of the papers is mine anyway -- but I need time to port it over. @PavelBlend if you want this feature, I can bump up the priority.

PavelBlend commented 5 years ago

Yes, I would like to see this feature. Since I use jet fluids for a blender. And for the blender there is not a single multi-phase simulator.

doyubkim commented 5 years ago

Sounds fair. The first iteration will be similar to http://research.nii.ac.jp/~rand/shiokaze-en/index.html. No particles, but with level-set only. Two-phase PIC/FLIP/APIC would come next. Not sure I want to implement multiphase SPH, but it will be the last if I do.