Dynamic visualization method, system, medium and equipment based on finite element model

By acquiring and converting the data set of the finite element model, the intersection of the mesh cells of the building and the section plane are drawn to form a section cloud map, which solves the problem that the finite element analysis results can only be displayed in the software, and realizes dynamic visualization and detailed viewing of the simulation information inside the building.

CN118940585BActive Publication Date: 2025-08-15SHANGHAI INVESTIGATION DESIGN & RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411091529.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2025-08-15
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

In the prior art, the finite element analysis calculation results are mainly retained in the form of reports and charts, and simulation visualization can only be displayed in the software, which limits further functional expansion and data analysis.

Method used

By obtaining the spatial grid structure text data of the target building calculated by the finite element model and the text data set of simulation analysis, it is converted into the stored grid unit data and node coordinate data of key-value pairs, the intersection of the grid unit and the section plane is drawn, a section cloud map is formed, and dynamically visualized and displayed based on the section cloud map.

Benefits of technology

Real-time rendering of cloud maps and deformation animations on the B/S end is realized, and a finite element model profile cloud map tool is provided, which can efficiently and smoothly render large-scale model data, and intuitively view the internal simulation information of the building in detail.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940585B_ABST
    Figure CN118940585B_ABST
Patent Text Reader

Abstract

The present application provides a dynamic visualization method and system, medium and equipment based on a finite element model. It includes: obtaining the spatial grid structure text data and simulation analysis text data set of the target building calculated based on the finite element model; converting the spatial grid structure text data into grid unit data and node coordinate data stored in key-value pairs; converting the simulation analysis text data set into a node analysis data set stored in key-value pairs; obtaining the outer surface grid contour of the target building based on the grid unit data; drawing the intersection of each grid unit of the spatial grid structure and the cutting plane based on the grid unit data and the node coordinate data, and forming a cross-sectional cloud map based on the node analysis data set; and dynamically visualizing the target building based on the cross-sectional cloud map and the outer surface grid contour. The present application can visualize the post-processing calculation results of the finite element analysis online, providing visual data support for operation and maintenance safety technicians to conduct safety evaluations of the structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a dynamic visualization method and system, medium, and equipment based on a finite element model. Background Art

[0002] Finite element models are widely used in the field of digital engineering for their intelligent simulation of complex building structures. Currently, the post-processing of finite element analysis is primarily displayed using finite element analysis software (such as ANSYS and SUPERSAP). Finite element analysis results are primarily stored in reports and charts, and simulation visualization can only be displayed within the software, limiting further functional expansion and data analysis.

[0003] In order to realize digital and intelligent simulation of buildings and improve the visualization of application scenarios and data interaction capabilities, it is urgent to provide a tool that can intuitively and detailedly view the internal simulation information of buildings.

[0004] Application Contents

[0005] The purpose of this application is to provide a dynamic visualization method and system, medium and equipment based on a finite element model, which is used to solve the technical problem that the finite element analysis calculation results are mainly retained in the form of reports, charts, etc., and the simulation visualization can only be displayed in the software.

[0006] In a first aspect, the present application provides a dynamic visualization method based on a finite element model. The dynamic visualization method based on a finite element model comprises: obtaining spatial grid structure text data and a simulation analysis text data set of a target building calculated based on the finite element model; converting the spatial grid structure text data into grid unit data and node coordinate data stored in key-value pairs; and converting the simulation analysis text data set into a node analysis data set stored in key-value pairs; obtaining the outer surface grid contour of the target building based on the grid unit data; drawing the intersection of each grid unit of the spatial grid structure and the cutting plane based on the grid unit data and the node coordinate data, and forming a cross-sectional cloud map based on the node analysis data set; and dynamically visualizing the target building based on the cross-sectional cloud map and the outer surface grid contour.

[0007] In an implementation of the first aspect, obtaining the outer surface grid contour of the target building based on the grid cell data includes: parsing the grid cell data into a grid surface data set; and performing lightweight processing on the grid surface data set to obtain the outer surface grid contour.

[0008] In an implementation of the first aspect, the intersection of each grid cell of the spatial grid structure and the cutting plane is drawn according to the grid cell data and the node coordinate data, and a cross-sectional cloud map is formed based on the node analysis data set, including: obtaining a cross-sectional plane generated based on a cross-sectional positioning model; based on the grid cell data, the node coordinate data and the grid cell surface of the spatial grid structure, sequentially obtaining the intersection of each grid cell surface and the cutting plane to obtain a cross-section; and obtaining a cross-sectional cloud map based on the obtained cross-section and the node analysis data set.

