


Finally, according to OpenGL particle system theory, by using Delphi and OpenGL as main programming tools, the diffusion simulation subsystem of toxic gas diffusion process and real-time concentration prediction and consequence simulation subsystem was completed. In this system, diffusion scene can be designed in accordance with the reality, which embodies the reunification between VR technology and engineering application.

Then, a 3D gas diffusion visualization scene management subsystem, including leak hazard source (tank), leak background (ground and sky) and surroundings near the leak area, was developed based on virtual reality (VR) technology. Compared to other existing models, this model includes analysis of both movement and non-movement attributes of toxic gas particles, and can well meet the need of dynamic simulation. A three-dimensional (3D) model of toxic gas diffusion was advanced based on Monte Carlo method with the presupposition that toxic gas diffusion process can be considered as random walk process of a large number of toxic gas particles.
