Search

CN-122020766-A - Industrial simulation application cloud post-processing optimization method, device and server

CN122020766ACN 122020766 ACN122020766 ACN 122020766ACN-122020766-A

Abstract

The invention provides a cloud post-processing optimization method, a cloud post-processing optimization device and a cloud post-processing optimization server for industrial simulation application, and relates to the technical field of industrial simulation application, wherein the cloud post-processing optimization method comprises the steps of obtaining complete grid information and cloud image data, extracting surface grid information from the complete grid information, and mapping the cloud image data to nodes corresponding to the surface grid information to obtain a light post-processing data file; analyzing surface grid information of a light post-processing data file at the front end, determining an outer surface structure of a finite element model based on the surface grid information, mapping cloud image data to the outer surface structure to perform cloud image rendering processing to obtain an initial visual result, determining a result display interval of a cloud image in the initial visual result in response to adjustment operation of a user on a cloud image display interface, and performing rendering processing on the cloud image in the result display interval and the cloud image outside the result display interval to obtain an enhanced visual result after cloud image optimization. The invention can obviously improve the post-processing efficiency of the simulation result.

Inventors

  • ZHANG JIAZHONG
  • CHEN HONGLIN
  • WU JIANMING

Assignees

  • 浙江远算科技有限公司

Dates

Publication Date
20260512
Application Date
20260413

Claims (10)

  1. 1. The cloud post-processing optimization method for the industrial simulation application is characterized by comprising the following steps of: Acquiring complete grid information and cloud image data of a finite element model from an original result file, and extracting surface grid information from the complete grid information to map the cloud image data to a node corresponding to the surface grid information to obtain a light post-processing data file, wherein the original result file is a result file generated after cloud simulation calculation is completed; The light post-processing data file is transmitted back to the front end, so that the surface grid information of the light post-processing data file is analyzed at the front end, the outer surface structure of a finite element model is determined based on the surface grid information, the cloud image data is mapped to the outer surface structure to carry out cloud image rendering processing, and an initial visual result is obtained; And responding to the adjustment operation of a user on a cloud image display interface, determining a result display interval of the cloud image in the initial visual result, and respectively rendering the cloud image in the result display interval and the cloud image outside the result display interval to obtain an enhanced visual result after cloud image optimization.
  2. 2. The method for optimizing cloud post-processing of an industrial simulation application according to claim 1, wherein the step of extracting surface mesh information from the complete mesh information comprises: Reconstructing the finite element model based on the complete grid information, and carrying out surface grid extraction processing on the entity unit model in the finite element model based on a topology traversal algorithm to obtain a unit surface set adjacent to a single entity unit only, so as to determine the surface grid information according to the unit surface set.
  3. 3. The method for optimizing cloud post-processing of industrial simulation applications according to claim 2, wherein the step of determining the surface mesh information according to the set of unit planes comprises: combining the unit surface sets into a surface grid set; Triangularizing the quadrilateral surface unit surface in the surface grid set to obtain a pure triangle surface grid, and determining grid information of the pure triangle surface grid as the surface grid information.
  4. 4. The cloud post-processing optimization method for industrial simulation applications according to claim 1, wherein the step of mapping the cloud image data to the nodes corresponding to the surface grid information to obtain the light post-processing data file comprises the following steps: And carrying out matching processing on the nodes of the surface grid and the nodes of the complete grid based on the node ID, so that each node of the surface grid obtains cloud image data of the corresponding node in the complete grid, and the light post-processing data file is obtained.
  5. 5. The method for optimizing cloud post-processing of an industrial simulation application according to claim 1, wherein the step of analyzing the surface mesh information of the lightweight post-processing data file at the front end and determining an outer surface structure of a finite element model based on the surface mesh information comprises: Analyzing the light post-processing data file, and determining node coordinates and unit topology connection relations in the surface grid information; And establishing vertex buffer and index buffer in a graph rendering pipeline according to the node coordinates and the unit topological connection relation so as to render according to the vertex buffer and the index buffer, thereby obtaining the outer surface structure of the finite element model.
  6. 6. The cloud post-processing optimization method for industrial simulation application according to claim 1, wherein the step of rendering the cloud images in the result display section and the cloud images outside the result display section to obtain the enhanced visual result after cloud image optimization comprises the following steps: And rendering nodes lower than the lower limit value of the result display interval by adopting a preset first color, rendering nodes higher than the upper limit value of the result display interval by adopting a preset second color, and gradually rendering nodes between the lower limit value and the upper limit value of the result display interval by adopting a default color band so as to obtain the enhanced visual result.
  7. 7. The method for optimizing cloud post-processing of industrial simulation applications according to claim 1, wherein after the step of obtaining the cloud optimized enhanced visualization result, the method comprises: and if a video recording instruction is received, acquiring canvas used for displaying a simulation result at the front end through a video encoder to obtain picture frames, and packaging the picture frames into a video file in a standard format in real time so as to output the video file as a post-processing visual video.
  8. 8. An industrial simulation application cloud post-processing optimization device, the device comprising: The data preprocessing module is used for acquiring complete grid information and cloud image data of a finite element model from an original result file, extracting surface grid information from the complete grid information, and mapping the cloud image data to a node corresponding to the surface grid information to obtain a light post-processing data file, wherein the original result file is a result file generated after cloud simulation calculation is completed; The front-end rendering module is used for transmitting the light-weight post-processing data file back to the front end, analyzing the surface grid information of the light-weight post-processing data file at the front end, determining the outer surface structure of the finite element model based on the surface grid information, mapping the cloud image data to the outer surface structure, and performing cloud image rendering processing to obtain an initial visual result; And the interaction enhancement module is used for responding to the adjustment operation of a user on the cloud image display interface, determining a result display interval of the cloud image in the initial visual result, and respectively rendering the cloud image in the result display interval and the cloud image outside the result display interval to obtain an enhanced visual result after cloud image optimization.
  9. 9. A server comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of any one of claims 1 to 7.
  10. 10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 7.

