The realistic simulation of ocean scenes is of great significance in many scientific fields. We propose an improved Smoothed Particle Hydrodynamics (SPH) framework to simulate the ocean scenes. The improved SPH combines nonlinear constant density constraints and divergence-free velocity field constraint. Density constraints adjust the particle distribution on position layer, so that the density is constrained to a constant state. The addition of the divergence-free velocity field constraint significantly accelerates the convergence of constant density constraint and further reduces the density change. The simulation results show that the improved SPH has high solution efficiency, large time steps, and strong stability. Then, we introduce a unified boundary handling model to simulate coupling scenes. The model samples the boundary geometry as particles by means of single layer nonuniform sampling. The contribution of the boundary particles is taken into account when the physical quantities of fluid particles are computed. The unified model can handle various types of complex geometry adaptively. When rendering the ocean, we propose an improved anisotropic screen space fluid method, which alleviates the discontinuity problem near the boundary and maintains the anisotropy of particles. The research provides a theoretical reference for the highly believable maritime scene simulation in marine simulators.
This is an open access article distributed under the Creative Commons Attribution License
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited