Finite element analysis result visualization method and device, equipment and storage medium

By processing finite element analysis results in text data format, a visualization page for geological regions is generated, solving the problem of difficulty in visualizing finite element analysis results for geological regions and achieving efficient visualization effects.

CN121637863APending Publication Date: 2026-03-10SHENZHEN INST OF GEOLOGICAL ENVIRONMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-14
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

The existing finite element analysis results for geological regions are difficult to visualize effectively, making them difficult for users to understand.

Method used

The results are exported from the finite element analysis software in text data format, null values ​​are deleted, an octree-structured spatial grid is constructed, and a visualization page is generated through the rendering engine of the WebGIS platform.

Benefits of technology

It enables the automatic generation and visualization of finite element analysis results for geological regions, shortening the visualization cycle, improving efficiency, and lowering the threshold for data interpretation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121637863A_ABST
    Figure CN121637863A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of geology, and discloses a finite element analysis result visualization method, device and equipment and a storage medium, and the method comprises the following steps: exporting a finite element analysis result of a geological region from finite element analysis software by adopting a text data format; obtaining each time step of the geological area under each working condition, obtaining each attribute value corresponding to each time step from the processed finite element analysis result, and obtaining coordinate data of the geological area from the coordinate file; respectively mapping each attribute value to each grid unit of the space grid to obtain each voxel, and combining each voxel according to the space coordinate of each voxel to obtain voxel data of the geological area; converting the voxel data into a target file through a format conversion interface; and processing the target file through a rendering engine of the WebGIS platform, and generating a visual page of a finite element analysis result of the geological region. According to the method, the visualization efficiency of the finite element analysis result of the geological area can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of geology, and particularly relates to a finite element analysis result visualization method, device and equipment and a storage medium. BACKGROUND

[0002] Finite element analysis is a numerical simulation method, which is used to approximate solution by discretizing a continuum into a finite number of small elements. When a user needs to evaluate the stability of a geological area, simulation calculation is carried out by means of finite element analysis, so as to obtain the finite element analysis result of the geological area.

[0003] However, the finite element analysis result of the geological area is mostly presented in abstract and abstruse data, which is extremely difficult for the user to understand. Therefore, how to generate a visualization page of the finite element analysis result of the geological area is a technical problem to be solved. SUMMARY

[0004] The present application provides a finite element analysis result visualization method, device, equipment and storage medium to solve the technical problem of how to generate a visualization page of the finite element analysis result of the geological area.

[0005] In a first aspect, the present application provides a finite element analysis result visualization method applied to an electronic device, and the finite element analysis result visualization method comprises the following steps. The finite element analysis result of the geological area is exported from a finite element analysis software in a text data format, the finite element analysis result is parsed to obtain parsed finite element analysis result; A deletion function is loaded from a first file, the parsed finite element analysis result is deleted by using the deletion function to delete attribute data records containing null values, and processed finite element analysis result is obtained; Each time step of the geological area under each working condition is obtained, each attribute value corresponding to each time step is obtained from the processed finite element analysis result, and coordinate data of the geological area is obtained from a coordinate file; Maximum and minimum values of multiple dimensions are obtained from the coordinate data of the geological area, a data bounding box of the geological area is formed by the maximum and minimum values of the multiple dimensions, the data bounding box is processed by a preset voxel dimension and a detail level, a spatial grid of an octree structure is obtained, and the multiple dimensions include longitude, latitude and depth; The data amount of the finite element analysis result is obtained, each attribute value is mapped to each grid cell of the spatial grid by using a mapping strategy corresponding to the data amount, each voxel is obtained, each voxel is combined according to the spatial coordinates of each voxel, and voxel data of the geological area is obtained; loading a format conversion interface from the second file, and converting the voxel data into the target file through the format conversion interface; uploading the target file to a WebGIS platform, processing the target file through a rendering engine of the WebGIS platform, and generating a visualization page of the finite element analysis result of the geological region.

[0006] In a possible implementation manner of the first aspect, the adopting the text data format, exporting the finite element analysis result of the geological region from the finite element analysis software, and analyzing the finite element analysis result to obtain the analyzed finite element analysis result, comprises: reading a preset export time, and judging whether the current time is the export time; if the current time is the export time, adopting the text data format, exporting the finite element analysis result of the geological region from the finite element analysis software, and analyzing the finite element analysis result to obtain the analyzed finite element analysis result.

