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

Through dynamic visualization methods, the finite element analysis results are converted into visual data, which solves the problem that finite element analysis results can only be displayed in the software, realizes intuitive display and efficient rendering of internal information of the building, and supports smooth rendering of large-scale data.

CN118940585AActive Publication Date: 2024-11-12SHANGHAI INVESTIGATION DESIGN & RES INST CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

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

Provide a dynamic visualization method based on finite element model, which can obtain the text data of spatial grid structure and simulated analysis data sets, and convert them into key-value pairs to store grid unit data and node coordinate data to obtain the grid outline of the building's outer surface , and draw a section cloud map based on these data to realize dynamic visual display of buildings.

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 to intuitively and in detail to view the internal simulation information of the building, and to support efficient and smooth rendering of large-scale model data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940585A_ABST
    Figure CN118940585A_ABST
Patent Text Reader

Abstract

The invention provides a dynamic visualization method and system based on a finite element model, a medium and equipment. Comprising the steps of obtaining space grid structure text data and a simulation analysis text data set of a target building calculated based on a finite element model; converting the space grid structure text data into grid unit data and node coordinate data which are stored in a key value pair manner; the simulation analysis text data set is converted into a node analysis data set stored in a key value pair mode; obtaining an outer surface grid contour of the target building based on the grid unit data; according to the grid unit data and the node coordinate data, drawing an intersection surface of each grid unit of the space grid structure and the sectioning plane, and analyzing the data set based on the nodes to form a section cloud picture; and dynamically and visually displaying the target building based on the profile cloud picture and the outer surface grid contour. According to the method, the finite element analysis post-processing calculation result can be visually presented online, and visual data support is provided for operation and maintenance safety technicians to carry out safety evaluation on 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 engineering digitization because of their intelligent simulation of complex building structures. At present, the post-processing process of finite element analysis is mainly displayed by finite element analysis software (ANSYS, SUPERSAP, etc.), and the calculation results of finite element analysis are mainly retained in the form of reports, charts, etc. The simulation visualization can only be displayed within the software, which limits further function 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 urgently necessary 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 the 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 includes: obtaining spatial grid structure text data and simulation analysis text data sets of a target building calculated based on a 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 according to 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 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.

[0008] In an implementation of the first aspect, the intersection surfaces of each grid cell of the spatial grid structure and the cutting plane are 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 faces of the spatial grid structure, sequentially obtaining the intersection surfaces of each grid cell face 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 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] Where 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 represents the coordinates 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 a 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 manner 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 mesh surface, θ represents the intersection point Q nThe 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.

[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; converting the node coordinate text data into node coordinate data in the form of key-value pairs according to Cartesian coordinates.

[0020] In the 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 profile cloud drawing module for 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, and forming a profile cloud map based on the node analysis data set; a visualization module for dynamically visualizing the target building based on the profile 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, and when the computer program is executed by an electronic device, the dynamic visualization method based on a 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 a 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 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 schematic flow chart of a dynamic visualization method based on a finite element model described in this application in one embodiment.

[0026] Figure 3 Shown is a schematic diagram of a flow chart of obtaining the outer surface contour of a target building in one embodiment as described in 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 Shown is a schematic diagram of a process of obtaining the intersection of a grid unit surface and a cutting plane in one embodiment of the present application.

[0029] Figure 6 Shown is a schematic structural diagram of the intersection of the edges 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] Fig. 9 Shown is a schematic structural diagram of a dynamic visualization system based on a finite element model described in the present application in one embodiment.

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

[0034] Component number description

[0035] 11. Cell Phone

[0036] 12 Tablet

[0037] 13 Laptop

