An automated simulation analysis method and system

By using automated simulation analysis methods, the problems of repetitive work and inconsistent evaluation standards in the simulation of injection molding machine templates have been solved, realizing an efficient and accurate simulation analysis process and improving production efficiency and product quality.

CN120930288BActive Publication Date: 2026-01-02KRAUSSMAFFEI MACHINERY ZHEJIANG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511446133.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-11
Publication Date
2026-01-02
Estimated Expiration
2045-10-11

AI Technical Summary

Technical Problem

The existing injection molding machine template simulation process suffers from problems such as repetitive work, high human error rate, and inconsistent evaluation standards, resulting in low efficiency and unstable product quality.

Method used

An automated simulation analysis method is adopted. By reading the parameters input through the visualization interface, calling the dictionary library and standard macro code library, the simulation analysis process is automatically executed, including parameter compliance verification, code generation and stress cloud map data parsing, so as to realize the automated transfer of parameters and the consistency of evaluation standards.

Benefits of technology

It improves the efficiency and accuracy of simulation analysis, reduces human error, ensures the reliability and consistency of evaluation results, and reduces time and labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120930288B_ABST
    Figure CN120930288B_ABST
Patent Text Reader

Abstract

The application discloses an automatic simulation analysis method and system, and relates to the field of computer-aided engineering analysis, and comprises the following steps: S1, reading the parameters of requirements input by a visual interface, and verifying the compliance of the parameters; S2, when the compliance verification is passed, calling a dictionary library and a standard macro code library; S2.1, the dictionary library converts the parameters of the visual interface into actual input values and performs verification; S2.2, the standard code library performs code variable replacement, replacing the placeholder content in the code variable with the actual input value mapped by the dictionary library, and obtaining generated code after replacement; S3, calling an analysis system solver and injecting the generated code, starting calculation, automatically executing a program, and obtaining stress nephogram data after completion; and S4, analyzing the stress nephogram data and outputting compliance strength analysis and evaluation calculation result data. The application effectively solves the problems of repeated operation and inconsistent FKM evaluation standards caused by human factors in the current simulation analysis process.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of computer-aided engineering analysis, and in particular to an automatic simulation analysis method and system. BACKGROUND

[0002] Currently, in the injection molding process, the simulation analysis of the injection molding machine template is a key step to ensure product quality and production efficiency. However, the current injection molding machine template simulation process has some obvious shortcomings. First, the current simulation process requires engineers to manually rebuild the geometric model in structural mechanics analysis software (such as ANSYS), which accounts for more than 80% of the repetitive work in simulation experiments. This not only wastes a lot of time and human resources, but also significantly increases labor costs.

[0003] Secondly, due to the complexity and details of simulation experiments, various errors may occur during operation, such as incorrect setting of material properties and boundary conditions. These problems not only affect the accuracy of simulation results, but also may lead to design defects or production failures. Especially in scenarios requiring a large number of simulation experiments, the risk of human error is further increased, which not only increases the time cost of modification and repair, but also may seriously affect the final quality of the product.

[0004] In addition, FKM (Forschungskuratorium Maschinenbau strength analysis evaluation) guideline evaluation is usually carried out according to specific rules and guidelines, but in actual operation, different engineers may have different understandings and execution standards, resulting in significant differences in evaluation results. This consistency problem in the implementation of evaluation standards not only affects the reliability of simulation experiment results, but also reduces the overall work efficiency and stability of product quality. SUMMARY

[0005] Therefore, the purpose of the present application is to provide an automatic simulation analysis method and system to solve the technical problems of repetitive operation inefficiency, high human operation error rate, and inconsistent evaluation standards in the prior art.

[0006] To achieve the above-mentioned purpose, one aspect of the present application provides an automatic simulation analysis method, comprising:

[0007] S1: reading the parameters of the requirements input by the visualization interface and verifying the compliance of the parameters;

[0008] S2: when the compliance verification is passed, calling the dictionary library and the standard macro code library;

[0009] S2.1: the dictionary library converts the visualization interface parameters into actual input values and performs verification;

[0010] S2.2: The standard code library performs code variable replacement to replace the placeholder content in the code variable with the actual input value of the input parameter of the requirement after dictionary library mapping, and the generated code is obtained after replacement;

