Math 2.0

Fluid mechanics Definition

Smoothed-particle hydrodynamics

Builds on Computational fluid dynamicsEuler equationsKernel density estimation

Definition

Let W ⁣:ℝd×(0,∞)→[0,∞)W \colon \R^d \times (0, \infty) \to [0, \infty) be a smoothing kernel, that is, a smooth function W(x,h)W(x, h) that is radial in xx. It satisfies ∫ℝdW(x,h) dx=1\int_{\R^d} W(x, h) \, dx = 1 for every h>0h > 0, and it tends to the Dirac delta as h→0h \to 0. Smoothed-particle hydrodynamics (SPH) approximates a fluid by NN particles with masses mam_a, positions xa(t)x_a(t) and velocities 𝐯a(t)\mathbf{v}_a(t), for a=1,…,Na = 1, \dots, N, as follows.

  1. A field AA is approximated by A(x)≈∑bmbρbAb W(x−xb,h)A(x) \approx \sum_b \frac{m_b}{\rho_b} A_b \, W(x - x_b, h), where AbA_b and ρb\rho_b are the values at particle bb.
  2. The density at particle aa is ρa=∑bmb W(xa−xb,h)\rho_a = \sum_b m_b \, W(x_a - x_b, h).
  3. The particles move with the flow, x˙a=𝐯a\dot{x}_a = \mathbf{v}_a, and, for the Euler equations of a barotropic fluid with pressure pa=P(ρa)p_a = P(\rho_a), their accelerations are 𝐯˙a=−∑bmb(paρa2+pbρb2)∇aW(xa−xb,h).\dot{\mathbf{v}}_a = -\sum_b m_b \left( \frac{p_a}{\rho_a^2} + \frac{p_b}{\rho_b^2} \right) \nabla_a W(x_a - x_b, h).

Remarks

Clause 2 is clause 1 for A=ρA = \rho; it is the same formula as a kernel density estimate in statistics, with weights mbm_b. Since WW is radial, ∇aW(xa−xb,h)=−∇bW(xb−xa,h)\nabla_a W(x_a - x_b, h) = -\nabla_b W(x_b - x_a, h), so the force of bb on aa is opposite to the force of aa on bb, and the total momentum ∑ama𝐯a\sum_a m_a \mathbf{v}_a is conserved exactly. Example: a common kernel is the Gaussian W(x,h)=(πh2)−d/2e−∣x∣2/h2W(x, h) = (\pi h^2)^{-d/2} e^{-\abs{x}^2 / h^2}, whose integral is 11. With particles of mass m=ρ0δm = \rho_0 \delta on a one-dimensional lattice of spacing δ\delta much smaller than hh, clause 2 gives ρa≈ρ0∫W dx=ρ0\rho_a \approx \rho_0 \int W \, dx = \rho_0, as it should for a uniform fluid. Non-example: a finite volume scheme on a fixed grid is not SPH, since its unknowns are cell averages, not moving particles. In practice, kernels with compact support, such as cubic splines, are used so that each particle interacts with few neighbours.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Computational fluid dynamics concept
  2. Euler equations concept
  3. Kernel density estimation concept
  4. Smoothed-particle hydrodynamics definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Smoothed-particle_hydrodynamics
About this page
TagBMB3DSS582
URIm2://BMB3DSS582
Kinddefinition
WritingW0 stub
MSC76M28, 65M75
DefinesSmoothed-particle hydrodynamics
UsesComputational fluid dynamics, Euler equations, Kernel density estimation
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.