Advanced Computational Fluid Dynamics Ch12: 1 Overview of SPH Method
Advanced Computational Fluid Dynamics Ch12: 1 Overview of SPH Method
Ch12
where q = hr represents the normalized distance between particles, r is the particle separation, and h is the
smoothing length.
2. Density Estimation: The density (ρ) of a particle is computed by summing the contributions from its neigh-
boring particles using the kernel function:
X
ρi = mj W (|ri − rj |, h)
j
where ρi is the density of particle i, mj is the mass of particle j, ri and rj are the positions of particles i and j,
respectively, and W represents the kernel function.
3. Pressure Calculation: The pressure (P ) of a particle is obtained using an equation of state (EOS) that relates
the density to the pressure. The most commonly used EOS in SPH is the Tait equation:
P = (ρ − ρ0 ) · B
where P is the pressure, ρ is the density, ρ0 is the reference density (usually set at the rest density of the fluid),
and B is a constant related to the fluid’s bulk modulus.
4. Momentum Equation: The momentum equation describes the motion of particles and is typically derived from
the Navier-Stokes equations. In SPH, it takes the form:
!
dvi 1 X Pi Pj
= mj + 2 ∇i W (|ri − rj |, h)
dt ρi j ρ2i ρj
where dvdt represents the time derivative of the velocity of particle i, Pi and Pj are the pressures of particles i and
i
j, respectively, ∇i W denotes the gradient of the kernel function with respect to particle i, and other terms represent
the acceleration contributions from the pressure gradient.
1
One of the advantages of SPH is its ability to handle large deformations, complex geometries, and free surface flows
more easily compared to traditional grid-based methods. SPH is particularly well-suited for simulating fluid flows
with large-scale motion, such as ocean waves, dam breaks, and fluid-structure interactions.However, SPH also has
some limitations. It can struggle with accurately capturing small-scale features and turbulent flows, and it can be
computationally expensive compared to grid-based methods for certain applications.Overall, the SPH method is a
versatile and widely used numerical technique in CFD, offering advantages in simulating fluid flows with complex
dynamics and deformations.
where mi is the mass of particle i, vi is the velocity of particle i, Fij represents the contact forces between
particles i and j, and Fext denotes any external forces acting on particle i.
2. Contact Forces: The contact forces between particles can be determined based on contact mechanics principles,
such as Hertzian contact theory or linear elastic models. The normal contact force, Fnij , and the tangential contact
force, Ftij , can be expressed as:
Fnij = kn δij
n n
nij − γ vij · nij nij
t
vij
Ftij = min µ Fnij , Ftij t
vij
n
where kn is the normal stiffness, δij is the normal overlap, nij is the unit vector normal to the contact surface,
n t
γ is the damping coefficient, vij and vij are the relative velocities in the normal and tangential directions, µ is the
friction coefficient, and Fnij and Ftij represent the magnitudes of the normal and tangential forces, respectively.
3. Time Integration: The positions and velocities of the particles are updated over time using numerical integra-
tion methods, such as the Verlet algorithm or the Euler method. For example, the position update can be calculated
as:
1 + e Fnij
new old
vi = vi −
2 mi
where viold and vinew are the pre- and post-collision velocities of particle i, and e is the coefficient of restitution.