[0009] In an implementation of the first aspect, obtaining the intersection of a grid unit surface and the cutting plane includes: obtaining a plurality of edges of the grid unit surface; obtaining the intersection points of the grid unit surface and the cutting plane based on the edges; connecting each of the intersection points in sequence according to a preset order to obtain the intersection of the grid unit surface and the cutting plane; and coloring the intersection according to the node analysis data set.

[0010] In an implementation of the first aspect, obtaining the intersection point between the grid unit surface and the cutting plane according to the edge line includes using the following formula:

[0011]

[0012] Among them, Q(x,y,z) represents the coordinates of the intersection of the grid unit surface and the cutting plane, x i 、y i 、z i Indicates the coordinate of one endpoint of the edge line, x j 、y j 、z j represents the coordinates of the other end point of the edge line, and κ is the coefficient;

[0013] The coefficient κ is calculated using the following formula:

[0014]

[0015] in, is the normal vector of the cutting plane, Represents the vector between one end point of the edge line and the origin of the cutting plane, Represents the edge vector.

[0016] In an implementation of the first aspect, obtaining the preset order includes using the following formula:

[0017]

[0018] in, Represents the vector composed of the intersection points of the same grid surface, θ represents the intersection point Q nThe angle with the intersection Q0; the preset order is: connecting the intersections in sequence according to the order of the cosine output values.

[0019] In an implementation of the first aspect, the spatial grid structure text data includes: grid unit text data, node coordinate text data; converting the spatial grid structure text data into grid unit data and node coordinate data stored in key-value pairs includes: parsing the grid unit text data and the node coordinate text data; defining a grid unit data structure, and converting the parsed grid unit text data into grid unit data in the form of key-value pairs according to the grid unit data structure; and converting the node coordinate text data into node coordinate data in the form of key-value pairs according to Cartesian coordinates.

[0020] In a second aspect, the present application provides a dynamic visualization system based on a finite element model. The dynamic visualization system based on a finite element model includes: an acquisition module for acquiring spatial grid structure text data and a simulation analysis text data set of a target building calculated based on the finite element model; a data conversion module for converting the spatial grid structure text data into grid unit data and node coordinate data; and converting the simulation analysis text data set into a node analysis data set stored in key-value pairs; a contour extraction module for acquiring the outer surface grid contour of the target building based on the grid unit data; a cross-sectional cloud map drawing module for drawing the intersection of each grid unit of the spatial grid structure and the cutting plane based on the grid unit data and the node coordinate data, and forming a cross-sectional cloud map based on the node analysis data set; and a visualization module for dynamically visualizing the target building based on the cross-sectional cloud map and the outer surface grid contour.

[0021] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by an electronic device, the dynamic visualization method based on the finite element model as described in any one of the first aspects of the present application is implemented.

[0022] In a fourth aspect, the present application provides an electronic device comprising: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the electronic device executes the dynamic visualization method based on the finite element model as described in any one of the first aspects of the present application.

[0023] According to the dynamic visualization method and system, medium and equipment based on the finite element model of the present application, real-time rendering of cloud maps and deformation animations can be achieved on the B / S side for dynamic display of finite element pre- and post-processing data sets; lightweight rendering of finite element models can be achieved, and large-volume model data can be rendered efficiently and smoothly; a finite element model cross-section cloud map tool is provided, which can intuitively and detailedly view the internal simulation information of the building. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 Shown is a schematic diagram of a scene of an electronic device in an embodiment of the present application.

[0025] Figure 2 Shown is a flow chart of an embodiment of the dynamic visualization method based on the finite element model described in this application.

[0026] Figure 3 Shown is a schematic diagram of a flow chart of obtaining the outer surface contour of a target building according to an embodiment of the present application.

[0027] Figure 4 Shown is a schematic diagram of the process of obtaining a cross-sectional cloud map in one embodiment of the present application.

[0028] Figure 5 FIG. 1 is a schematic diagram of a process for obtaining the intersection of a grid cell surface and a cutting plane according to an embodiment of the present application.