[0011] S3: Call the analysis system solver and inject the generated code to start the calculation and automatically execute the program, and obtain the stress cloud data after completion;

[0012] S4: Analyze the stress cloud data and output the compliance strength analysis evaluation calculation result data.

[0013] Based on the above embodiment, in step S1, the parameters include templates of machine model, and / or tonnage, and / or clamping force, and / or mold opening force, and / or material, and / or default storage location.

[0014] Based on the above embodiment, in step S1, the parameters further include strength analysis evaluation parameters.

[0015] Based on the above embodiment, in step S1, the verification parameter compliance includes data type checking and / or range verification.

[0016] Based on the above embodiment, in step S2, the standard macro code library is an analysis system parameterized design language for geometric modeling, and / or meshing, and / or load setting.

[0017] Based on the above embodiment, in step S3, the injection of the generated code is to integrate the generated code into the solving process.

[0018] Based on the above embodiment, the dictionary library includes a mapping rule table of input parameters and code variables, and the mapping rule table is a rule set formulated according to the variable or field converted from the actual input parameter through the dictionary library and the corresponding variable in the standard code library.

[0019] Based on the above embodiment, in step S4, the data analysis includes:

[0020] The first calculation result data is obtained by analyzing the stress cloud data, the first calculation result data is fed back to the visualization interface, it is judged whether there is a calculation result data exceeding standard situation, corresponding prompt is carried out, the value needing accurate calculation is reminded to be input to the visualization interface, and when second input is carried out, second analysis is carried out, the second analysis is: according to the first calculation result data, the unqualified data parameter is carried out second evaluation of strength analysis, the calculation result data is obtained, and the calculation result data is viewed in the visualization interface.

[0021] Another aspect of the application provides an automatic simulation analysis system applying the above-mentioned automatic simulation analysis method, comprising:

[0022] a preprocessing module for reading template parameters input by a visualization interface;

[0023] a parameter verification module for verifying compliance of input parameters;

[0024] a code generation module for calling a pre-stored standard macro code library, performing variable replacement on template parameters read by the visualization interface, replacing placeholder reminder content with actual input values, and generating code;

[0025] a solving control module for automatically starting an analysis system solver and injecting code generated by the code generation module, monitoring solving progress and error codes;

[0026] a post-processing module for analyzing stress nephogram data obtained by the solving control module and generating compliance results according to strength analysis evaluation parameter standards.

[0027] Compared with the prior art, the present application has beneficial effects. The present application can realize automatic parameter transfer through a macro code library and a dictionary library, establish a standard strength analysis evaluation process, and solve the problems of repetitive labor, low efficiency, and poor reliability of manual operation in the prior art. BRIEF DESCRIPTION OF DRAWINGS

[0028] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the drawings needed in the specific embodiments or prior art description will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0029] Figure 1 is a flowchart of an automatic simulation analysis method of an embodiment of the present application.

[0030] Figure 2 is a schematic diagram of a visualization interface of an embodiment of the present application.

[0031] Figure 3 is a schematic diagram of a preprocessing module of an embodiment of the present application.

[0032] Figure 4 is a schematic diagram of a code generation module of an embodiment of the present application.

[0033] Figure 5 is a schematic diagram of a solving control module of an embodiment of the present application.

[0034] Figure 6 is a schematic diagram of a post-processing module of an embodiment of the present application.

[0035] Figure 7is a schematic diagram of re-evaluating parameter adjustment according to an embodiment of the present application. DETAILED DESCRIPTION

[0036] The technical solutions of the present application will be described clearly and completely below in conjunction with the drawings. Obviously, the described embodiments are part of the embodiments of the present application, but not all the embodiments.

[0037] The components of the embodiments of the present application generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but only represents selected embodiments of the present application.

[0038] Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present application.

[0039] The terms "first", "second", and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, and are not intended to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or end including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or end.

[0040] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment can be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily all refer to the same embodiment, nor does it necessarily exclude other embodiments that are independent or alternative to the other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0041] An aspect of the present application provides an automatic simulation analysis method, such as Figure 1 , comprising:

[0042] S1: reading the parameters of the requirements input by the visualization interface, and verifying the compliance of the parameters;

[0043] S2: when the compliance verification passes, calling the dictionary library and the standard macro code library;

[0044] S2.1: the dictionary library converts the visualization interface parameters into actual input values and performs verification;

