| The solid rocket motor is a chemical rocket motor powered by solid grain.It has the advantages of simple structure,simple maintenance,high working reliability and high density.The working time,combustion chamber pressure,thrust and other parameters of the solid rocket motor are all related to the geometry of the grain,so the grain design is a key link in the design of the solid rocket motor.With the rapid development of computer technology,virtual reality technology has played an important role in the field of scientific research.Virtual simulation experiment has the advantages of direct visual effects,good interactive performance,and expandable platform.It has become one of the research hotspots in the aerospace field.The research content of this article is the solid rocket charge combustion simulation and rocket flight simulation system based on the Unity3 D platform.The main tasks include:(1)Based on the Unity3 D platform,a solid rocket charge test program was designed.The program uses the vertex deletion algorithm,triangular meshing,geometric modeling and other technologies to create the discrete vertex data generated by the transition program,and establishes a three-dimensional model of grain combustion based on the relevant theories of solid rocket charge design.(2)Based on the CG language,the Shader is written under the Unity3 D engine,which realizes the perspective transformation,vertex shader,fragment shader,color mapping algorithm and so on.This system uses three-dimensional rendering technology to map the combustion parameters of the gas static temperature and static pressure during the combustion process of the charge to achieve the real-time rendering of the color of the charge during the combustion process.(3)This subject designs and constructs a three-dimensional simulation test scene for the rigid trajectory of a solid rocket.The rocket’s flight parameters are obtained through the rocket rigid trajectory simulation calculation program,and the motion pair and motion constraints are added to the rocket’s three-dimensional model,so as to realize the rocket’s flight simulation test function in the virtual scene.And add scene effects such as tail flame and rocket explosion to improve the realism of the simulation system.The research results show that the system realizes the simulation of the total process of solid rocket charge burning and the flight simulation function of the rocket,and has the advantages of repeatable test and low risk.The visual virtual experiment method adopted by this system is conducive to shortening the development cycle of solid rocket motors and reducing research and development costs. |