[0029] Figure 6 Shown is a schematic structural diagram of the intersection of the edge lines of the grid unit surface and the cutting plane described in this application.

[0030] Figure 7 Shown is a schematic structural diagram of the intersection of the grid unit surface and the cutting plane described in this application.

[0031] Figure 8a and Figure 8b Shown is a schematic diagram of a finite element model and a cross-sectional cloud diagram of the target building described in this application.

[0032] Figure 9 Shown is a structural schematic diagram of an embodiment of a dynamic visualization system based on a finite element model described in this application.

[0033] Figure 10 Shown is a structural schematic diagram of an electronic device described in an embodiment of the present application.

[0034] Component number description

[0035] 11. Cell Phone

[0036] 12 tablets

[0037] 13 laptops

[0038] 900 Dynamic Visualization System Based on Finite Element Model

[0039] 910 Get Module

[0040] 920 Data Conversion Module

[0041] 930 Contour Extraction Module

[0042] 940 Section Cloud Map Drawing Module

[0043] 950 Visualization Module

[0044] 101 processing units

[0045] 102 Memory

[0046] 1021 Random Access Memory

[0047] 1022 cache memory

[0048] 1023 Storage System

[0049] 1024 Programs / Utilities

[0050] 1025 program modules

[0051] 103 bus

[0052] 104 Input / Output Interfaces

[0053] 105 Network Adapter

[0054] Steps S1 to S5

[0055] Steps S31-S32

[0056] Steps S41 to S43

[0057] Steps S421 to S423 DETAILED DESCRIPTION

[0058] The following describes the embodiments of the present application through specific examples. Those skilled in the art can easily understand the other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.

[0059] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the illustrations only show components related to the present application and are not drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component can be changed at will, and the component layout type may also be more complicated.

[0060] In addition, the descriptions of "first", "second", etc. in this application are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0061] The following embodiments of the present application provide a dynamic visualization method and system, medium and equipment based on a finite element model, which can realize real-time rendering of cloud maps and deformation animations on the B / S side for dynamic display of finite element pre- and post-processing data sets; realize lightweight rendering of finite element models, and can efficiently and smoothly render large-volume model data; provide a finite element model cross-section cloud map tool, which can intuitively and detailedly view the internal simulation information of the building.

[0062] The dynamic visualization method based on the finite element model of this application can be applied to Figure 1 The electronic device described in this application may include a mobile phone 11 with wireless charging function, a tablet computer 12, a laptop computer 13, a wearable device, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiments of this application do not impose any restrictions on the specific type of electronic device.

[0063] For example, the electronic device may be a station (STAION, ST) in a WLAN with wireless charging capability, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless charging capability, a computing device or other processing device, a computer, a laptop computer, a handheld communication device, a handheld computing device, and / or other devices for communicating on a wireless system, as well as next-generation communication systems, etc.

[0064] For example, the electronic device may communicate with a network and other devices via wireless communications. The wireless communications may use any communication standard or protocol, including but not limited to Global System of Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), BT, GNSS, WLAN, NFC, FM, and / or IR technology.

[0065] The following will describe in detail the principles and implementation methods of the dynamic visualization method and system, medium and equipment based on the finite element model described in the embodiments of the present application in conjunction with the accompanying drawings, so that those skilled in the art can understand the dynamic visualization method and system, medium and equipment based on the finite element model of the embodiment without creative work.

[0066] See also Figure 2 , which shows a flow chart of a dynamic visualization method based on a finite element model provided in an embodiment of the present application. Figure 2 As shown, the process includes the following steps S1 to S5.

[0067] Step S1: Acquire spatial grid structure text data and simulation analysis text data set of a target building calculated based on a finite element model.

[0068] In some implementations, a three-dimensional geometric model corresponding to the target building is constructed based on the material structure of the target building, the three-dimensional geometric model is used as the network structure analysis object of finite element analysis, and a finite element model corresponding to the three-dimensional geometric model is constructed based on the analysis results. Nonlinear analysis is performed on the constructed finite element model to output a simulation analysis text data set of the target building.

[0069] The simulation analysis text dataset includes stress, deformation, and other responses of the spatial grid structure, as well as load data. The load data refers to single load conditions such as deadweight load, live load, wind load, temperature load, and accident load, including permanent, variable, and abnormal loads to which the building is subjected during operation.

