Virtual Reality Mobility Scene Simulation Method Based on Cross-temporal and Spatial Scale Graph Convolution Operator
By using cross-spatial and temporal scale graph convolution operators and machine learning technology in the field of virtual reality, we extract flow characteristic parameters and construct cross-spatial and temporal scale graph convolution evolution operators, which solves the problem of computational efficiency and automation of traditional CFD methods in complex flow scenarios. It solves low-level problems and achieves high-fidelity and low-latency visualization.
Patent Information
- Application Number
- CN202410605319.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-05-15
AI Technical Summary
In the field of virtual reality, traditional computational fluid dynamics (CFD) methods have low computational efficiency and low automation in real-time simulation of complex flow scenes, making it difficult to achieve high-fidelity and low-latency visualization effects.
A virtual reality flow scene simulation method based on cross-spatial and temporal scale graph convolution operators is used to extract flow characteristic parameters with super-spatial and temporal resolution through machine learning, and a cross-spatial and temporal scale graph convolution evolution operator is constructed, combining operator splitting and neural network architecture. , realize the collaborative drive of flow physical laws and data, and improve the simulation speed and automation level.
It achieves high-fidelity mirroring and low-latency visualization of complex flow scenes in virtual reality, overcomes the problems of low computational efficiency and low automation of traditional CFD methods, and meets the requirements of authenticity and real-time performance for online simulation of complex flow processes in virtual reality. requirements.
Smart Images

