APPLICATION OF R-FUNCTIONS METHOD AND SMOOTHED PARTICLE HYDRODYNAMICS FOR FLUID SIMULATION
А. В. Артюх, S. I. Kozyrenko, O. O. Shabalin, I. R. Lytvyn · Radio Electronics Computer Science Control · 2019
Context. Existing fluid simulation methods have several disadvantages and can be improved with the help of new approaches tothe solution of problems of computational fluid dynamics, which confirms the relevance of the work.Objective. The goal of the work is to improve existing methods of mathematical modeling of fluid based on smoothed particlehydrodynamics and R-functions method.Method. A new approach of joint use of smoothed particle hydrodynamics, marching cubes and R-functions method is proposed.Smoothed particle hydrodynamics helps to simulate fluid movement in real time. The method considers fluid as a discrete number ofsample points (particles), which have mass, velocity, position and physical field quantities (pressure, temperature, mass-density, etc.).The R-functions method allows to solve the inverse problem of analytic geometry: finding an analytical equation of a 2D (3D) objectbased on its geometrical representation. Using the obtained equation, one can simply detect a particle collision with the objectboundary and plot the object surface with the help of marching cubes algorithm. The suggested method allows to achieve good simulationquality and to perform all needed calculations and rendering in real time.Results. Computational experiments for the problem of fluid simulation were carried out. Various numbers of particles wereused. Different kinds of objects were put into the considered region in order to investigate the fluid behavior.Conclusions. The results of visual simulations allow us to say that the obtained approach works as expected. Therefore, thismethod can be applied to several problems of fluid simulation where the collision detection with arbitrary objects is considered. Furtherresearch may be devoted to the optimization of neighbor-search algorithm, to performing all calculations in graphics processingunit or to taking into account other physical quantities.