[0070] In one embodiment, the 3D geometric model corresponding to the target building can be constructed based on ANSYS software with the aid of the MeshTool tool, and the spatial mesh structure text data and the simulation analysis text data set can be output.

[0071] Step S2: converting the spatial grid structure text data into grid unit data and node coordinate data; and converting the simulation analysis text data set into a node analysis data set stored in key-value pairs.

[0072] Specifically, the spatial grid structure text data is grid unit text data and node coordinate text data that are arranged in sequence and recorded in a text format.

[0073] In some implementations, the spatial grid structure text data includes: grid unit text data, node coordinate text data; converting the spatial grid structure text data into grid unit data and node coordinate data includes: parsing the grid unit text data and the node coordinate text data; defining a grid unit data structure, and converting the parsed grid unit text data into grid unit data in the form of key-value pairs according to the grid unit data structure; and converting the node coordinate text data into node coordinate data in the form of key-value pairs according to Cartesian coordinates.

[0074] Specifically, the obtained grid unit text data and the node coordinate text data are stored in a MongoDB database in the form of key-value pairs.

[0075] For the grid unit text data, define Index as the grid unit index, NodeNum as the number of nodes, NodeIndex as the node index array corresponding to the grid unit, and express the grid unit text data according to the above expression to obtain the grid unit data.

[0076] For example, {"Index":1,"NodeNum":8,"NodeIndex":[2,5,6,3,17,10,15,24]} means: the network unit numbered 1 includes 8 nodes, among which, in order from the 0th node to the 7th node, they are 2, 5, 6, 3, 17, 10, 15, 24, among which 2 means that the 0th node of the grid unit numbered 1 is numbered 2.

[0077] For the node coordinate text data, X, Y, and Z are defined as the Cartesian coordinates of the node, and the node coordinate data can be expressed as {"X":18.0,"Y":50.9,"Z":195.5}, for example.

[0078] It should be noted that any node in the grid unit has unique corresponding node coordinate data.

[0079] In some implementations, the simulation analysis text dataset includes: a finite element analysis calculation result dataset of single working conditions such as self-weight load, live load, wind load, temperature load and accident load applied to the building; converting the simulation analysis text dataset into a node analysis dataset stored in key-value pairs includes: parsing the finite element analysis calculation result dataset of single working conditions such as self-weight load, live load, wind load, temperature load and accident load applied to the building; defining a node analysis data structure, and converting the parsed finite element analysis calculation result datasets under different loads into node analysis datasets in the form of key-value pairs.

[0080] Step S3: Acquire the outer surface grid outline of the target building based on the grid unit data.

[0081] Specifically, the grid unit data is processed on the B / S side based on the WebGL engine to obtain the outer surface contour of the target building.

[0082] In some implementations, obtaining the outer surface mesh contour of the target building based on the mesh unit data includes: parsing the mesh unit data into a mesh surface data set; and performing lightweight processing on the mesh surface data set to obtain the outer surface mesh contour.

[0083] like Figure 3 As shown, obtaining the outer surface contour of the target building includes the following steps S31 to S32.

[0084] Step S31: Parse the grid cell data into a grid surface data set.

[0085] Specifically, the grid cell data is parsed into a grid surface data set. Taking an 8-node hexahedron grid cell as an example, its grid surface data can be expressed as:

[0086] [NodeIndex[0],NodeIndex[1],NodeIndex[2],NodeIndex[3]]

[0087] [NodeIndex[0],NodeIndex[4],NodeIndex[5],NodeIndex[1]]

[0088] [NodeIndex[0],NodeIndex[4],NodeIndex[7],NodeIndex[3]]

[0089] [NodeIndex[6],NodeIndex[7],NodeIndex[4],NodeIndex[5]]

[0090] [NodeIndex[6],NodeIndex[5],NodeIndex[1],NodeIndex[2]]

[0091] [NodeIndex[6],NodeIndex[7],NodeIndex[3],NodeIndex[2]]

[0092] Taking the first row as an example, it is represented as follows: the first face of the 8-node hexahedron mesh unit includes four nodes with index numbers 0, 1, 2, and 3.

[0093] Step S32: performing lightweight processing on the mesh surface data set to obtain an outer surface mesh outline.