[0007] In a possible implementation manner of the first aspect, the loading a deletion function from the first file, and using the deletion function to delete the attribute data record containing the null value from the analyzed finite element analysis result to obtain the processed finite element analysis result, comprises: detecting whether the analyzed finite element analysis result contains the attribute data record containing the null value; when the analyzed finite element analysis result contains the attribute data record containing the null value, loading a deletion function from the first file, and using the deletion function to delete the attribute data record containing the null value from the analyzed finite element analysis result to obtain the processed finite element analysis result.

[0008] In a possible implementation manner of the first aspect, the obtaining the data amount of the finite element analysis result, adopting a mapping strategy corresponding to the data amount to map each attribute value to each grid cell of the spatial grid to obtain each voxel, and combining each voxel according to the spatial coordinates of each voxel to obtain the voxel data of the geological region, comprises: obtaining a file path, importing a statistical component through the file path, and obtaining the data amount of the finite element analysis result through the statistical component; adopting a mapping strategy corresponding to the data amount to map each attribute value to each grid cell of the spatial grid to obtain each voxel, and combining each voxel according to the spatial coordinates of each voxel to obtain the voxel data of the geological region.

[0009] In a possible implementation manner of the first aspect, the loading a format conversion interface from the second file, and converting the voxel data into the target file through the format conversion interface, comprises: accessing the second file, loading a format conversion interface from the second file, transmitting the voxel data to the format conversion interface; converting the voxel data into the target file through the format conversion interface.

[0010] In a possible implementation manner of the first aspect, the uploading the target file to the WebGIS platform, processing the target file through a rendering engine of the WebGIS platform, and generating the visualization page of the finite element analysis result of the geological region include: uploading the target file to the WebGIS platform through a preset network, the preset network including one or a combination of a 4G network, a 5G network, and a WIFI network; processing the target file through a rendering engine of the WebGIS platform, and generating the visualization page of the finite element analysis result of the geological region.

[0011] In a possible implementation manner of the first aspect, after the uploading the target file to the WebGIS platform, processing the target file through a rendering engine of the WebGIS platform, and generating the visualization page of the finite element analysis result of the geological region, the finite element analysis result visualization method includes: creating a display window, and displaying the visualization page of the finite element analysis result of the geological region through the display window.

[0012] In a second aspect, an embodiment of the present application provides a finite element analysis result visualization device, applied to an electronic device, and including: The first obtaining module is configured to adopt a text data format, export a finite element analysis result of a geological region from a finite element analysis software, analyze the finite element analysis result, and obtain an analyzed finite element analysis result. The deleting module is configured to load a deleting function from the first file, use the deleting function to delete attribute data records containing null values from the analyzed finite element analysis result, and obtain a processed finite element analysis result. The third obtaining module is configured to obtain each time step of the geological region under each working condition, obtain each attribute value corresponding to each time step from the processed finite element analysis result, and obtain coordinate data of the geological region from a coordinate file. The fourth obtaining module is configured to obtain maximum values and minimum values of multiple dimensions from the coordinate data of the geological region, construct a data bounding box of the geological region through the maximum values and the minimum values of the multiple dimensions, process the data bounding box through a preset voxel dimension and a detail level, and obtain a spatial grid in an octree structure, the multiple dimensions including longitude, latitude, and depth. The mapping module is configured to obtain a data volume of the finite element analysis result, map each attribute value to each grid cell of a spatial grid by using a mapping strategy corresponding to the data volume, obtain each voxel, combine each voxel according to a spatial coordinate of each voxel, and obtain voxel data of the geological region. The conversion module is configured to load a format conversion interface from the second file, and convert the voxel data into the target file through the format conversion interface. The rendering module is configured to upload the target file to a WebGIS platform, process the target file through a rendering engine of the WebGIS platform, and generate a visualization page of the finite element analysis result of the geological region.

[0013] In a third aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the finite element analysis result visualization method of the first aspect when executing the computer program.

[0014] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the finite element analysis result visualization method of the first aspect when executed by a processor.

[0015] In a fifth aspect, a computer program product is provided, which, when executed on an electronic device, causes the electronic device to execute the finite element analysis result visualization method of the first aspect.

