SPH Discretization

In SPH, the liquid is discretized as a collection of particles. The physical properties of the particles are computed by taking into account the contributions from neighboring particles. The influence of particles on each other within a specified radius is defined by the use of a kernel function.

Points Equations

The solution domain Ω , that is, the SPH liquid phase is subdivided into a set of points, forming a partition P ( Ω ) . Each point i in the partition has an associated volume V i , i P ( Ω ) . The sum of these volumes is equal to the volume of the solution domain.

The position of each point is calculated as:
1. EQUATION_DISPLAY
d r i d t = v i
(1102)

The volume of each point is given by:

2. EQUATION_DISPLAY
d V i d t = V i v i = 0

(1103)
Continuity Equation
The conservation of mass for point i is is given by:
3. EQUATION_DISPLAY
d V i ρ i d t = d m i d t = 0

(1104)
Since each point maintains a constant mass over time, these points can be identified and referred to as particles.
Momentum Equation

The conservation of momentum equation for an SPH particle of mass m i is given by:

4. EQUATION_DISPLAY
m i d v i d t + V i ( p i I ) V i T i = V i f b , i

(1105)

SPH Continuous Approximation

A continuous arbitrary scalar field ϕ can be evaluated by:
5. EQUATION_DISPLAY
ϕ ( r ) = Ω ϕ ( r ) δ ( r r ) d r
(1106)
where:
  • ϕ ( r ) are values of the scalar field at neighboring points r .
  • δ is the Dirac distribution.
  • Ω represents the solution domain.

The continuous SPH approximation Π c R of the scalar field ϕ is given by:

6. EQUATION_DISPLAY
Π c R ( ϕ ) ( r ) = Ω ϕ ( r ) W ( r r , R ) d r
(1107)

where W is the isotropic kernel function with a smoothing radius R . The integral of W over the solution domain is equal to 1. The order of this approximation is O ( R 2 ) .

The derivative for the SPH continuous approximation is calculated as:

7. EQUATION_DISPLAY
Π c R ( ϕ ) ( r ) = Π c R ( ϕ ) ( r ) = Ω ϕ ( r ) r W ( r r , R ) d r
(1108)

SPH Discrete Approximation

The SPH discrete approximation Π c R of the scalar field ϕ is computed from a Riemann summation over the particles:
8. EQUATION_DISPLAY
Π d R ( ϕ ) ( r ) = j P ( Ω ) V j ϕ ( r j ) W ( r r j , R )
(1109)
A normalized (Shepard) approximation is used for post-processing. The interpolation of the field ϕ at position r in the neighborhood Ω is computed as:
9. EQUATION_DISPLAY
Π d R * ( ϕ ) ( r j ) = j P ( Ω ) V j ϕ j W ( r r j , R j ) j P ( Ω ) V j W ( r r j , R j )
(1110)
The derivative for the SPH discrete approximation is calculated as:
10. EQUATION_DISPLAY
Π d R ( ϕ ) ( r ) = j P ( Ω ) V j ϕ ( r j ) W ( r r j , R )
(1111)
To aid with convergence and mass conservation, modified derivation operators are introduced. For example, the gradient G + of the scalar field ϕ and the divergence D of the vector field Φ are given as:
11. EQUATION_DISPLAY
G i + ( ϕ ) ( r i ) = j P ( Ω ) V j ( ϕ ( r j ) + ϕ ( r i ) ) W ( r i r j , R i )
(1112)
12. EQUATION_DISPLAY
D i ( Φ ) ( r i ) = j P ( Ω ) V j ( Φ ( r j ) Φ ( r i ) ) W ( r i r j , R i )
(1113)

The summation is carried out over all particles, j that surround particle i . In general SPH notations, these are simplified as:

13. EQUATION_DISPLAY
G i + ( ϕ ) = j V j ( ϕ j + ϕ i ) W i j
(1114)
14. EQUATION_DISPLAY
D i ( Φ ) = j V j ( Φ j Φ i ) W i j
(1115)
where W i j = W ( r i r j , R i ) .
The discrete Laplacian L i M o r r i s of the scalar field ϕ , [270], is given as:
15. EQUATION_DISPLAY
L i M o r r i s ( ϕ ) = j V j 2 ( ϕ i ϕ j ) r i r j r i r j 2 W i j
(1116)