[0094] Since the full rendering of all mesh bodies requires the use of a large amount of computing data in the background, as well as the use of memory resources to calculate and redraw the mesh unit data, rendering the model and expressing the data on the Web side will consume a lot of software and hardware resources. Therefore, the integrated mesh surface data set is lightweight processed to remove duplicate mesh surface data, thereby obtaining the outer surface mesh contour.

[0095] It should be noted that lightweight processing of mesh surface data sets is a common technical means in this field, so it will not be described in detail here.

[0096] Step S4: Draw the intersection of each grid unit of the spatial grid structure and the cutting plane according to the grid unit data and the node coordinate data, and form a cross-sectional cloud map based on the node analysis data set.

[0097] After lightweight processing of the mesh surface data set, only the outer surface mesh outline of the target building is retained, resulting in the inability to view the detailed internal structure of the building. Therefore, the cutting function of the profile cloud tool is used to locate the structural position and generate a profile, and the structural status of the profile is displayed in the form of a cloud map, thereby intuitively analyzing the deformation and load conditions of the spatial structure analysis object.

[0098] In some implementations, obtaining the cross-sectional cloud map includes: obtaining a cross-sectional plane generated based on a cross-sectional positioning model; based on the grid cell data, the node coordinate data, and the grid cell faces of the spatial grid structure, sequentially obtaining the intersection of each of the grid cell faces and the cross-sectional plane to obtain a cross-section; and obtaining a cross-sectional cloud map based on the obtained cross-section and the node analysis data set.

[0099] like Figure 4As shown, obtaining the cross-sectional cloud image includes the following steps S41 to S43.

[0100] Step S41: Obtain a cutting plane generated based on the cutting positioning model.

[0101] Specifically, the section positioning model provided by the section cloud tool is used to locate the position to be displayed and generate a section plane.

[0102] For the cutting plane, define the normal vector of the cutting plane and the origin O(x0,y0,z0), and any point Q(x,y,z) on the cutting plane, then the cutting platform can be described as:

[0103] u(x-x0)+v(y-y0)+w(z-z0)=0

[0104] Step S42: Based on the grid unit data, the node coordinate data and the grid unit surface of the spatial grid structure, the intersection surface of each grid unit surface and the cutting plane is obtained in sequence to obtain a cross section.

[0105] In some implementations, obtaining the intersection of the grid unit surface and the cutting plane includes: obtaining several edges of the grid unit surface; obtaining the intersection points of the grid unit surface and the cutting plane based on the edges; connecting each of the intersection points in sequence according to a preset order to obtain the intersection of the grid unit surface and the cutting plane; and coloring the intersection according to the node analysis data set.

[0106] like Figure 5 As shown, obtaining the intersection of the grid unit surface and the cutting plane includes the following steps S421 to S423.

[0107] Step S421: Acquire several edges of the grid unit surface.

[0108] Step S422: Obtain the intersection of the grid unit surface and the cutting plane according to the edge line.

[0109] In some implementations, obtaining the intersection of the grid unit surface and the cutting plane according to the edge line includes using the following formula:

[0110]

[0111] Among them, Q(x,y,z) represents the coordinates of the intersection of the grid unit surface and the cutting plane, x i 、y i 、z i Indicates the coordinate of one endpoint of the edge line, x j 、y j 、zj represents the coordinates of the other end point of the edge line, and κ is the coefficient;

[0112] The coefficient κ is calculated using the following formula:

[0113]

[0114] in, is the normal vector of the cutting plane, Represents the vector between one end point of the edge line and the origin of the cutting plane, Represents the edge vector.

[0115] like Figure 6 The figure shows the intersection of the edge of a grid unit surface and the cutting plane.

[0116] Among them, P i P j represents the edge line of the grid unit surface, O represents the origin of the cutting plane, and Q represents the intersection point of the edge line of the grid unit surface and the cutting plane.

[0117] In some implementations, before obtaining the intersection of the grid unit surface and the cutting plane, it also includes: determining whether there is an intersection between the endpoint of the edge line of the grid unit surface and the cutting plane, wherein if the two vectors formed by the origin of the cutting plane and the endpoint of the edge line are both greater than 0 or both less than 0, then the edge line does not intersect with the cutting plane; otherwise, the edge line has an intersection with the cutting plane.

[0118] If the edge line does not intersect the cutting plane, no intersection calculation is performed on the edge line and the cutting plane.

