Finite element dynamic layering visualization method based on digital twinning

By generating meshes using digital twin technology and combining them with layered LOD processing, the cross-platform compatibility and real-time rendering issues of finite element visualization systems are resolved. This enables lightweight visualization of finite element calculation results, supports cross-platform real-time display and user interaction, and improves the analysis efficiency and security for engineers.

CN120807828APending Publication Date: 2025-10-17YUNHE (HENAN) INFORMATION TECH CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510682949.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

Existing finite element visualization systems are difficult to apply across platforms, are highly specialized, require high computing resources, and struggle to quickly render large-scale finite element data in real time, thus limiting their widespread application across different operating systems and fields.

Method used

By employing digital twin technology, finite element analysis results are obtained, a mesh is generated, and vertex indices are constructed. A mapping relationship between pixel indices and vertex indices is established, and numerical data is stored in an image file and bound to the mesh. Real-time rendering is performed using vertex and fragment shaders, combined with layered LOD processing, to achieve cross-platform lightweight visualization.

Benefits of technology

It enables cross-platform real-time visualization of finite element calculation results, reduces computing resource requirements, supports user interaction, helps engineers quickly judge changes in the physical world, and ensures the safety and stability of buildings and infrastructure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120807828A_ABST
    Figure CN120807828A_ABST
Patent Text Reader

Abstract

The invention discloses a finite element dynamic layering visualization method based on digital twinning. The finite element dynamic layering visualization method comprises the steps that a finite element analysis result is obtained; a Mesh grid is generated through fitting according to the geometric data; constructing an index of each vertex in the Mesh grid; storing the numerical data into an image file, and establishing a mapping relationship between a pixel index of the image file and the vertex index; taking the image file as a texture and binding the image file to a Mesh grid; in the vertex shader, sampling and determining numerical data corresponding to the vertex according to the vertex index, and transmitting the numerical data to the fragment shader; and in the fragment shader, outputting the color of the Mesh grid by using a preset color mapping table. According to the method, a finite element calculation result is rebuilt through a twinning method, the finite element is lightened, cross-platform application of the finite element is achieved, the finite element calculation result is visually displayed in real time, engineers are helped to judge entity world changes more accurately, potential problems are found in time, prevention measures are taken, and the real-time real-time visualization display of the finite element calculation result is achieved. Therefore, safety and stability of buildings and infrastructures are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the field of real-time twin technology, and in particular to a finite element dynamic layered visualization method based on digital twinning. BACKGROUND

[0002] Existing finite element visualization systems are generally divided into two categories: one is the visualization system provided with finite element analysis software, such as ANSYS, Abaqus, MSC.Patran, etc., which has relatively specific functions and is closely integrated with the corresponding finite element analysis software; the other is an independent visualization system for general purposes, such as commercial software Tecplot, Ensight, and open source software Visit, ParaView, Gmsh, etc., which has stronger scalability and can process various types of finite element data.

[0003] With the improvement of the performance of graphics hardware and the development of visualization technology, finite element visualization systems are developing towards the realization of real-time rendering, interactive exploration and high-quality image output.

[0004] At the same time, with the popularity of Linux systems, the widespread use of Windows systems, and the rise of mobile operating systems (such as Android and iOS), finite element visualization systems also need to have good cross-platform performance to adapt to application requirements in different operating system environments. In addition, the finite element method has been widely applied in many fields, and the finite element visualization system also needs to have universality and openness to support analysis requirements and result display in different fields.

[0005] However, the current finite element visualization system is difficult to be separated from the heavy finite element software environment, and only professionals can master it; and the visualization of large-scale finite element data requires a large amount of computing resources and time, which makes it difficult for some new visualization technologies and methods to be popularized in the field of finite element visualization. SUMMARY

[0006] The application aims to provide a finite element dynamic layered visualization method based on digital twinning, which can more conveniently and quickly realize dynamic visualization of finite element analysis.

[0007] To achieve the above-mentioned purpose, the application adopts the following technical solutions: The finite element dynamic layered visualization method based on digital twinning comprises the following steps: S1, obtaining finite element analysis results, including geometric data and numerical data; S2, fitting and generating a Mesh grid according to the geometric data; S3, constructing an index of each vertex in the Mesh grid; S4, store the numerical data into an image file, and establish a mapping relationship between the pixel index of the image file and the vertex index; S5, bind the image file as a texture to the Mesh grid; S6, in the vertex shader, according to the vertex index, sample the numerical data corresponding to the vertex, and pass to the fragment shader; S7, in the fragment shader, output the color of the Mesh grid using a preset color mapping table.

[0008] Further, the geometric data includes shape, node coordinates, and element division; and the numerical data includes stress deformation and seepage velocity.

[0009] Further, S2 specifically includes constructing a mesh grid according to the topological relationship; and performing layered LOD processing on the generated Mesh grid with 65535 vertex indexes as one rendering batch.

[0010] Further, the layered LOD processing means using a lower complexity model at a position far from the viewpoint, and using a higher complexity model at a position close to the viewpoint.

[0011] Further, the vertex index includes a fixed channel for storing finite element analysis numerical data.

[0012] Further, when the finite element analysis numerical data changes, the image file is updated in real time and submitted to the rendering engine for rendering.

[0013] The method has the advantages that the finite element calculation result is reconstructed by the twin method, the finite element is lightened, the finite element cross-platform application and the finite element calculation result real-time visual display are solved, the engineer is helped to more accurately judge the entity world change, potential problems are found in time, and preventive measures are taken, so that the safety and stability of buildings and infrastructures are guaranteed. BRIEF DESCRIPTION OF DRAWINGS

[0014] Figure 1 The flowchart of the method is shown.

