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 Vi,iP(Ω) . 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
dridt=vi
(1102)

The volume of each point is given by:

2. EQUATION_DISPLAY
dVidt=Vivi=0

(1103)
Continuity Equation
The conservation of mass for point i is is given by:
3. EQUATION_DISPLAY
dViρidt=dmidt=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 mi is given by:

4. EQUATION_DISPLAY
midvidt+Vi(piI)ViTi=Vifb,i

(1105)

SPH Continuous Approximation

A continuous arbitrary scalar field ϕ can be evaluated by:
5. EQUATION_DISPLAY
ϕ(r)=Ωϕ(r)δ(rr)dr
(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 ΠcR of the scalar field ϕ is given by:

6. EQUATION_DISPLAY
ΠcR(ϕ)(r)=Ωϕ(r)W(rr,R)dr
(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(R2) .

The derivative for the SPH continuous approximation is calculated as:

7. EQUATION_DISPLAY
ΠcR(ϕ)(r)=ΠcR(ϕ)(r)=Ωϕ(r)rW(rr,R)dr
(1108)

SPH Discrete Approximation

The SPH discrete approximation ΠcR of the scalar field ϕ is computed from a Riemann summation over the particles:
8. EQUATION_DISPLAY
ΠdR(ϕ)(r)=jP(Ω)Vjϕ(rj)W(rrj,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
ΠdR*(ϕ)(rj)=jP(Ω)VjϕjW(rrj,Rj)jP(Ω)VjW(rrj,Rj)
(1110)
The derivative for the SPH discrete approximation is calculated as:
10. EQUATION_DISPLAY
ΠdR(ϕ)(r)=jP(Ω)Vjϕ(rj)W(rrj,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
Gi+(ϕ)(ri)=jP(Ω)Vj(ϕ(rj)+ϕ(ri))W(rirj,Ri)
(1112)
12. EQUATION_DISPLAY
Di(Φ)(ri)=jP(Ω)Vj(Φ(rj)Φ(ri))W(rirj,Ri)
(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
Gi+(ϕ)=jVj(ϕj+ϕi)Wij
(1114)
14. EQUATION_DISPLAY
Di(Φ)=jVj(ΦjΦi)Wij
(1115)
where Wij=W(rirj,Ri) .
The discrete Laplacian LiMorris of the scalar field ϕ , [270], is given as:
15. EQUATION_DISPLAY
LiMorris(ϕ)=jVj2(ϕiϕj)rirjrirj2Wij
(1116)