[0045] S2.2: The standard macro code library executes code variable replacement to replace the placeholder content in the code variable with the actual input value of the input parameter of the requirement after dictionary library mapping, and the generated code is obtained after replacement;

[0046] S3: Call the analysis system solver and inject the generated code, start the calculation, and automatically execute the program after completion to obtain the stress cloud data;

[0047] S4: Analyze the stress cloud data and output the compliance calculation result data.

[0048] As can be seen, the method described in the embodiment of the application can realize automatic parameter transfer, automatic stress cloud data analysis, and compliance result output through a dictionary library and a standard macro code library.

[0049] As an optional embodiment, as Figure 2 , the parameters of the visualization interface include machine model, and / or template type, and / or tonnage, and / or FKM.deff (strength analysis evaluation equivalent damage parameter), and / or FKM.Kp (correction coefficient in fatigue analysis), and / or mold opening force ratio, and material.

[0050] In step S1, as Figure 2 , Figure 2 , the machine model PA is selected at label 1, the tonnage is 200, the mold clamping force is 2000 KN, the template to be analyzed is selected in the template in the default storage path, and the mold opening force is input as 15%; since it is the first round of initial analysis, 250 is set at the FKM.deff position, and 1 is set at the FKM.Kp position.

[0051] The automated simulation system reads the input parameters of the requirements of the visualization interface, and verifies the compliance of the parameters, including data type checking and / or range verification. The data type checking can be numerical checking, checking whether it is a number, not a string, null, etc. The range verification can be a standard limit or a physical reasonableness to verify the compliance of the parameters.

[0052] Through the above operation, it can be ensured that the parameters read by the automated simulation system are always compliant, and the next operation is performed.

[0053] Specifically, as Figure 2 , in step S2, Figure 2 , the automated simulation system automatically retrieves the mapping rule table from the "dictionary library" according to the input parameters at label 1, finds the matching information, converts it into the actual input value, and feeds it back to Figure 2 at label 2.

[0054] The dictionary includes a mapping rule table between input parameters and code variables. The mapping rule table is a set of rules that associate and transform the variables or fields of the actual input parameters after they have been transformed by the dictionary with the corresponding variables in the standard code library. The automated simulation system first calls the dictionary to retrieve the mapping rule table, transforms the interface parameters according to the mapping rule table, and then verifies them.

[0055] Furthermore, the standard macro code library is invoked to replace the placeholder hints with actual input values. The placeholder hints are template tags or variable names used for dynamic replacement; this replacement process is automatically completed by the automated simulation system, replacing the values ​​with actual input values. The standard macro code library includes APDL scripts (parametric design language for analysis systems) for geometric modeling, mesh generation, and load setting. The standard macro code library was developed using extensive Python code editing techniques, undergoing extensive debugging and adjustments based on actual needs. It adopts an object-oriented programming paradigm, improving reusability to over 90%.

[0056] Step S2 is completed automatically by the automated simulation analysis system, requiring no manual operation.

[0057] Furthermore, in step S3, the ANSYS (analysis system) solver is started and the generated code is injected. The automated simulation analysis system automatically integrates the generated code into the solution process and automatically executes the program calculation without manual operation.

[0058] Specifically, step S3 also includes a monitoring system, which includes process response detection, such as 30-second timeout determination, initialization error capture, dynamic memory usage tracking, and error code detection. Further, in step S4, data parsing includes parsing stress cloud map data and generating FKM (Strength Analysis and Assessment) compliance assessment data results.

[0059] The complete simulation analysis process of this invention was executed from S1 to S4, yielding the first FKM compliance assessment data results. The system feeds back the assessment results to the interface and automatically determines whether the data contains any exceedances known to those skilled in the art. Users can open the calculation results to view the actual location, analyze, and determine the values ​​that need to be calculated precisely.

[0060] like Figure 2 As shown, Figure 2 At position 3, the query shows a static strength utilization rate of 110% (the results displayed are from calculations used for strength analysis and evaluation; some data is omitted from the accompanying diagrams in the manual). Clearly, a static strength utilization rate of 110% is impossible. Therefore, the precise calculated values ​​FKM.deff (set to 250) and FKM.Kp (set to 1) need to be entered into... Figure 2 There are 4 winning bids; Figure 2Click "Start Evaluation" at the middle of the screen, the system performs the second analysis, repeat the steps S2 and S3 to generate the calculation results, the user can view the final calculation results in the visualization interface; the process ends.