[0015] Figure 2 The Mesh grid generated by the method is shown.

[0016] Figure 3 The finite element calculation visualization effect diagram presented by the method is shown. DETAILED DESCRIPTION

[0017] The technical solutions in the embodiments of the present application will be clearly and completely described below. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work belong to the protection scope of the present application.

[0018] As shown in Figure 1 The finite element dynamic layered visualization method based on digital twinning provided by the present application comprises the following steps: S1, obtaining the finite element analysis result, including geometric data and numerical data. The geometric data includes shape, node coordinates, and element division; the numerical data includes stress deformation, seepage velocity.

[0019] S2, fitting and generating a Mesh grid according to the geometric data, as shown in Figure 2 This process mainly constructs the mesh grid according to the topological relationship. The key point is to use 65535 vertex indexes for a rendering batch to achieve optimal preprocessing and rendering efficiency. A too large vertex index array will significantly increase the processing time of the lod process.

[0020] When performing layered LOD processing on the generated Mesh grid, different levels of detail are generated according to the complexity of the model and the requirements of the scene. In the position far away from the viewpoint, a lower complexity model is used to reduce the rendering burden; in the position close to the viewpoint, a higher complexity model is used to provide finer visual effects.

[0021] The processing of this step requires a certain amount of time, but this step only needs to be executed once. Subsequent finite element analysis results can be visualized on this basis.

[0022] S3, constructing each vertex index in the Mesh grid. A fixed channel vertex index is defined at each vertex of the Mesh grid. The numerical data of the finite element analysis is decoupled through the vertex index, that is, the numerical information obtained by finite element calculation, such as stress deformation, seepage velocity, etc., is stored through the attribute of the vertex index.

[0023] S4, storing the numerical data into an image file and establishing the mapping relationship between the pixel index of the image file and the vertex index. According to the numerical data in the finite element analysis calculation result, an image file with automatic size is generated, and the numerical data in the finite element analysis calculation result is stored into the image file.

[0024] S5, bind the image file as a texture to the Mesh grid. By texture binding to the Mesh grid. That is, by mapping the image pixel index to the vertex index in the Mesh grid to ensure that the finite element analysis calculation result can be found by the vertex index.

[0025] S6, in the vertex shader, according to the vertex index, sample the numerical data corresponding to the vertex, and pass it to the fragment shader. Write a vertex shader program to process each vertex data of the Mesh grid. In the vertex shader, according to the vertex index, sample the calculation result value corresponding to the vertex, and then pass it to the fragment shader.

[0026] Write a fragment shader program to process the color and brightness information of each pixel (or fragment). In the fragment shader, according to the interpolated simulation calculation value, use the preset color mapping table to output the color of the grid. The color mapping table can be customized according to actual needs to achieve different layered visualization effects.

[0027] S7, in the fragment shader, use the preset color mapping table to output the color of the Mesh grid.

[0028] Submit the Mesh grid and the shader program to the GPU for rendering. GPU uses powerful parallel computing capability to efficiently process the data of each vertex and fragment, and generates the final visualization result as shown in Figure 3

[0029] The method of the present application needs to select a software platform that supports graphics rendering and shader programming, such as Unity, Unreal Engine or OpenGL, etc. These platforms provide powerful graphics rendering functions and flexible shader programming interfaces, which can meet the needs of the present application. Using the method of the present application, when the finite element analysis numerical data changes, the image file is updated in real time and submitted to the rendering engine for rendering, realizing real-time reflection of the visualization result of the finite element calculation change.

[0030] The method of the present application can provide a user interaction interface, allowing users to view and analyze the visualization result by dragging, scaling, rotating, etc. At the same time, users can also adjust the color mapping table, LOD level, etc. Parameters, select different finite element calculation results, such as seepage calculation results, deformation calculation results, etc., to intuitively visualize the seepage deformation condition.​

Claims

1. A finite element dynamic hierarchical visualization method based on digital twins, characterized in that: The following steps are involved: S1, obtain finite element analysis results, including geometric data and numerical data; S2, generating a Mesh grid according to the geometric data fitting; S3, construct the index of each vertex in the Mesh grid; S4, storing the numerical data into an image file, and establishing a mapping relationship between the pixel index of the image file and the vertex index; S5, binding the image file as a texture to the Mesh grid; S6, in the vertex shader, according to the vertex index, sample and determine the numerical data corresponding to the vertex, and pass it to the fragment shader; S7, in the fragment shader, use the preset color map to output the color of the Mesh grid.

2. The finite element dynamic hierarchical visualization method based on digital twin according to claim 1, characterized in that: The geometric data includes shape, node coordinates, and unit division; the numerical data includes stress deformation and seepage velocity.

3. The finite element dynamic hierarchical visualization method based on digital twin according to claim 1, characterized in that: Step S2 specifically includes constructing a mesh based on the topological relationship; The generated Mesh mesh is processed by layered LOD with 65535 vertex indices as a rendering batch.

4. The finite element dynamic hierarchical visualization method based on digital twin according to claim 3 is characterized by: Hierarchical LOD processing means using a lower complexity model at locations far from the viewpoint and a higher complexity model at locations close to the viewpoint.

5. The finite element dynamic hierarchical visualization method based on digital twin according to claim 1, characterized in that: The vertex index includes fixed channels for storing finite element analysis numerical data.

6. The finite element dynamic hierarchical visualization method based on digital twin according to claim 1, characterized in that: When the numerical data of the finite element analysis changes, the image file is updated in real time and submitted to the rendering engine for rendering.

Citation Information

Cited By

  • Webgpu-based address cavity pressure stratification visualization method and system

    CN122368282A