[0119] Step S423: sequentially connect the intersection points according to a preset order to obtain an intersection surface between the grid unit surface and the cutting plane; and color the intersection surface according to the node analysis data set.

[0120] In some implementations, obtaining the preset order includes using the following formula:

[0121]

[0122] in, represents the vector formed by the intersection of the same grid unit surface and the cutting plane, θ represents the intersection point Q n The angle with the intersection Q0; the preset order is: connecting the intersections in sequence according to the order of the cosine output values.

[0123] In some implementations, the color value of the intersection surface is calculated based on the set cloud map color gradient range. The WebGL engine first processes each node position through the vertex shader, the vertex shader transforms through the coordinate matrix, and then processes the color of each triangle face through the fragment shader. The fragment shader processes the color passed by the vertex shader fragment by fragment and performs rasterization.

[0124] It should be noted that each obtained intersection has a corresponding node, and any node includes calculation data with the node as the index, wherein the calculation data of the node includes: the three-dimensional displacement and stress of the node; and is used to draw the color of the node.

[0125] like Figure 7 As shown, it is the intersection of a mesh unit surface and the cutting plane.

[0126] Where θ represents the intersection point Q n The angles Q0, Q1, Q n Representing the intersection points of the grid unit surface and the cutting plane, outputting the cosine values between the intersection points in sequence according to the above formula, and connecting the intersection points in sequence according to the size of the cosine values to form the intersection surface.

[0127] Step S43: Obtain a profile cloud map based on the obtained profile and the node analysis data set.

[0128] Step S5: Dynamically visualize the target building based on the cross-sectional cloud image and the outer surface grid outline.

[0129] Specifically, the simulation analysis text data set includes stress, deformation and other responses of the spatial grid structure and load data.

[0130] The load data refers to single working conditions such as self-weight load, live load, wind load, temperature load and accident load, including permanent, variable and abnormal actions that the building is subjected to during operation.

[0131] Specifically, the cross-sectional cloud map and the simulated numerical values corresponding to the cross-sectional cloud map are dynamically visualized, thereby realizing online visualization of the post-processing calculation results of finite element analysis, and providing visual data support for safety technicians to conduct safety evaluation of the structure during operation and maintenance.

[0132] like Figure 8a and Figure 8b As shown, the finite element model and cross-sectional cloud diagram of the target building are displayed.

[0133] in, Figure 8a is the finite element model of the target building, Figure 8bThe display is a cross-sectional cloud diagram formed by drawing the intersection of each grid unit of the spatial grid structure and the cutting plane based on the grid unit data and the node analysis data set.

[0134] It should be noted that the protection scope of the dynamic visualization method based on the finite element model described in this application is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the existing technology based on the principles of this application are included in the protection scope of this application.

[0135] See also Figure 9 , which shows a structural diagram of the dynamic visualization system based on the finite element model described in an embodiment of the present application.

[0136] like Figure 9 As shown, the dynamic visualization system 900 based on the finite element model includes: an acquisition module 910 , a data conversion module 920 , a contour extraction module 930 , a profile cloud drawing module 940 , and a visualization module 950 .

[0137] The acquisition module 910 is used to obtain the spatial grid structure text data and simulation analysis text data set of the target building calculated based on the finite element model;

[0138] The data conversion module 920 is used to convert the spatial grid structure text data into grid unit data and node coordinate data; and convert the simulation analysis text data set into a node analysis data set stored in key-value pairs;

[0139] A contour extraction module 930 is configured to obtain a mesh contour of an outer surface of the target building based on the mesh unit data;

[0140] A cross-sectional cloud map drawing module 940 is configured to draw the intersection of each grid unit of the spatial grid structure and the cutting plane according to the grid unit data and the node coordinate data, and to form a cross-sectional cloud map based on the node analysis data set;

[0141] The visualization module 950 is configured to dynamically visualize the target building based on the cross-sectional cloud image and the outer surface mesh outline.

[0142] It should be noted that the manner in which each module of the dynamic visualization system based on the finite element model described in this embodiment implements corresponding functions corresponds one-to-one to the dynamic visualization method based on the finite element model described in the embodiment of the present application, so it will not be repeated here.

