Simulation calculation method, device and equipment of part safety factor and computer readable storage medium
Patent Information
- Application Number
- CN202610747847.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-27
- Publication Date
- 2026-09-11
AI Technical Summary
[0005]有鉴于此,本发明实施例致力于提供一种零件安全系数的仿真计算方法、装置、设备及计算机可读存储介质,以解决现有技术中,后处理分析周期长、效率低,安全系数计算缺乏统一、规范的标准,难以满足产品快速迭代和高可靠性评估的双重要求的技术问题
[0017] In the above implementation of the present invention, the following steps are taken: First, the set of outer surface nodes of the target part in the structural simulation results is obtained; second, the first stress value with the largest value in the set of outer surface nodes is obtained; for any node in the set of outer surface nodes, the adjacent nodes of that node are obtained; third, the second stress value of the adjacent nodes is obtained, and the average stress value of the node is calculated based on the second stress value; fourth, the material strength index corresponding to the target part is obtained; fifth, the first safety factor of the target part is calculated based on the first stress value and the material strength index, and the second safety factor of the target part is calculated based on the average stress value and the material strength index. Thus, without relying on manual operation, the first safety factor and the second safety factor are calculated based on the average stress value, respectively. This achieves a dual analysis method based on the first stress value and the average stress value, calculating the first safety factor based on concentrated stress and the second safety factor based on average stress, respectively, without relying on manual operation. This makes the analysis results more consistent with the diversity of stress distribution in engineering practice, significantly improving the accuracy of structural safety assessment. This solves the technical problems of low analysis efficiency and poor accuracy caused by manual operation in related technologies, achieving automation and standardization from stress extraction to safety factor determination.
Smart Images

