Flow field feature extraction and tracking method, device and equipment based on physical information fusion
By identifying and analyzing the vortex area of the three-dimensional time-series flow field, constructing an attribute matrix and calculating feature similarity, the problem of low feature matching efficiency in the existing technology is solved, and accurate tracking and efficient analysis of flow field events are achieved.
Patent Information
- Application Number
- CN202411140175.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-20
AI Technical Summary
When existing technology processes three-dimensional time-varying flow fields, feature matching efficiency is low, interactive visualization is difficult, and it relies on user-set thresholds. A feature tracking method that is easier to implement is needed to analyze the evolution process of the flow field.
By obtaining three-dimensional time series flow field data, identifying vortex areas, calculating physical attribute information, constructing attribute matrices, using principal component analysis to extract target attribute matrices, calculating feature similarity matrices, judging flow field event types, reducing threshold dependence, and improving calculations efficiency.
It achieves accurate extraction and tracking of eddy features in three-dimensional time-series flow fields, reduces threshold dependence, improves calculation efficiency, and enhances the visualization ability of flow field analysis.
Smart Images

Figure CN118657808B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of flow field processing, and in particular to a flow field feature extraction and tracking method, device and equipment based on physical information fusion. Background Art
[0002] For three-dimensional time-varying flow fields, due to the large amount of data, complex data structure and viewpoint-related, there are still many problems in matching efficiency and interactive visualization that need to be solved. By tracking these changing features in the flow field, such as vortices and shock waves, researchers can have a deeper understanding of fluid dynamics phenomena. This is of great significance for revealing the evolution and interaction of flow field structures such as turbulence, vortices, and boundary layers. Feature tracking helps researchers define the occurrence of feature events by matching feature elements between adjacent time steps and analyzing the evolution of flow field features, such as continuation, splitting, and merging. Event detection is to describe the development and changes of features. Therefore, in order to explore and analyze the evolution of flow fields, feature tracking and its result visualization are important tasks in flow field scientific visualization. The existing classic attribute vector algorithm and volume overlap algorithm can solve the feature matching problem to a certain extent. However, the time-varying flow field data is huge. When using similarity metrics to match features, the classic algorithm needs to rely on the user to set the threshold for each attribute to make judgments, requiring users to have rich domain prior knowledge. Among them, the isosurface method is the most commonly used technology for visualizing the surface of the threshold area. However, most computer vision methods are aimed at two-dimensional image data. For three-dimensional time-varying flow fields, due to the large amount of data, complex data structure and viewpoint dependency, there are still many problems that need to be solved in terms of matching efficiency and interactive visualization. Therefore, it is necessary to design a more easily implemented feature tracking method to help researchers in need to analyze the behavior of features in the spatiotemporal domain. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a flow field feature extraction and tracking method, device, and equipment based on physical information fusion, which can realize accurate extraction and tracking of vortex features for three-dimensional time-series flow fields. The specific scheme is as follows:
[0004] In a first aspect, the present application discloses a flow field feature extraction and tracking method based on physical information fusion, comprising:
[0005] Obtain flow field data at each time step of the three-dimensional time series flow field;
[0006] Identify data points belonging to the vortex region in the flow field data at each time step, and perform spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step;
[0007] Calculating the vortex intensity, vorticity value, and local shear rate corresponding to each data point in each vortex region to obtain physical property information of each vortex region;
[0008] Based on the physical property information of each vortex region, the attribute matrix of each vortex region is constructed respectively, and the matrix extraction of each attribute matrix is performed using a preset principal component analysis method to obtain a target attribute matrix based on each vortex region respectively;
[0009] A feature similarity matrix is constructed according to the similarity calculation results between the target attribute matrices at adjacent time steps, and the feature similarity matrix is traversed according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps.
[0010] Optionally, the identifying data points belonging to the vortex region in the flow field data at each time step, and performing spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step includes:
[0011] The vortex intensity of the flow field data at each time step is calculated by using a vortex intensity calculation formula to obtain the vortex intensity of each flow field data point in the flow field data at each time step;
[0012] The flow field data points with vortex intensity greater than a preset vortex intensity threshold are taken as target data points of the vortex region;
[0013] Select any target data point in the vortex area as a seed point, take the seed point as the starting point, traverse the target data points in a single time step through breadth-first search, create an original queue for the feature area of the current single time step, use breadth-first search to traverse the target data points and their surrounding neighborhoods in the original queue, mark the target data points that meet the preset regional threshold conditions as regional features, and push the regional features into the new queue until the target data points in the original queue are empty, so as to obtain the vortex area in a single time step.
[0014] Optionally, the calculating of the vortex intensity, vorticity value, and local shear rate corresponding to each data point in each vortex region to obtain physical property information of each vortex region includes:
[0015] Calculate and determine the vorticity value of the target data point according to the partial derivatives of the velocity vector components of the target data point in each of the vortex regions in different velocity directions;
[0016] Calculate and determine the Jacobian matrix of the target data point based on the three-dimensional spatial coordinate information and velocity vector of the target data point in each vortex region;
[0017] Calculate and determine the tension tensor matrix of the target data point according to the Jacobian matrix and the transposed matrix of the Jacobian matrix;
[0018] Calculate and determine the vortex intensity of the target data point based on the tension tensor matrix and the vorticity value;
[0019] The vortex intensity, the vorticity value, the F norm of the Jacobi matrix, and the F norm of the tension tensor matrix are used as physical property information of each vortex region.
[0020] Optionally, the attribute matrices of the vortex regions are respectively constructed based on the physical attribute information of each vortex region, and matrix extraction is performed on each attribute matrix using a preset principal component analysis method to obtain a target attribute matrix of each vortex region, including:
[0021] Constructing the attribute vector of the target data point in the order of the vortex intensity, the vorticity value, the F norm of the Jacobi matrix, the F norm of the tension tensor matrix, and the three-dimensional space coordinate information of the target data point;
[0022] A characteristic attribute matrix constructed based on the attribute vectors of the target data points located in the same vortex region is used as the attribute matrix of the vortex region to obtain the attribute matrix of each vortex region;
[0023] Standardizing the attribute elements in the attribute matrix to obtain a standardized attribute matrix;
[0024] Calculate the corresponding covariance matrix according to the standardized attribute matrix;
[0025] The corresponding projection matrix is constructed using the covariance matrix, so as to determine the target attribute matrix of each vortex region according to the projection matrix and the standardized attribute matrix.
[0026] Optionally, the using the covariance matrix to construct a corresponding projection matrix to determine the target attribute matrix of each vortex region according to the projection matrix and the standardized attribute matrix includes:
[0027] Performing eigenvalue decomposition on the covariance matrix to calculate eigenvalues and corresponding eigenvectors of the covariance matrix, and selecting target eigenvalues and corresponding target eigenvectors from the eigenvalues to construct a projection matrix;
[0028] The projection matrix is used to perform projection dimension reduction on the standardized attribute matrix to obtain a corresponding principal component attribute matrix, and each principal component attribute matrix is used as a target attribute matrix of each vortex region.
[0029] Optionally, before constructing the feature similarity matrix according to the similarity calculation results between the target attribute matrices at adjacent time steps, the method further includes:
[0030] Calculating the cosine similarity between the target attribute matrices at adjacent time steps;
[0031] The cosine similarities are averaged to obtain similarity calculation results between the target attribute matrices at adjacent time steps.
[0032] Optionally, constructing a feature similarity matrix according to similarity calculation results between the target attribute matrices at adjacent time steps includes:
[0033] Determine the size relationship between the similarity calculation result and a preset minimum similarity threshold value. If the similarity calculation result is less than the preset minimum similarity threshold value, it indicates that the feature regions of the current adjacent time steps are not similar. The current similarity calculation result is assigned 0 to obtain a corresponding first assignment result. The first assignment result is then used as a matrix element for constructing a feature similarity matrix.
[0034] If the similarity calculation result is greater than or equal to the preset minimum similarity threshold, it indicates that the feature regions of the current adjacent time steps are similar, and the current similarity calculation result is assigned a value of 1 to obtain a corresponding second assignment result, and then the second assignment result is used as a matrix element for constructing a feature similarity matrix;
[0035] The feature similarity matrix is constructed using the assigned results of all the similarity calculation results.
[0036] Optionally, traversing the feature similarity matrix according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps includes:
[0037] Constructing correspondences between different flow field event types and flow field features to obtain a preset feature correspondence that includes multiple target feature correspondences; wherein the flow field event types include: continuation event type, split event type, merge event type, generation event type, and dissipation event type;
[0038] Traversing the feature similarity matrix to determine the target feature correspondence relationship according to the matrix traversal result and the preset feature correspondence relationship;
[0039] The target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps is determined based on the target feature correspondence relationship.
[0040] In a second aspect, the present application discloses a flow field feature extraction and tracking device based on physical information fusion, comprising:
[0041] A data acquisition module is used to acquire flow field data at each time step of a three-dimensional time series flow field;
[0042] A region segmentation module is used to identify data points belonging to the vortex region in the flow field data at each time step, and to perform spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step;
[0043] An information calculation module, used for calculating the vortex intensity, vorticity value, and local shear rate corresponding to each data point of each vortex region, so as to obtain the physical property information of each vortex region;
[0044] A matrix construction module, used for constructing attribute matrices of the vortex regions based on the physical attribute information of the vortex regions, and performing matrix extraction on the attribute matrices using a preset principal component analysis method to obtain target attribute matrices of the vortex regions;
[0045] The tracking module is used to construct a feature similarity matrix based on the similarity calculation results between the target attribute matrices at adjacent time steps, and traverse the feature similarity matrix according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps.
[0046] In a third aspect, the present application discloses an electronic device, comprising:
[0047] Memory, used to store computer programs;
[0048] The processor is used to execute the computer program to implement the steps of the flow field feature extraction and tracking method based on physical information fusion disclosed above.
[0049] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed flow field feature extraction and tracking method based on physical information fusion are implemented.
[0050] It can be seen that the present application discloses the acquisition of flow field data at each time step of a three-dimensional time series flow field; identification of data points belonging to the vortex region in the flow field data at each time step, and spatially connected region segmentation of the flow field region at each time step based on all the data points to obtain the vortex region at a single time step; calculation of the vortex intensity, vorticity value, and local shear rate corresponding to each data point in each vortex region to obtain physical property information of each vortex region; construction of attribute matrices of the vortex region based on the physical property information of each vortex region, and matrix extraction of each attribute matrix using a preset principal component analysis method to obtain target attribute matrices of each vortex region; construction of a feature similarity matrix based on the similarity calculation results between the target attribute matrices at adjacent time steps, and traversal of the feature similarity matrix according to the preset feature correspondence to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps. It can be seen that by segmenting the flow field area at each time step, the vortex area at a single time step is obtained, so that the physical property information can be calculated according to the flow field data in the vortex area, and then the physical property information is fused and simplified to obtain the target attribute matrix. Finally, the feature similarity matrix is further constructed through the similarity results of the target attribute matrix at adjacent time steps, and the feature similarity matrix is matched with the preset feature correspondence to achieve matching and event tracking between three-dimensional flow field vortex features, reduce threshold dependence, and improve computational efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0052] Figure 1 A flow chart of a flow field feature extraction and tracking method based on physical information fusion disclosed in this application;
[0053] Figure 2 This is the vortex region feature segmentation result diagram when T=54 disclosed in this application;
[0054] Figure 3 This is the vortex region feature segmentation result diagram when T=55 disclosed in this application;
[0055] Figure 4 A vortex region growth diagram disclosed in this application;
[0056] Figure 5 A flow chart of a specific flow field feature extraction and tracking method based on physical information fusion disclosed in this application;
[0057] Figure 6 It is the feature similarity matrix when T=54 and T=55 disclosed in this application;
[0058] Figure 7 A schematic diagram of the correspondence between different types of events and features disclosed in this application;
[0059] Figure 8 A flow chart of a flow field feature extraction and tracking method at time T and time T+1 disclosed in this application;
[0060] Fig. 9 This is a schematic diagram of the structure of a flow field feature extraction and tracking device based on physical information fusion disclosed in this application;
[0061] Fig.10 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0063] Scientific visualization is a field that studies how to use computer graphics and image processing technology to convert data generated by scientific computing and data obtained by scientific measurement into graphics or images to display on the screen and perform interactive processing. Flow field visualization is an important research direction of scientific visualization and an indispensable part of flow field scientific computing, namely computational fluid dynamics (CFD). Flow field visualization is playing an increasingly important role in analyzing and understanding the flow mechanism of complex flow fields, gaining insight into flow field physical phenomena and discovering the laws of flow science. For more than 20 years, flow field visualization has been one of the directions with the most achievements in the research of technical methods and the development of application software tools in the field of scientific computing visualization. With the development of science and technology, the industrial sector has a deeper understanding of flow field simulation, and the established flow field models are getting closer and closer to the real physical environment, which puts forward higher requirements for the refinement and accuracy of flow field visualization, which in turn leads to the continuous increase in the amount of flow field simulation data, which can even reach the TB or PB level. Storing and reading massive data will inevitably cause huge overhead, and data I / O overhead has gradually become one of the bottlenecks of CFD calculations. In order to solve the problem of massive data I / O, a new visualization method "in-situ visualization" came into being. Its advantage is that there is no need to write the flow field solution results to the disk, but to directly visualize the results required by the user while solving the flow field. The visualization pipeline directly obtains data from the program memory, reducing the total overhead. A key issue in in-situ visualization is how to extract features of the key flow information that users are concerned about during visualization, and track events as the features change over time. However, the data types of flow field scientific calculations are complex, the types of physical quantities are many, the physical features are difficult to extract, and the visualization requirements are very high, making feature tracking one of the research hotspots and difficulties in the field of flow field visualization.
[0064] Feature extraction and tracking is a well-established technique for analyzing time-varying data in a variety of fields, such as video analysis, computer vision, and flow visualization. In each of these fields, feature tracking is applied by first extracting features and then tracking them over time. In order to track the evolution of a single feature, the features must be consistently classified at different time steps. Otherwise, the feature information cannot be presented coherently in the visualization. For example, if color is used to distinguish different features, a single feature must always remain the same color so that the color information is helpful. This task is often referred to as the correspondence problem. Existing feature extraction techniques can be divided into two main categories: correspondence-based methods and spatiotemporal-based methods. Most of the popular feature tracking techniques are based on correspondence methods, which extract features at each time step and then correspond the extracted features at consecutive time steps based on criteria such as position, size, orientation, or area overlap. Spatiotemporal extraction methods treat the time axis as the fourth spatial dimension and then apply standard feature extraction techniques such as region growing to the entire spatiotemporal domain at once. The extraction results vary from method to method and are often data-dependent. Many applications use methods based on image processing techniques such as region growing, threshold segmentation, and edge detection, which are often used for data segmentation in medical data.
[0065] Feature tracking in the field of flow field visualization is similar to the correlation problem in the field of computer vision. Many technologies and methods in the field of computer vision can be used to extract, identify and track features. There are some commonly used scalar extraction methods in the field of flow field visualization. The commonly used method for extracting the region of interest is the threshold method, that is, the range of the feature area is determined according to the size of the given threshold. The isosurface method is the most commonly used technique for visualizing the surface of the threshold area. However, most of the methods in the field of computer vision are aimed at two-dimensional image data. For three-dimensional time-varying flow fields, due to the large amount of data, complex data structure and viewpoint dependence, there are still many problems in matching efficiency and interactive visualization that need to be solved. By tracking the changes of these features in the flow field, such as vortices and shock waves, researchers can have a deeper understanding of fluid dynamics phenomena. This is of great significance for revealing the evolution and interaction of flow field structures such as turbulence, vortices, and boundary layers. Feature tracking helps researchers define the occurrence of feature events by matching feature elements between adjacent time steps and analyzing the evolution of flow field features, such as continuation, splitting, merging, etc. Event detection is to describe the development and changes of features. Therefore, in order to explore and analyze the evolution of the flow field, it is necessary to track the characteristics of the flow field and match the relationship between the characteristics at adjacent moments.
[0066] In response to the vortex tracking needs in computational fluid dynamics (CFD), prior art 1 uses a depth-first search (DFS) algorithm to mark and track vortices for tracking and observing vortex structures in computational fluid dynamics. The algorithm uses the Q criterion to identify vortices and visualizes vortices by rendering isosurfaces with a given Q threshold. The computational grid is regarded as a ring graph, the center of the flow field unit is the node of the graph, and the adjacency connection between units is represented by the edge of the graph. After obtaining the intersection of adjacent time vortices, the boundary of the vortex unit in the previous time step is used as the starting point, and the depth-first search (DFS) algorithm is used to traverse the graph and mark the vortex area. A unique identifier is assigned to each vortex using the Flood Fill algorithm. By comparing the vortex fields in consecutive time steps, an index is assigned to each vortex to ensure that they are continuous in time. However, prior art 1 is suitable for analyzing and understanding coherent structures in turbulence in two-dimensional situations, and can quantify the interactions between vortices, such as merging and tearing events, but is not suitable for feature tracking in three-dimensional flow fields. Prior art 2 proposes a feature tracking method based on prediction and correction, which first predicts the position of each feature and then adjusts the predicted surface correction to the correct position. This method uses the feature information of the previous time step to predict the position of the feature in the current time step, and adjusts the surface of the predicted feature through a region growth and reduction algorithm. It combines the dynamics and consistency of the feature and is suitable for large-scale data sets in scientific computing. But at the same time, the performance of the method depends on the accuracy of the prediction, and more work may be required to correct the predicted region. The proposed prediction function is mainly based on the movement of the object, and does not consider other features that may affect the accuracy of the prediction, such as discontinuities during region merging and splitting. Prior art 3 proposes an algorithm for tracking tubular vortex features in a three-dimensional time-varying flow field. A tubular vortex is a long strip structure described by a "skeleton" representation. First, seed points in a domain are interactively selected, and a tubular probe is used to calculate the average length of all vortex vectors in the tube. This process is repeated in the tubular body obtained by the seed point, and the tubular body with the largest average value becomes a segmentation of the tubular vortex. When the best segmentation line is found, the seed point is moved to the other end point of the segmentation for subsequent search until the constraint is met. The gradually created skeleton is used to track the tubular vortex at the next time point. Based on the experience that the new structure will be approximately parallel to the original structure and the tubular vortex drifts a short distance, the spiral search technique is used to determine the position of the tubular vortex, but it is only applicable to the tracking of tubular vortex structures. Based on the feature extraction results, the prior art 4 proposes a feature similarity measurement method based on spatial distribution optimization. This method uses the overlap of feature volumes combined with the spatial distribution information of features to calculate the similarity between features.First, the minimum moving cost of two different feature point sets in continuous time is calculated based on the Euclidean distance between the points, and then the spatial overlap between the two features is calculated. The similarity between the two features is finally obtained by weighted addition of the minimum moving cost and the spatial overlap. Although global optimization avoids the dependence on the threshold and reduces the error introduced by improper threshold selection, global optimization and spatial distribution similarity only track the spatial properties of the features and ignore the fluid physical properties of the features.
[0067] To this end, the present invention provides a flow field feature extraction and tracking method based on physical information fusion, which can realize accurate extraction and tracking of vortex features for three-dimensional time-series flow fields.
[0068] Reference Figure 1 As shown, the embodiment of the present invention discloses a flow field feature extraction and tracking method based on physical information fusion, comprising:
[0069] Step S11: Obtain flow field data at each time step of the three-dimensional time series flow field.
[0070] In this embodiment, flow field data such as velocity components (x, y, and z directions) of the three-dimensional time-series flow field at each time step, pressure distribution information at each point in the flow field, fluid density, vortex information, etc. are obtained. It should be noted that the flow field data of the present invention is obtained in chronological order at each time step. The flow field data at different time steps can reflect the change process and trend of the flow field over time, so as to deeply study its dynamic characteristics. Moreover, some key vortex features only appear or change at a specific time. Acquiring data at each time step helps to capture these short-lived and important phenomena. Finally, in order to achieve accurate tracking of the flow field characteristics (vortex characteristics) in the time series in the present invention, since the flow field is not static and its characteristics are constantly changing with time, the data at each time step can fully present this evolution process, so as to compare the flow field states at different time points, and then use the flow field data at each time step as a basis for discovering laws and anomalies.
[0071] Step S12: Identify the data points belonging to the vortex region in the flow field data at each time step, and perform spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step.
[0072] In this embodiment, the vortex strength calculation formula is used to calculate the vortex strength of the flow field data at each time step to obtain the vortex strength of each flow field data point in the flow field data at each time step. It can be understood that, first, the vortex strength calculation is performed on the flow field data at each time step to obtain the vortex strength corresponding to each flow field data point at each time step, so as to further identify and divide the characteristic area (vortex area) according to the vortex strength. Specifically, the vortex strength of each flow field data point is calculated by the vortex strength calculation formula, and the formula is as follows:
[0073] ;
[0074] Wherein, Q represents the vortex intensity, Ω represents the vorticity value of each flow field data point, and S represents the tension tensor matrix of each flow field data point. || || represents the norm of Ω and S. In addition, the step of calculating the vortex intensity for each flow field data for subsequent vortex area identification can also be achieved by the Ω method and the λ2 method, which are not specifically limited.
[0075] In this embodiment, the flow field data points whose vortex intensity is greater than the preset vortex intensity threshold are used as the target data points of the vortex area; it can be understood that after calculating the vortex intensity of each flow field data point, by judging whether the vortex intensity Q is greater than the preset vortex intensity threshold, it is determined whether the corresponding flow field data point is a data point of the vortex area. Specifically, the preset vortex intensity threshold is set to 0. When Q>0, the corresponding flow field data point is marked as the target data point of the vortex area. In this way, those data points with strong rotational motion and obvious vortex characteristics can be identified as target data points of the vortex area, so as to perform subsequent analysis and processing. Then, based on the target data points at each time step, the flow field area of each time step is spatially connected to obtain the vortex area under a single time step. Among them, the preset vortex intensity threshold is set to 0, and Q>0 is used as the condition for screening the target data point, because it means that Q>0 indicates that the square of the vortex value is greater than the square of the strain rate, that is, the rotational motion of the fluid occupies a dominant position, which conforms to the characteristics of the vortex, so Q>0 is used to screen out the target data points with obvious vortex characteristics. It should be noted that if all target data points that meet the conditions are directly aggregated into vortex regions, they may contain noise and isolated points, which may not actually belong to the vortex region. Therefore, it is necessary to further use a three-dimensional region growing algorithm to compare the features of adjacent target data points and connect similar target data points to form a larger connected region (vortex region), thereby removing the influence of noise and isolated points.
[0076] Furthermore, the three-dimensional region growing algorithm is used to segment the spatially connected regions of the target data points to obtain all the vortex regions in a single time step, such as Figure 2The figure shows the segmentation result of each vortex region feature at time step T=54, including the vortex region position information of vortex region feature 0, vortex region feature 1, vortex region feature 2, vortex region feature 3, and vortex region feature 4, as well as the connectivity information between some vortex region features. Figure 2 The red area, orange area, yellow area, cyan area, and blue area in the figure represent the order of the vortex intensity Q value in the vortex area from large to small when the time step T=54, among which the black part is the background area; Figure 3 The figure shows the segmentation result of each vortex region feature at time step T=55, including the vortex region position information of vortex region feature 0, vortex region feature 1, vortex region feature 2, vortex region feature 3, and vortex region feature 4, as well as the connectivity information between some vortex region features. Figure 3 The red area, orange area, yellow area, cyan area, and blue area in the figure represent the order of the vortex intensity Q value in the vortex area from large to small when the time step T=55, among which the black part is the background area; Figure 2 and Figure 3The position information and connectivity information of the vortex region feature position information and the connectivity information between each other contained in the feature segmentation result graph of the vortex region under the adjacent time step are changed, and the feature information of the change is further obtained. Among them, in order to obtain all the vortex regions in a single time step, the three-dimensional region growth algorithm is used to identify and segment the characteristics of regions with similar characteristics in the three-dimensional voxel data, and the vortex region segmentation processing is performed in the flow field region of the three-dimensional space. Specifically, any target data point in the vortex region is selected as a seed point, and the target data point under a single time step is traversed by breadth-first search with the seed point as the starting point, and an original queue is created for the feature region of the current single time step. The target data point and its surrounding neighborhood in the original queue are traversed by breadth-first search, and the target data point that meets the preset regional threshold condition is marked as a regional feature, and the regional feature is pressed into the new queue until the target data point in the original queue is empty, so as to obtain the vortex region under a single time step. It can be understood that the seed point in the current vortex region needs to be used as the starting point. If the seed point is not specified, any target data point searched will be automatically set as the seed point. After obtaining the position of the seed point, the currently determined seed point is used as the starting point, and a breadth-first search is used to traverse the feature area (vortex area) at the current moment (current single time step). An original queue is created, and the initial element of the original queue is the current seed point. Subsequently, the breadth-first search is used to traverse the target data points in the original queue and their surrounding neighborhoods, and the target data points that meet the regional threshold conditions are continuously marked as regional features and pressed into the new queue until the target data points in the original queue are empty. At this time, all the target data points stored in the new queue traversed by the algorithm form the spatial distribution of the feature area. Among them, the regional threshold condition is the criterion for judging whether the target data points belong to the same feature area. The specific threshold condition can be set according to the specific application and data characteristics. Among them, the common regional threshold condition is based on the numerical attributes of the target data points, such as grayscale value, intensity value or other feature values. By setting a suitable threshold, the target data points can be divided into different feature areas. In practical applications, the selection of thresholds usually needs to be adjusted according to experience, data distribution and specific needs. The most suitable segmentation result can be found by experimenting with different thresholds, and there is no specific limitation on this. In addition, other conditions or methods can be combined to further optimize the performance of the region growing algorithm, such as: using seed point selection strategies, considering neighborhood relationships, adopting multiple thresholds or adaptive thresholds, etc. Figure 4 It is a two-dimensional schematic diagram of the region growing algorithm of the present invention, wherein the area surrounded by the red line segment is the current feature area, and the blue area and arrow are the area that the algorithm has traversed and the direction of the algorithm traversal, respectively.
[0077] Step S13: Calculate the vortex intensity, vorticity value, and local shear rate corresponding to each data point of each vortex region to obtain physical property information of each vortex region.
[0078] In this embodiment, the vorticity value of the target data point is calculated and determined according to the partial derivatives of the velocity vector components of the target data point in each vortex region in different velocity directions; it can be understood that
[0079] according to Calculate and determine the vorticity vector of the target data point in the vortex region, where represents the vorticity value of the target data point, They represent the vorticity vector The weight in direction, represents the gradient operator, × represents the cross product operator, V represents the velocity vector, Represents the three-dimensional spatial coordinates of the target data point, Indicated in The velocity vector component in the direction. Then the vorticity value W of the target data point is determined by calculating the modulus of the vorticity vector.
[0080] In this embodiment, the Jacobian matrix of the target data point is calculated and determined based on the three-dimensional spatial coordinate information and velocity vector of the target data point in each vortex region; wherein the Jacobian matrix is as follows:
[0081] ;
[0082] in, Represents the three-dimensional spatial coordinate information of the target data point, The velocity vector represents the target data point. The partial derivatives of the velocity vector in different directions are represented by the elements of the Jacobi matrix. It describes the spatial rate of change of the flow field, which facilitates the subsequent analysis of the eigenvalues and eigenvectors of the Jacobi matrix to understand important information such as the stability of the flow field and the vortex structure.
[0083] In this embodiment, the tension tensor matrix of the target data point is calculated and determined according to the Jacobian matrix and the transposed matrix of the Jacobian matrix; it can be understood that the tension tensor matrix of the target data point is further determined using the Jacobian matrix and the transposed matrix, which is expressed as follows:
[0084] ;
[0085] Where J represents the Jacobian matrix, J T represents the transposed matrix of the Jacobian matrix, and S represents the tension tensor matrix.
[0086] In this embodiment, the vortex strength of the target data point is calculated and determined based on the tension tensor matrix and the vorticity value; it can be understood that since the corresponding vortex strength formula has been published, in the formula of the vortex strength Q value, ,therefore, , and then calculate and determine the vortex intensity of the target data point. Among them, Represents the magnitude of the vorticity vector.
[0087] In this embodiment, the vortex intensity, the vorticity value, the F norm of the Jacobi matrix, and the F norm of the tension tensor matrix are used as the physical property information of each vortex region. It can be understood that the corresponding property information is calculated by the above formulas respectively, and the vortex intensity, vorticity value, the F norm of the Jacobi matrix, and the F norm of the tension tensor matrix are used as the physical property information of each vortex region. In this way, the characteristics of the vortex are reflected from different angles through each physical property information, and the properties of the vortex region are fully characterized, avoiding the one-sidedness that may be caused by relying on a single indicator. Moreover, the combination of multiple physical properties can provide richer information, which is helpful to more accurately determine the event type of the vortex region in the future and reduce the possibility of misjudgment.
[0088] Step S14: constructing attribute matrices of the vortex regions respectively based on the physical attribute information of the vortex regions, and performing matrix extraction on the attribute matrices using a preset principal component analysis method to obtain target attribute matrices of the vortex regions respectively.
[0089] In this embodiment, the attribute vector of the target data point is constructed in the order of the vortex intensity, the vorticity value, the F norm of the Jacobian matrix, the F norm of the tension tensor matrix, and the three-dimensional space coordinate information of the target data point; the characteristic attribute matrix constructed based on the attribute vector of the target data point located in the same vortex region is used as the attribute matrix of the vortex region to obtain the attribute matrix of each vortex region. It can be understood that the vortex intensity Q, vorticity value W, F norm of the Jacobian matrix of each data point in each vortex region are , the F-norm of the tension tensor matrix , three-dimensional coordinate information Construct an attribute vector (Q, W, , , x, y, z). Then the attribute vectors of the target data points in the same vortex region are used as matrix elements to construct the attribute matrix of the vortex region. For example, if there are m data points in the vortex region, then the attribute matrix X of the vortex region of m×7 is constructed according to the attribute vectors of the m data points.
[0090] In this embodiment, the attribute elements in the attribute matrix are standardized to obtain a standardized attribute matrix. It can be understood that the purpose of standardizing each column of the attribute matrix is to make the mean of each feature 0 and the standard deviation 1, so as to avoid the data differences between different physical attribute information affecting the results. , calculate the standardized value:
[0091] ;
[0092] in, represents the mean of all columns in the matrix. Represents the standard deviation of all columns in the matrix. The matrix obtained after standardizing the mean and standard deviation is used as the standardized attribute matrix.
[0093] In this embodiment, the corresponding covariance matrix is calculated according to the standardized attribute matrix;
[0094] ;
[0095] Among them, the current X is the standardized attribute matrix, X T is the transpose of the standardized attribute matrix, n represents the number of matrix rows, and the matrix multiplication X T The result of X is a 7×7 matrix, where each matrix element C jk represents the covariance between feature j and feature k, calculated as follows:
[0096] ;
[0097] in, represents the physical properties of feature j, Represents the physical properties of feature k.
[0098] The covariance value of each matrix element is calculated one by one using the above formula to obtain the covariance matrix.
[0099] In this embodiment, the covariance matrix is used to construct the corresponding projection matrix to determine the target attribute matrix of each vortex area according to the projection matrix and the standardized attribute matrix. Specifically, the covariance matrix is subjected to eigenvalue decomposition to calculate the eigenvalues and corresponding eigenvectors of the covariance matrix, and the target eigenvalues and corresponding target eigenvectors are selected from the eigenvalues to construct the projection matrix. It can be understood that the covariance matrix C is subjected to eigenvalue decomposition to calculate the eigenvalues and corresponding eigenvectors of the covariance matrix. The eigenvalue reflects the amount of variance in the direction of each eigenvector. Each eigenvalue corresponds to an eigenvector. The eigenvalues are sorted in order from large to small, and the first 4 largest eigenvalues and their corresponding eigenvectors are selected as the principal components to form the projection matrix P, and the size of P is 7×4.
[0100] In this embodiment, the projection matrix is used to project the standardized attribute matrix to reduce the dimension, so as to obtain the corresponding principal component attribute matrix, and each principal component attribute matrix is used as the target attribute matrix of each vortex region. It can be understood that the projection matrix P is used to project the X after the original data is standardized into a new low-dimensional space. The specific projection formula is as follows:
[0101] ;
[0102] Among them, X reduced is a matrix of size m×4, T i There are n vortex feature regions in the time step, that is, there are n m×4 principal component attribute matrices, which are also target attribute matrices.
[0103] Step S15: construct a feature similarity matrix according to the similarity calculation results between the target attribute matrices at adjacent time steps, and traverse the feature similarity matrix according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps.
[0104] In this embodiment, based on the similarity calculation results between the target attribute matrices at adjacent time steps, a feature similarity matrix is constructed using the similarity calculation results, wherein the feature similarity matrix represents whether two adjacent vortex regions are similar. Then, by traversing the feature similarity matrix and the pre-set feature correspondence relationship, it is determined to which feature correspondence the traversed feature quantity belongs, thereby determining the target flow field event type to which the three-dimensional time series flow field belongs during the change process at different time steps.
[0105] It can be seen that the present application discloses the acquisition of flow field data at each time step of a three-dimensional time series flow field; identification of data points belonging to the vortex region in the flow field data at each time step, and spatially connected region segmentation of the flow field region at each time step based on all the data points to obtain the vortex region at a single time step; calculation of the vortex intensity, vorticity value, and local shear rate corresponding to each data point in each vortex region to obtain physical property information of each vortex region; construction of attribute matrices of the vortex region based on the physical property information of each vortex region, and matrix extraction of each attribute matrix using a preset principal component analysis method to obtain target attribute matrices of each vortex region; construction of a feature similarity matrix based on the similarity calculation results between the target attribute matrices at adjacent time steps, and traversal of the feature similarity matrix according to the preset feature correspondence to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps. It can be seen that by segmenting the flow field area at each time step, the vortex area at a single time step is obtained, so that the physical property information can be calculated according to the flow field data in the vortex area, and then the physical property information is fused and simplified to obtain the target attribute matrix. Finally, the feature similarity matrix is further constructed through the similarity results of the target attribute matrix at adjacent time steps, and the feature similarity matrix is matched with the preset feature correspondence to achieve matching and event tracking between three-dimensional flow field vortex features, reduce threshold dependence, and improve computational efficiency.
[0106] Reference Figure 5 As shown, the embodiment of the present invention discloses a specific flow field feature extraction and tracking method based on physical information fusion. Compared with the previous embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically:
[0107] Step S21: Obtain flow field data at each time step of the three-dimensional time series flow field.
[0108] Step S22: Identify data points belonging to the vortex region in the flow field data at each time step, and perform spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step.
[0109] Step S23: Calculate the vortex intensity, vorticity value, and local shear rate corresponding to each data point of each vortex region to obtain physical property information of each vortex region.
[0110] Step S24: constructing attribute matrices of the vortex regions respectively based on the physical attribute information of each vortex region, and performing matrix extraction on each attribute matrix using a preset principal component analysis method to obtain target attribute matrices of each vortex region respectively.
[0111] For more detailed processing procedures in step S21 to step S24, please refer to the aforementioned disclosed embodiment contents, which will not be described again here.
[0112] Step S25: Calculate the cosine similarities between the target attribute matrices at adjacent time steps; average the cosine similarities to obtain similarity calculation results between the target attribute matrices at adjacent time steps.
[0113] In this embodiment, T i , T i+1 The similarity between all target attribute matrices in two adjacent time steps is calculated. The specific steps are as follows:
[0114] Calculate T i Time step n i The target attribute matrix X i (i=1,2,...,n i ) and T i+1 Time step n i+1 The target attribute matrix Y j (j=1,2,...,n_(i+1)) similarity.
[0115] ;
[0116] in, and The matrix X is i and Y j The lth and kth rows in .
[0117] Calculate the average cosine similarity between the two matrices by averaging these cosine values:
[0118] ;
[0119] Among them, the matrix X i and Y j There are m and p rows respectively.
[0120] Step S26: Determine the size relationship between the similarity calculation result and the preset minimum similarity threshold. If the similarity calculation result is less than the preset minimum similarity threshold, it indicates that the feature regions of the current adjacent time steps are not similar, and the current similarity calculation result is assigned 0 to obtain a corresponding first assignment result, and then the first assignment result is used as a matrix element for constructing a feature similarity matrix; if the similarity calculation result is greater than or equal to the preset minimum similarity threshold, it indicates that the feature regions of the current adjacent time steps are similar, and the current similarity calculation result is assigned 1 to obtain a corresponding second assignment result, and then the second assignment result is used as a matrix element for constructing a feature similarity matrix; the feature similarity matrix is constructed using the assignment results after all the similarity calculation results are assigned.
[0121] In this embodiment, a The feature similarity matrix of T i The number of the feature region in the time step, the column number of the matrix represents T i+1 The number of the feature region at the time step. The matrix elements are 0 or 1. 0 means that the similarity between the two feature regions is less than the minimum similarity threshold, that is, the two feature regions are not similar. 1 means that the similarity between the two feature regions is greater than the minimum similarity threshold, that is, the two feature regions are similar. Figure 2 , Figure 3 Calculating the features shown will yield Figure 6 The feature similarity matrix shown.
[0122] Step S27: constructing a correspondence between different flow field event types and flow field features to obtain a preset feature correspondence including multiple target feature correspondences; wherein the flow field event types include: continuation event type, split event type, merge event type, generation event type, and dissipation event type.
[0123] In this embodiment, Figure 7As shown, when the correspondence between the number of flow field features is 1 to 1, the first target feature correspondence between the corresponding continuation event type and the number of flow field features is constructed; when the correspondence between the number of flow field features is 1 to many, the second target feature correspondence between the corresponding splitting event type and the number of flow field features is constructed; when the correspondence between the number of flow field features is many to 1, the third target feature correspondence between the corresponding merging event type and the number of flow field features is constructed; when the correspondence between the number of flow field features is 0 to 1, the fourth target feature correspondence between the corresponding generation event type and the number of flow field features is constructed; when the correspondence between the number of flow field features is 1 to 0, the fifth target feature correspondence between the corresponding dissipation event type and the number of flow field features is constructed. The preset feature correspondence is constructed according to the first target feature correspondence, the second target feature correspondence, the third target feature correspondence, the fourth target feature correspondence, and the fifth target feature correspondence.
[0124] Step S28: traverse the feature similarity matrix to determine the target feature correspondence according to the matrix traversal result and the preset feature correspondence; based on the target feature correspondence, determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps.
[0125] In this embodiment, each matrix element of the feature similarity matrix is traversed, and then the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps is determined based on the correspondence between each traversed matrix element and a certain feature.
[0126] Reference Figure 8As shown, the present invention discloses a flow field feature extraction and tracking method at time T and time T+1, and the steps are as follows: first, the flow field data at time T and time T+1 are obtained, and then a feature region (vortex region) identification and segmentation process is entered. Specifically, the Q value (vortex intensity) of the flow field data at time T and time T+1 is calculated respectively, and then, whether the flow field data point belongs to the vortex region is identified and processed according to whether the Q value is greater than 0. It should be noted that the vortex region composed of the flow field data points with a Q value greater than 0 at this time is not the final vortex region determined, but an initial vortex region. Then, a three-dimensional region growth algorithm is used to perform corresponding processing on the data points in the initial vortex region to obtain the final vortex region and its internal data points, and the feature region (vortex region) segmentation processing of the flow field at time T and the flow field at time T+1 is completed to obtain the feature regions C1, C2, ..., Cn at time T and the feature regions D1, D2, ..., Dm at time T+1 respectively. Then, the physical properties of each feature area are calculated, and the attribute matrix is constructed based on the calculated physical property information. Then, the PCA principal component analysis method is used to extract the matrix in the attribute matrix as independent new physical properties to remove the dependence between the physical properties. Then, the matrix projection operation is performed to fuse the projection matrix and the standardized attribute matrix to obtain the principal component attribute matrix. Among them, in the process of fusing the attribute matrix, in order to distinguish the fusion process at time T and time T+1, the principal component attribute matrix obtained after the principal component analysis at time T is recorded as X1, X2,…, Xn; the principal component attribute matrix obtained after the principal component analysis at time T+1 is recorded as Y1, Y2,…, Ym. Further, the cosine similarity between the principal component attribute matrices at time T and time T+1 is calculated, and an n×m feature similarity matrix is constructed based on the calculation results. Finally, the target flow field event type in the change between time T and time T+1 is determined by presetting the feature correspondence and traversing the feature similarity matrix, and the visual tracking of the flow field event is completed.
[0127] It can be seen that by calculating the cosine similarity between all features in adjacent time steps, if the cosine similarity is greater than the minimum threshold, the two features are considered to be similar, and the matching between the three-dimensional flow field vortex features is realized. Then, the results of traversing each element in the two matrices to see if the two features are similar are used to determine the event type based on the feature correspondence between the event type and the flow field feature. Then, the events to which they belong are determined one by one in chronological order, thereby realizing event tracking, reducing threshold dependence, and improving computational efficiency.
[0128] Reference Fig. 9 As shown, the present invention also discloses a flow field feature extraction and tracking device based on physical information fusion, comprising:
[0129] A data acquisition module 11 is used to acquire flow field data at each time step of a three-dimensional time series flow field;
[0130] A region segmentation module 12 is used to identify data points belonging to the vortex region in the flow field data at each time step, and to perform spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step;
[0131] An information calculation module 13 is used to calculate the vortex intensity, vorticity value, and local shear rate corresponding to each data point of each vortex region to obtain physical property information of each vortex region;
[0132] A matrix construction module 14 is used to construct attribute matrices of the vortex regions based on the physical attribute information of each vortex region, and perform matrix extraction on each attribute matrix using a preset principal component analysis method to obtain a target attribute matrix of each vortex region;
[0133] The tracking module 15 is used to construct a feature similarity matrix based on the similarity calculation results between the target attribute matrices at adjacent time steps, and traverse the feature similarity matrix according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps.
[0134] It can be seen that the present application discloses the acquisition of flow field data at each time step of a three-dimensional time series flow field; identification of data points belonging to the vortex region in the flow field data at each time step, and spatially connected region segmentation of the flow field region at each time step based on all the data points to obtain the vortex region at a single time step; calculation of the vortex intensity, vorticity value, and local shear rate corresponding to each data point in each vortex region to obtain physical property information of each vortex region; construction of attribute matrices of the vortex region based on the physical property information of each vortex region, and matrix extraction of each attribute matrix using a preset principal component analysis method to obtain target attribute matrices of each vortex region; construction of a feature similarity matrix based on the similarity calculation results between the target attribute matrices at adjacent time steps, and traversal of the feature similarity matrix according to the preset feature correspondence to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps. It can be seen that by segmenting the flow field area at each time step, the vortex area at a single time step is obtained, so that the physical property information can be calculated according to the flow field data in the vortex area, and then the physical property information is fused and simplified to obtain the target attribute matrix. Finally, the feature similarity matrix is further constructed through the similarity results of the target attribute matrix at adjacent time steps, and the feature similarity matrix is matched with the preset feature correspondence to achieve matching and event tracking between three-dimensional flow field vortex features, reduce threshold dependence, and improve computational efficiency.
[0135] Furthermore, the present application also discloses an electronic device. Fig.10 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0136] Fig.10 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the flow field feature extraction and tracking method based on physical information fusion disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0137] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0138] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0139] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0140] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the processor 21 on the massive data 223 in the memory 22, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the flow field feature extraction and tracking method based on physical information fusion performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can also further include a computer program that can be used to complete other specific tasks. In addition to data transmitted from an external device received by the electronic device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0141] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the flow field feature extraction and tracking method based on physical information fusion disclosed above is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the above embodiments, and no further description will be given here.
[0142] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0143] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory RAM (Random Access Memory), memory, read-only memory ROM (Read Only Memory), electrically programmable EPROM (Electrically Programmable Read Only Memory), electrically erasable programmable EEPROM (ElectricErasable Programmable Read Only Memory), register, hard disk, removable disk, CD-ROM (CompactDisc-Read Only Memory), or any other form of storage medium known in the technical field.
[0144] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0145] The scheme provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A flow field feature extraction and tracking method based on physical information fusion, characterized in that: include: Obtain flow field data at each time step of the three-dimensional time series flow field; Identify data points belonging to the vortex region in the flow field data at each time step, and perform spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step; Calculating the vortex intensity, vorticity value, and local shear rate corresponding to each data point in each vortex region to obtain physical property information of each vortex region; Based on the physical property information of each vortex region, the attribute matrix of each vortex region is constructed respectively, and the matrix extraction of each attribute matrix is performed using a preset principal component analysis method to obtain the target attribute matrix of each vortex region respectively; A feature similarity matrix is constructed according to the similarity calculation results between the target attribute matrices at adjacent time steps, and the feature similarity matrix is traversed according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps.
2. The flow field feature extraction and tracking method based on physical information fusion according to claim 1 is characterized in that: The identifying data points belonging to the vortex region in the flow field data at each time step, and performing spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step, includes: The vortex intensity of the flow field data at each time step is calculated by using a vortex intensity calculation formula to obtain the vortex intensity of each flow field data point in the flow field data at each time step; The flow field data points with vortex intensity greater than a preset vortex intensity threshold are taken as target data points of the vortex region; Select any target data point in the vortex area as a seed point, take the seed point as the starting point, traverse the target data points in a single time step through breadth-first search, create an original queue for the feature area of the current single time step, use breadth-first search to traverse the target data points and their surrounding neighborhoods in the original queue, mark the target data points that meet the preset regional threshold conditions as regional features, and push the regional features into the new queue until the target data points in the original queue are empty, so as to obtain the vortex area in a single time step.
3. The flow field feature extraction and tracking method based on physical information fusion according to claim 2 is characterized in that: The calculating of the vortex intensity, vorticity value, and local shear rate corresponding to each data point in each vortex region to obtain physical property information of each vortex region includes: Calculate and determine the vorticity value of the target data point according to the partial derivatives of the velocity vector components of the target data point in each of the vortex regions in different velocity directions; Calculate and determine the Jacobian matrix of the target data point based on the three-dimensional spatial coordinate information and velocity vector of the target data point in each vortex region; Calculate and determine the tension tensor matrix of the target data point according to the Jacobian matrix and the transposed matrix of the Jacobian matrix; Calculate and determine the vortex intensity of the target data point based on the tension tensor matrix and the vorticity value; The vortex intensity, the vorticity value, the F norm of the Jacobi matrix, and the F norm of the tension tensor matrix are used as physical property information of each vortex region.
4. The flow field feature extraction and tracking method based on physical information fusion according to claim 3 is characterized in that: The method of constructing the attribute matrices of the vortex regions based on the physical attribute information of each vortex region and performing matrix extraction on each attribute matrix using a preset principal component analysis method to obtain the target attribute matrix of each vortex region includes: Constructing the attribute vector of the target data point in the order of the vortex intensity, the vorticity value, the F norm of the Jacobi matrix, the F norm of the tension tensor matrix, and the three-dimensional space coordinate information of the target data point; A characteristic attribute matrix constructed based on the attribute vectors of the target data points located in the same vortex region is used as the attribute matrix of the vortex region to obtain the attribute matrix of each vortex region; Standardizing the attribute elements in the attribute matrix to obtain a standardized attribute matrix; Calculate the corresponding covariance matrix according to the standardized attribute matrix; The corresponding projection matrix is constructed using the covariance matrix, so as to determine the target attribute matrix of each vortex region according to the projection matrix and the standardized attribute matrix.
5. The flow field feature extraction and tracking method based on physical information fusion according to claim 4 is characterized in that: The method of constructing a corresponding projection matrix using the covariance matrix to determine a target attribute matrix of each vortex region according to the projection matrix and the standardized attribute matrix includes: Performing eigenvalue decomposition on the covariance matrix to calculate eigenvalues and corresponding eigenvectors of the covariance matrix, and selecting target eigenvalues and corresponding target eigenvectors from the eigenvalues to construct a projection matrix; The projection matrix is used to perform projection dimension reduction on the standardized attribute matrix to obtain a corresponding principal component attribute matrix, and each principal component attribute matrix is used as a target attribute matrix of each vortex region.
6. The flow field feature extraction and tracking method based on physical information fusion according to claim 1 is characterized in that: Before constructing the feature similarity matrix according to the similarity calculation results between the target attribute matrices at adjacent time steps, the method further includes: Calculating the cosine similarity between the target attribute matrices at adjacent time steps; The cosine similarities are averaged to obtain similarity calculation results between the target attribute matrices at adjacent time steps.
7. The flow field feature extraction and tracking method based on physical information fusion according to claim 6 is characterized in that: The constructing a feature similarity matrix according to similarity calculation results between the target attribute matrices at adjacent time steps includes: Determine the size relationship between the similarity calculation result and a preset minimum similarity threshold value. If the similarity calculation result is less than the preset minimum similarity threshold value, it indicates that the feature regions of the current adjacent time steps are not similar. The current similarity calculation result is assigned 0 to obtain a corresponding first assignment result. The first assignment result is then used as a matrix element for constructing a feature similarity matrix. If the similarity calculation result is greater than or equal to the preset minimum similarity threshold, it indicates that the feature regions of the current adjacent time steps are similar, and the current similarity calculation result is assigned a value of 1 to obtain a corresponding second assignment result, and then the second assignment result is used as a matrix element for constructing a feature similarity matrix; The feature similarity matrix is constructed using the assigned results of all the similarity calculation results.
8. The flow field feature extraction and tracking method based on physical information fusion according to claim 7 is characterized in that: The traversing the feature similarity matrix according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs when changing between different time steps includes: Constructing correspondences between different flow field event types and flow field features to obtain a preset feature correspondence that includes multiple target feature correspondences; wherein the flow field event types include: continuation event type, split event type, merge event type, generation event type, and dissipation event type; Traversing the feature similarity matrix to determine the target feature correspondence relationship according to the matrix traversal result and the preset feature correspondence relationship; Based on the target feature correspondence, the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps is determined.
9. A flow field feature extraction and tracking device based on physical information fusion, characterized in that: include: A data acquisition module, used to acquire flow field data at each time step of a three-dimensional time series flow field; A region segmentation module is used to identify data points belonging to the vortex region in the flow field data at each time step, and to perform spatially connected region segmentation on the flow field region at each time step based on all the data points to obtain the vortex region at a single time step; An information calculation module, used for calculating the vortex intensity, vorticity value, and local shear rate corresponding to each data point of each vortex region, so as to obtain the physical property information of each vortex region; A matrix construction module, used for constructing attribute matrices of the vortex regions based on the physical attribute information of the vortex regions, and performing matrix extraction on the attribute matrices using a preset principal component analysis method to obtain target attribute matrices of the vortex regions; The tracking module is used to construct a feature similarity matrix based on the similarity calculation results between the target attribute matrices at adjacent time steps, and traverse the feature similarity matrix according to the preset feature correspondence relationship to determine the target flow field event type to which the three-dimensional time series flow field belongs in the change between different time steps.
10. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the flow field feature extraction and tracking method based on physical information fusion as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Establishment method for free surface flow model in moving particle semi-implicit algorithm
CN102867094A
Flow field feature tracking method based on graph optimization
CN114722735A
