A Method for Post-Processing Structure Analysis Based on ABAQUS Secondary Development Using Python

Through secondary development of ABAQUS using Python, the integrated and automated post-processing of ABAQUS calculation results was achieved, solving the problem of low efficiency in multi-condition and multi-component structural analysis and improving the accuracy and efficiency of structural stress reinforcement calculation.

CN116029175BActive Publication Date: 2026-04-03CHINA HYDROELECTRIC ENGINEERING CONSULTING GROUP CHENGDU RESEARCH HYDROELECTRIC INVESTIGATION DESIGN AND INSTITUTE
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-10
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

The built-in post-processing module of ABAQUS is insufficient to meet the needs of multi-condition and multi-component structural analysis, resulting in complex and inefficient manual processing.

Method used

The ABAQUS secondary development was carried out using Python. The calculation result data was imported through the Session object, the component was specified and displayed in the viewport using the Leaf object, the stress components were analyzed one by one, the node number of the maximum stress component was obtained, the stress path was defined and integrated, and the relevant data and graphic files were exported.

Benefits of technology

It achieves integration and automation of post-processing of structural analysis, reduces workload, improves work efficiency and calculation accuracy, and provides a basis for structural stress reinforcement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116029175B_ABST
    Figure CN116029175B_ABST
Patent Text Reader

Abstract

This invention relates to the field of ABAQUS computational data processing, specifically to a method for post-processing structural analysis data based on ABAQUS secondary development using Python, thereby improving work efficiency. The solution includes: importing ABAQUS computational results into the ABAQUS Visualization module using the Session object in ABAQUS, specifying the structural member to be analyzed in the displayGroup using the Leaf object in ABAQUS, and displaying the structural member in the ABAQUS viewport; analyzing the stress components of interest for each member, deriving stress component contour maps, stress variation curves along defined paths, and stress integral curves; and providing a basis for structural stress reinforcement calculations using the stress component contour maps, stress variation curves along defined paths, stress integral curves, and the maximum internal force per unit width of the member. This invention is applicable to the automatic post-processing of ABAQUS computational results data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ABAQUS computational data processing, and more specifically to a method for post-processing of structural analysis based on ABAQUS secondary development using the Python language. Background Technology

[0002] With the continuous development of computer technology, the finite element numerical simulation method is being used more and more widely in structural analysis. ABAQUS is an internationally recognized large-scale general-purpose finite element analysis software, which has also gained widespread recognition and application in the civil engineering industry.

[0003] However, when performing structural analysis using ABAQUS, especially when considering multiple load cases or analyzing multiple structural components, the built-in post-processing modules of ABAQUS are insufficient to meet the needs of structural engineers. For example, they may be required to obtain the maximum internal force of the structure from the stress analysis results of the components under various load cases, and then perform structural reinforcement calculations. If manual processing methods are used, the work will be extremely complicated, and the work efficiency will be greatly reduced. Summary of the Invention

[0004] The purpose of this invention is to provide a method for post-processing of structural analysis based on ABAQUS secondary development using Python, thereby achieving integration and automation of post-processing work, reducing the workload of post-processing in structural analysis, and improving work efficiency.

[0005] This invention achieves the above objectives by adopting the following technical solution: a post-processing method for structural analysis based on ABAQUS secondary development using Python language, used for post-processing ABAQUS calculation result data, including:

[0006] Using Python, ABAQUS calculation results are imported into the ABAQUS Visualization module via the Session object in ABAQUS.

[0007] The structural components to be analyzed are specified in the displayGroup of the Leaf object in ABAQUS and displayed in the ABAQUS viewport.

[0008] The stress components of interest for this component are analyzed one by one. When analyzing a particular stress component, the following steps are included:

[0009] a. Display the stress cloud diagram of the stress component through the ABAQUS viewport, and use the getPrimMinMaxLoc method of the Viewport object to obtain the node number where the maximum or minimum stress component is located.

[0010] b. Obtain the coordinates of each node of the component based on the node number, and statistically analyze the range of the node coordinates of the component, namely the range of the X coordinate, the range of the Y coordinate, and the range of the Z coordinate; obtain the node coordinates of the node where the maximum or minimum stress component is located, and then define the stress path along the bearing height direction of the component.

[0011] c. Obtain the stress component variation curve along the stress path defined in step b, integrate the stress along the path to obtain the stress integral curve, and obtain the maximum internal force per unit width of the component.

[0012] d. Export the stress component contour plots, stress variation curves along the defined path, and stress integral curves;

[0013] The calculation of structural stress reinforcement is based on the stress component cloud diagrams, stress variation curves along the defined path, stress integral curves, and the maximum internal force data per unit width of the component.

[0014] Furthermore, the acquisition of ABAQUS calculation results data specifically includes:

[0015] Establish the geometric model, define material parameters, define loads and boundary conditions, and generate the mesh;

[0016] Create an analysis job and submit the calculation to obtain the ABAQUS calculation result data file.

[0017] Furthermore, the ABAQUS calculation results are in odb format.

[0018] Furthermore, in step c, the internal force is tension, compression, or shear force.

[0019] The beneficial effects of this invention are as follows:

[0020] This invention integrates and automates post-processing work. It imports ABAQUS calculation results into the ABAQUS Visualization module through the Session object in ABAQUS; it specifies the structural components to be analyzed in the displayGroup through the Leaf object in ABAQUS, and displays the structural components to be analyzed in the ABAQUS viewport; thus reducing the post-processing workload of structural analysis and improving work efficiency.

[0021] This invention analyzes the stress components of interest in the component one by one, and finally obtains data such as stress component cloud maps, stress variation curves along the defined path, and stress integral curves. The stress component cloud maps, stress variation curves along the defined path, stress integral curves, and the maximum internal force data per unit width of the component provide a basis for structural stress reinforcement calculation, thereby improving the accuracy of the calculation. Attached Figure Description

[0022] Figure 1 This is a flowchart provided for analyzing a certain stress component in an embodiment of the present invention. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0024] This invention provides a method for post-processing of structure analysis based on ABAQUS secondary development using Python, specifically including:

[0025] Establishing a structural finite element analysis model in ABAQUS mainly includes the following steps: establishing a geometric model, defining material parameters, defining loads and boundary conditions, and meshing; further, creating an analysis job and submitting the calculation to obtain the ABAQUS calculation result data file (its file name ends with .odb);

[0026] The following steps need to be implemented using the Python language through the ABAQUS script interface.

[0027] Import the calculation result data odb file obtained in step 1 into the ABAQUS Visualization module using the Session object in ABAQUS;

[0028] In ABAQUS, the displayGroup is specified using the Leaf object to display the structural components (unit components) to be analyzed, and the structural components to be analyzed are displayed in the ABAQUS viewport.

[0029] Analyze the stress components of interest for this component one by one. When analyzing a specific stress component, the following steps are included:

[0030] a) Display the stress cloud diagram of the stress component through the ABAQUS viewport, and use the getPrimMinMaxLoc method of the Viewport object to obtain the node number where the maximum stress component (or minimum stress component) is located.

[0031] b) Obtain the coordinates of each node of the component based on the node number, and statistically analyze the range values ​​of the node coordinates of the component, namely the range of the X coordinate, the range of the Y coordinate, and the range of the Z coordinate; further obtain the node coordinates of the node where the maximum stress component (or minimum stress component) is located, and then define the stress path along the bearing height direction of the component.

[0032] c) Obtain the stress component variation curve along the stress path defined in b), integrate the stress along the path to obtain the stress integral curve, and obtain the maximum internal force (tensile force, compressive force, shear force) per unit width of the component.

[0033] d) Export the contour plots of each stress component, the stress variation curves along the defined path, and the stress integral curves;

[0034] The exported graphic files of stress component cloud maps, the graphic files of the variation curves of each stress component along the defined path, the graphic files of the integral curves of stress along the path, and the maximum internal forces (tension, compression, and shear) per unit width of the component provide a basis for structural stress reinforcement calculation.

[0035] In summary, this invention integrates and automates post-processing, reduces the workload of post-processing in structural analysis, improves work efficiency, and enhances the accuracy of structural stress reinforcement calculations.

Claims

1. A method for post-processing structural analysis data based on ABAQUS secondary development using Python, used for post-processing ABAQUS calculation results data, characterized in that... The method includes: Using Python, ABAQUS calculation results are imported into the ABAQUS Visualization module via the Session object in ABAQUS. The structural components to be analyzed are specified in the displayGroup of the Leaf object in ABAQUS and displayed in the ABAQUS viewport. The stress components of interest for this component are analyzed one by one. When analyzing a particular stress component, the following steps are included: a. Display the stress cloud diagram of the stress component through the ABAQUS viewport, and use the getPrimMinMaxLoc method of the Viewport object to obtain the node number where the maximum or minimum stress component is located. b. Obtain the coordinates of each node of the component based on the node number, and statistically analyze the range of the node coordinates of the component, namely the range of the X coordinate, the range of the Y coordinate, and the range of the Z coordinate; obtain the node coordinates of the node where the maximum or minimum stress component is located, and then define the stress path along the bearing height direction of the component. c. Obtain the stress component variation curve along the stress path defined in step b, integrate the stress along the path to obtain the stress integral curve, and obtain the maximum internal force per unit width of the component. d. Export the stress component contour plots, stress variation curves along the defined path, and stress integral curves; The calculation of structural stress reinforcement is based on the stress component cloud diagrams, stress variation curves along the defined path, stress integral curves, and the maximum internal force data per unit width of the component.

2. The method for post-processing structural analysis based on ABAQUS secondary development using Python language according to claim 1, characterized in that, The acquisition of ABAQUS calculation results data specifically includes: Establish the geometric model, define material parameters, define loads and boundary conditions, and generate the mesh; Create an analysis job and submit the calculation to obtain the ABAQUS calculation result data file.

3. The method for post-processing structural analysis based on ABAQUS secondary development using Python language according to claim 1, characterized in that, The ABAQUS calculation results are in odb format.

4. The method for post-processing structural analysis based on ABAQUS secondary development using Python language according to claim 1, characterized in that, In step c, the internal force is tension, compression, or shear.

Citation Information

Patent Citations

  • Method for performing structure analysis on steel pylon by using ANSYS software

    CN102968542A

  • Method for numerically simulating stress performance of joints of toothed plates for wood structures

    CN107688691A