[0061] In use, the automated simulation system reads the parameters input in the visualization interface (such as machine model, tonnage, clamping force and mold opening force, and FKM evaluation parameters), ensures that these parameters meet the system requirements, then calls the dictionary library and standard macro code library to perform variable substitution, specifically including replacing placeholders with actual input values. The automated simulation system starts the ANSYS solver and injects the generated code to start the calculation. After the calculation is completed, the data is parsed and the compliance results are output. The automated simulation system first verifies the compliance of the input parameters to ensure the correctness of the data, then performs variable substitution through the dictionary library and standard macro code library, and finally starts the ANSYS solver for simulation calculation, automatically outputs the compliant simulation results, improves the efficiency of the injection molding machine template simulation process, and eliminates the need for manual repeated establishment of geometric models, property settings, conditions, etc. It also greatly improves the speed of single analysis.

[0062] Another aspect of the application provides an automated simulation analysis system that applies the automated simulation analysis method in the above embodiments, comprising:

[0063] A preprocessing module for reading the template parameters input in the visualization interface;

[0064] A parameter verification module for verifying the compliance of the input parameters;

[0065] A code generation module for calling a pre-stored standard macro code library, performing variable substitution on the template parameters read by the visualization interface, replacing placeholder prompts with actual input values, and generating code;

[0066] A solution control module for automatically starting the analysis system solver and injecting the code generated by the code generation module, monitoring the solution progress and error code;

[0067] A post-processing module for parsing the stress cloud data obtained by the solution control module and generating compliance results according to the strength analysis evaluation parameter standard.

[0068] The modules of the automatic simulation system work together. First, the pre-processing module reads the injection molding machine template parameters input by the visualization interface; second, the parameter verification module checks the compliance of the read parameters to ensure that the parameters used in the simulation process are effective and accurate; then, the code generation module calls the dictionary library and the standard macro code library, performs variable substitution to replace the placeholder reminder content with the actual input value, and generates specific simulation code; the solution control module works, automatically starts the ANSYS solver, injects the generated code and monitors the solution process to ensure the smooth progress of the simulation analysis process, and timely feedback if errors are encountered; finally, the post-processing module analyzes the stress cloud data, generates compliance results according to the strength analysis evaluation parameters, and feeds back to the visualization interface, which intuitively displays the result data.

[0069] Example 1: as Figure 2 , take "PA200 SPI standard template" as an example

[0070] 1. Input the required parameters in the visualization interface

[0071] In Figure 2 , select the machine model PA at label 1, tonnage 200, clamping force 2000KN, select the path of the new implementation template, and input the opening force 15%; Since it is the first round of initial analysis (may be just enough), set FKM.deff to 250 and FKM.Kp to 1 (the most stringent / maximum margin evaluation parameter) in the evaluation parameter position.

[0072] 2. In Figure 2 , at label 2, the automatic simulation system automatically retrieves the mapping rule table from the "dictionary library" according to the input parameters at label 1, finds the matching information and feeds back to Figure 2 label 2.

[0073] 3. Generate new code

[0074] According to the key information of step 2, call the pre-stored standard macro code library;

[0075] Perform variable substitution to replace the placeholder reminder content with the actual input value to obtain the generated code.

[0076] 4. Solve

[0077] The automatic simulation system automatically starts the ANSYS solver and injects the generated code, and automatically executes the program calculation.

[0078] 5. Feedback results

[0079] Finally, the calculation result data is fed back and returned to Figure 2 label 3.

[0080] as Figure 2The label 4 position display has an over-standard situation, open the calculation result to view the actual position, view and judge the value that needs to be accurately calculated, query the static utilization rate to 110% (the calculation result data display of the result display part for strength analysis evaluation, part of the data is omitted in the specification drawing), input the value that needs to be accurately calculated to Figure 2 the label 4 of

[0081] Click Figure 2 "Start evaluation" in the label 4, and return the new calculation result to the label 3 position, and end here.