[0016] The embodiments of the present application have two advantages. On the one hand, the target file is uploaded to the WebGIS platform, the target file is processed through the rendering engine of the WebGIS platform, and the visualization page of the finite element analysis result of the geological region is generated. Therefore, how to generate the visualization page of the finite element analysis result of the geological region. On the other hand, the visualization page of the finite element analysis result of the geological region is automatically generated, without the need for complex operations by the user. This can shorten the visualization cycle of the finite element analysis result of the geological region, avoid information lag caused by a long visualization cycle, and thus improve the visualization efficiency of the finite element analysis result of the geological region. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0018] Figure 1An application scenario diagram of the finite element analysis result visualization method provided by the embodiments of the present application is shown in FIG. 1. Figure 2 A flowchart of the finite element analysis result visualization method provided by the embodiments of the present application is shown in FIG. 2. Figure 3 An implementation flowchart of S207 provided by the embodiments of the present application is shown in FIG. 3. Figure 4 A schematic block diagram of the finite element analysis result visualization device provided by the embodiments of the present application is shown in FIG. 4. Figure 5 A structural schematic diagram of the electronic device provided by the embodiments of the present application is shown in FIG. 5. DETAILED DESCRIPTION

[0019] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not used to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0020] In the following description, specific details are set forth in order to provide a thorough understanding of the embodiments of the present application, but these details are not intended to limit the present application. It should be apparent to those skilled in the art that the present application can be implemented in other embodiments without these specific details.

[0021] It should be understood that when used in the present application and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or sets thereof.

[0022] It should also be understood that the term "and / or" used in the present application and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0023] As used in the specification and the appended claims, the term "if' can be construed to mean "when" or "upon" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be construed to mean "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]" depending on the context.

[0024] In addition, the terms "first", "second", "third", etc. as used in the description of the application and the appended claims are only used to differentiate between different descriptions, and cannot be understood as indicating or implying relative importance.

[0025] The description of "one embodiment" or "some embodiments" or similar phrases in the present specification means that the particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Therefore, the phrases "in one embodiment", "in some embodiments", "in other some embodiments", "in yet some embodiments" and the like appearing in different places in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "comprise", "include", "have" and their conjugates mean "including but not limited to", unless otherwise specifically emphasized.

[0026] In addition, the technical solutions of various embodiments can be combined with each other, but it must be based on the fact that a person skilled in the art can realize it, and when the combination of technical solutions appears contradictory or unachievable, it should be considered that the combination of technical solutions does not exist and is not within the protection scope required by the present application.

[0027] The flowchart shown in the accompanying drawings is only an example and does not necessarily include all contents and operations / steps, nor does it necessarily execute in the order described. For example, some operations / steps can be further divided, combined or partially merged, so the actual execution order can be changed according to the actual situation.

[0028] The finite element analysis result visualization method provided by the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), and the like. The embodiments of the present application do not make any limitation on the specific type of electronic device.

[0029] For example, the electronic device can be a station (STATION, ST) in a WLAN, can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device, or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite radio device, a wireless modem card, a television set top box (STB), a customer premise equipment (CPE), and / or other devices for communicating over a wireless system, and a next-generation communication system, for example, a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network.

[0030] For reference Figure 1 , Figure 1 The application scenario diagram of the finite element analysis result visualization method provided by the embodiments of the present application is described as follows: The electronic device uploads the target file to the WebGIS platform, and processes the target file through a rendering engine of the WebGIS platform to generate a visualization page of the finite element analysis result of the geological area.

[0031] The Chinese full name of the WebGIS platform is Network Geographic Information System Platform, and the English full name of the WebGIS platform is Web Geographic Information System Platform.

[0032] In the embodiment of the present application, the target file is processed by a rendering engine of a WebGIS platform to generate a visual page of the finite element analysis result of the geological area, so that the user can quickly understand the characteristics and distribution of the geological area, and the threshold of data interpretation is greatly reduced.

[0033] Please refer to Figure 2 , Figure 2 is a flowchart of the finite element analysis result visualization method provided by the embodiment of the present application, and the method can be applied to an electronic device.

[0034] As Figure 2 shown, the finite element analysis result visualization method provided by the embodiment of the present application includes the following steps, which are described in detail as follows: S201, adopting a text data format, exporting the finite element analysis result of the geological area from a finite element analysis software, analyzing the finite element analysis result to obtain an analyzed finite element analysis result; Adopting a text data format, exporting the finite element analysis result of the geological area from a finite element analysis software, the text data format allows the user to use a simple text editor or a script language to flexibly modify, filter and arrange the data, and meet the individual analysis requirements.