Figure CN118364752B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of high-performance scientific computing and rapid simulation technology for complex flow scenes in the fields of virtual reality, animation, film and television, and in particular to a virtual reality flow scene simulation method based on a cross-spatiotemporal scale graph convolution operator. Background Art
[0002] Complex flows represented by smoke, clouds, water, flames, etc. present rich visual details, such as waves, wakes, turbulence, etc. Visualization of real flow scenes is a hot research direction in the field of computer graphics. The development of virtual reality special effects and the strong demand for animation, film and television are driving the rapid development of this technology. Due to limited computing power, early fluid simulations mainly adopted non-physical parameter modeling methods to simulate fluids. Although these methods can simulate simple fluid phenomena, and are simple to calculate and fast to simulate, most of them are based on simplified empirical formulas and are difficult to handle complex flow processes and boundary conditions.
[0003] Flow contains rich dynamic characteristics, and its complexity often makes it difficult to describe it with some simple models. It can only be reflected with the help of the physical laws of the real world. How to discover these laws and reproduce the real flow process through calculation is crucial. In view of the inherent complexity of flow, people have to turn to the physics-based computational fluid dynamics (CFD) method to seek a solution. The traditional process-based simulation method is gradually replaced by CFD simulation technology with more realistic simulation effects. The computational fluid dynamics method obtains various property values of the fluid at each time step by solving the flow control equation, which can obtain more realistic and complex simulation effects, greatly improve the immersion, and fully meet the needs of virtual reality. At the same time, all complex flow processes are completed according to their physical laws. Program developers and artists no longer need scripts to control objects, nor do they need to manage every small event individually.
[0004] Although CFD methods have made significant progress in recent years, real-time simulation of complex flow processes in virtual reality scenarios is still immature. Solving the flow control equations inevitably involves large numerical dissipation, which leads to the loss of some flow field details. Some scholars have adopted adaptive or dynamically nested grids. Such methods assume that fluid details only exist in certain fixed areas, so the fluid details they express are still limited by the grid resolution used in the calculation, ignoring the effect of detail diffusion. In order to obtain a more realistic fluid effect, it is necessary to improve the calculation accuracy and capture more fluid details. Due to the improvement in calculation accuracy and the increase in details, the spatial complexity and time complexity of the simulation algorithm have expanded significantly, resulting in a cubic increase in the calculation overhead, which has seriously reduced the simulation speed.
[0005] Complex flow scenes in virtual reality need to be quickly adjusted and generated through simple interactive design, so as to simulate and draw the artistic effects of various flow processes in real time. In order to find a good balance between the realism and efficiency of virtual reality flow scene simulation, domestic and foreign scholars have successively proposed particle system models, cellular automaton models, fractal models, diffusion models, etc. to represent flow scenes such as fire, smoke, and clouds, but the efficiency of fluid simulation has not been greatly improved. Accelerated calculations are carried out within the range of visual errors, and the algorithm itself needs to be optimized and improved, and then new fast algorithms are proposed to achieve the high requirements of real-time interaction, flexibility and controllability. In recent years, scientific computing methods based on machine learning have developed rapidly, bringing a new research paradigm for the rapid simulation of complex flow scenes in the field of virtual reality. As the main means of processing and analyzing data, machine learning has a powerful ability to extract and learn key implicit features of flows, and has achieved great success in a series of scenarios such as the exploration of complex flow mechanisms and the solution of forward and reverse problems of flows. In order to solve the above problems, the present invention uses machine learning technology to construct a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator. This method is aimed at any complex flow simulation scene in the fields of virtual reality, animation, and film and television. It makes use of the ability of machine learning to extract ultra-temporal and spatial resolution flow feature information. By constructing a cross-temporal and spatial scale graph convolution evolution operator that can advance rapidly in large time steps, it realizes the classic CFD acceleration calculation theory that is difficult to use with traditional numerical methods. It has greatly broken through the bottlenecks of slow calculation speed, poor usability, and low degree of automation of traditional CFD. It can meet the requirements of authenticity and real-time performance for online simulation of complex flow processes in virtual reality, and has strong application prospects for digital twins in the field of virtual reality. Summary of the invention
[0006] The purpose of the present invention is to provide a virtual reality flow scene simulation method based on a cross-spatiotemporal scale graph convolution operator, and to provide a physical and data-cooperatively driven rapid numerical simulation method for complex flow processes in the field of virtual reality. This method extracts flow characteristic parameters with ultra-spatiotemporal resolution based on machine learning to construct a cross-spatiotemporal scale graph convolution evolution operator, aiming to overcome the problems of low computational efficiency and automation of traditional CFD methods, and realize high-fidelity mirroring and low-latency visualization of complex flow scenes in virtual reality.
[0007] To achieve the above object, the present invention provides a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator, comprising the following steps:
[0008] S1. The general flow physics described by the Navier-Stokes equations is split into four interpretable flow subprocesses by the operator splitting method. Then, specific neural network layers are constructed for each of the four subprocesses, thereby establishing a virtual reality complex flow simulation neural network architecture with strong physical interpretability.
[0009] S2. Separate the general flow physics laws from the personalized virtual reality flow field initial and boundary conditions, and strictly impose hard constraints on the flow field initial and boundary conditions based on the discrete nodes of the graph network;
[0010] S3, construct a multi-scale residual convolutional neural network to extract flow characteristics in the spatial dimension of the flow field;
[0011] S4. Based on the flow field simulation neural network architecture established above and the extracted flow characteristics, a machine learning-assisted graph convolution evolution operator fast simulation method across time and space scales is established, and the performance is evaluated using the fine flow field data obtained by direct numerical simulation.
[0012] Preferably, in step S1, the virtual reality complex flow simulation neural network architecture with strong physical interpretability is established, and the specific steps are as follows:
[0013] S11. The incompressible fluid Navier-Stokes equation is weakly compressible and split into four flow sub-processes, namely, sub-process 1: strong nonlinear convection pressure fluctuation, sub-process 2: tangential quasi-linear convection, sub-process 3: shear stress diffusion and sub-process 4: force source term action;
[0014] S12, for the four interpretable flow sub-processes in step S11, respectively design corresponding graph convolution evolution operators, where sub-processes 1 and 2 are described by constructing moving convolution kernel operators based on feature lines, and sub-processes 3 and 4 are described by using classic convolution kernel operators;
[0015] The mobile convolution kernel operator and the classic convolution kernel operator are respectively as shown in formula (1) and formula (2):
[0016]
[0017]
[0018] in, and are the effective diffusion coefficient and the effective convection velocity respectively; x and x′ are the positions of the central node and neighboring node of any subgraph respectively; τ and τ′ are the current time and the historical time respectively;
[0019] S13, for the graph convolution evolution operators of the four flow sub-processes in step S12, respectively design corresponding neural network layers to extract the spatiotemporal evolution parameters of the flow field to be learned, wherein a multi-layer long short-term memory neural network is used in the time dimension, and a multi-layer convolution and deconvolution layer is used in the space dimension;
[0020] S14. Embed the neural network layers corresponding to the four flow sub-processes in step S11 in sequence according to the order of operator splitting to form a neural network architecture for virtual reality complex flow simulation.
[0021] Preferably, in step S2, the hard constraints of the initial and boundary conditions of the flow field are strictly imposed based on the discrete nodes of the graph network, and the specific steps are as follows:
[0022] S21. Determine the problem characteristics of virtual reality flow scenarios. Through extensive research on virtual reality flow field simulation scenarios, summarize the characteristic data of typical cases, and summarize several types of initial and boundary conditions and possible flow field disturbance forms to form a complete set of simulation cases.
[0023] S22. For each typical simulation case, geometric discretization is performed and a graph network is established based on discrete nodes.
[0024] S23, by structurally associating the spatial distribution of the discretized graph nodes in the computational domain, the size of the influence domain and the dependency domain of any graph node in the flow field is estimated, and its neighbor point linked list is initialized;
[0025] S24, constructing virtual nodes based on three types of boundary conditions at the boundary of the simulation area, and applying hard constraints according to the initial boundary conditions corresponding to different graph node positions, so as to ensure that these constraints are strictly applied to the simulation area during the flow field simulation process;
[0026] S25. The neural network embedded with flow physics interacts with the hard constraints represented by the graph network nodes in step S24, establishes a transferable neural network that takes flow physics as the learning target only, and trains the neural network to complete message transmission and flow field update between graph network nodes.
[0027] Preferably, in step S3, the multi-scale residual convolutional neural network is constructed to extract flow feature quantities in the spatial dimension of the flow field, and the specific steps are as follows:
[0028] S31. Summarize the CFD characteristic quantities of the four flow sub-processes, wherein the CFD characteristic quantities of sub-process one are two sets of characteristic wave velocities and corresponding characteristic invariants to be extracted from the moving convolution kernel operator; the CFD characteristic quantities of sub-process two are a set of characteristic wave velocities and corresponding characteristic invariants to be extracted from the moving convolution kernel operator; the CFD characteristic quantities corresponding to sub-process three and sub-process four are the overall viscous diffusion coefficient tensors to be extracted from the convolution kernel operator, including isotropic laminar viscosity and anisotropic turbulent viscosity coefficients;
[0029] S32. At any graph network node position in the flow field, according to the disturbance propagation speed and evolution time step corresponding to the four sub-processes, the flow field dependency domain size corresponding to different sub-time steps is designed respectively;
[0030] S33, searching for neighbor points in flow field dependency domains of different sizes to determine the position of the spatial template point, and then reconstructing the flow field physical quantity of the spatial template point according to the neighbor point information in the influence domains of different sizes;
[0031] S34. A multi-scale residual convolutional neural network is constructed using convolutional layers, deconvolutional layers and residual connections to extract CFD feature quantities at the above-mentioned spatial template points, and to characterize the evolution characteristics of the spatial dimensional flow feature quantities corresponding to the four CFD evolution operators over a large time step.
[0032] Preferably, in step S4, the method for establishing a machine learning-assisted graph convolution evolution operator for rapid simulation across spatiotemporal scales comprises the following specific steps:
[0033] S41. For nonlinear convection processes with typical hyperbolic characteristics, including the normal pressure wave propagation described in sub-process one and the tangential quasi-linear convection described in sub-process two, the characteristic lines of the flow field evolution are approximated according to the characteristic wave velocity of the flow field space dimension extracted above; based on the characteristic lines, a moving convolution kernel operator is constructed to obtain characteristic invariants corresponding to different sub-time steps, and then a hierarchical long short-term memory neural network is used for learning and prediction in the time dimension;
[0034] S42. For the viscous dissipation process with local parabolization characteristics in subprocesses three and four, the distribution characteristics of the equivalent viscous diffusion coefficient extracted in step S3 in different dependent domains of the flow field space dimension are summarized, and then the convolution kernel operator is used to sequentially perform large time step evolution on the shear stress tensor term and the force source term; wherein the force source term includes the physical force source term and the force source term corresponding to the nonlinear part of the Reynolds stress tensor;
[0035] S43. Subprocesses one to four are evolved in turn according to the order of operator splitting to obtain the flow field evolution solution at the future moment; the fine flow field distribution data obtained by direct numerical simulation and the simulation data given by the above machine learning-assisted fast simulation method are used to evaluate the entire virtual reality complex flow real-time simulation process based on online learning of cross-temporal and spatial scale graph convolution operators.
[0036] Therefore, the present invention adopts the above-mentioned virtual reality flow scene simulation method based on the cross-temporal and spatial scale graph convolution operator, and the beneficial effects are as follows:
[0037] (1) Based on the idea of flow physics-led and machine learning-assisted, this paper constructs a machine learning paradigm driven by physics and data. By separating the general flow physics laws from the personalized "hard constraints" of the architectural environment flow field, an interpretable and transferable flow field simulation neural network architecture is constructed, which can greatly improve the fidelity of virtual reality flow scene simulation. At the same time, the universality and standardization of the algorithm improve its scalability for application in different cases.
[0038] (2) The present invention extracts flow characteristic parameters with ultra-temporal and spatial resolution through machine learning methods, and assists the interpretable graph convolution evolution operator in online learning, thereby enhancing its performance across spatiotemporal scales. Based on the cross-spatiotemporal scale graph convolution evolution operator, the simulation of complex flow scenes in virtual reality can be advanced on a large time step, and the bottleneck of simulation speed can be broken while taking into account the simulation accuracy, thus achieving low-latency visualization.
[0039] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is an overall flow chart of an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0041] Figure 2 Schematic diagram of a flow around a cylinder scene according to an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0042] Figure 3 It is a flow field simulation area graph network discretization and message transmission flow chart of an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0043] Figure 4 It is a flow sub-process decomposition and evolution flow chart based on operator splitting of an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0044] Figure 5It is a schematic diagram of a transferable neural network with separation of flow physics and hard constraint initial and boundary conditions in an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0045] Figure 6 It is a schematic diagram of a flow simulation neural network integrating flow mechanism according to an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0046] Figure 7 It is a schematic diagram of an interpretable neural network architecture of an embedded flow subprocess of an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0047] Figure 8 It is a flow chart of flow field reconstruction based on spatial template points in dependency domains of different sizes according to an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0048] Fig. 9 It is a schematic diagram of super-temporal and spatial resolution flow information extraction on different-sized spatial influence domains of an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0049] Fig.10 It is a flow chart of extracting flow feature quantities of a graph convolution evolution operator in an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0050] Fig.11 It is a flow field evolution flow chart based on a long short-term memory neural network in an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention;
[0051] Fig.12 It is a schematic diagram of a machine learning-assisted cross-temporal and spatial scale rapid simulation algorithm of an embodiment of a virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator of the present invention. DETAILED DESCRIPTION
[0052] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0053] Unless otherwise defined, technical or scientific terms used in the present invention shall have the common meanings understood by one having ordinary skills in the field to which the present invention belongs.
[0054] like Figure 1 As shown, the virtual reality flow scene simulation method based on the cross-temporal and spatial scale graph convolution operator specifically includes the following steps:
[0055] like Figure 2As shown, this embodiment is based on a description of the flow process around a cylinder in a virtual reality scenario. S1. The incompressible fluid Navier-Stokes equations are weakly compressible approximated, and the operator splitting method is used to split the general flow physics described by the Navier-Stokes equations into four interpretable flow sub-processes in turn. Then, specific neural network layers are constructed for each of the four sub-processes, thereby establishing a virtual reality complex flow simulation neural network architecture with strong physical interpretability.
[0056] The specific steps are as follows:
[0057] S11. Apply the weak compressibility approximation to the incompressible fluid Navier-Stokes equations, such as Figure 4 As shown, the flow is split into four sub-processes by the operator splitting method, namely, sub-process 1: strong nonlinear convection pressure fluctuation, sub-process 2: tangential quasi-linear convection, sub-process 3: shear stress diffusion and sub-process 4: force source term effect;
[0058] S12, for the four interpretable flow sub-processes in step S11, respectively design corresponding graph convolution evolution operators, where sub-processes 1 and 2 are described by constructing moving convolution kernel operators based on feature lines, and sub-processes 3 and 4 are described by using classic convolution kernel operators;
[0059] The mobile convolution kernel operator and the classic convolution kernel operator are respectively as shown in formula (1) and formula (2):
[0060]
[0061]
[0062] in, and are the effective diffusion coefficient and the effective convection velocity respectively; x and x′ are the positions of the central node and neighboring node of any subgraph respectively; τ and τ′ are the current time and the historical time respectively;
[0063] S13, for the graph convolution evolution operators of the four flow sub-processes in step S12, respectively design corresponding neural network layers to extract the spatiotemporal evolution parameters of the flow field to be learned, wherein a multi-layer long short-term memory neural network is used in the time dimension, and a multi-layer convolution and deconvolution layer is used in the space dimension, such as Figure 6 As shown;
[0064] S14, embed the neural network layers corresponding to the four flow sub-processes in step S11 in sequence according to the order of operator splitting, so as to form a neural network architecture for virtual reality complex flow simulation, such as Figure 7 shown.
[0065] S2. Separate the general flow physics laws from the personalized initial and boundary conditions of the virtual reality flow field, strictly impose the "hard constraints" of the initial and boundary conditions of the flow field based on the discrete nodes of the graph network, and enhance the transferability of the virtual reality flow field simulation neural network. The specific steps are as follows:
[0066] S21. Determine the problem characteristics of virtual reality flow scenarios. Through extensive research on virtual reality flow field simulation scenarios, summarize the characteristic data of typical cases, and summarize several types of initial and boundary conditions and possible flow field disturbance forms to form a complete set of simulation cases.
[0067] S22, such as Figure 3 As shown, for each typical simulation case, a geometric discretization representation is performed, and a graph network is established based on discrete nodes;
[0068] S23, by structurally associating the spatial distribution of the graph nodes that are discretely distributed in the computational domain, according to the disturbance propagation speed and evolution time step corresponding to different flow sub-processes, the size of the influence domain and the dependency domain of any node in the flow field at different sub-time steps is estimated, and its neighbor point linked list is initialized;
[0069] S24, such as Figure 5 As shown, virtual nodes are constructed based on three types of boundary conditions at the boundary of the simulation area, and "hard constraints" are imposed according to the initial boundary conditions corresponding to the positions of different graph nodes, so as to ensure that these constraints are strictly imposed on the simulation area during the flow field simulation process;
[0070] S25. The neural network embedded with flow physics interacts with the "hard constraints" represented by the graph network nodes in step S24, establishes a transferable neural network that only takes flow physics as a learning target, and trains the neural network to complete message transmission and flow field update between graph network nodes.
[0071] S3. Construct a multi-scale residual convolutional neural network to extract flow characteristics in the spatial dimension of the flow field. The specific steps are as follows:
[0072] S31. Summarize the CFD characteristic quantities of the four flow sub-processes, wherein the CFD characteristic quantities of sub-process one are two sets of characteristic wave velocities and corresponding characteristic invariants to be extracted from the moving convolution kernel operator; the CFD characteristic quantities of sub-process two are a set of characteristic wave velocities and corresponding characteristic invariants to be extracted from the moving convolution kernel operator; the CFD characteristic quantities corresponding to sub-process three and sub-process four are the overall viscous diffusion coefficient tensors to be extracted from the convolution kernel operator, including isotropic laminar viscosity and anisotropic turbulent viscosity coefficients;
[0073] S32. At any graph network node position in the flow field, according to the disturbance propagation speed and evolution time step corresponding to the four sub-processes, the flow field dependency domain size corresponding to different sub-time steps is designed respectively;
[0074] S33, such as Figure 8 As shown, according to step S23, neighbor points are searched in the estimated flow field dependency domains of different sizes to determine the position of the spatial template point, and then the flow field physical quantities of the spatial template point are reconstructed according to the neighbor point information in the influence domains of different sizes. Fig. 9 As shown;
[0075] S34, using convolutional layers, deconvolutional layers and residual connections to construct a multi-scale residual convolutional neural network to extract CFD feature quantities at the above-mentioned spatial template points, and characterize the evolution characteristics of the spatial dimensional flow feature quantities corresponding to the four CFD evolution operators over a large time step, such as Fig.10 shown.
[0076] S4. Based on the flow field simulation neural network architecture established above and the extracted flow characteristics, a graph convolution evolution operator assisted by a deep fusion machine learning method is established to realize a fast simulation method across time and space scales, and the performance is evaluated using the fine flow field data obtained by direct numerical simulation.
[0077] The specific steps are as follows:
[0078] S41. For nonlinear convection processes with typical hyperbolic characteristics, including the normal pressure wave propagation described in sub-process 1 and the tangential quasi-linear convection described in sub-process 2, the characteristic lines of the flow field evolution are approximated according to the characteristic wave velocity of the flow field space dimension extracted above; based on the characteristic lines, a moving convolution kernel operator is constructed to obtain the characteristic invariants corresponding to different sub-time steps, and then a hierarchical long short-term memory neural network is used for learning and prediction in the time dimension, such as Fig.11 As shown;
[0079] S42. For the viscous dissipation process with local parabolization characteristics in subprocesses three and four, the distribution characteristics of the equivalent viscous diffusion coefficient extracted in step S3 in different dependent domains of the flow field space dimension are summarized, and then the convolution kernel operator is used to sequentially perform large time step evolution on the shear stress tensor term and the force source term; wherein the force source term includes the physical force source term and the force source term corresponding to the nonlinear part of the Reynolds stress tensor;
[0080] S43, such as Fig.12 As shown in the figure, sub-processes one to four are evolved in turn according to the order of operator splitting to obtain the flow field evolution solution at the future moment; the fine flow field distribution data obtained by direct numerical simulation and the simulation data given by the above machine learning-assisted fast simulation method are used to evaluate the entire virtual reality complex flow real-time simulation process based on online learning of cross-temporal and spatial scale graph convolution operators, and further improve it.
[0081] Therefore, the present invention adopts the above-mentioned virtual reality flow scene simulation method based on the cross-time and space scale graph convolution operator, and creatively constructs a complex flow field fast simulation method based on the machine learning paradigm driven by physics and data for virtual reality flow scenes, which can effectively overcome the problems of low computational efficiency and automation of traditional CFD methods, and realize high-fidelity mirroring and low-latency visualization of complex flow scenes in virtual reality. At the same time, the interpretable and transferable flow field simulation neural network architecture proposed by this method has strong scalability and has strong application prospects for digital twins in the field of virtual reality.
[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A virtual reality flow scene simulation method based on a cross-temporal and spatial scale graph convolution operator, characterized in that: The following steps are involved: S1. The general flow physics described by the Navier-Stokes equations is split into four interpretable flow subprocesses by the operator splitting method. Then, neural network layers are constructed for each of the four subprocesses, thereby establishing a virtual reality complex flow field simulation neural network architecture with strong physical interpretability. S2. Separate the general flow physics laws from the personalized virtual reality flow field initial and boundary conditions, and strictly impose hard constraints on the flow field initial and boundary conditions based on the discrete nodes of the graph network; S3, construct a multi-scale residual convolutional neural network to extract flow characteristics of the spatial dimension of the flow field; S4. Based on the established flow field simulation neural network architecture and the extracted flow characteristics, a machine learning-assisted graph convolution evolution operator cross-temporal and spatial scale rapid simulation method is established, and the performance is evaluated using the fine flow field data obtained by direct numerical simulation; In step S1, the virtual reality complex flow field simulation neural network architecture with strong physical interpretability is established, and the specific steps are as follows: S11. The incompressible fluid Navier-Stokes equation is weakly compressible and split into four flow sub-processes, namely, sub-process 1: strong nonlinear convection pressure fluctuation, sub-process 2: tangential quasi-linear convection, sub-process 3: shear stress diffusion and sub-process 4: force source term action; S12, for the four interpretable flow sub-processes in step S11, respectively design corresponding graph convolution evolution operators, where sub-processes 1 and 2 are described by constructing moving convolution kernel operators based on feature lines, and sub-processes 3 and 4 are described by using classic convolution kernel operators; The mobile convolution kernel operator and the classic convolution kernel operator are respectively as shown in formula (1) and formula (2): (1) (2) in, and are the effective diffusion coefficient and the effective convection velocity, respectively. u is the convection velocity; and are the positions of the central node and neighboring nodes of any subgraph respectively; and The current moment and the historical moment respectively; S13, for the graph convolution evolution operators of the four flow sub-processes in step S12, respectively design corresponding neural network layers to extract the spatiotemporal evolution parameters of the flow field to be learned, wherein a multi-layer long short-term memory neural network is used in the time dimension, and a multi-layer convolution and deconvolution layer is used in the space dimension; S14, embedding the neural network layers corresponding to the four flow sub-processes in step S11 in sequence according to the order of operator splitting, to form a neural network architecture for virtual reality complex flow field simulation; In step S2, the hard constraints of the initial and boundary conditions of the flow field are strictly imposed based on the discrete nodes of the graph network. The specific steps are as follows: S21. Determine the problem characteristics of virtual reality flow scenarios. Through extensive research on virtual reality flow field simulation scenarios, summarize the characteristic data of typical cases, and summarize several types of initial and boundary conditions and possible flow field disturbance forms to form a complete set of simulation cases. S22. For each typical simulation case, geometric discretization is performed and a graph network is established based on discrete nodes. S23, by structurally associating the spatial distribution of the discretized graph nodes in the computational domain, the size of the influence domain and the dependency domain of any graph node in the flow field is estimated, and its neighbor point linked list is initialized; S24, constructing virtual nodes based on three types of boundary conditions at the boundary of the simulation area, and applying hard constraints according to the initial boundary conditions corresponding to different graph node positions, so as to ensure that these constraints are strictly applied to the simulation area during the flow field simulation process; S25. The neural network embedded with flow physics interacts with the hard constraints represented by the graph network nodes in step S24, establishes a transferable neural network that takes flow physics as the learning target only, and trains the neural network to complete message transmission and flow field update between graph network nodes.
2. The virtual reality flow scene simulation method based on the cross-temporal and spatial scale graph convolution operator according to claim 1 is characterized in that: In step S3, the multi-scale residual convolutional neural network is constructed to extract the flow feature quantity of the flow field spatial dimension, and the specific steps are as follows: S31. Summarize the CFD characteristic quantities of the four flow sub-processes, wherein the CFD characteristic quantities of sub-process one are two sets of characteristic wave velocities and corresponding characteristic invariants to be extracted from the moving convolution kernel operator; the CFD characteristic quantities of sub-process two are a set of characteristic wave velocities and corresponding characteristic invariants to be extracted from the moving convolution kernel operator; the CFD characteristic quantities corresponding to sub-process three and sub-process four are the overall viscous diffusion coefficient tensors to be extracted from the convolution kernel operator, including isotropic laminar viscosity and anisotropic turbulent viscosity coefficients; S32. At any graph network node position in the flow field, according to the disturbance propagation speed and evolution time step corresponding to the four sub-processes, the flow field dependency domain size corresponding to different sub-time steps is designed respectively; S33, searching for neighbor points in flow field dependency domains of different sizes to determine the position of the spatial template point, and then reconstructing the flow field physical quantity of the spatial template point according to the neighbor point information in the influence domains of different sizes; S34. A multi-scale residual convolutional neural network is constructed using convolutional layers, deconvolutional layers and residual connections to extract CFD feature quantities at the above-mentioned spatial template points, and to characterize the evolution characteristics of the flow feature quantities in the spatial dimensions of the flow field corresponding to the four CFD evolution operators over a large time step.
3. The virtual reality flow scene simulation method based on the cross-temporal and spatial scale graph convolution operator according to claim 2 is characterized in that: In step S4, the method for establishing a machine learning-assisted graph convolution evolution operator for rapid simulation across spatiotemporal scales is specifically performed as follows: S41, for a nonlinear convection process with typical hyperbolic characteristics, including normal pressure wave propagation described by subprocess one and tangential quasi-linear convection described by subprocess two, the characteristic line of the flow field evolution is approximated by the wave velocity of the flow characteristic quantity of the spatial dimension of the flow field extracted above; Based on the feature line, a moving convolution kernel operator is constructed to obtain the feature invariants corresponding to different sub-time steps, and then a hierarchical long short-term memory neural network is used for learning and prediction in the time dimension; S42. For the viscous dissipation process with local parabolization characteristics in subprocesses three and four, the distribution characteristics of the equivalent viscous diffusion coefficient extracted in step S3 in different dependent domains of the flow field space dimension are summarized, and then the convolution kernel operator is used to sequentially perform large time step evolution on the shear stress tensor term and the force source term; wherein the force source term includes the physical force source term and the force source term corresponding to the nonlinear part of the Reynolds stress tensor; S43, evolving subprocesses 1 to 4 in sequence according to the order of operator splitting, and obtaining the flow field evolution solution at the future time; The entire virtual reality complex flow field real-time simulation process based on online learning of cross-temporal and spatial scale graph convolution operators is evaluated using the fine flow field distribution data obtained by direct numerical simulation and the simulation data provided by the above-mentioned machine learning-assisted fast simulation method.
