InteractiveComputerGraphics / SPlisHSPlasH

SPlisHSPlasH is an open-source library for the physically-based simulation of fluids.
https://splishsplash.physics-simulation.org/
MIT License
1.56k stars 284 forks source link

Some Confusion about Multiphase Flow #69

Closed CGrapher closed 4 years ago

CGrapher commented 4 years ago

I'm sorry to trouble you. I am a doctoral candidate. Your SPH library SPlisHSPlasH is very helpful to my research. I want to express my sincere thanks to you first. Recently, I have some confusion in the study of multiphase flow based on SPH. May I ask you a few questions? letter2Dr  Bender2 Looking forward to your guidance and advice! This question has troubled me for a long time. Thank you again.

CGrapher commented 4 years ago

This is an editable file: Some Confusion about Multiphase Flow.docx

janbender commented 4 years ago

We use the multiphase formulation of Solenthaler. There you define the density as follows:

rho_i = rho_i0 \sum V_j W_ij

That means that you assume that all particles in the neighborhood of i have the rest density of particle i. If you apply that idea to all formulas, then you end up with the SPlisHSPlasH equations. You can find more about that in our SPH tutorial:

Smoothed Particle Hydrodynamics Techniques for the Physics Based Simulation of Fluids and Solids