MakarovSuites
English
EnglishDeutschРусскийУкраїнськаFrançaisEspañolItalianoPolski
Contact & licences

Physics

SPH fluid

Smoothed-particle hydrodynamics: splashes, dam breaks, a draggable obstacle.

SPH fluid — Actual application image
Actual application image

What happens

Water simulated as thousands of interacting particles: break a dam, collide two columns or drop a cube into a pool. Push the water with the left mouse button, drag the sphere through it, and tune viscosity, stiffness and gravity to change how it splashes.

Equations used in the module
Equations
ρ_i = Σ_j m_j W(r_ij,h)
a_pressure,i = −Σ_j m_j(p_i/ρ_i²+p_j/ρ_j²)∇W_ij
p = B max(0,(ρ/ρ₀)^7−1)
B = ρ₀c₀²/7

Related experiments

Back to catalogue
Pressure and flow — Actual application image

Physics

Pressure and flow

Pressure grows with depth, Pascal transmits it, Bernoulli trades it for speed: manometers, a water tower and Torricelli's jet.