The SPH flow solver solves the integral conservation equations of mass and
momentum in a sequential manner. The solver uses a pressure-correction method for the
pressure prediction.
The pressure-correction
equation is constructed from the continuity equation and the momentum equations such
that a predicted velocity field is sought that fulfills the continuity equation, which
is achieved by correcting the pressure. This method is also called a predictor-corrector
approach. Pressure as a variable is obtained from the pressure-correction equation.
Prediction Step
At the
prediction step, an intermediate particle position is computed from:
(1117)
where is the time-step, is the particle position at the current time-step, and
is the velocity at the current time-step.
For the explicit time, the
intermediate velocity is computed from:
(1118)
And for the implicit time
integration:
(1119)
The linear
system can be solved using the Biconjugate Gradient Stabilized (BICGSTAB) method,
the Conjugate Gradient (CG) method, or the Generalized Minimal Residual (GMRES)
method. In terms of efficiency, BICGSTAB is generally the preferred method.
Free Surface Stabilization
The solver provides free
surface stabilization for particles near the free surface. This
stabilization introduces an additional dissipation term to the moment
equation. A user-specified free surface stabilization factor can be applied
to modify the magnitude of the dissipation term. Small values of the free
surface stabilization factor can result in a highly dispersed free surface.
Therefore, it is essential to identify a stabilization factor value that
maintains the stability of the free surface.
Projection Step
To compute
the pressure correction , the pressure-correction equation is
solved:
(1120)
The linear system can be solved using the Biconjugate
Gradient Stabilized (BICGSTAB) method, the Jacobi method, or the Generalized Minimal
Residual (GMRES) method. In terms of efficiency, BICGSTAB is generally the preferred
method.
The velocity
is obtained from the corrected intermediate
velocity: