Font Size: a A A

Research And Implementation Of Fluid-solid Real-time Interaction In Small Scale Scene

Posted on:2020-10-27Degree:MasterType:Thesis
Country:ChinaCandidate:H GaoFull Text:PDF
GTID:2370330599460272Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Small-scale fluid-solid real-time interactive simulation has always been a hot research direction in the field of computer graphics.It is the goal of the majority of graphic researchers to simulate the fluid-solid interaction effect with realism and natural phenomena.At present,the traditional fluid simulation is more focused on the simulation of fluid realism,while ignoring the problem of low efficiency and non-real-time fluid rendering;in addition,there are few studies on fluid-solid interaction simulation at present.In order to solve the above problems,this paper will explore and study the flow-solid real-time interaction and fluid real-time rendering.The main work contents are as follows.Firstly,in order to better simulate the surface details and motion details of fluids in different states in small-scale scenes,and to better control the motion state of fluids,a smooth particle hydrodynamics(SPH)method based on Lagrangian framework is applied to the construction of fluid.Analysis of the principles of fluid dynamics,smooth kernel function and the force of fluid particles in the fluid simulation process,and pointed out the problems that need attention in the fluid simulation process,laid the foundation for the subsequent flow-solid real-time interactive simulation.Secondly,in view of the diversity of gaseous fluid movement and the complex and diverse surface details,the Berlin noise function is introduced to generate random numbers,control the particle velocity and particle life cycle of smoke during motion,and make the speed and life cycle within a certain range.The change,rather than a fixed value,simulates the irregularities of the moving surface of the gas,the randomness of the motion,and the motion characteristics of the random dissipating,making the gas movement more layered.Thirdly,in order to further improve the simulation efficiency of fluid-solid interaction,this paper proposes a fixed-boundary reaction force model,which uses a triangular mesh to model solid obstacles,applying a layer of reaction force at the solid boundary,when fluid particles are detected.When this reaction force affects the range,it reacts to prevent the fluid particles from continuing to move,thus effectively preventing the possibility of fluid penetrating the solid.The fixed boundary reaction model does not require particle sampling at the solid boundary,which simplifies the complexity of the fluid-solid interaction simulation and improves the simulation efficiency.In addition,in order to prevent the full collision between the fluid particles and the solid boundary,a recovery factor is introduced to correct the particle velocity and kinetic energy after the collision,so that the fluid motion after the interaction is more realistic and natural.Finally,the Unity3 d engine is used to build the experimental scene,and the real-time interactive simulation of small-scale scenes is designed and implemented.In order to improve the realism and real-time performance of the simulation,different pairs of rendering methods are applied to the fluid for different states.Render liquids using a screen space-based approach,render gas fluids using the extended particle system,and perform real-time fluid rendering using the Unity Shader language.
Keywords/Search Tags:Fluid simulation, Solid boundary model, Fluid-solid interaction, Collision processing, Real-time rendering
PDF Full Text Request
Related items