Figure CN122735327A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of simulation calculation technology for the safety factor of parts, and specifically to a simulation calculation method, apparatus, device, and computer-readable storage medium for the safety factor of parts. Background Technology
[0002] In the structural development of large-scale engineering machinery, due to the highly customized nature of the products, it is difficult to fully verify them through physical prototype testing. Finite element simulation has become an indispensable means of verifying structural strength and safety. Accordingly, after completing the simulation calculations, accurately extracting stress from the massive amount of data, calculating the safety factor in conjunction with material strength information, and assessing the structural safety accordingly is a core requirement of the post-processing stage.
[0003] In related technologies, the aforementioned post-processing work typically relies on manual operation by engineers. Specifically, engineers need to display components one by one in general post-processing software, hide irrelevant elements, find stress extrema, and then manually consult material handbooks to obtain information such as yield strength, and manually calculate the safety factor. However, this manual point-by-point processing method not only requires high theoretical and experience levels from the operator, but also suffers from differences in the selection of key areas and the judgment of stress types among different personnel, making it difficult to guarantee the consistency and repeatability of the analysis results. At the same time, the process of manually associating material strengths and distinguishing between multiple stress evaluation standards is cumbersome and prone to missing information.
[0004] Therefore, when dealing with large-scale engineering machinery with complex structures and numerous components, the above-mentioned situation leads to long post-processing analysis cycles and low efficiency. The calculation of safety factors lacks unified and standardized standards, making it difficult to meet the dual requirements of rapid product iteration and high reliability assessment. Summary of the Invention
[0005] In view of this, the present invention aims to provide a simulation calculation method, apparatus, device and computer-readable storage medium for the safety factor of a part, so as to solve the technical problems in the prior art, such as long post-processing analysis cycle and low efficiency, lack of unified and standardized safety factor calculation, and difficulty in meeting the dual requirements of rapid product iteration and high reliability assessment.
[0006] This invention provides a simulation calculation method for the safety factor of a component, the method comprising: Obtain the set of outer surface nodes of the target part from the structural simulation results; Obtain the first stress value with the largest value among the nodes on the outer surface; For any node in the set of outer surface nodes, obtain the neighboring nodes of that node; Obtain the second stress value of the adjacent node, and calculate the average stress value of the node based on the second stress value; Obtain the material strength index corresponding to the target part; A first safety factor for the target part is calculated based on the first stress value and the material strength index, and a second safety factor for the target part is calculated based on the average stress value and the material strength index.
[0007] In one possible embodiment, calculating a first safety factor for the target part based on the first stress value and the material strength index, and calculating a second safety factor for the target part based on the average stress value and the material strength index, includes: The quotient of the material strength index divided by the first stress value is used as the first safety factor. The quotient of the material strength index divided by the average stress value is used as the second safety factor.
[0008] In one possible embodiment, obtaining the material strength index corresponding to the target part includes: Extract the material identifier from the name of the target part; Based on the material identifier, the corresponding yield strength or equivalent strength is obtained by querying a preset material-strength mapping database, and is used as the material strength index.
[0009] In one possible embodiment, before obtaining the outer surface node set of the target part in the structural simulation results, the method further includes: Identify and exclude preset contact element sets and / or shared node element sets from the structural simulation results, so that the outer surface node set does not contain nodes in the contact area and weld area.
[0010] In one possible embodiment, before identifying and excluding a preset set of contact elements and / or a set of shared node elements from the structural simulation results, the method further includes: In the hidden simulation model, the solid units of the target part; Display a preset connection group in the target part, wherein the connection group includes a set of geometric surfaces or units that need to establish contact relationships; The geometric surfaces or element sets corresponding to the connection group are exported as the contact element set.
[0011] In one possible embodiment, after calculating a first safety factor for the target part based on the first stress value and the material strength index, and calculating a second safety factor for the target part based on the average stress value and the material strength index, the method further includes: The first safety factor and the second safety factor are arranged in ascending order of numerical value and output to a pre-formatted structured text file on a part-by-part basis. The structured text file includes part identifier, node identifier, stress type and value, and safety factor value.
[0012] In one possible embodiment, before arranging the first safety factor and the second safety factor in ascending order of numerical value and outputting them to a pre-formatted structured text file on a part-by-part basis, the method further includes: Nodes with stress values below a preset low stress threshold are filtered out.
[0013] Secondly, the present invention provides a simulation calculation device for the safety factor of a component, the device comprising: The first acquisition module is used to acquire the set of outer surface nodes of the target part in the structural simulation results; The second acquisition module is used to acquire the first stress value with the largest value among the nodes on the outer surface. The third acquisition module is used to acquire the neighboring nodes of any node in the set of outer surface nodes. The fourth acquisition module is used to acquire the second stress value of the adjacent node, and calculate the average stress value of the node based on the second stress value; The fifth acquisition module is used to acquire the material strength index corresponding to the target part; The calculation module is used to calculate a first safety factor of the target part based on the first stress value and the material strength index, and to calculate a second safety factor of the target part based on the average stress value and the material strength index.
[0014] Thirdly, the present invention provides an electronic device, the device comprising: a memory and a processor; the memory being used to store relevant program code; the processor being used to call the program code to execute the simulation calculation method for the safety factor of a part as described in any implementation of the first aspect.
[0015] Fourthly, the present invention provides a computer-readable storage medium for storing a computer program for executing the simulation calculation method for the safety factor of a part as described in any implementation of the first aspect.
[0016] Fifthly, the present invention provides a computer program product, the computer program product comprising a computer program / instruction, which, when executed by a processor, implements the simulation calculation method for the safety factor of a part as described in any of the implementations of the first aspect.
[0017] In the above implementation of the present invention, the following steps are taken: First, the set of outer surface nodes of the target part in the structural simulation results is obtained; second, the first stress value with the largest value in the set of outer surface nodes is obtained; for any node in the set of outer surface nodes, the adjacent nodes of that node are obtained; third, the second stress value of the adjacent nodes is obtained, and the average stress value of the node is calculated based on the second stress value; fourth, the material strength index corresponding to the target part is obtained; fifth, the first safety factor of the target part is calculated based on the first stress value and the material strength index, and the second safety factor of the target part is calculated based on the average stress value and the material strength index. Thus, without relying on manual operation, the first safety factor and the second safety factor are calculated based on the average stress value, respectively. This achieves a dual analysis method based on the first stress value and the average stress value, calculating the first safety factor based on concentrated stress and the second safety factor based on average stress, respectively, without relying on manual operation. This makes the analysis results more consistent with the diversity of stress distribution in engineering practice, significantly improving the accuracy of structural safety assessment. This solves the technical problems of low analysis efficiency and poor accuracy caused by manual operation in related technologies, achieving automation and standardization from stress extraction to safety factor determination. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the architecture of a simulation calculation system for the safety factor of a component, provided for an embodiment of the present invention.
[0019] Figure 2 A flowchart illustrating a simulation calculation method for the safety factor of a component, provided as an embodiment of the present invention.
[0020] Figure 3 The flowchart of step S106 provided in the embodiment of the present invention.
[0021] Figure 4 A schematic diagram of a simulation calculation device for the safety factor of a component is provided in an embodiment of the present invention.
[0022] Figure 5 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0023] 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 embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0024] In the structural development of large-scale engineering machinery, due to the highly customized nature of the products, it is difficult to fully verify them through physical prototype testing. Finite element simulation has become an indispensable means of verifying structural strength and safety. Accordingly, after completing the simulation calculations, accurately extracting stress from the massive amount of data, calculating the safety factor in conjunction with material strength information, and assessing the structural safety accordingly is a core requirement of the post-processing stage.
[0025] In related technologies, the aforementioned post-processing work typically relies on manual operation by engineers. Specifically, engineers need to display components one by one in general post-processing software, hide irrelevant elements, find stress extrema, and then manually consult material handbooks to obtain information such as yield strength, and manually calculate the safety factor. To further consider the difference between local stress concentration effects and overall stress levels, it is sometimes necessary to separately evaluate the concentrated stress and average stress in key areas. However, this manual point-by-point processing method not only requires high theoretical and experience levels from the operator, but also the selection of key areas and the judgment of stress types by different personnel may differ, making it difficult to guarantee the consistency and repeatability of the analysis results; at the same time, the process of manually associating material strengths and distinguishing multiple stress evaluation standards is cumbersome and prone to missing information.
[0026] Therefore, when dealing with large-scale engineering machinery with complex structures and numerous components, the above-mentioned situation leads to long post-processing analysis cycles and low efficiency. The calculation of safety factors lacks unified and standardized standards, making it difficult to meet the dual requirements of rapid product iteration and high reliability assessment.
[0027] To overcome the aforementioned contradictions, this invention automatically acquires the set of outer surface nodes of the target part from the structural simulation results. The stress value with the largest value in the set of outer surface nodes is taken as the first stress value. An average stress value is obtained based on the neighborhood stress values within the set of outer surface nodes, centered on the node. Simultaneously, the material strength index corresponding to the target part is acquired. Thus, without relying on manual operation, a first safety factor is calculated based on the first stress value, and a second safety factor is calculated based on the average stress value. In other words, this provides an automated method for dual stress assessment and safety factor calculation that integrates material strength information, solving the technical problems of low analysis efficiency and poor consistency caused by manual operation in related technologies, and achieving automation and standardization from stress extraction to safety factor determination.
[0028] Please see Figure 1 In one exemplary embodiment, a schematic diagram of the architecture of a simulation calculation system for the safety factor of a part is provided. The system includes a pre-processing terminal, a simulation solver server, a simulation calculation device for the safety factor of the part, and a report generation terminal. The pre-processing terminal is used to construct a finite element model of the target part, define connection relationships and contact areas on the model, and generate an auxiliary file containing element set information. The auxiliary file may, for example, record outer surface node identifiers, contact element identifiers, or shared node element identifiers. The simulation solver server is communicatively connected to the pre-processing terminal, receives the finite element model, performs numerical calculations, and generates a structural simulation result file. The structural simulation result file contains at least the stress values of each node. The simulation calculation device for the safety factor of the part reads the structural simulation result file generated by the simulation solver server and the auxiliary file generated by the pre-processing terminal, respectively, and filters out the effective nodes required for analysis from the structural simulation results based on the element set information in the auxiliary file. It then uses the filtered node stresses combined with pre-configured material strength data to calculate the safety factor of each part. The simulation calculation device for the safety factor of the part can also group and sort the calculated multiple safety factors by part to generate a structured result file. The report generation terminal connects to the simulation calculation device for the part's safety factor, acquires structured result files, and automatically generates an analysis report containing stress cloud diagrams and safety factor tables based on a preset report template. The report generation terminal can annotate the safety factor according to preset qualification thresholds to assist engineering decision-making. The aforementioned pre-processing terminal, simulation solution server, simulation calculation device for the part's safety factor, and report generation terminal can be deployed on the same computing device or separately on different computing devices and communicate via a network. When deployed on the same computing device, data exchange between the devices occurs via files or memory; when deployed in a distributed manner, data flow can be achieved through file transfer protocols or message queues.
[0029] Please see Figure 2 In one exemplary embodiment, a flowchart is provided for a simulation calculation method for the safety factor of a component. This method can be executed by a computing device, which may be a personal computer, a workstation, or a cloud server.
[0030] The method may include the following steps: S101: Obtain the set of outer surface nodes of the target part in the structural simulation results.
[0031] In this embodiment, the structural simulation results are first read, and the outer surface node set of the target part is identified from them. The structural simulation results can be result files containing stress and displacement information for each node, obtained through static or dynamic analysis using finite element analysis software. The target part can be a structural component requiring strength verification, such as a crawler crane boom, turntable, or chassis. The outer surface node set refers to a collection of nodes that only contain the outer surface of the target part and do not include internal solid elements. This outer surface node set can be automatically created using a script during the pre-processing stage. For example, in the HyperMesh environment, by extracting nodes from all two-dimensional outer surface elements of the target part and outputting their node numbers to an outer surface node text file, the outer surface node set can be quickly obtained by reading this file during the post-processing stage.
[0032] As a specific implementation, before obtaining the outer surface node set of the target part in the structural simulation results, the method further includes: Identify and exclude preset contact element sets and / or shared node element sets from the structural simulation results, so that the outer surface node set does not contain nodes in the contact area and weld area.
[0033] In practice, the external surface node set can be filtered out to exclude nodes in contact areas such as bolted joints and welds. This means the external surface node set does not include nodes from the pre-defined contact element set or shared node element set, ensuring that subsequent stress assessments are only performed on the main structure. This method automatically and accurately defines the analysis scope, avoiding the need for manual selection of each external surface node, thus improving efficiency and consistency.
[0034] In one embodiment, before identifying and excluding a preset set of contact elements and / or a set of shared node elements from the structural simulation results, the method further includes: In the hidden simulation model, the solid units of the target part; Display a preset connection group in the target part, wherein the connection group includes a set of geometric surfaces or units that need to establish contact relationships; The geometric surfaces or element sets corresponding to the connection group are exported as the contact element set.
[0035] In the specific implementation process, to further improve the accuracy of the outer surface node set and subsequent stress assessment, before identifying and excluding the preset contact element set and / or shared node element set from the structural simulation results, the process also includes identifying and excluding the preset contact element set and shared node element set from the structural simulation results, so that the outer surface node set does not contain nodes in the contact area and weld area. Specifically, in the finite element preprocessing stage, the solid elements corresponding to the target part in the simulation model are hidden to avoid interference with subsequent display operations. Only the preset connection groups in the target part are displayed. Here, connection groups refer to the geometric surfaces or element sets that need to establish contact relationships such as bolt connections and pin connections, which can be pre-grouped and stored by engineers in the preprocessing software. All elements corresponding to the connection groups displayed in the current view are marked and exported as contact element sets, for example, exported as a contactElems.txt text file. Furthermore, for the weld area, a similar method can be used to generate a shared node element set, for example, exported as a shareElems.txt text file. The above method can automatically and in batches remove nodes in contact areas and weld areas with stress singularities during the post-processing preparation stage, so that the outer surface node set only covers the main structural area that can be used for strength verification, which significantly improves the accuracy of the outer surface node set and the reliability of subsequent safety factor calculation.
[0036] It is understandable that the identification and export methods for the aforementioned connection groups do not depend on any specific preprocessing software. In other finite element preprocessing environments, similar functions for marking and displaying elements and exporting element sets can also be used to automate the creation of contact element sets.
[0037] S102: Obtain the first stress value with the largest value among the nodes on the outer surface.
[0038] In this embodiment, all nodes in the outer surface node set are traversed, and the stress value corresponding to each node is read from the result file. The value with the largest value is then determined as the first stress value. The stress value can be the Von Mises equivalent stress, or it can be selected as the maximum principal stress or the stress corresponding to other strength theories as needed. The first stress value characterizes the severity of the single point with the worst stress on the outer surface.
[0039] In practical implementation, a cyclic comparison algorithm can be used, taking the stress value of the first node as the initial maximum value, and then comparing the stress values of subsequent nodes and updating the maximum value accordingly, until the traversal is complete. For large-scale node sets, parallel computing or group competition can also be used to accelerate the maximum value search.
[0040] S103: For any node in the set of outer surface nodes, obtain the neighboring nodes of the node.
[0041] S104: Obtain the second stress value of the adjacent node, and calculate the average stress value of the node based on the second stress value.
[0042] In this embodiment, for any node in the outer surface node set, the neighboring nodes of that node are obtained; the second stress value of the neighboring nodes is obtained, and the average stress value of the node is calculated based on the second stress value.
[0043] In step S103, the target node is any node in the outer surface node set. The adjacent node refers to a topologically adjacent node that shares a unit edge with the target node. To more accurately reflect the local nominal stress level of the part's outer surface, step S104 calculates the average stress value based on the second stress value of the adjacent node, instead of directly taking the stress value of the node itself.
[0044] In practice, we can first obtain all topologically adjacent nodes of the target node in the finite element mesh, then take the intersection of these adjacent nodes with the outer surface node set, retaining only the portion belonging to the outer surface node set, thus obtaining the adjacent nodes located only on the outer surface. The intersection operation can be performed using an existing text file of outer surface nodes, by checking if the adjacent node identifier exists in the file. Subsequently, the stress values of these outer surface adjacent nodes are extracted as second stress values, and the arithmetic mean or weighted average of these second stress values is taken to obtain the average stress value of the target node. Using the neighborhood method on the outer surface avoids the stress being lowered due to the participation of internal nodes in the averaging calculation, making the average stress value have a more realistic physical meaning. This, in turn, makes the safety factor verification based on this average stress value more consistent with the nominal stress assessment requirements in engineering specifications.
[0045] In this invention, the setting of the neighborhood range can be flexibly adjusted. For example, it can consider only one layer of adjacent nodes within a single unit layer, or it can be extended to multiple layers of adjacent nodes, but it is required to be limited to the outer surface node set. This method of obtaining the neighborhood average stress limited to the outer surface node set is not only applicable to the node where the first stress value is located, but can also be used for all or some nodes in the outer surface node set.
[0046] S105: Obtain the material strength index corresponding to the target part.
[0047] In this embodiment, the strength index corresponding to the material used in the target part is obtained, such as the yield strength of the material or the converted strength according to engineering specifications. The material strength index can be pre-established and stored in the memory of the computing device to form a material-strength mapping database.
[0048] In one embodiment, the acquisition process, namely, acquiring the material strength index corresponding to the target part, specifically includes: Extract the material identifier from the name of the target part; Based on the material identifier, the corresponding yield strength or equivalent strength is obtained by querying a preset material-strength mapping database, and is used as the material strength index.
[0049] In the specific implementation process, the material identifier is automatically parsed from the part name of the target part. The part name can contain fields representing the material, such as "Q235", "Q345", "Q690", etc. Based on this material identifier, the corresponding yield strength value or equivalent strength value can be dynamically obtained by querying a preset strength information file. This strength information file is an editable text file, supporting the input of new materials or the updating of existing material data, thus adapting to changes in material strength in different projects without modifying the main program. By combining the extraction of the material identifier with dynamic database queries, adaptive acquisition of material strength indicators is achieved, eliminating errors that may be caused by manual table lookups or hard-coded material properties.
[0050] In another embodiment, the field representing the material grade can be extracted according to agreed-upon part naming rules, such as using underscores or specific delimiters to segment the part name string. For example, "Q345" in "Q345B" can be used as the key to search a pre-stored material strength information file. This file can be a matrix parameter text file that stores the correspondence between material grades and yield strength and equivalent strength. Upon successful search, the corresponding yield strength or equivalent strength can be retrieved as the material strength index. This search process is entirely dynamic; therefore, when the strength information file is updated, the method can be executed again to use the latest strength data for calculation without modifying the main program, greatly improving the system's adaptability and maintainability.
[0051] It is understandable that material strength indicators are not limited to yield strength. For scenarios such as fatigue strength verification and brittle material verification, the relevant strength limit values can also be stored in a strength information file and retrieved in the same way.
[0052] S106: Calculate the first safety factor of the target part based on the first stress value and the material strength index, and calculate the second safety factor of the target part based on the average stress value and the material strength index.
[0053] In this embodiment, after obtaining the first stress value, the average stress value, and the material strength index, the first safety factor of the target part can be calculated based on the first stress value and the material strength index, and the second safety factor of the target part can be calculated based on the average stress value and the material strength index.
[0054] In one embodiment, see Figure 3 Step S106 specifically includes: S1061, the quotient of the material strength index divided by the first stress value is used as the first safety factor; S1062, the quotient of the material strength index divided by the average stress value is used as the second safety factor.
[0055] In practical implementation, as a specific method for calculating the safety factor, the quotient of the material strength index divided by the first stress value can be used as the first safety factor, and the quotient of the material strength index divided by the average stress value can be used as the second safety factor. For example, if the yield strength of a part is 345 MPa and the concentrated stress value is 400 MPa, then the first safety factor is 345 / 400 = 0.8625; if the average stress value is 300 MPa, then the second safety factor is 345 / 300 = 1.15. This dual safety factor verifies the part from two dimensions: peak stress bearing capacity and nominal stress bearing capacity. It can more comprehensively expose potential weak points and is consistent with the practice in engineering design of assigning different allowable safety factors to different stress types. It realizes the automatic conversion from stress data to safety factor, forming a complete and closed-loop evaluation link, and solves the problems of low efficiency, poor consistency, and inability to automatically correlate material strength in related technologies.
[0056] To further enhance the engineering guidance value of the safety factor calculation results, in some embodiments of the present invention, after step S106, the following may be included: The first safety factor and the second safety factor are arranged in ascending order of numerical value and output to a pre-formatted structured text file on a part-by-part basis. The structured text file includes part identifier, node identifier, stress type and value, and safety factor value.
[0057] In the specific implementation process, the calculated first and second safety factors are sorted in ascending order of value and output to a pre-formatted structured text file, unit by unit. This structured text file can contain part identifiers, node identifiers, stress types and values, and safety factor values. For example, the output file can be named outputMaxStress_XXX.txt, with each line recording one safety factor item, fields separated by spaces or commas. This file can be directly read by a standalone report generation program, such as a Python-based PowerPoint report generation tool, and automatically inserted with a configured template to insert stress contour plots, highlighting safety factor items below a threshold. Thus, the post-processing results can directly enter the reporting stage without manual processing, achieving an integrated automated workflow from simulation post-processing to report delivery.
[0058] Furthermore, prior to sorting, the method also includes: Nodes with stress values below a preset low stress threshold are filtered out.
[0059] In the specific implementation process, it can also automatically filter out low-stress areas with stress values below a preset threshold, avoiding interference from non-dangerous parts in the result sorting, so that engineers can directly focus their attention on the most critical weak points.
[0060] Based on the method provided in the above embodiments, the following steps are taken: 1) Obtain the set of outer surface nodes of the target part from the structural simulation results; 2) Obtain the first stress value with the largest value in the set of outer surface nodes; 3) For any node in the set of outer surface nodes, obtain the adjacent nodes of that node; 4) Obtain the second stress value of the adjacent nodes, and calculate the average stress value of the node based on the second stress value; 5) Obtain the material strength index corresponding to the target part; 6) Calculate the first safety factor of the target part based on the first stress value and the material strength index, and calculate the second safety factor of the target part based on the average stress value and the material strength index. This allows for the calculation of the first safety factor based on the first stress value and the second safety factor based on the average stress value without relying on manual operation. This achieves a dual analysis method using the first stress value and the average stress value, calculating the first safety factor based on concentrated stress and the second safety factor based on average stress, respectively, without relying on manual operation. This makes the analysis results more consistent with the diversity of stress distribution in engineering practice, significantly improving the accuracy of structural safety assessment. This solves the technical problems of low analysis efficiency and poor accuracy caused by manual operation in related technologies, achieving automation and standardization from stress extraction to safety factor determination.
[0061] Based on the above method embodiments, this invention also provides a simulation calculation device for the safety factor of a part. See also... Figure 4 The diagram shown is a schematic diagram of a simulation calculation device for the safety factor of a part provided in an embodiment of the present invention.
[0062] The device 400 includes: The first acquisition module 410 is used to acquire the set of outer surface nodes of the target part in the structural simulation results; The second acquisition module 420 is used to acquire the first stress value with the largest value among the nodes on the outer surface; The third acquisition module 430 is used to acquire the neighboring nodes of any node in the set of outer surface nodes. The fourth acquisition module 440 is used to acquire the second stress value of the adjacent node and calculate the average stress value of the node based on the second stress value; The fifth acquisition module 450 is used to acquire the material strength index corresponding to the target part; The calculation module 460 is used to calculate a first safety factor of the target part based on the first stress value and the material strength index, and to calculate a second safety factor of the target part based on the average stress value and the material strength index.
[0063] In one possible implementation, calculating a first safety factor for the target part based on the first stress value and the material strength index, and calculating a second safety factor for the target part based on the average stress value and the material strength index, includes: The quotient of the material strength index divided by the first stress value is used as the first safety factor. The quotient of the material strength index divided by the average stress value is used as the second safety factor.
[0064] In one possible implementation, obtaining the material strength index corresponding to the target part includes: Extract the material identifier from the name of the target part; Based on the material identifier, the corresponding yield strength or equivalent strength is obtained by querying a preset material-strength mapping database, and is used as the material strength index.
[0065] In one possible implementation, before obtaining the outer surface node set of the target part in the structural simulation results, the method further includes: Identify and exclude preset contact element sets and / or shared node element sets from the structural simulation results, so that the outer surface node set does not contain nodes in the contact area and weld area.
[0066] In one possible implementation, before identifying and excluding a preset set of contact elements and / or a set of shared node elements from the structural simulation results, the method further includes: In the hidden simulation model, the solid units of the target part; Display a preset connection group in the target part, wherein the connection group includes a set of geometric surfaces or units that need to establish contact relationships; The geometric surfaces or element sets corresponding to the connection group are exported as the contact element set.
[0067] In one possible implementation, after calculating a first safety factor for the target part based on the first stress value and the material strength index, and calculating a second safety factor for the target part based on the average stress value and the material strength index, the method further includes: The first safety factor and the second safety factor are arranged in ascending order of numerical value and output to a pre-formatted structured text file on a part-by-part basis. The structured text file includes part identifier, node identifier, stress type and value, and safety factor value.
[0068] In one possible implementation, before arranging the first safety factor and the second safety factor in ascending order of numerical value and outputting them to a pre-formatted structured text file on a part-by-part basis, wherein the structured text file includes part identification, stress type and value, and safety factor value, the method further includes: Nodes with stress values below a preset low stress threshold are filtered out.
[0069] See Figure 5 , Figure 5 This is a schematic diagram of an electronic device provided in an embodiment of the present invention.
[0070] The electronic device 500 includes a memory 501 and a processor 502; the memory 501 is used to store relevant program code; the processor 502 is used to call the program code to execute the simulation calculation method for the safety factor of the parts described in the above method embodiment.
[0071] Furthermore, embodiments of the present invention also provide a computer-readable storage medium for storing a computer program for executing the simulation calculation method for the safety factor of a part as described in the above method embodiments.
[0072] This invention also provides a computer program product, which includes a computer program / instruction. When the computer program / instruction is executed by a processor, it implements the simulation calculation method for the safety factor of the parts described in the above method embodiments.
[0073] It should be noted that the computer-readable medium described above in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.
[0074] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of the present invention. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0075] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. In particular, for system or device embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The device embodiments described above are merely illustrative. The units or modules described as separate components may or may not be physically separate. The components shown as units or modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the units or modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0076] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functions, and operations that may be implemented according to various embodiments of the invention, including methods, apparatus, and devices. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0077] It should be understood that in this invention, "at least one (item)" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0078] It should also be noted that, in this invention, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0079] The steps of the methods or algorithms described in conjunction with the embodiments disclosed in this invention can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0080] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method of simulating a safety factor of a part, characterized by, include: Obtain the set of outer surface nodes of the target part from the structural simulation results; Obtain the first stress value with the largest value among the nodes on the outer surface; For any node in the set of outer surface nodes, obtain the neighboring nodes of that node; Obtain the second stress value of the adjacent node, and calculate the average stress value of the node based on the second stress value; Obtain the material strength index corresponding to the target part; A first safety factor for the target part is calculated based on the first stress value and the material strength index, and a second safety factor for the target part is calculated based on the average stress value and the material strength index.
2. The method according to claim 1, characterized in that, The calculation of a first safety factor for the target part based on the first stress value and the material strength index, and the calculation of a second safety factor for the target part based on the average stress value and the material strength index, include: The quotient of the material strength index divided by the first stress value is used as the first safety factor. The quotient of the material strength index divided by the average stress value is used as the second safety factor.
3. The method of claim 1, wherein, Obtaining the material strength index corresponding to the target part includes: Extract the material identifier from the name of the target part; Based on the material identifier, the corresponding yield strength or equivalent strength is obtained by querying a preset material-strength mapping database, and is used as the material strength index.
4. The method of claim 1, wherein, Before obtaining the outer surface node set of the target part in the structural simulation results, the method further includes: Identify and exclude preset contact element sets and / or shared node element sets from the structural simulation results, so that the outer surface node set does not contain nodes in the contact area and weld area.
5. The method of claim 4, wherein, Before identifying and excluding the preset contact element set and / or shared node element set from the structural simulation results, the method further includes: In the hidden simulation model, the solid units of the target part; Display a preset connection group in the target part, wherein the connection group includes a set of geometric surfaces or units that need to establish contact relationships; The geometric surfaces or element sets corresponding to the connection group are exported as the contact element set.
6. The method of claim 1, wherein, After calculating the first safety factor of the target part based on the first stress value and the material strength index, and calculating the second safety factor of the target part based on the average stress value and the material strength index, the method further includes: The first safety factor and the second safety factor are arranged in ascending order of numerical value and output to a pre-formatted structured text file on a part-by-part basis. The structured text file includes part identifier, node identifier, stress type and value, and safety factor value.
7. The method of claim 6, wherein, Before arranging the first safety factor and the second safety factor in ascending order of numerical value and outputting them to a pre-formatted structured text file on a part-by-part basis, wherein the structured text file includes part identification, stress type and value, and safety factor value, the method further includes: Nodes with stress values below the preset low stress threshold are filtered out.
8. A device for simulating a safety factor of a part, characterized by, The device includes: The first acquisition module is used to acquire the set of outer surface nodes of the target part in the structural simulation results; The second acquisition module is used to acquire the first stress value with the largest value among the nodes on the outer surface. The third acquisition module is used to acquire the neighboring nodes of any node in the set of outer surface nodes. The fourth acquisition module is used to acquire the second stress value of the adjacent node, and calculate the average stress value of the node based on the second stress value; The fifth acquisition module is used to acquire the material strength index corresponding to the target part; The calculation module is used to calculate a first safety factor of the target part based on the first stress value and the material strength index, and to calculate a second safety factor of the target part based on the average stress value and the material strength index.
9. An electronic device, comprising: The device includes: a memory and a processor; the memory is used to store relevant program code; the processor is used to call the program code to execute the simulation calculation method for the safety factor of the part as described in any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program for executing the simulation calculation method for the safety factor of a part according to any one of claims 1 to 7.