FPS: 0
Particles: 0
Avg Density: 0
Max Velocity: 0
🖱️ Left click: Push fluid | Right click: Add fluid | Shift+Click: Place obstacle

Simulation Parameters

Preset Configurations

Boundary Conditions

Visualization Mode

Mouse Interaction

About SPH

Smoothed Particle Hydrodynamics is a mesh-free computational method for simulating fluid dynamics.

Key Concepts:

  • Density Constraint: Particles maintain target density through pressure forces
  • Kernel Functions: Smooth interpolation weights for neighbor contributions
  • Pressure Force: Pushes particles apart when density exceeds rest density
  • Viscosity Force: Smooths velocity differences between neighbors

Constraint Theory Connection:

This simulator demonstrates how fluid dynamics can be expressed through geometric constraints on particle distributions. The density constraint ρ(x) → ρ₀ creates emergent fluid behavior.