[0035] Among them, the step of adopting a text data format, exporting the finite element analysis result of the geological area from a finite element analysis software, and analyzing the finite element analysis result to obtain an analyzed finite element analysis result includes: reading a preset export time, and judging whether the current time is the export time; If the current time is the export time, the text data format is adopted to export the finite element analysis result of the geological area from the finite element analysis software, and the finite element analysis result is analyzed to obtain an analyzed finite element analysis result.

[0036] S202, loading a deletion function from the first file, using the deletion function to delete attribute data records containing null values from the analyzed finite element analysis result to obtain a processed finite element analysis result; Among them, the step of loading a deletion function from the first file, using the deletion function to delete attribute data records containing null values from the analyzed finite element analysis result to obtain a processed finite element analysis result includes: detecting whether the analyzed finite element analysis result contains attribute data records containing null values; When the analyzed finite element analysis result contains attribute data records containing null values, the deletion function is loaded from the first file, and the deletion function is used to delete attribute data records containing null values from the analyzed finite element analysis result to obtain a processed finite element analysis result.

[0037] The attribute data records containing null values are deleted from the parsed finite element analysis result to obtain a processed finite element analysis result, so as to reduce invalid data in the processed finite element analysis result. The calculation load of the processed finite element analysis result is reduced.

[0038] In S203, each time step of the geological region under each working condition is obtained, each attribute value corresponding to each time step is obtained from the processed finite element analysis result, and coordinate data of the geological region is obtained from a coordinate file. In an example, obtaining each time step of the geological region under each working condition, obtaining each attribute value corresponding to each time step from the processed finite element analysis result, and obtaining coordinate data of the geological region from a coordinate file include: In an example, obtaining each time step of the geological region under each working condition, obtaining each attribute value corresponding to each time step from the processed finite element analysis result, and obtaining coordinate data of the geological region from a coordinate file include:

[0039] The dynamic process of the geological region changing with time and working conditions can be captured in detail, and analysis deviation caused by too large data sampling interval or incomplete working condition coverage can be avoided, so that more accurate sampling results can be obtained.

[0040] In S204, maximum values and minimum values of multiple dimensions are obtained from the coordinate data of the geological region, a data bounding box of the geological region is formed by the maximum values and the minimum values of the multiple dimensions, the data bounding box is processed by a preset voxel dimension and a detail level, a spatial grid of an octree structure is obtained, and the multiple dimensions include longitude, latitude, and depth. In S205, a data amount of the finite element analysis result is obtained, each attribute value is mapped to each grid cell of the spatial grid by using a mapping strategy corresponding to the data amount, each voxel is obtained, each voxel is combined according to a spatial coordinate of each voxel, and voxel data of the geological region is obtained. In an example, obtaining the data amount of the finite element analysis result, mapping each attribute value to each grid cell of the spatial grid by using a mapping strategy corresponding to the data amount, obtaining each voxel, and combining each voxel according to a spatial coordinate of each voxel to obtain voxel data of the geological region include: A file path is obtained, a statistical component is imported by using the file path, and the data amount of the finite element analysis result is obtained by using the statistical component. The attribute values are respectively mapped into each grid unit of the spatial grid by using a mapping strategy corresponding to the data volume, so as to obtain each voxel. Each voxel is combined according to the spatial coordinates of each voxel, so as to obtain voxel data of the geological region.

[0041] S206, loading a format conversion interface from the second file, converting the voxel data into the target file through the format conversion interface; The method comprises the following steps: Accessing the second file, loading the format conversion interface from the second file, and transmitting the voxel data to the format conversion interface; Converting the voxel data into the target file through the format conversion interface.

[0042] S207, uploading the target file to the WebGIS platform, processing the target file through a rendering engine of the WebGIS platform, and generating a visualization page of the finite element analysis result of the geological region.

[0043] The format of the target file is 3DTiles or GeoJSON.

[0044] The Chinese definition of 3DTiles is a tiled data format for efficient loading and visualization of large-scale three-dimensional geographic spatial data. The core logic is to divide large-scale three-dimensional data such as terrain, buildings, and geological bodies into multi-level tile units, and solve the problems of slow transmission and loading lag of large-scale three-dimensional data through on-demand loading.

[0045] The Chinese definition of GeoJSON is a lightweight two-dimensional geographic vector data exchange format based on JSON syntax. GeoJSON describes two-dimensional vector geometric objects such as points, lines, and surfaces in a text structure that is easy to read and parse.