[0143] It should be understood that the division of the modules described above is merely a division of logical functions. In actual implementation, they may be fully or partially integrated into a single physical entity or physically separated. Furthermore, these modules may be implemented entirely as software invoked by a processing element, or entirely as hardware. Alternatively, some modules may be implemented as software invoked by a processing element, while others may be implemented as hardware. For example, module x may be a separate processing element, or integrated into a chip of the aforementioned device. Furthermore, it may be stored in the form of program code in the memory of the aforementioned device, invoked by a processing element of the aforementioned device to perform the functions of module x. The implementation of other modules is similar. Furthermore, these modules may be fully or partially integrated or implemented independently. The processing element described herein may be an integrated circuit with signal processing capabilities. During implementation, the steps of the above method or the modules described above may be performed by hardware integrated logic circuits within the processor element or by software instructions.

[0144] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented by scheduling program code through a processing element, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0145] The embodiment of the present application also provides a computer-readable storage medium. Those skilled in the art will understand that all or part of the steps in the method for implementing the above embodiment can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state drive, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid-state drive (SSD)), etc.

[0146] An embodiment of the present application also provides an electronic device, including: a processor and a memory.

[0147] Specifically, the memory is used to store computer programs; the memory includes: ROM, RAM, disk, USB flash drive, memory card or CD and other media that can store program codes.

[0148] The processor is used to execute the computer program stored in the memory, so as to enable the electronic device to execute the above-mentioned dynamic visualization method based on the finite element model.

[0149] like Figure 10 As shown, the electronic device of the present application is in the form of a general-purpose computing device. The components of the electronic device may include but are not limited to: one or more processors or processing units 101, memory 102, and a bus 103 connecting different system components (including memory 102 and processing unit 101).

[0150] Bus 103 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0151] Electronic devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, removable and non-removable media.

[0152] The memory 102 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1021 and / or cache memory 1022. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 1023 may be used to read and write non-removable, non-volatile magnetic media ( Figure 10 Not shown, often called a "hard drive"). Although Figure 10 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 103 via one or more data medium interfaces. The memory 102 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.

[0153] A program / utility 1024 having a set (at least one) of program modules 1025 may be stored, for example, in memory 102. Such program modules 1025 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 1025 generally implement the functions and / or methods of the embodiments described herein.

[0154] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via input / output (I / O) interface 104. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapter 105. Figure 10As shown, the network adapter 105 communicates with other modules of the electronic device via the bus 103. It should be understood that, although not shown in the figures, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0155] The descriptions of the processes or structures corresponding to the above figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0156] In summary, the finite element model-based dynamic visualization method, system, medium, and device described in this application enable real-time rendering of cloud maps and deformation animations on the client / server side for dynamic display of finite element post-processed datasets. This also enables lightweight rendering of finite element models, enabling efficient and smooth rendering of large-volume model data. Furthermore, a finite element model cross-section cloud map tool is provided for intuitive and detailed viewing of building interior simulation information. Therefore, this application effectively overcomes the various shortcomings of the existing technology and possesses high industrial application value.

[0157] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical concepts disclosed in this application shall be covered by the claims of this application.

Claims

1. A dynamic visualization method based on a finite element model, characterized in that: The method comprises: Obtain the spatial grid structure text data and simulation analysis text data set of the target building calculated based on the finite element model; Converting the spatial grid structure text data into grid unit data and node coordinate data stored in key-value pairs; and converting the simulation analysis text data set into a node analysis data set stored in key-value pairs; Acquire the outer surface grid contour of the target building based on the grid cell data; Draw the intersection of each grid unit of the spatial grid structure and the cutting plane according to the grid unit data and the node coordinate data, and analyze the data set based on the node to form a cross-sectional cloud map; Performing dynamic visualization of the target building based on the cross-sectional cloud image and the outer surface grid outline; Drawing the intersection of each grid unit of the spatial grid structure and the cutting plane according to the grid unit data and the node coordinate data, including: obtaining a cutting plane generated based on a cutting positioning model; and sequentially obtaining the intersection of each grid unit surface and the cutting plane based on the grid unit data, the node coordinate data, and the grid unit surface of the spatial grid structure to obtain a section; Obtaining the intersection of the grid unit surface and the cutting plane includes: obtaining a plurality of edge lines of the grid unit surface; obtaining intersection points of the grid unit surface and the cutting plane according to the edge lines; sequentially connecting the intersection points in a preset order to obtain the intersection of the grid unit surface and the cutting plane; and coloring the intersection according to the node analysis data set; Obtaining the intersection of the grid unit surface and the cutting plane according to the edge line includes using the following formula: Among them, Q(x,y,z) represents the coordinates of the intersection of the grid unit surface and the cutting plane, x i 、y i 、z i Indicates the coordinate of one endpoint of the edge line, x j 、y j 、z j represents the coordinates of the other end point of the edge line, and κ is the coefficient; The coefficient κ is calculated using the following formula: in, is the normal vector of the cutting plane, Represents the vector between one end point of the edge line and the origin of the cutting plane, Represents the edge vector.

