Method and system for integrating finite element simulation and BIM to display simulation results
By analyzing and processing the BIM model and finite element simulation, the deformation and response field visualization of the BIM model are solved, and the existing BIM platform cannot deeply integrate business application scenarios is realized, and the efficient utilization of BIM model resources is realized.
Patent Information
- Application Number
- CN202310454056.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-12-31
- Filing Date
- 2023-04-18
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2043-04-18
AI Technical Summary
The existing BIM platform mainly stays in the visualization of three-dimensional static models, and cannot achieve deep integration with business application scenarios, resulting in the waste of BIM model resources.
By analyzing and processing the BIM model and finite element simulation, the geometric coordinates and colors of the BIM model are modified, model deformation and response field visualization are realized, and business application scenarios are deeply integrated.
It realizes the deep integration of BIM model and business application scenarios, avoids the waste of BIM model resources, and improves the application depth and efficiency of BIM model.
Smart Images

Figure CN116415466B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of BIM online simulation, and in particular to a method and system for fusing finite element simulation and BIM to display simulation results. Background Art
[0002] The BIM+GIS platform, as the carrier of the digital twin of transportation infrastructure, is used to depict facility details and present change trends. Its core functions include two major parts: the all-element information carrier and visual expression. Currently, in the field of transportation infrastructure, the all-element information carrier is mainly based on BIM components, and static and dynamic data of facility structures are attached. Visual expression is divided into three levels:
[0003] 1. Visual rendering of static models: Based on GIS maps and BIM three-dimensional models, three-dimensional static models are displayed to achieve the visualization of basic static data and dynamic data.
[0004] 2. Visual rendering of data: Static and dynamic data or statistical data are displayed in the form of charts.
[0005] 3. Visual rendering of application scenarios: It does not merely stay at the level of three-dimensional model visualization, but associates the model with different business scenarios, enables the model to run through the entire life cycle of the facility, reflects the facility status at different stages, and realizes the in-depth application of the BIM model. For example, according to the results of facility monitoring, inspection, and evaluation, the facility status is updated, mapped onto the BIM model for visualization, truly reflecting the health status of the facility; according to external loads, simulation is carried out, and the simulation results are mapped onto the BIM model for structural stress diagram rendering and updated according to real-time data.
[0006] Current BIM platforms all display models based on components. The most widely used is the visualization of three-dimensional static models, but there is less research and application on the visualization based on lower-level three-dimensional data tiles, such as BIM model deformation and model coloring according to the response field.
[0007] Analyzing from the BIM model granularity, the underlying layer of BIM model visualization is three-dimensional data tiles. Components are composed of three-dimensional data tiles, and components are the basic unit carriers for attaching information. Due to less research and application on the visualization based on lower-level three-dimensional data tiles, the application of BIM models basically stays at the level of three-dimensional static model display, unable to achieve in-depth integration with business application scenarios, resulting in a waste of BIM model resources. Summary of the Invention
[0008] Therefore, in order to overcome the deficiencies of the prior art, the present invention provides a method and system for fusing finite element simulation and BIM to display simulation results, which can achieve in-depth integration with business application scenarios and will not cause waste of BIM model resources.
[0009] One technical solution of the present invention is to provide a method for fusing finite element simulation and BIM to display simulation results, including the following steps:
[0010] Parse the obtained BIM model;
[0011] Send the parsed component data to the finite element simulation model for simulation to obtain simulation model data;
[0012] Modify the geometric coordinates and colors of the BIM model according to the simulation model data.
[0013] Further, in the step of parsing the obtained BIM model, the following steps are also included:
[0014] Parse the obtained BIM model;
[0015] Delete the component data irrelevant to the structure after parsing.
[0016] Further, in the step of sending the parsed component data to the finite element simulation model for simulation to obtain simulation model data, the following contents are also included:
[0017] The simulation model data includes the overall rectangular coordinate system of the simulation model, the node coordinates of the simulation model, the elements of the simulation model, the node numbers, the local coordinate system, and the corresponding component codes.
[0018] Further, in the step of modifying the geometric coordinates and colors of the BIM model according to the simulation model data, the following steps are also included:
[0019] According to the coordinate transformation relationship between the finite element simulation model and the BIM model, classify according to the BIM component code, convert the simulation model data into the BIM model coordinate system. After conversion to the BIM model, the model coordinate P′ = T·(P - Δ), and the deformation data D′ = T·(P + D - Δ) - P′, where the finite element simulation model coordinate is P, the finite element simulation model deformation data is D, and the coordinate transformation matrices are the translation vector Δ and the rotation matrix T respectively;
[0020] According to the model coordinate P′ and the deformation data D′, calculate the deformation result P0 corresponding to the three-dimensional vertex P0 of the BIM model by linear interpolation of the three-dimensional space coordinates, and obtain the deformed coordinate P′0 of the BIM model = P0 + D0;
[0021] Calculate the vertex normal vector N0 according to the deformed coordinate P′0 of the BIM model;
[0022] Modify the material color data corresponding to the component code according to the component code and the finite element simulation model deformation data D to obtain the BIM model with the changed color;
[0023] According to the gltf, b3dm, and 3Dtiles format standards, assemble the deformed three-dimensional vertex coordinates P0, vertex normal vector N′0, three-dimensional patch index data, and material data according to the component code to obtain the deformed BIM model.
[0024] Further, in the step of calculating the deformation result D0 corresponding to the three-dimensional vertex P0 of the BIM model by linear interpolation of three-dimensional space coordinates according to the model coordinates P′ and the deformation data D′, and obtaining the deformed coordinates P′0 = P0 + D0 of the BIM model, the following steps are further included:
[0025] Expand and encrypt the simulation model data. Each component code corresponds to the model coordinates P′ and the deformation data D′, and should use the local coordinate system to expand and encrypt them into three-dimensional space data P″ and deformation data D″;
[0026] Generate a three-dimensional space linear interpolation function D = f(x, y, z) according to the three-dimensional space data P″ and the deformation data D″, interpolate the three-dimensional space data P0 of the BIM model, and calculate the corresponding deformation result D0;
[0027] After obtaining the deformation result D0, obtain the deformed coordinates P′0 = P0 + D0 of the BIM model.
[0028] Another technical solution of the present invention is to provide a system for finite element simulation and BIM fusion to display simulation results, including:
[0029] An analysis and processing module for analyzing and processing the obtained BIM model;
[0030] A sending and obtaining module for sending the analyzed component data to the finite element simulation model for simulation and obtaining the simulation model data;
[0031] A modification and processing module for modifying the geometric coordinates and colors of the BIM model according to the simulation model data.
[0032] Further, the analysis and processing module includes:
[0033] An analysis module for analyzing the obtained BIM model;
[0034] A deletion module for deleting the component data irrelevant to the structure after analysis.
[0035] Further, the simulation model data includes the overall rectangular coordinate system of the simulation model, the node coordinates of the simulation model, the elements of the simulation model, the node numbers, the local coordinate system, and the corresponding component codes.
[0036] Further, the modification and processing module includes:
[0037] A coordinate transformation module, according to the coordinate transformation relationship between the finite element simulation model and the BIM model, classifies according to the BIM component code, converts the simulation model data into the BIM model coordinate system. After conversion to the BIM model, the model coordinate P′ = T·(P - Δ), and the deformation data D′ = T·(P + D - Δ) - P′, where the finite element simulation model coordinate is P, the finite element simulation model deformation data is D, and the coordinate transformation matrices are the translation vector Δ and the rotation matrix T respectively;
[0038] A deformation coordinate processing module, according to the model coordinate P′ and the deformation data D′, calculates the deformation result D0 corresponding to the three-dimensional vertex P0 of the BIM model by linear interpolation of three-dimensional space coordinates, and obtains the deformed coordinate P′0 of the BIM model = P0 + D0;
[0039] A normal vector coordinate processing module, calculates the vertex normal vector N′0 according to the deformed coordinate P′0 of the BIM model;
[0040] A color change module, according to the component code and the finite element simulation model deformation data D, modifies the material color data corresponding to the component code to obtain the BIM model with the changed color;
[0041] A deformation module, according to the gltf, b3dm, 3Dtiles format standards, assembles the deformed three-dimensional vertex coordinates P0, vertex normal vector N′0, three-dimensional patch index data and material data according to the component code to obtain the deformed BIM model.
[0042] Furthermore, the deformation coordinate processing module includes:
[0043] An extended encryption module, which extends and encrypts the simulation model data. Each component code corresponds to the model coordinate P′ and the deformation data D′, and should use the local coordinate system to extend and encrypt them into three-dimensional space data P″ and deformation data D″;
[0044] An interpolation calculation module, according to the three-dimensional space data P″ and the deformation data D″, generates a three-dimensional space linear interpolation function D = f(x, y, z), interpolates the three-dimensional space data P0 of the BIM model, and calculates the corresponding deformation result D0;
[0045] An acquisition processing module, after obtaining the deformation result D0, obtains the deformed coordinate P′0 of the BIM model = P0 + D0.
[0046] Through the parsing, processing and simulation of the BIM model, then modifying the geometric coordinates and colors of the BIM model, deforming the BIM model, and coloring it according to the response field, the simulation results of the finite element simulation and BIM fusion display can be obtained, realizing the deep integration with the business application scenario, not causing waste of BIM model resources, realizing the model deformation and response field visualization expression based on three-dimensional data tiles, and providing technical support for realizing the deep integration of the BIM model and the business application scenario.
[0047] To make the above and other purposes, features and advantages of the present invention more obvious and understandable, detailed descriptions are given below in conjunction with the accompanying drawings. Brief Description of the Drawings
[0048] Figure 1 It is a flowchart of the method for the finite element simulation and BIM fusion display of the simulation results in the present invention.
[0049] Figure 2 It is a schematic diagram of the b3dm binary file in the present invention.
[0050] Figure 3 It is a schematic diagram of the expansion and encryption of the simulation model data in the present invention.
[0051] Figure 4 is Figure 3 the expansion schematic diagram of the simulation model data in
[0052] Figure 5 is Figure 4 the encryption schematic diagram of the data in
[0053] Figure 6 It is a schematic block diagram of the principle of the system for the finite element simulation and BIM fusion display of the simulation results in the present invention.
[0054] Figure 7 It is a data diagram of the bridge BIM model in the present invention.
[0055] Figure 8 It is a structure tree diagram of the bridge BIM model in the present invention.
[0056] Figure 9 It is a geometric vertex coordinate data diagram of the bridge BIM model parsing in the present invention.
[0057] Figure 10 It is a geometric vertex normal vector data diagram of the bridge BIM model parsing in the present invention.
[0058] Figure 11 It is a geometric face data diagram of the bridge BIM model parsing in the present invention.
[0059] Figure 12 It is a material data diagram of the bridge BIM model parsing in the present invention.
[0060] Figure 13 It is the simulation coordinate and deformation data diagram in the present invention.
[0061] Figure 14 It is the local coordinate data diagram in the present invention.
[0062] Figure 15 It is the data diagram of converting the simulation model data in the present invention into the BIM model coordinate system.
[0063] Figure 16 It is the simulation model data diagram before extended encryption in the present invention.
[0064] Figure 17 It is Figure 16 the simulation model data diagram after extended encryption in
[0065] Figure 18 It is the deformation result data diagram at the vertex coordinates of the BIM model in the present invention.
[0066] Figure 19 It is the vertex coordinate data diagram of the BIM model after deformation in the present invention.
[0067] Figure 20 It is the geometric vertex normal vector data diagram of the BIM model after deformation in the present invention.
[0068] Figure 21 It is the mapping list of component coding and deformation data in the present invention.
[0069] Figure 22 It is the mapping table of component coding material colors in the present invention.
[0070] Figure 23 It is the data diagram of equivalent simulation deformation results into colors in the present invention.
[0071] Figure 24 It is the bridge BIM model diagram obtained by online simulation and BIM fusion display simulation in the present invention. Detailed implementation manners
[0072] To fully understand the purpose, features and effects of the present invention, the following specific test examples are hereby used in conjunction with the attached drawings to give a detailed description of the present invention, as follows.
[0073] 1. The present invention provides a method for finite element simulation and BIM fusion to display simulation results. Please refer to Figure 1 as shown, and specifically includes the following steps.
[0074] 100. Parse and process the obtained BIM model;
[0075] 200. Send the parsed component data to the finite element simulation model for simulation to obtain the simulation model data;
[0076] 300. Modify the geometric coordinates and colors of the BIM model according to the simulation model data.
[0077] In the present invention, in the step 100 of parsing the obtained BIM model, the following contents are further included:
[0078] 101. Parse the obtained BIM model. Parse the BIM model data to obtain the geometric data and material data corresponding to each component code. The BIM model needs to be stored in layers, and the 3D tile data needs to carry the component code corresponding one-to-one with the finite element simulation model.
[0079] According to the 3Dtiles data format standard, the 3Dtiles dataset of a BIM model is composed of an entry file tileset.json and 3D data tile files. The geometric data, material data, and component attributes (the most important component code) required by the BIM model are stored in the 3D data tiles. The BIM model data tile in the 3Dtiles file is a b3dm file. The b3dm file is a binary file (please refer to Figure 2 ), the component attributes are stored in BatchTableJSON, and the geometric data and material data are stored in glb. Figure 2 This is only for illustration, and the present invention is not limited thereto.
[0080] The component data is stored in json format. The geometric data is stored according to the component code. The geometric data includes geometric vertex coordinates, vertex normal coordinates, and face data. The most important data of the material data is the material color, which is stored in RGBA (relative red value, relative green value, relative blue value, relative transparency value, and the range of each is [0,1]. For RGB, 0 corresponds to 0 value, and 1 represents 255 value; for transparency, 0 represents completely transparent, and 1 represents completely opaque).
[0081] 102. Delete the component data irrelevant to the structure after parsing. After the BIM model data is parsed, the geometric data and material data corresponding to each component code are obtained. Since the finite element simulation model is a mechanical abstraction and simplification of the real structure, components or structures irrelevant to the structural force cannot be considered in the finite element simulation model. Therefore, the component data irrelevant to the structure should be deleted.
[0082] For example, for a bridge structure, components that cannot be simulated by finite element simulation and are not related to the structural stress include: (1) all accessory structures, including deck pavement, guardrails, expansion joints, anti-collision measures, street lights and road signs, maintenance platforms, etc. For a bridge structure, components that must be simulated by finite element simulation and are related to the structural stress include: (1) superstructure: main girders (including diaphragms), cable towers, stay cables, main cables and suspension cables, bearings, etc.; (2) substructure: bridge piers, abutments, pier and abutment foundations, etc.
[0083] In the present invention, in the above step 200, when sending the parsed component data to the finite element simulation model for simulation to obtain the simulation model data, the following content is further included:
[0084] According to the principles of structural mechanics and finite element analysis, the structure is discretized, structural nodes, elements, materials, cross-sectional properties, and boundary conditions are defined, a finite element simulation beam element model is established, the parsed component data is sent to the finite element simulation model for simulation, and the output simulation model data is obtained. The simulation model data includes the overall rectangular coordinate system of the simulation model, the node coordinates of the simulation model, the elements of the simulation model, the node numbers, the local coordinate system, and the corresponding component codes. The simulation model data can be expressed as (x, y, z, value), where (x, y, z) are the coordinates in the simulation model coordinate system, and value is the simulation result corresponding to each coordinate. For this bridge, it is the structural deformation (the translational values in the x, y, and z directions). The expression method of the simulation model data is only an example, and the present invention is not limited thereto.
[0085] In the present invention, in the above step 300, when modifying the geometric coordinates and colors of the BIM model according to the simulation model data, the following is further included:
[0086] 301. According to the coordinate transformation relationship (coordinate transformation matrix) between the finite element simulation model and the BIM model, classify according to the BIM component codes, and convert the simulation model data into the BIM model coordinate system. After conversion to the BIM model, the model coordinate P ′ = T·(P - Δ), and the deformation data D ′ = T·(P + D - Δ) - P′, where the finite element simulation model coordinate is P, the finite element simulation model deformation data is D, and the coordinate transformation matrix is the translation vector Δ and the rotation matrix T respectively.
[0087] The coordinate transformation relationship between the finite element simulation model and the BIM model is the coordinate transformation matrix. Both the BIM model and the finite element simulation model coordinate systems are spatial rectangular coordinate systems. The coordinate transformation from the finite element simulation model to the BIM model is divided into two steps. The first step is translation, and the second step is rotation.
[0088] Two coordinate points at the same position on the same bridge can be selected. The coordinate points of the BIM model are defined as (Bx1, By1, Bz1), (Bx2, By2, Bz2); the coordinate points of the finite element simulation model are defined as (Fx1, Fy1, Fz1), (Fx2, Fy2, Fz2).
[0089] 1) The translation vector from the finite element simulation model to the BIM model is Δ = (F x1 - B x1 , F y1 - B y2 , F z1 - B z1 ).
[0090] 2) The rotation matrix from the finite element simulation model to the BIM model is:
[0091] BIM model vector
[0092] Finite element simulation model vector
[0093]
[0094] In the present invention, in the above step 300, in the step of modifying the geometric coordinates and colors of the BIM model according to the simulation model data, it further includes:
[0095] 302. According to the model coordinate P' and the deformation data D', calculate the deformation result D0 corresponding to the three-dimensional vertex p0 of the BIM model by linear interpolation of three-dimensional space coordinates, and obtain the deformed coordinate P'0 = p0 + D0 of the BIM model.
[0096] 3021. Expand and encrypt the simulation model data. Each component code corresponds to the model coordinate P' and the deformation data D'. The local coordinate system should be used to expand and encrypt it into three-dimensional space data p″ and deformation data D″. Please refer to Figure 3 shown Figure 3 This is only an example, and the present invention is not limited thereto.
[0097] This part of the algorithm is divided into two steps:
[0098] The first step is expansion, that is, expanding the data of a point to a plane. This plane is located on the yz plane of the local coordinate system and is perpendicular to the element direction (local x-axis). Assume that the point coordinate p1 = (x1, y1, z1), the corresponding response data d1 = (dx1, dy1, dz1), and the local coordinate system is TE. Assume that the expanded plane is a 7*7 grid, and each grid is 3m*3m, defined as p 0 , the expanded coordinate The expansion effect is shown in Figure 4 shown, and the corresponding deformation data are all d1.
[0099] The second step is encryption, that is, sweeping the extended points of a point along the unit direction to form three-dimensional volume data. First, the unit is equally divided into n parts, and the coordinates of n points p1, p2,..., p n-1 , p n are obtained by linear interpolation according to the coordinates of the two end points. The three-dimensional volume data P″ is obtained by adding each point coordinate and TE*p 0 . Please refer to Figure 5 shown. The deformed data D″ is also linearly interpolated according to the coordinates p1, p2,..., p n-1 , p n to obtain the deformed data d1, d2,..., d n-1 , d n of each extended surface.
[0100] 3022. Generate a three-dimensional space linear interpolation function D = f(x, y, z) based on the three-dimensional space data P″ and the deformed data D″, and interpolate the three-dimensional space data P0 of the BIM model to calculate the corresponding deformation result D0.
[0101] The linear interpolation function D = f(x, y, z) is a multi-segment three-dimensional linear interpolation function, satisfying:[[]]
[0102] D ijk = f(x i , y j , z k ), where x i , y j , z k ∈P″.
[0103] 3023. After obtaining the deformation result D0, the deformed coordinates P′0 of the BIM model are obtained as P0 + D0.
[0104] In the present invention, in the above step 300, in the step of modifying the geometric coordinates and colors of the BIM model according to the simulation model data, it further includes:[[]]
[0105] 303. Calculate the vertex normal vector N′0 according to the deformed coordinates P′0 of the BIM model. The vertex normal vector is the arithmetic mean of all face normal vectors sharing the same point. The face normal vector is determined by three points (a, b, c) of the face, and the normal vector is When a point is shared by m faces at the same time, the vertex normal vector The three components of the normal vector are the vertex normal vector N′0 = (N′ x , N′ y , N′ z ).
[0106] In the present invention, in step 300 above, in the step of modifying the geometric coordinates and colors of the BIM model according to the simulation model data, the following steps are further included:
[0107] 304. Modify the material color data corresponding to the component code according to the component code and the finite element simulation model deformation data D to obtain the BIM model with the changed colors.
[0108] 3041. According to the finite element simulation model data, first find the absolute value of the deformation for the deformation data corresponding to each component code, and then find the average value to obtain a one-to-one mapping list of the component code and the deformation data.
[0109] 3042. Equivalent the simulation deformation result to a color mapping table. According to the component code material color mapping table, select red (RGBA: 1, 0, 0, 1) corresponding to the maximum absolute value of the deformation, blue (RGBA: 0, 0, 1, 1) corresponding to the minimum absolute value of the deformation, yellow (RGBA: 0, 1, 0, 1) corresponding to (maximum absolute value - minimum absolute value) / 2, and the color corresponding to the component code is obtained by linear interpolation according to the average value. The above is only an example, and the present invention is not limited thereto.
[0110] In the present invention, in step 300 above, in the step of modifying the geometric coordinates and colors of the BIM model according to the simulation model data, the following steps are further included:
[0111] 305. According to the gltf, b3dm, and 3Dtiles format standards, assemble the deformed three
[0112] ′
[0113] dimensional vertex coordinates P0, vertex normal vectors N0, three-dimensional patch index data, and material data according to the component code to obtain the deformed BIM model.
[0114] By parsing and simulating the BIM model, then modifying the geometric coordinates and colors of the BIM model, deforming the BIM model, and coloring according to the response field, the present invention obtains the simulation result of the finite element simulation and BIM fusion display, which can achieve deep integration with the business application scenario, will not cause waste of BIM model resources, realize model deformation and response field visualization expression based on three-dimensional data tiles, and provide technical support for realizing the deep integration of the BIM model and the business application scenario.
[0115] II. The present invention provides a system for finite element simulation and BIM fusion display of simulation results. Please refer to Figure 6 as shown, which includes a parsing and processing module 1, a sending and obtaining module 2, and a modification and processing module 3.
[0116] The parsing and processing module 1 parses and processes the obtained BIM model;
[0117] The sending and obtaining module 2 sends the parsed and processed component data to the finite element simulation model for simulation to obtain the simulation model data;
[0118] The modification processing module 3 modifies the geometric coordinates and colors of the BIM model according to the simulation model data.
[0119] In the present invention, the parsing and processing module 1 includes a parsing module and a deletion module.
[0120] The parsing module parses the obtained BIM model. The BIM model data is parsed to obtain the geometric data and material data corresponding to each component code.
[0121] The deletion module deletes the component data irrelevant to the structure after parsing. Since the finite element simulation model is a mechanical abstraction and simplification of the real structure, components or structures irrelevant to the structural force cannot be considered in the finite element simulation model. Therefore, the component data irrelevant to the structure should be deleted.
[0122] In the present invention, according to the principles of structural mechanics and finite element analysis, the structure is discretized, the structural nodes, elements, materials, section properties and boundary conditions are defined, a finite element simulation beam element model is established, the parsed and processed component data is sent to the finite element simulation model for simulation, and the output simulation model data. The simulation model data includes the overall rectangular coordinate system of the simulation model, the node coordinates of the simulation model, the elements of the simulation model, the node numbers, the local coordinate system and the corresponding component codes. The simulation model data can be expressed as (x, y, z, value), where (x, y, z) are the coordinates in the simulation model coordinate system and value is the simulation result corresponding to each coordinate. In this bridge, it is the structural deformation (the translational values in the x, y, and z directions). The expression method of the simulation model data is only an example, and the present invention is not limited thereto.
[0123] In the present invention, the modification processing module 3 includes a coordinate transformation module, a deformed coordinate processing module, a normal vector coordinate processing module, a color change module, and a deformation module.
[0124] The coordinate transformation module classifies according to the coordinate transformation relationship (coordinate transformation matrix) between the finite element simulation model and the BIM model and converts the simulation model data into the BIM model coordinate system according to the BIM component code. After being converted to the BIM model, the model coordinate P ′ = T·(P - Δ), the deformation data D ′ = T·(P + D - Δ) - P ′ , where the finite element simulation model coordinate is P, the finite element simulation model deformation data is D, and the coordinate transformation matrix is the translation vector Δ and the rotation matrix T respectively.
[0125] The deformed coordinate processing module, according to the model coordinate P′ and the deformed data D ′ , linearly interpolate according to the three-dimensional space coordinates to calculate the deformation result D0 corresponding to the three-dimensional vertex P0 of the BIM model, and obtain the deformed
[0126] ′
[0127] coordinate P0 = P0 + D0.
[0128] ′
[0129] Normal vector coordinate processing module, calculate the vertex normal vector ′
[0130] N0 according to the deformed coordinate P0 of the BIM model.
[0131] Color change module, modify the material color data corresponding to the component code according to the component code and the deformed data D of the finite element simulation model to obtain the BIM model with the changed color. First, modify the material color data corresponding to the component code according to the component code and the deformed data D of the finite element simulation model to obtain the BIM model with the changed color. Second, according to the finite element simulation model data, first calculate the absolute value of the deformation for the deformation data corresponding to each component code, and then calculate the average value to obtain a one-to-one mapping list of the component code and the deformation data. Third, equivalent the simulation deformation result to a color mapping table. According to the component code material color mapping table, select red (RGBA: 1, 0, 0, 1) corresponding to the maximum absolute value of the deformation, blue (RGBA: 0, 0, 1, 1) corresponding to the minimum absolute value of the deformation, yellow (RGBA: 0, 1, 0, 1) corresponding to (maximum absolute value - minimum absolute value) / 2, and the color corresponding to the component code is obtained by linear interpolation according to the average value. The above is only an example, and the present invention is not limited thereto.
[0132] Deformation module, assemble the deformed
[0133] ′
[0134] three-dimensional vertex coordinates P0, vertex normal vector N0, three-dimensional face index data and material data according to the gltf, b3dm, 3Dtiles format standards to obtain the deformed BIM model.
[0135] In the present invention, the deformed coordinate processing module includes an extended encryption module, an interpolation calculation module and an acquisition processing module.
[0136] Extended encryption module, expand and encrypt the simulation model data, and each component code corresponds to the model coordinate P ′ and the deformed data D ′, the local coordinate system should be utilized to expand and encrypt it into three-dimensional space data P″ and deformation data D″. This part of the algorithm is divided into two steps. The first step is expansion, and the second step is encryption. For the specific content, please refer to the explanation part of the method for finite element simulation and BIM fusion to display simulation results above, and it will not be elaborated here
[0137] The interpolation calculation module generates a three-dimensional space linear interpolation function D = f(x, y, z) based on the three-dimensional space data P″ and deformation data D″, interpolates the three-dimensional space data P0 of the BIM model, and calculates the corresponding deformation result D0.
[0138] The acquisition processing module obtains the deformed coordinates of the BIM model after obtaining the deformation result D0.
[0139] ′
[0140] P0 = P0 + D0.
[0141] It should be noted that in the present invention, there is a one-to-one correspondence between the bridge structure real-time response system and the method, and the functions and steps are basically the same, and the content will not be elaborated in detail here.
[0142] Third, in combination with the above method for finite element simulation and BIM fusion to display simulation results, an optimal embodiment is provided.
[0143] In this embodiment, the BIM model of the bridge is obtained, and the BIM and finite element simulation model structure trees need to be kept consistent. For the BIM model data, please refer to Figure 7 As shown, for the structure tree of the BIM model, please refer to Figure 8 As shown.
[0144] In this embodiment, the obtained BIM model is parsed to obtain the geometric data and material data corresponding to each component code. Please refer to Figure 9 、 Figure 10 、 Figure 11 and Figure 12 The geometric vertex coordinate data, geometric vertex normal vector data, geometric surface data, and material data shown. For the bridge, the first-layer structure is parsed according to the superstructure, substructure, and accessory structure; for the superstructure, the second-layer structure is parsed according to the main girder, prestress, and bearings; for the substructure, the second-layer structure is parsed according to the piers, abutments, and foundations; for the accessory structure, the second-layer parsing is carried out according to the deck pavement, guardrails, expansion joints, anti-collision measures, street lights, road signs, etc.
[0145] In this embodiment, the component data irrelevant to the structure after parsing is deleted.
[0146] In this embodiment, the parsed component data is sent to the finite element simulation model for simulation to obtain the simulation model data. Please refer to Figure 13For the simulated coordinates and deformation data shown, please refer to Figure 14 the local coordinate data shown.
[0147] In this embodiment, according to the coordinate conversion relationship (coordinate conversion matrix) between the finite element simulation model and the BIM model, and classified according to the BIM component code, the simulation model data is converted into the BIM model coordinate system. Please refer to Figure 15 shown.
[0148] Among them, the coordinate conversion matrix:
[0149]
[0150] In this embodiment, the simulation model data is extended and encrypted. Please refer to Figure 16 the data before extension and encryption shown. Please refer to Figure 17 the data after extension and encryption shown.
[0151] In this embodiment, according to the three-dimensional space data and deformation data, a three-dimensional space linear interpolation function is generated to interpolate the three-dimensional space data of the BIM model and calculate the corresponding deformation result. Please refer to Figure 18 shown. After obtaining the deformation result, the coordinates of the BIM model after deformation are obtained. Please refer to Figure 19 shown.
[0152] In this embodiment, according to the coordinates of the BIM model after deformation, the vertex normal vector is calculated. Please refer to Figure 20 shown.
[0153] In this embodiment, according to the finite element simulation model data, for the deformation data corresponding to each component code, the absolute value of the deformation is first calculated, and then the average value is calculated to obtain a one-to-one mapping list of the component code and the deformation data. Please refer to Figure 21 shown. According to the component code material color mapping table (please refer to Figure 22 shown), the simulation deformation result is equivalent to color data. Please refer to Figure 23 shown.
[0154] In this embodiment, according to the simulation model data, the geometric coordinates and colors of the BIM model are modified, and finally the BIM model is obtained. Please refer to Figure 24 shown. This BIM model is the result of the online simulation and the BIM fusion display simulation.
[0155] As mentioned above, it is only a preferred embodiment of this application. This application is not limited to the above-mentioned implementation manners. As long as it achieves the technical effects of this application by the same means, any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of this application shall be included within the scope of protection of this application. Within the scope of protection of this application, its technical solutions and / or implementation manners can have various different modifications and changes.
Claims
1. A method for integrating finite element simulation and BIM to display simulation results, characterized in that, It includes the following steps: Perform parsing processing on the obtained BIM model; Send the parsed component data to the finite element simulation model for simulation to obtain simulation model data; Modify the geometric coordinates and colors of the BIM model according to the simulation model data; The step of modifying the geometric coordinates and colors of the BIM model according to the simulation model data further includes: According to the coordinate conversion relationship between the finite element simulation model and the BIM model, classify according to the BIM component code, convert the simulation model data into the BIM model coordinate system. After conversion to the BIM model, the model coordinate P' = T·(P - Δ), and the deformation data D' = T·(P + D - Δ) - P', where the finite element simulation model coordinate is P, the finite element simulation model deformation data is D, and the coordinate conversion matrices are the translation vector Δ and the rotation matrix T respectively; According to the model coordinate P' and the deformation data D', calculate the deformation result D0 corresponding to the three-dimensional vertex P0 of the BIM model by linear interpolation of three-dimensional space coordinates, and obtain the deformed coordinate P'0 of the BIM model = P0 + D0; Calculate the vertex normal vector N'0 according to the deformed coordinate P'0 of the BIM model; Modify the material color data corresponding to the component code according to the component code and the finite element simulation model deformation data D to obtain the BIM model with the changed color; According to the gltf, b3dm, and 3Dtiles format standards, assemble the deformed three-dimensional vertex coordinates P0, vertex normal vector N'0, three-dimensional patch index data, and material data according to the component code to obtain the deformed BIM model; The step of calculating the deformation result D0 corresponding to the three-dimensional vertex P0 of the BIM model by linear interpolation of three-dimensional space coordinates according to the model coordinate P' and the deformation data D' to obtain the deformed coordinate P'0 of the BIM model = P0 + D0 includes: Expand and encrypt the simulation model data. Each component code corresponds to the model coordinate P' and the deformation data D'. Using the local coordinate system, expand and encrypt it into three-dimensional space data P” and deformation data D”; Generate a three-dimensional space linear interpolation function D = f(x, y, z) according to the three-dimensional space data P” and the deformation data D”, and perform interpolation on the three-dimensional space data P0 of the BIM model to calculate the corresponding deformation result D0; After obtaining the deformation result D0, obtain the deformed coordinate P'0 of the BIM model = P0 + D0.
2. The method according to claim 1, wherein In the step of performing parsing processing on the obtained BIM model, the following steps are further included: Parse the obtained BIM model; Delete the component data irrelevant to the structure after parsing.
3. The method according to claim 1, wherein In the step of sending the parsed component data to the finite element simulation model for simulation to obtain simulation model data, the following contents are further included: The simulation model data includes the overall rectangular coordinate system of the simulation model, the node coordinates of the simulation model, the elements of the simulation model, the node numbers, the local coordinate system, and the corresponding component codes.
4. A system for integrating finite element simulation and BIM to display simulation results, characterized in that, It includes: A parsing processing module that performs parsing processing on the obtained BIM model; A sending and obtaining module that sends the parsed component data to the finite element simulation model for simulation to obtain simulation model data; The modification processing module modifies the geometric coordinates and colors of the BIM model according to the simulation model data; The modification processing module includes: The coordinate transformation module classifies according to the BIM component code according to the coordinate conversion relationship between the finite element simulation model and the BIM model, and converts the simulation model data into the BIM model coordinate system. After conversion to the BIM model, the model coordinate P' = T·(P - Δ), and the deformation data D' = T·(P + D - Δ) - P', where the finite element simulation model coordinate is P, the finite element simulation model deformation data is D, and the coordinate transformation matrices are the translation vector Δ and the rotation matrix T respectively; The deformed coordinate processing module calculates the deformation result D0 corresponding to the three-dimensional vertex P0 of the BIM model by linear interpolation of three-dimensional space coordinates according to the model coordinate P' and the deformation data D', and obtains the deformed coordinate P'0 of the BIM model = P0 + D0; The normal vector coordinate processing module calculates the vertex normal vector N'0 according to the deformed coordinate P'0 of the BIM model; The color change module modifies the material color data corresponding to the component code according to the component code and the finite element simulation model deformation data D, and obtains the BIM model with the changed color; The deformation module assembles the deformed three-dimensional vertex coordinates P0, vertex normal vector N'0, three-dimensional patch index data and material data according to the gltf, b3dm, 3Dtiles format standards according to the component code, and obtains the deformed BIM model; The deformed coordinate processing module includes: The extended encryption module extends and encrypts the simulation model data. Each component code corresponds to the model coordinate P' and the deformation data D'. Using the local coordinate system, it is extended and encrypted into three-dimensional space data P” and deformation data D”; The interpolation calculation module generates a three-dimensional space linear interpolation function D = f(x, y, z) according to the three-dimensional space data P” and the deformation data D”, and interpolates the three-dimensional space data P0 of the BIM model to calculate the corresponding deformation result D0; The obtaining processing module obtains the deformed coordinate P'0 of the BIM model = P0 + D0 after obtaining the deformation result D0.
5. The system according to claim 4, wherein The parsing processing module includes: The parsing module parses the obtained BIM model; The deletion module deletes the component data irrelevant to the structure after parsing.
6. The system according to claim 4, characterized in that, The simulation model data includes the overall rectangular coordinate system of the simulation model, the node coordinates of the simulation model, the elements of the simulation model, the node numbers, the local coordinate system and the corresponding component codes.
Citation Information
Patent Citations
Visual implementation method of BIM model in three-dimensional large scene
CN106599493A
BIM information and traffic simulation information integration system and integration method thereof
CN107844635A