[0046] After the target file is uploaded to the WebGIS platform, the rendering engine of the WebGIS platform processes the target file, and a visualization page of the finite element analysis result of the geological region is generated, the finite element analysis result visualization method comprises the following steps: Creating a display window to display the visualization page of the finite element analysis result of the geological region.

[0047] The beneficial effects of this application embodiment are twofold. Firstly, the target file is uploaded to the WebGIS platform, and the target file is processed by the WebGIS platform's rendering engine to generate a visualization page of the finite element analysis results for the geological region. Secondly, the visualization page of the finite element analysis results for the geological region is generated automatically without requiring complex operations by the user. This shortens the visualization cycle of the finite element analysis results for the geological region and avoids information lag caused by an excessively long visualization cycle, thus improving the visualization efficiency of the finite element analysis results for the geological region.

[0048] Please see Figure 3 , Figure 3 The implementation flowchart of S207 provided in the embodiments of this application is described in detail below: S301, Upload the target file to the WebGIS platform through a preset network. The preset network includes one or a combination of 4G network, 5G network, and WIFI network. 4G networks are fourth-generation mobile communication technologies. 5G networks are fifth-generation mobile communication technologies.

[0049] S302 processes the target file through the rendering engine of the WebGIS platform to generate a visualization page of the finite element analysis results of the geological area.

[0050] In this embodiment of the application, a visualization page of the finite element analysis results of the geological area is automatically generated without requiring complex operations by the user. This can shorten the visualization cycle of the finite element analysis results of the geological area, improve the user experience and the visualization efficiency of the finite element analysis results.

[0051] For the visualization method of finite element analysis results described in the above embodiments, please refer to [link / reference]. Figure 4 , Figure 4 This is a schematic block diagram of the finite element analysis result visualization device provided in the embodiments of this application. Figure 4 The finite element analysis result visualization device 400 shown can be applied to, for example... Figure 1 The application scenario diagram shows electronic devices. The following section uses electronic devices as an example to illustrate this. Figure 4 The finite element analysis result visualization device 400 shown is described in detail. The finite element analysis result visualization device 400 may include a first acquisition module 401, a deletion module 402, a third acquisition module 403, a fourth acquisition module 404, a mapping module 405, a conversion module 406, and a rendering module 407.

[0052] The first obtaining module 401 is configured to adopt a text data format to export a finite element analysis result of a geological area from finite element analysis software, analyze the finite element analysis result, and obtain an analyzed finite element analysis result. The deleting module 402 is configured to load a deleting function from the first file, use the deleting function to delete attribute data records containing null values from the analyzed finite element analysis result, and obtain a processed finite element analysis result. The third obtaining module 403 is configured to obtain each time step of the geological area under each working condition, obtain each attribute value corresponding to each time step from the processed finite element analysis result, and obtain coordinate data of the geological area from the coordinate file. The fourth obtaining module 404 is configured to obtain maximum values and minimum values of multiple dimensions from the coordinate data of the geological area, construct a data bounding box of the geological area by using the maximum values and the minimum values of the multiple dimensions, process the data bounding box by using a preset voxel dimension and a detail level, and obtain a spatial grid in an octree structure, wherein the multiple dimensions include longitude, latitude, and depth. The mapping module 405 is configured to obtain a data amount of the finite element analysis result, use a mapping strategy corresponding to the data amount to map each attribute value to each grid cell of the spatial grid, obtain each voxel, combine each voxel according to a spatial coordinate of each voxel, and obtain voxel data of the geological area. The converting module 406 is configured to load a format conversion interface from the second file, and convert the voxel data into a target file by using the format conversion interface. The rendering module 407 is configured to upload the target file to a WebGIS platform, process the target file by using a rendering engine of the WebGIS platform, and generate a visualization page of the finite element analysis result of the geological area.

[0053] It should be noted that each embodiment in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other.

[0054] The application embodiment has two advantages. On the one hand, the target file is uploaded to the WebGIS platform, the target file is processed by using the rendering engine of the WebGIS platform, and the visualization page of the finite element analysis result of the geological area is generated. Therefore, how to generate the visualization page of the finite element analysis result of the geological area. On the other hand, the visualization page of the finite element analysis result of the geological area is automatically generated, and the user does not need to perform complex operations. This can shorten the visualization cycle of the finite element analysis result of the geological area, avoid information lag caused by a long visualization cycle, and thus improve the visualization efficiency of the finite element analysis result of the geological area.

