Popis: |
In the field of graphics, to maintain the incompressibility of volume, most of smoothed particle hydrodynamics (SPH) methods based on the continuity equation of incompressible fluids, which are proven to be effective, focus on the correction of density error and the divergence-free velocity field. However, these two conditions are considered separately in the existing methods, which lead to a time consuming process when the algorithm is used to deal with the continuity equation. In addition, the two conditions that are treated separately can also cause the continuity equation to be inconsistent in the parameters and variables, which results in the instability of the fluid. In this paper, an effective and efficient SPH method is introduced to simulate incompressible fluid. The proposed method shortens the time of fluid simulation by coupling the two conditions of density-invariant and divergence-free and achieves the similar simulation effect compared with peer methods. Furthermore, we regard the displacement of particles as the only basic variable of the continuity equation, which improves the stability of the fluid to a certain extent. |