[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 Profile Cloud Drawing Module

[0043] 950 Visualization Module

[0044] 101 Processing Unit

[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 Interface

[0053] 105 Network Adapter

[0054] Steps S1 to S5

[0055] Steps S31 to 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, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways 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 without 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, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0060] In addition, in this application, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. 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 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 the present application can be applied to Figure 1 The electronic device shown. 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, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiment of this application does not impose any restrictions on the specific type of the electronic device.

[0063] For example, the electronic device may be a station (STAION, ST) in a WLAN with a wireless charging function, 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 a wireless charging function, 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 and a next-generation communication system, etc.

[0064] For example, the electronic device can communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobilecommunication (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 present embodiment without creative work.

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

[0067] Step S1, obtaining 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 a network structure analysis object for finite element analysis, and a finite element model corresponding to the three-dimensional geometric model is constructed based on the analysis results. A 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 data set includes stress, deformation and other responses of the spatial grid structure and load data. 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 effects, etc., to which the building is subjected during operation.

[0070] In one embodiment, the three-dimensional geometric model corresponding to the target building can be constructed based on ANSYS software with the help of 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 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; 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 the 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 data set includes: a finite element analysis calculation result data set 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 data set into a node analysis data set stored in key-value pairs includes: parsing the finite element analysis calculation result data set 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 data sets under different loads into node analysis data sets in the form of key-value pairs.

[0080] Step S3: acquiring the outer surface grid contour 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, parsing the grid unit data into a grid surface data set.

[0085] Specifically, the mesh unit data is parsed into a mesh surface data set. Taking an 8-node hexahedron mesh unit as an example, its mesh 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: Lightweight processing is performed on the mesh surface data set to obtain an outer surface mesh contour.

[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 models and expressing 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, which makes it impossible to view the detailed internal structure of the building. Therefore, the cutting function of the profile cloud map tool is used to locate the structure position and generate a profile, and the structural state 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 section cloud map includes: obtaining a section plane generated based on a section 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 section plane to obtain a section; and obtaining a section cloud map based on the obtained 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 that needs 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 faces of the spatial grid structure, sequentially obtain the intersection surfaces of each of the grid unit faces and the cutting plane to obtain a section.

[0105] In some implementations, obtaining the intersection of the 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 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, obtaining a plurality of 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] Where 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 represents the coordinates 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 a 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 a schematic diagram of the intersection of the edge of a grid unit surface and the cutting plane.

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

[0117] In some implementations, before obtaining the intersection of the grid unit face and the cutting plane, it also includes: determining whether there is an intersection between the endpoint of the edge of the grid unit face and the cutting plane, wherein if two vectors formed by the origin of the cutting plane and the endpoint of the edge are both greater than 0 or less than 0, then the edge does not intersect with the cutting plane, otherwise, the edge 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 connecting the intersection points according to a preset order to obtain the intersection surface of the grid unit surface and the cutting plane; and coloring 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 mesh unit surface and the cutting plane, and θ 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.

[0123] In some implementations, the color value of the intersection is calculated based on the set cloud map color gradient range. The WebGL engine first processes each node position through a vertex shader, the vertex shader converts through a coordinate matrix, and then processes the color of each triangle face through a 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: three-dimensional displacement and stress of the node; and is used to draw the color of the node.

[0125] like Figure 7 As shown, this 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, the cosine values ​​between the intersection points are output in sequence according to the above formula, and the intersection points are connected in sequence according to the size of the cosine values ​​to form the intersection surface.

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

[0128] Step S5: dynamically visualize the target building based on the cross-section cloud map and the outer surface grid contour.

[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 finite element analysis post-processing calculation results, 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 the intersection of each grid unit of the spatial grid structure and the cutting plane drawn according to 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 the present application is not limited to the execution order of the steps listed in this embodiment, and all solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.

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

[0136] like Fig. 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] Wherein, 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 used to obtain the outer surface grid contour of the target building based on the grid unit data;

[0140] A section cloud drawing module 940 is used 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 section cloud based on the node analysis data set;

[0141] The visualization module 950 is used to dynamically visualize the target building based on the cross-section cloud map 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 the 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 noted that it should be understood that the division of the above modules is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the x module can be a separately established processing element, or it can be integrated in a chip of the above-mentioned device for implementation. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code, and called and executed by a processing element of the above-mentioned device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[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 (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element scheduling program code, 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 present application embodiment also provides a computer-readable storage medium. A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above embodiment can be completed by a program to instruct the processor, 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 hard disk, 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 integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state hard disk (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 that the electronic device executes the above-mentioned dynamic visualization method based on the finite element model.

[0149] like Fig.10 As shown, the electronic device of the present application is in the form of a general computing device. The components of the electronic device may include but are not limited to: one or more processors or processing units 101, a memory 102, and a bus 103 connecting different system components (including the memory 102 and the 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. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and 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 ( Fig.10 not shown, usually called a "hard drive"). Although Fig.10 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical medium) may be provided. In these cases, each drive may be connected to bus 103 via one or more data medium interfaces. 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 each embodiment 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 the memory 102, such program modules 1025 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 1025 generally perform 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. Fig.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 figure, other hardware and / or software modules can 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-mentioned 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, according to the dynamic visualization method and system, medium and equipment based on the finite element model of this application, it is possible to achieve real-time rendering of cloud maps and deformation animations on the B / S side for dynamic display of finite element post-processing data sets; achieve lightweight rendering of finite element models, and efficiently and smoothly render large-volume model data; provide a finite element model section cloud map tool, which can intuitively and in detail view the internal simulation information of the building. Therefore, this application effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.

[0157] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present 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 unit 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 form a cross-sectional cloud map based on the node analysis data set; The target building is dynamically visualized based on the cross-sectional cloud map and the outer surface grid contour.

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; The mesh surface data set is lightweighted to obtain an outer surface mesh contour.

3. The dynamic visualization method based on finite element model according to claim 1, characterized in that: 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, and forming a cross-sectional cloud map based on the node analysis data set includes: Obtaining a sectioning plane generated based on a sectioning positioning model; Based on the grid unit data, the node coordinate data and the grid unit surface of the spatial grid structure, sequentially obtain the intersection surface of each of the grid unit surfaces and the cutting plane to obtain a section; A profile cloud map is obtained based on the obtained profile and the node analysis data set.

4. The dynamic visualization method based on finite element model according to claim 3, characterized in that: Obtaining the intersection of the grid unit surface and the cutting plane includes: Obtaining a number of edges of the grid unit surface; Obtaining the intersection point between the grid unit surface and the cutting plane according to the edge line; Connecting the intersection points in sequence according to a preset order to obtain an intersection surface between the grid unit surface and the cutting plane; and coloring the intersection surface according to the node analysis data set.

5. The dynamic visualization method based on finite element model according to claim 4, characterized in that: Obtaining the intersection point between the grid unit surface and the cutting plane according to the edge line includes using the following formula: Where 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 represents the coordinates 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 a 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.

6. The dynamic visualization method based on finite element model according to claim 4, characterized in that: Obtaining the preset order includes using the following formula: in, represents the vector formed by the intersection of the same mesh unit surface and the cutting plane, and θ 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.

7. 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; Define a grid unit data structure, and convert the parsed grid unit text data into grid unit data in the form of key-value pairs 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.

8. A dynamic visualization system based on a finite element model, characterized in that: The system comprises: An acquisition module, used to acquire 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, used to convert the spatial grid structure text data into grid unit data and node coordinate data; and to convert the simulation analysis text data set into a node analysis data set stored in key-value pairs; A contour extraction module, used for obtaining the outer surface grid contour of the target building based on the grid unit data; A section cloud drawing module, used for 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, and forming a section cloud based on the node analysis data set; A visualization module is used to dynamically visualize the target building based on the cross-section cloud map and the outer surface grid contour.

9. 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 described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: including a processor and a memory; The memory is used to store computer programs; 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 according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Numerical simulation modeling method and system for immovable cultural relics

    CN114241154A

  • Method for displaying three-dimensional finite element grid and result cloud picture on webpage

    CN115328445A

  • Cloud picture visualization method and device for three-dimensional point cloud multi-level recursion and weighted smoothing

    CN115546441A

  • Hydropower engineering simulation cloud picture display method and device, electronic equipment and storage medium

    CN116244778A

  • Model lightweight method and device and model display method and device

    CN116863006A

Cited By

  • Finite element simulation result data coordinate conversion cloud picture display method

    CN121302829A

  • Industrial simulation application cloud post-processing optimization method and device and server

    CN122020766A

  • Building structure simulation result visual interaction system

    CN122113247A