[0055] Please refer to Figure 5 , Figure 5 The structural schematic diagram of an electronic device provided in the embodiments of the present application.

[0056] As Figure 5 shown, Figure 5 The electronic device 2 comprises at least one processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on the at least one processor 20, wherein the processor 20 implements the steps in any of the method embodiments described above when executing the computer program 22.

[0057] The electronic device 2 can comprise, but is not limited to, the processor 20 and the memory 21. Those skilled in the art can understand that Figure 5 The electronic device 2 is only an example and does not constitute a limitation on the electronic device 2, and can comprise more or fewer components than shown, or combine certain components, or different components, for example, can also comprise an input / output device, a network access device, etc.

[0058] The processor 20 is configured to run the computer program 22 stored in the memory 21, and implement the following steps when executing the computer program 22: In a text data format, the finite element analysis results of the geological area are exported from the finite element analysis software, the finite element analysis results are parsed, and parsed finite element analysis results are obtained; The deletion function is loaded from the first file, the deletion function is used to delete attribute data records containing null values from the parsed finite element analysis results, and processed finite element analysis results are obtained; Each time step of the geological area under each working condition is obtained, each attribute value corresponding to each time step is obtained from the processed finite element analysis results, and coordinate data of the geological area is obtained from the coordinate file; The maximum and minimum values of multiple dimensions are obtained from the coordinate data of the geological area, a data bounding box of the geological area is formed by the maximum and minimum values of the multiple dimensions, the data bounding box is processed by a preset voxel dimension and a detail level, a spatial grid of an octree structure is obtained, and the multiple dimensions include longitude, latitude, and depth; The data volume of the finite element analysis results is obtained, each attribute value is mapped to each grid cell of the spatial grid by using a mapping strategy corresponding to the data volume, each voxel is obtained, each voxel is combined according to the spatial coordinates of each voxel, voxel data of the geological area is obtained, a format conversion interface is loaded from the second file, the voxel data is converted into a target file by using the format conversion interface, the target file is uploaded to a WebGIS platform, the target file is processed by a rendering engine of the WebGIS platform, and a visualization page of the finite element analysis results of the geological area is generated.

[0059] The processor 20 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, or the like. The general-purpose processor can be a microprocessor or can also be any conventional processor.

[0060] The memory 21 can be an internal storage unit of the electronic device 2 in some embodiments, such as a hard disk or a memory of the electronic device 2. The memory 21 can also be an external storage device of the electronic device 2 in other embodiments. Further, the memory 21 can include both the internal storage unit and the external storage device of the electronic device 2. The memory 21 is used to store an operating system, application programs, a boot loader, data, and other programs, such as program codes of the computer program, and the like. The memory 21 can also be used to temporarily store data that has been output or will be output.

[0061] It should be noted that the information interaction, execution process, and the like between the above apparatuses / units, since based on the same concept as the method embodiments of the present application, the specific functions and the technical effects brought by the same can be referred to the method embodiments part, and will not be described here.

[0062] The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps in each of the above method embodiments.

[0063] The computer readable storage medium stores program codes, and the program codes can be called and executed by a processor to implement the finite element analysis result visualization method described in the above method embodiments.

[0064] The computer readable storage medium has a storage space for program codes.

[0065] The program codes include codes of any steps in the finite element analysis result visualization method described in the above method embodiments.

[0066] For example, the program codes are called and executed by a processor, and the following steps can be performed: Using text data format, the finite element analysis results of the geological area are exported from the finite element analysis software. The finite element analysis results are then parsed to obtain the parsed finite element analysis results. Load the deletion function from the first file, use the deletion function to delete attribute data records containing null values ​​from the parsed finite element analysis results, and obtain the processed finite element analysis results; Obtain each time step of the geological region under each working condition, extract the attribute values ​​corresponding to each time step from the processed finite element analysis results, and obtain the coordinate data of the geological region from the coordinate file; The maximum and minimum values ​​of multiple dimensions are obtained from the coordinate data of the geological region. The data bounding box of the geological region is constructed by the maximum and minimum values ​​of multiple dimensions. The data bounding box is processed by the preset voxel dimension and level of detail to obtain an octree structured spatial grid. The multiple dimensions include longitude, latitude and depth. The amount of data obtained from the finite element analysis results is used to map each attribute value to a grid cell in the spatial grid using a mapping strategy corresponding to the amount of data. This yields each voxel. Based on the spatial coordinates of each voxel, the voxels are combined to obtain the voxel data of the geological region. Load the format conversion interface from the second file, and convert the voxel data into the target file through the format conversion interface; The target file is uploaded to the WebGIS platform, and the WebGIS platform's rendering engine processes the target file to generate a visualization page of the finite element analysis results for the geological area.