2. The dynamic visualization method based on the finite element model according to claim 1, characterized in that: Acquiring the outer surface grid contour of the target building based on the grid unit data includes: Parsing the grid cell data into a grid surface data set; Lightweight processing is performed on the mesh surface data set to obtain an outer surface mesh contour.

3. The dynamic visualization method based on the finite element model according to claim 1, characterized in that: Analyzing the data set based on the node to form a cross-sectional cloud map includes: A profile cloud image is obtained based on the obtained profile and the node analysis data set.

4. The dynamic visualization method based on the finite element model according to claim 1, characterized in that: Obtaining the preset order includes using the following formula: in, represents the vector formed by the intersection of the same grid unit surface and the cutting plane, θ represents the intersection point Q n The angle with the intersection point Q0; The preset order is: connecting the intersection points in sequence according to the order of the cosine output values.

5. The dynamic visualization method based on finite element model according to claim 1, characterized in that: The spatial grid structure text data includes: grid unit text data, node coordinate text data; converting the spatial grid structure text data into grid unit data and node coordinate data stored in key-value pairs includes: Parsing the grid unit text data and the node coordinate text data; defining a grid unit data structure, and converting the parsed grid unit text data into grid unit data in a key-value pair format according to the grid unit data structure; The node coordinate text data is converted into node coordinate data in the form of key-value pairs according to Cartesian coordinates.

6. A dynamic visualization system based on a finite element model, characterized in that: The system comprises: An acquisition module is used to obtain the spatial grid structure text data and simulation analysis text data set of the target building calculated based on the finite element model; A data conversion module is used to convert the spatial grid structure text data into grid unit data and node coordinate data; and convert the simulation analysis text data set into a node analysis data set stored in key-value pairs; A contour extraction module, configured to obtain a mesh contour of an outer surface of the target building based on the mesh unit data; a cross-sectional cloud map drawing module, configured to draw the intersection of each grid unit of the spatial grid structure and the cutting plane according to the grid unit data and the node coordinate data, and to form a cross-sectional cloud map based on the node analysis data set; A visualization module, configured to dynamically visualize the target building based on the cross-sectional cloud image and the outer surface grid outline; Drawing the intersection of each grid unit of the spatial grid structure and the cutting plane according to the grid unit data and the node coordinate data, including: obtaining a cutting plane generated based on a cutting positioning model; and sequentially obtaining the intersection of each grid unit surface and the cutting plane based on the grid unit data, the node coordinate data, and the grid unit surface of the spatial grid structure to obtain a section; Obtaining the intersection of the grid unit surface and the cutting plane includes: obtaining a plurality of edge lines of the grid unit surface; obtaining intersection points of the grid unit surface and the cutting plane according to the edge lines; sequentially connecting the intersection points in a preset order to obtain the intersection of the grid unit surface and the cutting plane; and coloring the intersection according to the node analysis data set; Obtaining the intersection of the grid unit surface and the cutting plane according to the edge line includes using the following formula: Among them, Q(x,y,z) represents the coordinates of the intersection of the grid unit surface and the cutting plane, x i 、y i 、z i Indicates the coordinate of one endpoint of the edge line, x j 、y j 、z j represents the coordinates of the other end point of the edge line, and κ is the coefficient; The coefficient κ is calculated using the following formula: in, is the normal vector of the cutting plane, Represents the vector between one end point of the edge line and the origin of the cutting plane, Represents the edge vector.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by an electronic device, the dynamic visualization method based on a finite element model according to any one of claims 1 to 5 is implemented.

8. An electronic device, characterized in that: including processor and memory; The memory is used to store computer programs; The processor is configured to execute the computer program stored in the memory, so as to enable the electronic device to perform the dynamic visualization method based on a finite element model according to any one of claims 1 to 5.