Description

Industrial simulation application cloud post-processing optimization method, device and server Technical Field The invention relates to the technical field of industrial simulation application, in particular to a cloud post-processing optimization method, device and server for industrial simulation application. Background At present, in cloud industrial simulation application, huge-volume result data files are usually generated after simulation calculation is completed, and in the prior art, technical routes of whole result file generation, unified return, front-end complete loading and browser-end rendering are usually adopted, the complete result file is returned to a Web end, and data analysis and three-dimensional rendering display are completed by a browser. The related technology proposes that the scheme has obvious limitations in practical application, on one hand, the whole result file is huge in volume, the overall feedback and loading are high in dependence on network bandwidth and browser performance, so that the problems of long loading waiting time, rendering blocking and overhigh memory occupation of the browser are easily caused, especially in multi-time-step simulation, the animation playing is unsmooth, the post-processing efficiency is low, on the other hand, the cloud picture display adopts an automatic color mapping mode based on a global extremum, when the local abnormal extremum exists, the numerical value difference in an effective engineering concerned interval is compressed, the cloud picture is difficult to read, and in addition, the existing post-processing result display mode which depends on browser recording is insufficient in compatibility in a multi-terminal and multi-browser environment, and the definition is difficult to meet engineering requirements. Disclosure of Invention In view of the above, the present invention aims to provide a cloud post-processing optimization method, device and server for industrial simulation application, which can significantly improve the post-processing efficiency of simulation results. In a first aspect, an embodiment of the present invention provides a cloud post-processing optimization method for an industrial simulation application, where the method includes acquiring complete grid information and cloud image data of a finite element model from an original result file, extracting surface grid information from the complete grid information, mapping the cloud image data to nodes corresponding to the surface grid information to obtain a light-weighted post-processing data file, where the original result file is a result file generated after cloud simulation calculation is completed, returning the light-weighted post-processing data file to a front end, analyzing the surface grid information of the light-weighted post-processing data file at the front end, determining an outer surface structure of the finite element model based on the surface grid information, mapping the cloud image data to the outer surface structure, performing cloud image rendering processing to obtain an initial visual result, determining a result display section of a cloud image in the initial visual result in response to an adjustment operation of a user on a cloud image display interface, and performing rendering processing on the cloud image in the result display section and a cloud image outside the result display section, respectively, to obtain an enhanced visual result after cloud image optimization. In one embodiment, the step of extracting surface mesh information from the complete mesh information comprises reconstructing a finite element model based on the complete mesh information, and performing surface mesh extraction processing on the entity unit model in the finite element model based on a topology traversal algorithm to obtain a unit surface set adjacent to only a single entity unit, so as to determine the surface mesh information according to the unit surface set. In one embodiment, the step of determining surface mesh information according to the unit surface set comprises the steps of combining the unit surface set into the surface mesh set, triangulating the quadrilateral surface unit surfaces in the surface mesh set to obtain pure triangle surface meshes, and determining mesh information of the pure triangle surface meshes as surface mesh information. In one embodiment, the step of mapping the cloud image data to the node corresponding to the surface grid information to obtain the light-weighted post-processing data file comprises the steps of carrying out matching processing on the node of the surface grid and the node of the complete grid based on the node ID, so that each node of the surface grid obtains the cloud image data of the corresponding node in the complete grid, and the light-weighted post-processing data file is obtained. In one embodiment, the method includes the steps of analyzing surface mesh information of a lightweight post-proce