[0082] The automatic simulation analysis method and system provided by the application can automatically convert the input parameters into generated code through the design of "standard macro code + variable dictionary", so that non-professional technical personnel can also operate, breaking through the technical barrier of traditional script code modification. The application integrates pre-processing (parameter input), solver calling and post-processing evaluation in a single workflow to form a closed-loop system, realize automatic variable replacement and visual interaction, and achieve efficient, simple and low-error operation.

[0083] The application introduces macro code and variable replacement technology to realize automatic parameter transmission. Only the parameters need to be input in the visual interface, and the automatic simulation system automatically starts the subsequent workflow to significantly reduce repetitive labor and improve work efficiency and accuracy. The macro code library can also use a large number of python code editing to integrate various injection molding machine templates, so that various injection molding machine template types can also be analyzed by the automatic simulation analysis system. By establishing a standardized FKM evaluation process, the standardization and consistency of the evaluation process are improved. The developed visual interface design, such as Figure 2 , reduces the technical threshold for users, so that non-technical personnel can also operate simulation analysis; secondly, the technical solution of the application is basically completed by the automatic simulation system, reducing the errors of manual operation and greatly improving the efficiency and accuracy. The time of single analysis is also reduced, reducing the time cost, and realizing the integrated efficient process from parameter input to result evaluation.

[0084] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the application, and not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can modify the technical solutions described in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the application.

Claims

1. An automated simulation analysis method, characterized by, Comprising: S1: read the parameters of the demand input by the visualization interface, and verify the compliance of the parameters; S2: when the compliance verification passes, call the dictionary library and the standard macro code library; S2.1: the dictionary library converts the visualization interface parameters into actual input values and performs verification; S2.2: the standard code library performs code variable substitution to replace the placeholder reminder content in the code variable with the actual input value mapped by the dictionary library after inputting the demand parameters, and generates code after substitution; S3: call the analysis system solver and inject the generated code, start the calculation, and automatically execute the program after completion to obtain the stress cloud data; S4: analyze the stress cloud data and output the compliance strength analysis evaluation calculation result data; wherein, analyzing the stress cloud data includes: analyzing the stress cloud data to obtain the first calculation result data, feeding back the first calculation result data to the visualization interface, judging whether there is an out-of-specification calculation result data, and giving a corresponding prompt to remind the user to input the value that needs to be accurately calculated into the visualization interface, and performing a second analysis after re-inputting, the second analysis is: according to the first calculation result data, the unqualified data parameters are subjected to a second evaluation of strength analysis to obtain the calculation result data, which can be viewed in the visualization interface.

2. The automated simulation analysis method of claim 1, wherein, In step S1, the parameters include machine model, and / or tonnage, and / or clamping force, and / or opening force, and / or material, and / or default storage location template.

3. The automated simulation analysis method of claim 2, wherein, In step S1, the parameters further include strength analysis evaluation parameters.

4. The automated simulation analysis method of claim 1, wherein, In step S1, the verification of the compliance of the parameters includes data type checking and / or range verification.

5. The automated simulation analysis method of claim 1, wherein, In step S2, the standard macro code library includes analysis system parameterized design language for geometric modeling, and / or meshing, and / or load setting.

6. The automated simulation analysis method of claim 1, wherein, In step S3, the injection of the generated code is to integrate the generated code into the solving process.

7. The automated simulation analysis method of claim 1, wherein, The dictionary library includes an input parameter and code variable mapping rule table, which is a rule set formulated according to the association and conversion of the variable or field after the actual input parameter is converted by the dictionary library and the corresponding variable in the standard code library.

8. An automated simulation analysis system, characterized by, The automatic simulation analysis method of any one of claims 1-7 is applied, comprising: a preprocessing module for reading template parameters input by a visualization interface; a parameter verification module for verifying the compliance of the input parameters; a code generation module for calling a pre-stored standard macro code library, performing variable substitution on the template parameters read by the visualization interface, replacing the placeholder reminder content with the actual input value, and generating code; a solving control module for automatically starting an analysis system solver and injecting the code generated by the code generation module, monitoring the solving progress and error code; a post-processing module for analyzing the stress cloud data obtained by the solving control module and generating compliance results according to the strength analysis evaluation parameter standard.

Citation Information

Patent Citations

  • Platform-spanning simulation model development method and system

    CN104598240A

  • Application method of parametric simulation in safety assessment of bridge grab ship unloader

    CN104915526A