[0067] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0068] Since the computer program stored in the computer-readable storage medium can execute any of the finite element analysis result visualization methods provided in the embodiments of this application, the computer-readable storage medium can achieve the beneficial effects that any of the finite element analysis result visualization methods provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.

[0069] This application provides a computer program product that, when run on an electronic device, enables the electronic device to perform the aforementioned finite element analysis result visualization method.

[0070] When a computer program is loaded into an electronic device, it can perform the following steps: Using text data format, the finite element analysis results of the geological area are exported from the finite element analysis software. The finite element analysis results are then parsed to obtain the parsed finite element analysis results. Load a deletion function from the first file, use the deletion function to delete attribute data records containing null values from the parsed finite element analysis result to obtain a processed finite element analysis result; Obtain each attribute value corresponding to each time step from the processed finite element analysis result, and obtain coordinate data of the geological area from the coordinate file at each time step under each working condition; Obtain maximum and minimum values of multiple dimensions from the coordinate data of the geological area, form a data bounding box of the geological area by the maximum and minimum values of the multiple dimensions, process the data bounding box by a preset voxel dimension and a detail level, and obtain an octree structure spatial grid, the multiple dimensions including longitude, latitude and depth; Obtain a data volume of the finite element analysis result, map each attribute value to each grid cell of the spatial grid by using a mapping strategy corresponding to the data volume, obtain each voxel, and combine each voxel according to a spatial coordinate of each voxel to obtain voxel data of the geological area; Load a format conversion interface from the second file, and convert the voxel data into a target file by using the format conversion interface; Upload the target file to a WebGIS platform, process the target file by using a rendering engine of the WebGIS platform, and generate a visualization page of the finite element analysis result of the geological area.

[0071] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium.

[0072] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or software. In addition, the specific names of the functional units and modules are only for easy distinction, and do not limit the protection scope of the application. The specific working process of the units and modules in the system can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0073] Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can be implemented by a computer program instructing relevant hardware, and the computer program can be stored in a computer readable storage medium. The computer readable medium at least includes an entity or device carrying computer program code to an electronic device, a computer memory, a read-only memory (ROM), and a random access memory (RAM).

[0074] In the above embodiments, the description of each embodiment has its own focus. The parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0075] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation using the content of the specification and drawings, or direct or indirect application in other related technical fields, is also included in the patent protection scope of the present application.

Claims

1. A finite element analysis result visualization method characterized by, The finite element analysis result visualization method is applied to an electronic device and comprises the following steps: A finite element analysis result of a geological area is exported from finite element analysis software in a text data format, and the finite element analysis result is parsed to obtain a parsed finite element analysis result; A deletion function is loaded from a first file, and the deletion function is used to delete attribute data records containing null values from the parsed finite element analysis result to obtain a processed finite element analysis result; Each time step of the geological area under each working condition is obtained, each attribute value corresponding to each time step is obtained from the processed finite element analysis result, and coordinate data of the geological area is obtained from a coordinate file; Maximum and minimum values of multiple dimensions are obtained from the coordinate data of the geological area, a data bounding box of the geological area is formed by the maximum and minimum values of the multiple dimensions, the data bounding box is processed by a preset voxel dimension and a detail level to obtain a spatial grid in an octree structure, and the multiple dimensions include longitude, latitude, and depth; The data volume of the finite element analysis result is obtained, each attribute value is mapped to each grid cell of the spatial grid by using a mapping strategy corresponding to the data volume to obtain each voxel, and each voxel is combined according to a spatial coordinate of each voxel to obtain voxel data of the geological area. A format conversion interface is loaded from a second file, and the voxel data is converted into a target file by using the format conversion interface; The target file is uploaded to a WebGIS platform, and the target file is processed by a rendering engine of the WebGIS platform to generate a visualization page of the finite element analysis result of the geological area.

