
The Interactive Simulation of the Liquid in the Container with Spring-mass Model
Author(s) -
Peishan Guo,
Qingsheng Zhu,
Wenzhe Zhu
Publication year - 2019
Publication title -
journal of physics. conference series
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.21
H-Index - 85
eISSN - 1742-6596
pISSN - 1742-6588
DOI - 10.1088/1742-6596/1229/1/012069
Subject(s) - grid , spring (device) , container (type theory) , computer science , point (geometry) , graphics , virtual reality , computer graphics , particle (ecology) , simulation , surface (topology) , particle system , point particle , computer simulation , computer graphics (images) , computational science , mechanical engineering , engineering , geometry , geology , classical mechanics , physics , mathematics , oceanography , artificial intelligence
With the development of the virtual reality industry, the demand for performance of virtual simulation is increasing. In the field of virtual simulation, fluid simulation has become one of the most challenging research directions in computer graphics. High-performance fluid simulation methods are still a problem which is worth studying.This paper presents a method based on grid and Spring-mass model interactions for simulate liquid in the container. Firstly, the mass-spring model is introduced to simulate the water surface. Create a flat grid, then add physical properties to the point on the triangular grid. Grids are used to connect the water proton. Secondly, change the current height of the particle through calculating the particle density on the surface of liquid to simulate the fluctuations of the water.Finally realize the calculation method in unity, prove that the method has both performance and sense of reality and better than previous methods.