Fatigue analysis method and device, electronic equipment and storage medium
By pre-embedding and updating fatigue batch files in the fatigue analysis simulation platform, fully automated fatigue simulation analysis is achieved, and problems such as large time consumption, high repeatability and high error rate caused by semi-automation in the prior art are solved, thereby improving simulation efficiency and result consistency.
Patent Information
- Application Number
- CN202510022363.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-05-30
AI Technical Summary
The prior art is still semi-automated in fatigue simulation analysis, and cannot realize fully automated processes, resulting in high time consumption, high repetition and error-proneness.
By pre-built fatigue batch files in the fatigue analysis simulation platform, and calling and updating these files at each task, generating and updating the fatigue analysis simulation model, fully automated fatigue simulation analysis analysis analysis is achieved.
The full process automation of fatigue simulation analysis is realized, which reduces manual operation time, improves simulation efficiency, reduces error rate, and improves the consistency of analysis results.
Smart Images

Figure CN120068387A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of fatigue analysis simulation, and in particular, to a fatigue analysis method, device, electronic device, and storage medium. Background Art
[0002] Currently, in the process of fatigue simulation, generally, manual operations are performed on simulation software to achieve loading, solving, and manually writing simulation reports. This process requires a large amount of time and effort, has a high degree of repetition, and is prone to errors and inconsistent results. Therefore, the combination of a simulation platform and automated scripts has become a hot research direction for simulation analysis automation.
[0003] On the one hand, existing simulation platforms also have some automation in simulation analysis. For example, automated processes have been realized in directions such as stiffness, strength, fluid, and collision. However, for fatigue analysis with complex simulation processes involving multiple solvers, it is currently semi-automated simulation, and full-automated fatigue simulation analysis cannot be achieved. Summary of the Invention
[0004] Based on the above technical problems, the embodiments of the present invention provide a fatigue analysis method, device, electronic device, and storage medium to achieve full-automated fatigue simulation analysis through a fatigue analysis simulation platform.
[0005] The embodiments of the present invention provide a fatigue analysis method applied to a fatigue analysis simulation platform. The method includes:
[0006] Responding to a user's operation of initiating a fatigue analysis task, determining the structural data of the structural member to be fatigue-analyzed;
[0007] Performing unit force loading based on the structural data to generate a unit force simulation model of the structural member to be fatigue-analyzed, and obtaining a unit force simulation result;
[0008] Updating the pre-buried fatigue batch file in the fatigue analysis simulation platform based on the structural data and the unit force simulation result to obtain a fatigue batch file of the structural member to be fatigue-analyzed;
[0009] Generating a fatigue analysis simulation model of the fatigue analysis structural member based on at least the unit force simulation result and the fatigue batch file of the structural member to be fatigue-analyzed;
[0010] Performing fatigue analysis calculation on the fatigue analysis simulation model to obtain a damage result of the structural member to be fatigue-analyzed.
[0011] The second aspect of the embodiments of the present invention provides a fatigue analysis device applied to a fatigue analysis simulation platform. The device includes:
[0012] A data acquisition module, configured to determine the structural data of the structural member to be fatigue analyzed in response to an operation for initiating a fatigue analysis task of a user.
[0013] A unit force simulation module, configured to perform unit force loading based on the structural data, generate a unit force simulation model of the structural member to be fatigue analyzed, and obtain a unit force simulation result.
[0014] A batch processing update module, configured to update a fatigue batch processing file pre-buried in the fatigue analysis simulation platform based on the structural data and the unit force simulation result, and obtain a fatigue batch processing file of the structural member to be fatigue analyzed.
[0015] A fatigue model generation module, configured to generate a fatigue analysis simulation model of the fatigue analysis structural member based at least on the unit force simulation result and the fatigue batch processing file of the structural member to be fatigue analyzed.
[0016] A fatigue analysis simulation module, configured to perform fatigue analysis calculation on the fatigue analysis simulation model to obtain a damage result of the structural member to be fatigue analyzed.
[0017] In a third aspect of the embodiments of the present invention, an electronic device is provided. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the fatigue analysis method according to the first aspect of the embodiments of the present invention is implemented.
[0018] In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the fatigue analysis method according to the first aspect of the embodiments of the present invention is implemented.
[0019] Through the fatigue analysis method of the embodiments of the present invention, first, in response to a user's operation of initiating a fatigue analysis task, the structural data of the structural member to be analyzed for fatigue is determined; second, based on the structural data, a unit force loading is performed to generate a unit force simulation model and obtain a unit force simulation result; then, based on the structural data and the unit force simulation result, the pre-embedded fatigue batch processing file is updated to obtain a fatigue batch processing file for the structural member to be analyzed for fatigue; next, at least based on the unit force simulation result and the fatigue batch processing file for the structural member to be analyzed for fatigue, a fatigue analysis simulation model is generated; finally, a fatigue analysis calculation is performed on the fatigue analysis simulation model to obtain the damage result of the structural member to be analyzed for fatigue. In this embodiment, by pre-embedding the fatigue batch processing file in the fatigue analysis simulation platform, the fatigue batch processing file can be called and updated each time a fatigue analysis task is performed to obtain a fatigue batch processing file for the structural member to be analyzed for fatigue, so as to achieve fully automated fatigue simulation analysis for the structural member to be analyzed for fatigue based on the structural data of the structural member to be analyzed for fatigue input for fatigue analysis and the updated fatigue batch processing file. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments of the present invention. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0021] Figure 1 is a flowchart of a fatigue analysis method shown in an embodiment of the present invention;
[0022] Figure 2 is a schematic flowchart of generating a fatigue analysis simulation model shown in an embodiment of the present invention;
[0023] Figure 3 is a schematic flowchart of solving the unit force simulation model and the fatigue analysis simulation model shown in an embodiment of the present invention;
[0024] Figure 4 is a schematic flowchart of generating a unit force simulation model shown in an embodiment of the present invention;
[0025] Figure 5 is a schematic flowchart of automating a simulation report shown in an embodiment of the present invention;
[0026] Figure 6 is a schematic diagram of the interaction of the simulation platform shown in an embodiment of the present invention;
[0027] Figure 7 is a schematic diagram of the working principle of a fatigue analysis method shown in an embodiment of the present invention;
[0028] Figure 8 is the basic architecture diagram of a fatigue analysis simulation platform shown in an embodiment of the present invention;
[0029] Figure 9 is the structural block diagram of a fatigue analysis device provided in an embodiment of the present invention;
[0030] Figure 10 is the schematic diagram of an electronic device shown in an embodiment of the present invention. Detailed implementation manners
[0031] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0032] Refer to Figure 1 , Figure 1 is the flowchart of a fatigue analysis method shown in an embodiment of the present invention. As Figure 1 shown, this fatigue analysis method is applied to a fatigue analysis simulation platform, and this fatigue analysis method may include the following steps:
[0033] Step S11: In response to the user's operation of initiating a fatigue analysis task, determine the structural data of the structural member to be fatigue analyzed.
[0034] In this embodiment, the user can initiate a fatigue analysis task in the fatigue analysis simulation platform. For example, the user can input the structural data corresponding to the structural member to be fatigue analyzed in the fatigue analysis simulation platform, and for the relevant controls that trigger the initiation of the fatigue analysis task, implement the operation of initiating the fatigue analysis task. Among them, the structural member to be fatigue analyzed can be a structural member that needs to perform fatigue simulation analysis, and the structural member can be a hardware structural member, such as the door, body, bogie, etc. of an automobile. The specific type of the structural member to be fatigue analyzed in this embodiment is not limited.
[0035] In response to the user's operation of initiating a fatigue analysis task, the fatigue analysis simulation platform can determine the structural member to be fatigue analyzed and the structural data of the structural member to be fatigue analyzed. The structural data in this embodiment can be the relevant structural information of the structural member to be fatigue analyzed, such as dimension information (length, width, height, etc.), the number of units, mass information, etc.
[0036] Step S12: Perform unit force loading based on the structural data to generate a unit force simulation model of the structural member to be fatigue analyzed, and obtain a unit force simulation result.
[0037] In this embodiment, the fatigue analysis simulation platform can perform unit force loading based on the structural data to generate a unit force simulation model corresponding to the structural member to be fatigue analyzed. Among them, the unit force simulation model is a simulation model of the structural member to be fatigue analyzed after force loading under a unit load. After obtaining the unit force simulation model of the structural member to be fatigue analyzed, the unit force simulation result corresponding to the unit force simulation model can be obtained.
[0038] Step S13: Update the fatigue batch processing file pre-embedded in the fatigue analysis simulation platform based on the structural data and the unit force simulation result to obtain the fatigue batch processing file of the structural member to be fatigue analyzed.
[0039] In this embodiment, after obtaining the unit force simulation result corresponding to the structural member to be fatigue analyzed, the fatigue batch processing file pre-embedded in the fatigue analysis simulation platform can be updated based on the structural data and the unit force simulation result of the structural member to be fatigue analyzed to obtain the fatigue batch processing file of the structural member to be fatigue analyzed.
[0040] In this embodiment, the fatigue batch processing file is a file for batch processing the fatigue analysis of the structural member to be fatigue analyzed. There is a pre-embedded fatigue batch processing file in the fatigue analysis simulation platform, and the pre-embedded fatigue batch processing file is a general fatigue batch processing file. The pre-embedded fatigue batch processing file includes the basic framework of the fatigue batch processing file, which at least includes: the content of the fatigue batch processing file that remains unchanged.
[0041] In an optional example, the fatigue batch processing file can be obtained based on fatigue analysis software, such as Fatigue Ncode software, and pre-embedded in the fatigue analysis simulation platform.
[0042] In this embodiment, the fatigue analysis simulation platform can update the pre-embedded fatigue batch processing file based on the difference of the structural members to be fatigue analyzed each time a fatigue analysis task is performed, and update to obtain the fatigue batch processing file corresponding to the structural member to be fatigue analyzed. The fatigue batch processing file corresponding to the structural member to be fatigue analyzed is used to perform fatigue simulation analysis on the structural member to be fatigue analyzed.
[0043] Step S14: Generate a fatigue analysis simulation model of the fatigue analysis structural member based on at least the unit force simulation result and the fatigue batch processing file of the structural member to be fatigue analyzed.
[0044] In this embodiment, after obtaining the fatigue batch processing file of the structural member to be fatigue analyzed, a fatigue analysis simulation model of the fatigue analysis structural member can be generated based on at least the unit force simulation result corresponding to the structural member to be fatigue analyzed and the fatigue batch processing file of the structural member to be fatigue analyzed. The fatigue analysis simulation model of this embodiment is a simulation batch processing model for performing fatigue calculations on the fatigue analysis structural member.
[0045] Step S15: performing fatigue analysis calculation on the fatigue analysis simulation model to obtain damage results of the structural component to be fatigue analyzed.
[0046] In this embodiment, after generating the fatigue analysis simulation model, the fatigue analysis simulation platform performs fatigue analysis calculations on the fatigue analysis simulation model to obtain fatigue analysis results, i.e., damage results corresponding to the structural component to be fatigue analyzed, thereby completing a fully automated fatigue simulation analysis of the structural component to be fatigue analyzed.
[0047] In this embodiment, the fatigue analysis simulation platform performs automated loading and solving of the unit force simulation model and the fatigue analysis simulation model for the structural parts to be fatigue analyzed, and pre-buries the fatigue batch processing file in the fatigue analysis simulation platform, so that each time the fatigue analysis task is performed, the fatigue batch processing file is called and updated to obtain the fatigue batch processing file of the structural parts to be fatigue analyzed, thereby realizing fully automated fatigue simulation analysis for the structural parts to be fatigue analyzed based on the structural data of the structural parts to be fatigue analyzed input by the fatigue analysis and the updated fatigue batch processing file. In this way, the time for manual operation of the simulation software can be reduced, the simulation efficiency can be improved, and in the fatigue automation process analysis, the degree of automation is higher, and almost no manual intervention is required. It only needs to submit the fatigue analysis task on the simulation platform, and there is no additional work in the middle, which truly realizes the full process automation of fatigue simulation analysis.
[0048] In combination with the above embodiments, in one implementation, the present invention further provides a fatigue analysis method. In this method, the pre-buried fatigue batch processing file at least includes: a fatigue process file, a fatigue parameter file and a fatigue calculation file; and the above step S13 may specifically include steps S21 to S23:
[0049] Step S21: analyzing the structural data and the unit force simulation results to obtain influencing parameters of the structural component to be fatigue analyzed.
[0050] In this embodiment, the fatigue process file includes at least: relevant information of the analysis process corresponding to the fatigue analysis, the fatigue parameter file includes at least: relevant information of the parameters required for the fatigue analysis of the structural part to be fatigue analyzed, and the fatigue calculation file includes at least: relevant information of the fatigue calculation method and steps required for the fatigue analysis.
[0051] In this embodiment, the structural data and the unit force simulation results can be parsed by the file parsing script pre-embedded in the fatigue analysis simulation platform to obtain the influencing parameters of the structural part to be fatigue analyzed. The influencing parameters of the structural part to be fatigue analyzed can include at least one of the following: attribute parameters, material parameters, load parameters, and setting parameters.
[0052] Step S22: Perform parameter transfer based on the influence parameters of the structural member to be fatigue analyzed, update the fatigue parameter file, and obtain the fatigue parameter file of the structural member to be fatigue analyzed.
[0053] In this embodiment, parameter transfer can be performed based on the influence parameters of the structural member to be fatigue analyzed, the fatigue parameter file in the pre-buried fatigue batch processing file is updated, and the fatigue parameter file corresponding to the structural member to be fatigue analyzed is obtained.
[0054] Step S23: Based on the fatigue parameter file of the structural member to be fatigue analyzed, the fatigue process file, and the fatigue calculation file, obtain the fatigue batch processing file of the structural member to be fatigue analyzed.
[0055] In this embodiment, based on the updated fatigue parameter file of the structural member to be fatigue analyzed, the pre-buried fatigue process file, and the fatigue calculation file, the fatigue batch processing file of the structural member to be fatigue analyzed can be obtained for subsequent construction and calculation of the fatigue analysis simulation model.
[0056] In an alternative embodiment, it can also be to parse the pre-buried fatigue parameter file through a file parsing script pre-buried in the fatigue analysis simulation platform, perform text scraping on the structural data and the unit force simulation results through the file parsing script to obtain a text scraping result; then set the relevant parameters in the pre-buried fatigue parameter file as code variables through the functional code pre-buried in the fatigue analysis simulation platform, and update and replace the code variables according to the text scraping result through the fatigue analysis automation script pre-buried in the fatigue analysis simulation platform, so as to obtain the fatigue parameter file corresponding to the structural member to be fatigue analyzed after the update and replacement.
[0057] Combining the above embodiments, in one embodiment, the present invention further provides a fatigue analysis method. In this method, step S14 above specifically may include steps S31 to S32:
[0058] Step S31: Based on the fatigue analysis automation script, correlate the material data in the structural data and the load data in the unit force simulation result to obtain a correlation result.
[0059] In this embodiment, a fatigue analysis automation script is pre-buried in the fatigue analysis simulation platform. Based on the fatigue analysis automation script, according to the structural data and the unit force simulation result, the material data in the structural data and the load data in the unit force simulation result can be correlated to obtain a correlation result.
[0060] Step S32: Generate the fatigue analysis simulation model based on the correlation result and the fatigue parameter file of the structural member to be fatigue analyzed.
[0061] In this embodiment, after obtaining the correlation result corresponding to the structural member to be fatigue analyzed, a fatigue analysis simulation model corresponding to the structural member to be fatigue analyzed can be generated based on the correlation result and the updated fatigue parameter file of the structural member to be fatigue analyzed.
[0062] As Figure 2 shown, Figure 2 FIG. is a schematic flowchart of a process for generating a fatigue analysis simulation model according to an embodiment of the present invention. In Figure 2 , first, based on the fatigue Ncode software, a fatigue batch file is obtained and embedded in the fatigue analysis simulation platform. The fatigue batch file includes: a fatigue process file, a fatigue parameter file, and a fatigue calculation file. Then, the fatigue parameter file is parsed through a file parsing script embedded in the fatigue analysis simulation platform, and the text in the structural data and the unit force simulation result is captured. Then, the relevant parameters in the embedded fatigue parameter file are set as code variables through the function code embedded in the fatigue analysis simulation platform, so as to update and replace the code variables according to the text capture result through the fatigue analysis automation script embedded in the fatigue analysis simulation platform, and obtain the fatigue parameter file corresponding to the structural member to be fatigue analyzed after the update and replacement (i.e., Figure 2 "Parse the parameter file, script to capture text, write function code" in Figure 2 . Finally, through the fatigue analysis automation script, the material data in the structural data and the load data in the unit force simulation result are correlated (i.e., Figure 2 "Material data correlation" and "Load data correlation" in ), and a correlation result is obtained, so as to generate a fatigue analysis simulation model that can be used for fatigue calculation based on the correlation result and the fatigue parameter file corresponding to the structural member to be fatigue analyzed after the update and replacement.
[0063] Combined with the above embodiments, the present invention also provides a fatigue analysis method. In this method, step S15 above may specifically include step S41 and step S42:
[0064] Step S41: Determine the fatigue analysis process corresponding to the fatigue analysis task based on the fatigue process file.
[0065] In this embodiment, the embedded fatigue process file includes the fatigue analysis processes corresponding to multiple fatigue analysis tasks, and each fatigue analysis task corresponds to a different structural member to be fatigue analyzed. For example, if the structural member to be fatigue analyzed is a car door, the fatigue analysis task is the car door fatigue analysis task, and the car door fatigue analysis task corresponds to a dedicated fatigue analysis process for fatigue analyzing the car door. Based on this, in this embodiment, it is necessary to determine the fatigue analysis process corresponding to the fatigue analysis task of the structural member to be fatigue analyzed based on the fatigue process file embedded in the fatigue analysis simulation platform.
[0066] Step S42: Based on the fatigue analysis process and the fatigue calculation file, perform fatigue analysis and calculation on the fatigue analysis simulation model of the fatigue analysis structural member to obtain the damage result of the structural member to be fatigue analyzed.
[0067] In this embodiment, the fatigue analysis and calculation can be performed on the fatigue analysis simulation model of the structural member to be fatigue analyzed based on the fatigue analysis process corresponding to the fatigue analysis task and the pre-embedded fatigue calculation file, so as to obtain the damage result of the structural member to be fatigue analyzed. Among them, in the simulation platform environment, the computing resources can be run and scheduled for fatigue analysis and calculation. Therefore, based on the unit force simulation result and the fatigue analysis simulation model generated by the fatigue batch processing file, the fatigue analysis and calculation of the fatigue analysis simulation model can be completed on the server embedded in the simulation platform to obtain the damage result of the structural member to be fatigue analyzed.
[0068] As Figure 3 shown, Figure 3 FIG. 10 is a schematic flowchart of solving the unit force simulation model and the fatigue analysis simulation model according to an embodiment of the present invention. In Figure 3 , first, submit a fatigue analysis task in the fatigue analysis simulation platform, then generate a header file that can be used for simulation calculation based on the automated script pre-embedded in the fatigue analysis simulation platform, perform HPC calculation (High Performance Computing) on the unit force simulation model corresponding to the fatigue analysis task based on the header file to solve the unit force, and obtain the result file of the unit force simulation result (this result file is an op2 file). Then, transfer the result file, generate a fatigue analysis simulation model based on the result file of the unit force simulation result and the updated fatigue parameter file, and thus solve the fatigue analysis simulation model based on the pre-embedded fatigue process file (the fatigue solution uses Ncode) to obtain the damage result of the structural member to be fatigue analyzed.
[0069] Combined with the above embodiments, the present invention further provides a fatigue analysis method. In this method, the above step S12 may specifically include steps S51 to S54:
[0070] Step S51: Based on the structural data, obtain the node information of the structural member to be fatigue analyzed, where the node information characterizes the position information of the stress points for loading forces in the structural member to be fatigue analyzed.
[0071] In this embodiment, the node information of the structural member to be fatigue analyzed can be obtained based on the structural data. Specifically, the structural data can be processed based on the Python script pre-embedded in the fatigue analysis simulation platform to obtain the node information of the fatigue analysis structural member. The node information in this embodiment characterizes the position information of the stress points for loading forces in the structural member to be fatigue analyzed. The node information may at least include: node ID.
[0072] Step S52: Perform unit force loading based on the node information and the parsing script to generate the unit force loading simulation data corresponding to the structural member to be fatigue analyzed.
[0073] In this embodiment, based on the parsing script pre-buried in the fatigue analysis simulation platform, the node information can be parsed, and unit force loading can be performed to generate the unit force loading simulation data corresponding to the structural member to be fatigue analyzed. Among them, the unit force loading simulation data in this embodiment at least includes: load set, load step, and analysis card.
[0074] Step S53: Generate the unit force simulation model based on the unit force loading simulation data.
[0075] Step S54: Calculate the unit force simulation model to obtain the unit force simulation result.
[0076] In this embodiment, based on the obtained unit force loading simulation data, a unit force simulation model that can be used for simulation calculation can be generated, and then in the simulation platform operating environment, the calculation resources can be run and scheduled to calculate the unit force simulation model to obtain the unit force simulation result.
[0077] As Figure 4 shown, Figure 4 is a schematic flowchart of a process for generating a unit force simulation model shown in an embodiment of the present invention. In Figure 4 , first, obtain the model set node ID, that is, obtain the node information of the structural member to be fatigue analyzed; then, through the model parsing code written and pre-buried in the simulation platform, generate the unit force loading simulation data such as load set, load step, and analysis card that can be used for simulation calculation from the node information, boundary, and loading data in the model; finally, through the header file generation script written and pre-buried in the simulation platform, obtain the unit force simulation model according to the unit force loading simulation data.
[0078] Combined with the above embodiments, the present invention also provides a fatigue analysis method. In this method, in addition to the above steps, it may further include step S61 and step S62:
[0079] Step S61: Obtain the result data corresponding to the damage result based on the path information of the damage result of the structural member to be fatigue analyzed and the screenshot script.
[0080] In this embodiment, a capture script (such as a TCL capture script) is also pre-embedded in the fatigue analysis simulation platform, which can first obtain the path information of the damage result of the structural component to be fatigue analyzed, and then obtain the result data corresponding to the damage result of the structural component to be fatigue analyzed based on the capture script and the path information. Among them, the result data of this embodiment at least includes: a maximum damage cloud map, a maximum damage value, and a damage cloud map exceeding the target value.
[0081] Step S62: Based on the result data, a fatigue analysis simulation report of the structural component to be fatigue analyzed is generated and displayed.
[0082] In this embodiment, a fatigue analysis simulation report of the structural part to be fatigue analyzed can be generated and displayed based on the obtained result data. Among them, the fatigue analysis simulation report includes at least: fatigue analysis tasks, structural data of the structural part to be fatigue analyzed, and result data corresponding to the structural part to be fatigue analyzed. In an optional embodiment, the generated fatigue analysis simulation report can be a graphic report or a PPT report. In the case of generating a PPT report, the content in the PPT report template can be updated based on the Python script pre-embedded in the fatigue analysis simulation platform to obtain a fatigue analysis simulation report.
[0083] This embodiment realizes a complete set of fully automated fatigue simulation analysis including unit stress automation, fatigue analysis automation, automatic image capture and simulation report automation.
[0084] like Figure 5 As shown, Figure 5 FIG. 1 is a flow chart of an automated simulation report according to an embodiment of the present invention. Figure 5 In the process, the simulation platform system (i.e., fatigue analysis simulation platform) is called to obtain fatigue simulation results (i.e., damage results of the structural parts to be fatigue analyzed). When it is determined that there are fatigue simulation results, the node information of the structural parts to be fatigue analyzed is obtained by parsing the text based on the fatigue simulation results and the Python script pre-embedded in the simulation platform system, and the result data obtained by the post-processing API pre-embedded in the simulation platform system. The TCL script pre-embedded in the simulation platform system is used to traverse the fatigue simulation results to obtain result statistics, cloud map data, and model information, wherein the result statistics are the result data obtained according to the code, the model information includes unit information, size information, etc. generated according to the rules, and the cloud map data includes a solidified name. Therefore, by calling the simulation platform system, based on the obtained result statistics, cloud map data, and model information, the simulation report of each analysis item is generated normally, and the automation of the simulation report is realized.
[0085] Combined with the above embodiments, the present invention also provides a fatigue analysis method. In this method, the fatigue analysis simulation platform includes a front-end sub-platform and a back-end sub-platform. And the front-end sub-platform and the back-end sub-platform perform data interaction based on a local area network. Exemplarily, the front-end sub-platform can be the web page end of the fatigue analysis simulation platform, and the back-end sub-platform can be the back-end server of the fatigue analysis simulation platform.
[0086] As Figure 6 shown, Figure 6 is a schematic diagram of the interaction of the simulation platform shown in an embodiment of the present invention. In Figure 6 , a personal PC or workstation can be used to log in to the front-end sub-platform of the fatigue analysis simulation platform, and the back-end sub-platform of the fatigue analysis simulation platform can manage user logins and accounts. Among them, the back-end sub-platform of the fatigue analysis simulation platform can communicate with the front-end sub-platform based on a local area network, that is, communicate with the front-end sub-platform through an internal network and a VPN. Then, the back-end sub-platform of the fatigue analysis simulation platform realizes the fatigue simulation analysis of the structural member to be fatigue analyzed through the CPU computing cluster.
[0087] The front-end sub-platform is configured to, in response to an operation for initiating a fatigue analysis task of the user, determine the structural data of the structural member to be fatigue analyzed and send it to the back-end sub-platform.
[0088] In this embodiment, the user can submit a simulation analysis item task based on the UI operation interface of the front-end sub-platform. The front-end sub-platform, in response to an operation for initiating a fatigue analysis task of the user, determines the structural data of the structural member to be fatigue analyzed, and sends the structural data of the structural member to be fatigue analyzed to the back-end sub-platform through a local area network.
[0089] The back-end sub-platform is configured to perform fatigue analysis simulation of the structural member to be fatigue analyzed based on the structural data of the structural member to be fatigue analyzed, obtain a fatigue analysis simulation report of the structural member to be fatigue analyzed, and send it to the front-end sub-platform.
[0090] In this embodiment, after the rear terminal platform receives the structural data of the structural member to be fatigue analyzed sent by the front terminal platform, it can perform fatigue analysis simulation on the structural member to be fatigue analyzed based on the structural data of the structural member to be fatigue analyzed. Specifically, the rear terminal platform can first perform unit force loading based on the structural data to generate a unit force simulation model of the structural member to be fatigue analyzed and obtain a unit force simulation result. Secondly, the rear terminal platform updates the fatigue batch processing file embedded in the rear terminal platform based on the structural data and the unit force simulation result to obtain a fatigue batch processing file of the structural member to be fatigue analyzed. Then, the rear terminal platform generates a fatigue analysis simulation model of the structural member to be fatigue analyzed based on at least the unit force simulation result and the fatigue batch processing file of the structural member to be fatigue analyzed. Next, the rear terminal platform performs fatigue analysis calculation on the fatigue analysis simulation model to obtain a damage result of the structural member to be fatigue analyzed. Finally, the rear terminal platform obtains result data corresponding to the damage result based on the path information and the screenshot script of the damage result of the structural member to be fatigue analyzed, generates a fatigue analysis simulation report of the structural member to be fatigue analyzed based on the result data, and sends the fatigue analysis simulation report of the structural member to be fatigue analyzed to the front terminal platform.
[0091] The front terminal platform is further configured to display the fatigue analysis simulation report of the structural member to be fatigue analyzed.
[0092] In this embodiment, after the front terminal platform receives the fatigue analysis simulation report of the structural member to be fatigue analyzed, it can display the fatigue analysis simulation report of the structural member to be fatigue analyzed.
[0093] Combined with the above embodiments, in one embodiment, as Figure 7 shown, Figure 7 is a schematic diagram of the working principle of a fatigue analysis method shown in an embodiment of the present invention.
[0094] In Figure 7 in the fatigue analysis method proposed in the embodiment of the present invention, simulation analysis is performed through the fatigue software Ncode to obtain a fatigue batch processing file (including: a fatigue process file, a fatigue parameter file, and a fatigue calculation file). This fatigue batch processing file is the key to realizing the full-process automation of the fatigue simulation analysis in this embodiment. Through this batch processing file, the way of traditional commercial software can be replaced, the time for manually operating commercial simulation software can be reduced, and the simulation efficiency can be improved.
[0095] In the fatigue analysis method proposed in the embodiment of the present invention, the fatigue batch file is embedded in the simulation platform program, and the simulation platform system is called. Each time a fatigue simulation task is performed, the document is parsed through Python code to obtain attribute parameters, load parameters, setting parameters, etc., and parameter transfer is performed to update the batch file. This is the core part. Based on the development of the updated batch file and the solver, the calculation and solution of the unit force simulation model and the fatigue analysis simulation model in this embodiment are realized, and finally the full-process automated fatigue simulation analysis of the structural parts to be fatigue analyzed is realized.
[0096] Furthermore, in the fatigue analysis method proposed in the embodiment of the present invention, in the simulation platform environment, a series of event sequences such as input conditions of fatigue analysis and simulation operation are identified through core logic code. Specifically, in the development of the simulation platform system, the interface UI design and development, fatigue automation strategy development and simulation platform process are connected in series; the developed simulation platform system is called to realize: unit force solution automation, fatigue Ncode solution automation, TCL result acquisition automation and report automation.
[0097] This embodiment is also more user-friendly in submitting simulation platform tasks, and conforms to the interface environment used by analysts. In the post-processing secondary development link, it is closely linked to the business scenario, meets multiple working conditions, multiple performance indicators (sheet metal fatigue, weld fatigue, solder joint fatigue), and code compatibility. It truly realizes the end-to-end automation of the entire process without manual operation of commercial software.
[0098] In one embodiment, if Figure 8 As shown, Figure 8 FIG. 1 is a basic architecture diagram of a fatigue analysis simulation platform shown in an embodiment of the present invention. Figure 8 In the fatigue analysis simulation platform, the input is: analysis specification (analysis specification of fatigue simulation analysis), standard model (relevant structural data of the structural parts to be fatigue analyzed) and platform UI design. There are multiple automation scripts and codes embedded in the fatigue analysis simulation platform, among which the automation scripts at least include: parsing scripts (i.e. parsing model file scripts), solver running scripts, fatigue batch processing scripts, post-processing scripts (i.e. scripts for subsequent processing of damage results) and report automation scripts; the codes at least include: UI configuration code, pre-processing Python code (where pre-processing is a series of processing before generating fatigue analysis simulation models) and post-processing TCL code. And, the automation effects that can be achieved by the fatigue analysis simulation platform at least include: loading automation, solving automation and reporting automation.
[0099] It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the described action sequence, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential for the embodiments of the present invention.
[0100] Based on the same inventive concept, an embodiment of the present invention provides a fatigue analysis device 900, which is applied to a fatigue analysis simulation platform. Refer to Figure 9 , Figure 9 which is a structural block diagram of the fatigue analysis device provided by an embodiment of the present invention. As Figure 9 shown, the device 900 includes:
[0101] A data acquisition module 901, configured to determine the structural data of the structural member to be fatigue analyzed in response to a user's operation of initiating a fatigue analysis task;
[0102] A unit force simulation module 902, configured to perform unit force loading based on the structural data, generate a unit force simulation model of the structural member to be fatigue analyzed, and obtain a unit force simulation result;
[0103] A batch processing update module 903, configured to update the pre-embedded fatigue batch processing file in the fatigue analysis simulation platform based on the structural data and the unit force simulation result, and obtain a fatigue batch processing file of the structural member to be fatigue analyzed;
[0104] A fatigue model generation module 904, configured to generate a fatigue analysis simulation model of the fatigue analysis structural member based on at least the unit force simulation result and the fatigue batch processing file of the structural member to be fatigue analyzed;
[0105] A fatigue analysis simulation module 905, configured to perform fatigue analysis calculation on the fatigue analysis simulation model to obtain a damage result of the structural member to be fatigue analyzed.
[0106] Optionally, the pre-embedded fatigue batch processing file at least includes: a fatigue process file, a fatigue parameter file, and a fatigue calculation file; the batch processing update module 903 includes:
[0107] A parameter determination module, configured to analyze the structural data and the unit force simulation result to obtain influence parameters of the structural member to be fatigue analyzed, and the influence parameters at least include one of the following: attribute parameters, material parameters, load parameters, and setting parameters;
[0108] A parameter update module, configured to perform parameter transfer based on the influence parameters of the structural member to be fatigue analyzed, update the fatigue parameter file, and obtain the fatigue parameter file of the structural member to be fatigue analyzed;
[0109] A batch processing acquisition module, configured to obtain the fatigue batch processing file of the structural member to be fatigue analyzed based on the fatigue parameter file, the fatigue process file, and the fatigue calculation file of the structural member to be fatigue analyzed.
[0110] Optionally, the fatigue model generation module 904 includes:
[0111] A data association module, configured to associate the material data in the structural data and the load data in the unit force simulation result based on a fatigue analysis automation script to obtain an association result;
[0112] A fatigue model acquisition module, configured to generate the fatigue analysis simulation model based on the association result and the fatigue parameter file of the structural member to be fatigue analyzed.
[0113] Optionally, the fatigue analysis simulation module 905 includes:
[0114] A process determination module, configured to determine the fatigue analysis process corresponding to the fatigue analysis task based on the fatigue process file;
[0115] A fatigue calculation module, configured to perform fatigue analysis calculation on the fatigue analysis simulation model of the structural member to be fatigue analyzed based on the fatigue analysis process and the fatigue calculation file to obtain the damage result of the structural member to be fatigue analyzed.
[0116] Optionally, the unit force simulation module 902 includes:
[0117] A node determination module, configured to obtain the node information of the structural member to be fatigue analyzed based on the structural data, where the node information represents the position information of the stress points for loading force in the structural member to be fatigue analyzed;
[0118] A simulation data determination module, configured to perform unit force loading based on the node information and a parsing script to generate unit force loading simulation data corresponding to the structural member to be fatigue analyzed, where the unit force loading simulation data at least includes: a load set, a load step, and an analysis card;
[0119] A unit force model generation module, configured to generate the unit force simulation model based on the unit force loading simulation data;
[0120] A unit force model calculation module, configured to calculate the unit force simulation model to obtain the unit force simulation result.
[0121] Optionally, the device 900 further includes:
[0122] A result data acquisition module, configured to obtain result data corresponding to the damage result based on the path information and the screenshot script of the damage result of the structural member to be fatigue analyzed, where the result data includes at least one of the following: the maximum damage contour map, the maximum damage value, and the damage contour map exceeding the target value;
[0123] A report generation module, configured to generate and display a fatigue analysis simulation report of the structural member to be fatigue analyzed based on the result data; the fatigue analysis simulation report includes at least: the fatigue analysis task, the structural data of the structural member to be fatigue analyzed, and the result data.
[0124] Optionally, the fatigue analysis simulation platform includes a front-end sub-platform and a back-end sub-platform; the front-end sub-platform and the back-end sub-platform perform data interaction based on a local area network;
[0125] The front-end sub-platform is configured to, in response to an operation of initiating a fatigue analysis task by the user, determine the structural data of the structural member to be fatigue analyzed and send it to the back-end sub-platform;
[0126] The back-end sub-platform is configured to perform a fatigue analysis simulation of the structural member to be fatigue analyzed based on the structural data of the structural member to be fatigue analyzed, obtain a fatigue analysis simulation report of the structural member to be fatigue analyzed, and send it to the front-end sub-platform;
[0127] The front-end sub-platform is further configured to display the fatigue analysis simulation report of the structural member to be fatigue analyzed.
[0128] Based on the same inventive concept, another embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the fatigue analysis method described in any one of the above embodiments of the present invention are implemented.
[0129] Based on the same inventive concept, another embodiment of the present invention provides an electronic device 1000, as Figure 10 shown. Figure 10 is a schematic diagram of an electronic device shown in an embodiment of the present invention. The electronic device includes a memory 1002, a processor 1001, and a computer program stored on the memory and executable on the processor. When the processor executes, the steps in the fatigue analysis method described in any one of the above embodiments of the present invention are implemented.
[0130] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For related parts, refer to the partial description of the method embodiment.
[0131] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other.
[0132] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention can take the form of all-hardware embodiments, all-software embodiments, or embodiments combining software and hardware aspects. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.
[0133] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing terminal devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0134] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process. Therefore, the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0136] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0137] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the element.
[0138] The above has introduced in detail a fatigue analysis method, device, electronic device and storage medium provided by the present invention. Specific examples are used in this text to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A fatigue analysis method, characterized in that: Applied to a fatigue analysis simulation platform, the method comprises: In response to a fatigue analysis task initiation operation by a user, determining structural data of a structural component to be fatigue analyzed; Perform unit force loading based on the structural data, generate a unit force simulation model of the structural component to be fatigue analyzed, and obtain a unit force simulation result; Based on the structural data and the unit force simulation result, the fatigue batch processing file embedded in the fatigue analysis simulation platform is updated to obtain the fatigue batch processing file of the structural part to be fatigue analyzed; generating a fatigue analysis simulation model of the fatigue analysis structural component based at least on the unit force simulation result and the fatigue batch processing file of the structural component to be fatigue analyzed; Fatigue analysis calculation is performed on the fatigue analysis simulation model to obtain damage results of the structural component to be fatigue analyzed.
2. The fatigue analysis method according to claim 1, characterized in that: The pre-embedded fatigue batch processing file at least includes: a fatigue process file, a fatigue parameter file and a fatigue calculation file; the pre-embedded fatigue batch processing file in the fatigue analysis simulation platform is updated based on the structural data and the unit force simulation result to obtain the fatigue batch processing file of the structural part to be fatigue analyzed, including: Analyze the structural data and the unit force simulation results to obtain influencing parameters of the structural component to be fatigue analyzed, wherein the influencing parameters include at least one of the following: attribute parameters, material parameters, load parameters, and setting parameters; Perform parameter transfer based on the influencing parameters of the structural component to be fatigue analyzed, update the fatigue parameter file, and obtain the fatigue parameter file of the structural component to be fatigue analyzed; Based on the fatigue parameter file of the structural component to be fatigue analyzed, the fatigue process file and the fatigue calculation file, a fatigue batch processing file of the structural component to be fatigue analyzed is obtained.
3. The fatigue analysis method according to claim 2, characterized in that: The step of generating a fatigue analysis simulation model of the fatigue analysis structural component based at least on the unit force simulation result and the fatigue batch processing file of the fatigue analysis structural component comprises: Based on the fatigue analysis automation script, correlating the material data in the structural data with the load data in the unit force simulation result to obtain a correlation result; The fatigue analysis simulation model is generated based on the correlation result and the fatigue parameter file of the structural component to be fatigue analyzed.
4. The fatigue analysis method according to claim 2, characterized in that: The step of performing fatigue analysis calculation on the fatigue analysis simulation model to obtain damage results of the structural component to be fatigue analyzed includes: Based on the fatigue process file, determining the fatigue analysis process corresponding to the fatigue analysis task; Based on the fatigue analysis process and the fatigue calculation file, fatigue analysis calculation is performed on the fatigue analysis simulation model of the fatigue analysis structural component to obtain a damage result of the structural component to be fatigue analyzed.
5. The fatigue analysis method according to claim 1, characterized in that: The step of performing unit force loading based on the structural data, generating a unit force simulation model of the structural component to be fatigue analyzed, and obtaining a unit force simulation result includes: Based on the structural data, acquiring node information of the structural component to be fatigue analyzed, wherein the node information represents position information of stress points for loading force in the structural component to be fatigue analyzed; Perform unit force loading based on the node information and the analytical script to generate unit force loading simulation data corresponding to the structural part to be fatigue analyzed, wherein the unit force loading simulation data at least includes: a load set, a load step, and an analysis card; Based on the unit force loading simulation data, generating the unit force simulation model; The unit force simulation model is calculated to obtain the unit force simulation result.
6. The fatigue analysis method according to any one of claims 1 to 5, characterized in that: The method further comprises: Based on the path information and the capture script of the damage result of the structural component to be fatigue analyzed, the result data corresponding to the damage result is obtained, and the result data includes at least one of the following: a maximum damage cloud map, a maximum damage value, and a damage cloud map exceeding a target value; Based on the result data, a fatigue analysis simulation report of the structural component to be fatigue analyzed is generated and displayed; the fatigue analysis simulation report at least includes: the fatigue analysis task, the structural data of the structural component to be fatigue analyzed and the result data.
7. The fatigue analysis method according to claim 6, characterized in that: The fatigue analysis simulation platform includes a front-end sub-platform and a back-end sub-platform; the front-end sub-platform and the back-end sub-platform perform data exchange based on a local area network; The front-end sub-platform is used to respond to the fatigue analysis task initiation operation of the user, determine the structural data of the structural part to be fatigue analyzed and send it to the back-end sub-platform; The back-end sub-platform is used to perform fatigue analysis simulation of the structural part to be fatigue analyzed based on the structural data of the structural part to be fatigue analyzed, obtain a fatigue analysis simulation report of the structural part to be fatigue analyzed, and send the report to the front-end sub-platform; The front-end sub-platform is also used to display a fatigue analysis simulation report of the structural component to be fatigue analyzed.
8. A fatigue analysis device, characterized in that: Applied to fatigue analysis simulation platform, the device comprises: A data acquisition module, for determining structural data of a structural component to be fatigue analyzed in response to a fatigue analysis task initiation operation by a user; A unit force simulation module, used to perform unit force loading based on the structural data, generate a unit force simulation model of the structural part to be fatigue analyzed, and obtain a unit force simulation result; A batch processing update module, used to update the fatigue batch processing file embedded in the fatigue analysis simulation platform based on the structural data and the unit force simulation result, so as to obtain the fatigue batch processing file of the structural part to be fatigue analyzed; A fatigue model generation module, used for generating a fatigue analysis simulation model of the fatigue analysis structural component based at least on the unit force simulation result and the fatigue batch processing file of the fatigue analysis structural component; The fatigue analysis simulation module is used to perform fatigue analysis calculation on the fatigue analysis simulation model to obtain damage results of the structural component to be fatigue analyzed.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by the processor, the fatigue analysis method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the fatigue analysis method according to any one of claims 1 to 7 is implemented.