2. The finite element analysis result visualizing method according to claim 1, characterized by, The finite element analysis result of the geological area is exported from the finite element analysis software in the text data format, and the finite element analysis result is parsed to obtain the parsed finite element analysis result, and the method comprises the following steps: A preset export time is read, and it is determined whether the current time is the export time; If the current time is the export time, the finite element analysis result of the geological area is exported from the finite element analysis software in the text data format, and the finite element analysis result is parsed to obtain the parsed finite element analysis result.

3. The finite element analysis result visualizing method according to claim 1, characterized by, The deletion function is loaded from the first file, and the deletion function is used to delete the attribute data records containing the null values from the parsed finite element analysis result to obtain the processed finite element analysis result, and the method comprises the following steps: It is detected whether the parsed finite element analysis result contains attribute data records containing the null values; When the parsed finite element analysis result contains the attribute data records containing the null values, the deletion function is loaded from the first file, and the deletion function is used to delete the attribute data records containing the null values from the parsed finite element analysis result to obtain the processed finite element analysis result.

4. The finite element analysis result visualizing method according to claim 1, characterized by, The data volume of the finite element analysis result is obtained, each attribute value is mapped to each grid cell of the spatial grid by using a mapping strategy corresponding to the data volume to obtain each voxel, and each voxel is combined according to a spatial coordinate of each voxel to obtain voxel data of the geological area. A file path is obtained, a statistical component is imported through the file path, and the data volume of the finite element analysis result is obtained through the statistical component. The data volume corresponding mapping strategy is adopted to map each attribute value into each grid cell of the spatial grid, to obtain each voxel, and each voxel is combined according to the spatial coordinates of each voxel to obtain the voxel data of the geological region.

5. The finite element analysis result visualizing method according to claim 1, characterized by, The format conversion interface is loaded from the second file, and the voxel data is converted into the target file through the format conversion interface, including: accessing the second file, loading the format conversion interface from the second file, and transmitting the voxel data to the format conversion interface; The voxel data is converted into the target file through the format conversion interface.

6. The finite element analysis result visualizing method according to claim 1, characterized by, The target file is uploaded to the WebGIS platform, and the rendering engine of the WebGIS platform processes the target file to generate a visualization page of the finite element analysis result of the geological region, including: The target file is uploaded to the WebGIS platform through a preset network, and the preset network includes one or a combination of 4G network, 5G network and WIFI network; The target file is processed by the rendering engine of the WebGIS platform to generate a visualization page of the finite element analysis result of the geological region.

7. The finite element analysis result visualizing method according to any one of claims 1 to 6, characterized by, After the target file is uploaded to the WebGIS platform, the rendering engine of the WebGIS platform processes the target file to generate a visualization page of the finite element analysis result of the geological region, the finite element analysis result visualization method includes: A display window is created, and the visualization page of the finite element analysis result of the geological region is displayed through the display window.

8. A finite element analysis result visualization device characterized by comprising: Applied to an electronic device, including: The first acquisition module is configured to export the finite element analysis result of the geological region from the finite element analysis software in a text data format, analyze the finite element analysis result to obtain an analyzed finite element analysis result; The deletion module is configured to load a deletion function from the first file, use the deletion function to delete attribute data records containing null values from the analyzed finite element analysis result to obtain a processed finite element analysis result; The third acquisition module is configured to obtain each time step of the geological region under each working condition, obtain each attribute value corresponding to each time step from the processed finite element analysis result, and obtain coordinate data of the geological region from a coordinate file; The fourth acquisition module is configured to obtain maximum and minimum values of multiple dimensions from the coordinate data of the geological region, construct a data bounding box of the geological region through the maximum and minimum values of the multiple dimensions, process the data bounding box through a preset voxel dimension and a detail level to obtain a spatial grid of an octree structure, and the multiple dimensions include longitude, latitude and depth; The mapping module is configured to obtain a data volume of the finite element analysis result, map each attribute value into each grid cell of the spatial grid through a mapping strategy corresponding to the data volume to obtain each voxel, combine each voxel according to the spatial coordinates of each voxel to obtain voxel data of the geological region. The conversion module is configured to load a format conversion interface from the second file, and convert the voxel data into the target file through the format conversion interface. The rendering module is configured to upload the target file to a WebGIS platform, process the target file by a rendering engine of the WebGIS platform, and generate a visualization page of the finite element analysis result of the geological area.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The computer program, when executed by the processor, implements the finite element analysis result visualization method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program, when executed by the processor, implements the finite element analysis result visualization method according to any one of claims 1 to 7.