Simulation method and device of product model
Patent Information
- Application Number
- CN202280099244.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2025-03-21
AI Technical Summary
The obstacles for small and medium-sized enterprises to carry out simulation in industrial product design are mainly due to their reliance on experts to use professional software, which results in high costs and high technical thresholds, making it difficult to popularize and use it.
Provide a product model simulation method and device that automatically executes simulation processing through a preset workflow, reducing the user's need for professional knowledge. It is suitable for non-expert users, including obtaining the product model input by the user, and executing the preset workflow for simulation. Process and output simulation results.
Provide convenient simulation services for small and medium-sized enterprises, reduce technical and economic obstacles in the simulation process, and non-expert users can also simulate product models, improving the efficiency and feasibility of industrial product design.
Smart Images

Figure CN119678136A_ABST
Abstract
Description
Simulation method and device for product model Technical Field
[0001] The present application relates to the field of computers, and more specifically, to a method and device for simulating a product model. Background Art
[0002] For complex and advanced industrial product lifecycle management, product design requires an iterative cycle of simulation and optimization. Multidisciplinary simulation in product design can help users analyze and evaluate industrial product designs and optimize their structures or parameters. Therefore, product model simulation plays a vital role in product design.
[0003] Currently, simulation of product models needs to rely on experts using professional software to perform, which has created certain obstacles for many product manufacturers, especially those in small and medium-sized enterprises, to adopt simulation in their product design process.
[0004] In view of this, how to provide convenient simulation services for product manufacturers, especially small and medium-sized enterprises, and reduce the barriers for small and medium-sized enterprises to conduct simulation in industrial product design is a technical problem that needs to be solved urgently.
[0005] Summary of the Invention
[0006] The present application provides a product model simulation method and device, which can provide convenient simulation services for product manufacturers, especially product manufacturers of small and medium-sized enterprises, and reduce the barriers for small and medium-sized enterprises to perform simulation in industrial product design.
[0007] In a first aspect, a method for simulating a product model is provided, comprising: obtaining a product model input by a user; executing a preset workflow on the product model to simulate the product model, wherein the preset workflow includes at least one preset task, and each of the at least one preset task is used to execute a processing step in the simulation process; and outputting a simulation result of the product model to the user.
[0008] Through the technical solution of the embodiment of the present application, a simulation method is provided that can automatically use a preset workflow to perform simulation processing on a product model. This technical solution does not require users to have very professional simulation knowledge, that is, non-expert users can also simulate product models, thereby providing convenient simulation services for product manufacturers, especially product manufacturers of small and medium-sized enterprises, and reducing the barriers for small and medium-sized enterprises to perform simulation in industrial product design.
[0009] In a second aspect, a simulation device for a product model is provided, comprising: a memory for storing a program; a processor for executing the program stored in the memory, wherein when the program stored in the memory is executed, the processor is used to execute the simulation method for the product model in the first aspect.
[0010] In a third aspect, a computer-readable storage medium is provided, which is used for program code executed by a device, wherein the program code includes instructions for executing the steps in the product model simulation method in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a schematic diagram of the architecture of a simulation system provided in an embodiment of the present application.
[0012] FIG2 is a schematic flowchart of a product model simulation method provided in an embodiment of the present application.
[0013] FIG3 is a schematic flowchart of another product model simulation method provided in an embodiment of the present application.
[0014] FIG4 is a schematic block diagram of a first preset task provided in an embodiment of the present application.
[0015] FIG5 is a schematic block diagram of a preset workflow provided in an embodiment of the present application.
[0016] FIG6 is a schematic flowchart of another product model simulation method provided in an embodiment of the present application.
[0017] FIG7 is a schematic diagram of the hardware structure of a simulation device for a product model provided in an embodiment of the present application.
[0018] List of reference numerals:
[0019] 100-Simulation system;
[0020] 110-interface module; 111-application;
[0021] 120-service module; 121-management service submodule; 122-simulation engine submodule;
[0022] 1211-model management submodule; 1212-workflow management submodule; 1213-report management submodule;
[0023] 1221-Interface script; 1222-Simulation software;
[0024] 101-Cloud Platform;
[0025] 210-Get the product model input by the user;
[0026] 220 —Execute a preset workflow on the product model to perform simulation processing on the product model, wherein the preset workflow includes at least one preset task, and each preset task in the at least one preset task is used to execute a processing step in the simulation processing;
[0027] 230-output the simulation results of the product model to the user;
[0028] 310 - obtaining software information input by a user, where the software information is used to indicate a target processing software in at least one first processing software;
[0029] 320-selecting a target processing software from at least one first processing software;
[0030] 330 - calling the target processing software to execute a first preset task on the product model to perform a first processing on the product model;
[0031] 400 - First preset task; 410 - Input parameters; 420 - Configuration parameters; 430 - Output parameters; 440 - Software candidate list; 450 - Interface script list;
[0032] 500-preset workflow; 510, 520, 530, 540-preset tasks;
[0033] 610 —presenting an input interface of the product model to the user;
[0034] 620-Obtain the product model entered by the user in the input interface;
[0035] 630-Execute the preset workflow corresponding to the input interface on the product model to simulate the product model;
[0036] 640 - Performing visualization and / or report processing on the initial simulation results obtained by the simulation processing of the product model through the preset workflow to obtain a visualized simulation result and / or a simulation report;
[0037] 650-outputting the visual simulation results and / or simulation reports of the product model to the user;
[0038] 700 - simulation device for product model; 710 - memory; 720 - processor; 730 - communication interface; 740 - bus. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present application are described below in conjunction with the accompanying drawings. It should be understood that the specific examples in this specification are only intended to help those skilled in the art better understand the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application.
[0040] It should be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0041] It should also be understood that the various implementation methods described in this specification can be implemented individually or in combination, and the embodiments of the present application are not limited to this.
[0042] Unless otherwise specified, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art in the art of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application.
[0043] The present application specifically relates to the simulation processing of computer models. The simulation in this application may refer to: using a model to reproduce the essential processes occurring in an actual system, and studying an existing or designed system through experiments on the system model. Among them, the models include various physical and mathematical, static and dynamic, continuous and discrete models. The systems referred to are also very broad, including electrical, mechanical, chemical, hydraulic, thermal and other systems, as well as social, economic, ecological, management and other systems. When the system under study is expensive, the experiment is dangerous or it takes a long time to understand the consequences of changes in system parameters, simulation is a particularly effective research method.
[0044] For complex industrial products, product simulation plays a particularly important role in product design. However, during the simulation process, the construction, analysis, and optimization of product models typically rely on experts using specialized software, such as specialized Product Lifecycle Management (PLM) software components. Furthermore, different functional model processing requires different software components within the PLM software components. Therefore, to perform reliable and comprehensive simulations of product models, companies not only need to hire professional experts but also purchase software licenses for different software and expensive hardware equipment. These factors have limited the promotion and use of industrial product simulation in more companies, especially small and medium-sized enterprises.
[0045] In view of this, the present application provides a new simulation method and a simulation system (or also called a simulation platform) applicable to the simulation method, which can provide convenient simulation services for product manufacturers, especially product manufacturers of small and medium-sized enterprises, and reduce the barriers for small and medium-sized enterprises to conduct simulation in industrial product design.
[0046] Fig. 1 is a schematic diagram of the architecture of a simulation system 100 provided in an embodiment of the present application. Specifically, the simulation system 100 may be a software system running on a computer.
[0047] As shown in FIG1 , the simulation system 100 is composed of a user-oriented interface module 110 running on the front end and a service module 120 running on the back end.
[0048] The interface module 110 may include at least one application 111. Each application 111 may receive a product model input by a user and invoke the backend service module 120 to perform simulation processing on the input product model. Furthermore, each application 111 may focus on a specific type of simulation processing, and different applications 111 may perform different types of simulation processing.
[0049] As an example, the interface module 110 may include two application programs 111 , wherein one application program 111 may focus on simulation analysis of a model to obtain simulation analysis results, while the other application program 111 may focus on simulation optimization of the model to obtain optimized model parameters.
[0050] It is understandable that the number of applications 111 in the interface module 110 and the type of simulation processing that each application 111 focuses on can be expanded and designed according to actual needs, and the embodiments of the present application do not specifically limit this.
[0051] As shown in Figure 1, the service module 120 may include a management service submodule 121 and a simulation engine submodule 122. Specifically, the management service submodule 121 may include a model management submodule 1211, a workflow management submodule 1212, and a report management submodule 1213. The simulation engine submodule 122 may include multiple simulation software programs 1222 and interface scripts 1221 corresponding to the multiple simulation software programs 1222. By calling the interface scripts 1221, the corresponding simulation software programs 1222 may be called to perform the corresponding simulation processing.
[0052] Specifically, within the management service submodule 121, the workflow management submodule 1212 is used to manage the workflows designed for the applications 111 in the interface module 110 on the backend. As described above, different applications 111 can perform different types of simulation processing, that is, on the backend, different applications 111 correspond to different workflows. The workflow management submodule 1212 can be used to manage and execute these different workflows. Specifically, the workflow management submodule 1212 can call different interface scripts 1221 to call different simulation software 1222 to execute different workflows. By executing these different workflows, different simulation processes can be performed.
[0053] Specifically, the plurality of simulation software 1222 may include various types of software in the field of simulation, such as Computer Aided Design (CAD) software, Computer Aided Engineering (CAE) software, Computational Fluid Dynamics (CFD) software, etc. The plurality of simulation software 1222 may be used to implement various simulation functions of the simulation system 100 in the embodiment of the present application.
[0054] In addition, in the management service submodule 121, the model management submodule 1211 is used to manage the product models and related data input by the user through the interface module 110, as well as the intermediate models and related data generated during the execution of the workflow.
[0055] Furthermore, in the management service submodule 121 , the report management submodule 1213 is used to further manage and analyze the processing results obtained by the workflow management submodule 1212 to output optimized simulation report results. The optimized simulation report results can be presented to the user through the interface 110 .
[0056] Optionally, the simulation system 100 shown in FIG. 1 may be run in various hardware scenarios such as a local terminal, a local server, or a cloud server to support the operation of the interface module 110 and the service module 120 therein.
[0057] As an example, when the simulation system 100 is running on a cloud server, the front-end interface of the simulation system 100 can be a webpage, through which users can operate the simulation system 100 on the cloud server. Specifically, the simulation system 100 can be built on the cloud platform 101 shown in Figure 1. The cloud platform 101 refers to a typical cloud computing infrastructure and services provided by cloud vendors. The architecture of the cloud platform 101 supports a user-friendly workflow for automated simulation.
[0058] Under the architecture of the simulation system 100 shown in FIG1 , the main process of the simulation method of the product model provided in the embodiment of the present application is introduced below in conjunction with FIG2 .
[0059] Fig. 2 shows a schematic flow chart of a product model simulation method 200 provided in an embodiment of the present application. The simulation method 200 can be executed by the simulation system 100 in Fig. 1 .
[0060] 210, obtaining the product model input by the user.
[0061] 220. Execute a preset workflow on the product model to perform simulation processing on the product model, wherein the preset workflow includes at least one preset task, and each preset task in the at least one preset task is used to execute a processing step in the simulation processing.
[0062] 230, outputting the simulation result of the product model to the user.
[0063] Specifically, in step 210, the simulation system 100 may obtain a product model input by the user through its interface module 110. The product model includes, but is not limited to, a computer-aided design (CAD) model, typically in a .jt, .stl, .prt, or .obj format. The product corresponding to the product model may belong to any product field. For example, the product may be an automotive part in the automotive field, or a mechanical part in the home appliance field, or an electrical part in the electronic terminal field. The embodiments of the present application do not limit the specific product type of the product model.
[0064] In step 220 , the simulation system 100 may execute a preset workflow on the product model through its service module 120 running on the backend to simulate the product model.
[0065] Specifically, the preset workflow may include at least one preset task, each of which is used to perform a processing step in the simulation process. In the embodiment of the present application, each preset task is a task pre-designed and defined by an expert. The task can be a relatively common task in the simulation field, thereby being able to perform relatively common processing for different types of product models.
[0066] Alternatively, the simulation system 100 may include multiple pre-set tasks pre-designed by experts, and the designer may select at least one pre-set task from the multiple pre-set tasks to form a preset workflow. Alternatively, the preset workflow may be customized by the user by selecting at least one pre-set task from the multiple pre-set tasks to form a preset workflow.
[0067] By setting the preset workflow in the simulation system 100, the simulation system 100 and the simulation method 200 can be widely applied to various products in different fields. In addition, the preset workflow can perform unified simulation processing on multiple input product models, thereby ensuring consistency and comparability between simulations.
[0068] It can be understood that when the preset workflow includes multiple preset tasks, the multiple preset tasks can be connected in series with each other. In two connected preset tasks, the output of the previous preset task serves as the input of the next preset task, thereby performing multiple processing steps on the product model in sequence to output the final simulation processing result.
[0069] Optionally, the simulation system 100 provided in the embodiment of the present application may include a workflow database, in which the connection relationship between multiple preset tasks in the preset workflow and the relevant input, output and configuration parameters of each preset task can be recorded, so that the simulation system 100 can effectively manage and use the multiple preset tasks in the preset workflow.
[0070] In step 230, the simulation system 100 may output the simulation results of the product model to the user through its interface module 110. Optionally, after executing a preset workflow on the product model in step 220 to simulate the product model, a preliminary simulation result may be obtained. The simulation system 100 may directly output the preliminary simulation result to the user. Alternatively, the simulation system 100 may further optimize the output simulation result before outputting it to the user, thereby improving the user experience.
[0071] Through the technical solution of the embodiment of the present application, a simulation method is provided that can automatically use a preset workflow to perform simulation processing on a product model. This technical solution does not require users to have very professional simulation knowledge, that is, non-expert users can also simulate product models, thereby providing convenient simulation services for product manufacturers, especially product manufacturers of small and medium-sized enterprises, and reducing the barriers for small and medium-sized enterprises to perform simulation in industrial product design.
[0072] Optionally, in step 210, in addition to obtaining the product model input by the user through interface module 110, simulation system 100 may also obtain configuration parameters input by the user, which are parameters required to execute at least one preset task in the preset workflow. Executing the preset workflow based on the configuration parameters input by the user can ensure that the simulation results better meet the user's simulation requirements.
[0073] Alternatively, in some alternative implementations, the configuration parameters required for at least one preset task may also be default parameters, that is, the user does not need to input the configuration parameters to the simulation system 100 , and the simulation system 100 can also execute the preset workflow according to the default parameters.
[0074] Optionally, the preset workflow may include: a first preset task, which may be: a geometry parameterization task, a mesh generation task, a model simulation task, or a model optimization task.
[0075] In this case, the simulation system 100 can execute the first preset task in the preset workflow on the product model to perform a first processing on the product model, which is a mesh generation processing, model simulation analysis processing, geometric parameterization processing or model simulation optimization processing corresponding to the first preset task.
[0076] It can be understood that the first preset task can be any task in the preset workflow and is used to execute any step in the simulation process.
[0077] In the case that the first preset task is a geometric parameterization task, the simulation system 100 may perform geometric parameterization processing on the product model input by the user to convert the product model input by the user into a parameterized model.
[0078] In the case where the first preset task is a mesh generation task, the simulation system 100 may perform a mesh generation process on the product model input by the user to generate a mesh file adapted to the product model input by the user.
[0079] When the first preset task is a model simulation analysis task, the simulation system 100 can perform model simulation analysis processing on the product model input by the user to obtain simulation analysis results. For example, the simulation system 100 can perform computational fluid dynamics (CFD) simulation analysis on the product model to obtain CFD simulation results, or the simulation system 100 can also perform computer-aided engineering (CAE) simulation analysis to obtain CAE simulation results.
[0080] In the case where the first preset task is a model simulation optimization task, the simulation system 100 may perform a model simulation optimization process on the product model input by the user to optimize relevant parameters of the product model input by the user.
[0081] Through the technical solution of this embodiment, the first preset task can be a general task in the simulation field. Setting this general task in the preset workflow can meet the user's typical requirements for product model simulation, and the preset workflow can be adapted to product models in more fields, so that the simulation method 200 provided in this application is more universal.
[0082] Specifically, to perform the aforementioned first preset task, the simulation system 100 may include at least one first processing software corresponding to the first preset task. If the first preset task is a general-purpose task, the first processing software may be general-purpose software for performing the general-purpose task. For example, if the first preset task is a model simulation analysis task, the first processing software may be CFD simulation software, CAE software, or other simulation software commonly used in the industry. The at least one first processing software may be the simulation software 1222 running on the backend of the simulation system 100 in FIG. 1 .
[0083] Taking the simulation system 100 executing the first preset task in the preset workflow as an example, FIG3 shows a schematic flowchart of a simulation method 300 for another product model provided in an embodiment of the present application.
[0084] As shown in FIG3 , the simulation method 300 may include the following steps.
[0085] 320 , select a target processing software from the at least one first processing software.
[0086] 330 , calling the target processing software to execute a first preset task on the product model to perform a first processing on the product model.
[0087] Optionally, in step 320, the simulation system 100 may select a target processing software from the at least one first processing software through its service module 120 running on the backend. Furthermore, in step 330, the management service submodule 121 may call the target processing software to execute a first preset task on the product model to perform a first processing on the product model.
[0088] It can be understood that when the number of the at least one first processing software is 1, the only first processing software is the target processing software.
[0089] When the number of the at least one first process software is greater than 1, the service module 120 may select one of the first process software from the plurality of first process software as the target process software.
[0090] Optionally, in some embodiments, the service module 120 may select a first processing software with the best performance and / or the fastest processing speed as the target processing software based on factors such as the processing performance and processing speed of the multiple first processing software for the model.
[0091] Alternatively, in some other embodiments, the service module 120 may further select the first processing software with the lowest price from the plurality of first processing software as the target processing software according to the charging standards of the plurality of first processing software.
[0092] Alternatively, in some other embodiments, the service module 120 may select a first processing software preferred by the user from a plurality of first processing software as the target processing software based on relevant information input by the user.
[0093] In this case, as shown in FIG3 , before step 320 , the simulation method 300 may further include the following steps.
[0094] 310: Acquire software information input by a user, where the software information is used to indicate a target processing software in at least one first processing software.
[0095] As an example, the simulation system 100 may present at least one option corresponding to at least one first process software to the user through its interface module 110 , so that the user selects a target option corresponding to the target process software from the at least one option.
[0096] The interface module 110 may obtain the target option information input by the user, where the target option information represents software information indicating the target processing software. The service module 120 may select the target processing software from at least one first processing software according to the software information.
[0097] Through the technical solutions of the embodiments of the present application, the simulation system 100 can provide at least one first processing software for a first preset task, so that the first preset task can be flexibly executed through the at least one first processing software. In the case of multiple first processing software, the simulation system 100 can select a preferred target processing software from the multiple first processing software based on user input or factors such as the performance or price of the multiple first processing software, thereby improving the user's experience with the simulation system 100 or improving the overall performance of the simulation system 100.
[0098] Optionally, the interface module 110 may include an interface script corresponding to each of the at least one first processing software, thereby presenting a corresponding window interface to the user. After the user selects a target processing software from the at least one first processing software, the interface module 110 may present the user with a window interface corresponding to the target processing software. The window interface may include relevant configuration parameter options required for the target processing software to perform the first preset task, and the user may enter relevant configuration parameters into the interface module 110 through the relevant parameter options.
[0099] Optionally, the first preset task may correspond to at least one interface script, which corresponds one-to-one to the at least one first processing software. During the execution of the first preset task, the service module 120 may call a target interface script corresponding to the target processing software in the at least one interface script, and then call the target processing software based on the target interface script, so that the target processing software executes the first preset task on the product model to perform the first processing on the product model. Optionally, the at least one interface script may be the interface script 1221 shown in Figure 1.
[0100] Specifically, as shown in FIG1 , service module 120 may include a management service submodule 121 and a simulation engine submodule 122. Simulation engine submodule 122 includes at least one interface script corresponding to at least one first preset task. During the execution of the first preset task, management service submodule 121 may invoke a target interface script corresponding to the target processing software in simulation engine submodule 122, and then invoke the target processing software according to the target interface script.
[0101] In some embodiments, the application programming interface (API) of each first processing software can be recorded as a macro and saved as an interface script so that the first preset task can be repeatedly executed. In other embodiments, the interface script can also be automatically generated and adjusted based on the task information of the first preset task, the software information and configuration parameters of the first processing software.
[0102] Through the technical solution of the embodiment of the present application, at least one interface script corresponding to at least one first processing software is designed in the simulation system 100, so as to facilitate the calling and management of the at least one first processing software, thereby improving the overall simulation processing performance of the simulation system 100 and the simulation method 200.
[0103] Optionally, the interface script may receive a product model input by a user. When the interface script calls the first processing software, the product model input by the user is first sent to the interface script and then transmitted to the first processing software.
[0104] Specifically, in the process where the above-mentioned service module 120 calls the target processing software according to the target interface script so that the target processing software executes the first preset task on the product model to perform the first processing on the product model, the service module 120 can call the target processing software according to the target interface script so that the product model is sent to the target processing software through the target interface script, and the target processing software is used to execute the first preset task on the product model to perform the first processing on the product model.
[0105] Optionally, in some embodiments, the target processing software may include multiple processing units, and the target interface script corresponding to the target processing software may specifically correspond to one of the multiple processing units. In this case, the service module 120 may call one of the processing units in the target processing software according to the target interface script, causing the one processing unit to execute the first preset task on the product model to perform the first processing on the product model.
[0106] Specifically, in this embodiment, the target interface script can correspond more specifically to one of the processing units of the target processing software, rather than just to the entire target processing software. As an example, if the target processing software is Simcenter 3D simulation software, the Simcenter 3D simulation software may include multiple solvers, which can be understood as multiple processing units in the Simcenter 3D simulation software. Each of these multiple solvers can have a corresponding interface script, that is, the Simcenter 3D simulation software can correspond to multiple interface scripts. When executing a first preset task, the target interface script corresponding to one of the multiple solvers can be called, so that the one solver is used to execute the first preset task, and the other solvers can be used to execute other tasks in the preset workflow.
[0107] It can be understood that in the technical solution of this embodiment, in addition to presenting at least one option corresponding to at least one first processing software to the user through its interface module 110, the simulation system 100 can also present to the user options corresponding to multiple processing units in the first processing software, so that the user can select the target processing software from the at least one first processing software, and can further select a processing unit from the target processing software.
[0108] Through the technical solution of this embodiment, some processing units in the first processing software can be flexibly called according to user needs, which can not only improve the user experience, but also fully utilize the processing resources in the first processing software to improve the overall performance of the simulation system 100.
[0109] Regarding the above-mentioned first preset task, FIG4 shows a schematic block diagram of a first preset task 400 provided in an embodiment of the present application.
[0110] As shown in Figure 4, the first preset task 400 describes input parameters 410, configuration parameters 420, and output parameters 430 to other tasks. Any first processing software corresponding to the first preset task 400 can perform a first processing on the input parameters 410 according to the configuration parameters 420 to obtain output parameters 430.
[0111] Furthermore, the first preset task 400 also describes a software candidate list 440, which may include software information indicating at least one first processing software. Corresponding to the software candidate list 440, the first preset task 400 also describes an interface script list 450, which may include script information indicating at least one interface script corresponding to the at least one first processing software. For example, the script information may be a pointer to the interface script in the simulation engine submodule 122.
[0112] The various information in the first preset task 400 can be stored in the model management submodule 1211 shown in Figure 1. Specifically, the model management submodule 1211 may include a workflow database, and the various information in the first preset task 400 can be stored in the workflow database, so that the workflow management submodule 1212 can obtain relevant information from the workflow database and execute the first preset task 400.
[0113] In addition, the input model and output model of the first preset task 400 may also be stored in the model management submodule 1211. Specifically, the model management submodule 1211 may also include a file system, and the input model and output model of the first preset task 400 may be stored in the file system, so that the workflow management submodule 1212 can obtain the input model from the file system and execute the first preset task 400, and can also continue to obtain the output model and execute subsequent tasks after the first preset task 400.
[0114] Specifically, the format of the output model of the first preset task 400 depends on the target processing software that executes the first preset task 400. The format of the output model of the first preset task 400 can be the default output format of the target processing software or a user-specified output format.
[0115] The first preset task in the preset workflow is described above with reference to Figures 3 and 4 . It is understood that each preset task in the preset workflow can be similar to the first preset task, corresponding to at least one processing software and at least one interface script. During the execution of each preset task, the corresponding target interface script and target processing software can be invoked to perform a processing step on the product model.
[0116] Optionally, in some embodiments, the preset workflow may include multiple tasks among a mesh generation task, a model simulation analysis task, a geometry parameterization task, and a model simulation optimization task. The following describes each of the mesh generation task, the model simulation analysis task, the geometry parameterization task, and the model simulation optimization task in detail.
[0117] (1) Grid generation task
[0118] The mesh generation task reads the geometry file and configuration parameters of the product model to export the generated mesh.
[0119] The configuration parameters may include the mesh type (eg, structured mesh or unstructured mesh, surface mesh or volume mesh, etc.) and parameters controlling the mesh quality (eg, cell size, minimum volume, etc.).
[0120] The mesh generation task can be performed using a variety of software, such as Gambit, Hypermesh, and ICEM CFD, etc. That is, the software candidate list for the mesh generation task can include the above-mentioned software.
[0121] (2) Model simulation analysis task
[0122] The model simulation analysis task reads the input files (such as mesh files, boundary condition files, etc.) and configuration parameters of the product model, and exports the simulation results of the product model.
[0123] Among them, the configuration parameters may include the type of simulation task (such as structural simulation, CFD simulation, multidisciplinary simulation, etc.), the applied algorithm and / or model (such as the type of turbulence model, etc.), and the parameters controlling the simulation process (such as the maximum number of iterations, convergence criteria, etc.).
[0124] The model simulation analysis task can be performed using a variety of software, such as STAR-CCM+, Simcenter3D, and Openfoam, etc. That is, the software candidate list for the model simulation analysis task can include the above-mentioned software.
[0125] (3) Geometric parameterization task
[0126] In the case that the product model input by the user is a non-parametric model, the geometric parameterization task can read the non-parametric model and configuration parameters to convert the non-parametric model into a parametric model.
[0127] The configuration parameters include parameterization methods, parameterization templates, and parameters for controlling the parameterization process (such as parameterization target areas, etc.).
[0128] The geometric parameterization task can be performed using a variety of software, such as NX, AutoCAD, and OpenCAD, etc. That is, the software candidate list for the geometric parameterization task can include the above-mentioned various software.
[0129] (4) Model simulation optimization task
[0130] The model simulation optimization task reads the model to be optimized and the configuration parameters to obtain the optimized design parameters. During the optimization process, the model simulation task can be executed multiple times with different input variables.
[0131] The configuration parameters include the definition of the optimization problem (e.g., optimization objective, constraints, optimization variables and their design space, etc.) and the parameters that control the optimization process (e.g., maximum number of iterations, population size, and convergence criterion, etc.).
[0132] Model simulation optimization tasks can be performed using a variety of software, such as HEEDS and Datoka. Alternatively, user-developed algorithms and / or software can also be used to complete the model simulation optimization task. That is, the software candidate list for the model simulation optimization task can include the aforementioned software as well as user-developed algorithms and / or software.
[0133] It should be noted that, in addition to the four preset tasks described above, the simulation system 100 can also design more types of preset general tasks, such as geometry generation task, geometry simplification task, simulation model calibration task, etc. These various types of preset tasks can be combined to form more different preset workflows, thereby adapting to more simulation scenarios and user needs.
[0134] Optionally, in some embodiments, if the product model is a non-parametric model, at least one preset task in the preset workflow may include a geometric parameterization task and a model simulation optimization task. The simulation system 100 may perform the geometric parameterization task on the product model to convert it into a parametric model, and then perform the model simulation optimization task on the parametric model to simulate and optimize the parameters of the parametric model.
[0135] Through the technical solution of this implementation, it is possible to perform simulation optimization on a non-parametric product model, thereby obtaining optimized product model parameters and meeting the user's simulation needs for parameter optimization.
[0136] Optionally, when the simulation system 100 performs a geometric parameterization task on the product model to convert the product model into a parametric model, the simulation system 100 may identify the product model's parameters and perform intelligent analysis on the product model's parameters to obtain the parametric model. Alternatively, the simulation system 100 may identify the product model's parameters and map the product model's parameters to a predefined parametric template to obtain the parametric model.
[0137] Specifically, in this embodiment, if the simulation system 100 has a predefined parameterized template, after identifying the parameters of the product model, the simulation system 100 can convert the parameters into the format of the predefined parameterized template, thereby obtaining a parameterized model of the product model.
[0138] Alternatively, the simulation system 100 may include intelligent tools, such as an intelligent parameter recommendation system based on artificial intelligence (AI). After identifying the parameters of the product model, the simulation system 100 can use the intelligent tool to infer the parameters and determine the relationships between the parameters, thereby obtaining a parameterized model of the product model. During this process, the user can further verify the accuracy of the inferred relationships and can add customized parameter relationships to the intelligent tool.
[0139] In other embodiments, at least one preset task in the preset workflow may include a mesh generation task and a model simulation analysis task. After the simulation system 100 performs the mesh generation task on the product model to generate a mesh file for the product model, it then performs the model simulation analysis task on the product model based on the mesh file to perform simulation analysis on the product model.
[0140] Through the technical solution of this embodiment, it is possible to perform simulation analysis on the product model, and then obtain the simulation analysis results of the product model, thereby meeting the user's simulation needs for model simulation analysis.
[0141] In addition to the preset workflows in the above two embodiments, as an example, Figure 5 shows a schematic block diagram of another preset workflow 500 provided in an embodiment of the present application. The preset workflow 500 can be used for thermal simulation of industrial products.
[0142] As shown in FIG5 , the preset workflow 500 may include four preset tasks 510 , 520 , 530 , and 540 , wherein the preset task 510 is a geometry generation task, the preset task 520 is a geometry merging task, the preset task 530 is a CFD mesh generation task, and the preset task 540 is a CFD model simulation analysis task.
[0143] Specifically, in the preset workflow 500, the input for the preset task 510 may be a user-provided CAD model in Hypermesh format and related parameters. This Hypermesh CAD model may also be referred to as a Hypermesh model. The simulation system 100 may also contain an expert-generated original Catia CAD model for a key component in the complete model. This Catia CAD model may also be referred to as a Catia model. During the execution of the preset task 510, the original Catia model may be updated based on the user-entered parameters to generate a new Catia model.
[0144] The input of the preset task 520 is the new Catia model obtained by the preset task 510. During the execution of the preset task 520, the new Catia model can be merged into the original Hypermesh model input by the user, so the original Hypermesh model will also be updated to form a new Hypermesh model.
[0145] The input of the preset task 530 is the new Hypermesh model obtained by the preset task 520. During the execution of the preset task 530, a CFD mesh can be generated for the Hypermesh model. The model with the CFD mesh can be called a CFD model.
[0146] Preset Task 540 reads the fixed-format CFD model and configuration parameters from Preset Task 530 and generates a CFD simulation results file in a predefined format. This file is used to generate simulation reports. Preset Task 540 can be applied to a variety of CFD software (such as STAR-CCM+, OpenFOAM, Fluent, etc.), and the software selection does not change the interface between tasks.
[0147] Optionally, in addition to generating a new Catia model based on user input, preset task 510 can also generate a new NX model based on user input. During Catia model generation, simulation system 100 can invoke an interface script corresponding to the Catia model software, causing the Catia model software to generate a Catia model. Similarly, during NX model generation, simulation system 100 can invoke an interface script corresponding to the NX model software, causing the NX model software to generate an NX model. Of course, in extended implementations, preset task 510 can also support generating models in a wider range of formats.
[0148] The above text, in combination with Figures 3 to 5, introduces the preset workflow running on the back end of the simulation system 100 in an embodiment of the present application and the related methods for executing the preset workflow. Below, in combination with Figure 6, the interface module running on the front end of the simulation system 100 in an embodiment of the present application and the related methods are explained.
[0149] FIG6 shows a schematic flowchart of another product model simulation method 600 provided in an embodiment of the present application.
[0150] As shown in FIG6 , the simulation method 600 may include the following steps.
[0151] 610 , presenting an input interface of the product model to the user.
[0152] 620 , obtaining the product model input by the user in the input interface.
[0153] 630 , executing a preset workflow corresponding to the input interface on the product model to perform simulation processing on the product model.
[0154] Optionally, in step 610 , the input interface may be the application 111 in the embodiment shown in FIG. 1 above.
[0155] Optionally, the application 111 may be displayed on the front-end interface of the simulation system 100. Corresponding to the application 111, the back-end of the simulation system 100 is designed with a preset workflow.
[0156] The user can enter the front-end interface of the simulation system 100 by registering and logging in, thereby accessing the application 111 on the front-end interface and inputting the product model into the application 111 .
[0157] Specifically, the front-end interface of the simulation system 100 can be designed based on actual needs. For example, when a user logs in to the front-end interface for the first time, the default view is the homepage. This homepage may display the applications used to execute simulation processing, the user's token balance, and other information. For registered users, the homepage may also display the user's previously selected applications and their historical working status.
[0158] After a user accesses application 111, application 111 may also have its corresponding operation interface. This interface may include an input window for inputting a product model, facilitating user input of the product model. Furthermore, application 111's operation interface may be designed specifically for each pre-set task in a pre-set workflow, i.e., application 111's operation interface may include an input window for inputting configuration parameters for the pre-set task.
[0159] In step 620 , the service module 120 at the back end of the simulation system 100 may obtain the product model input by the user in the application 111 . Furthermore, the service module 120 may also obtain the configuration parameters of the preset task input by the user in the application 111 .
[0160] Optionally, after the user inputs the product model and configuration parameters into the application 111, the product model and configuration parameters may first be stored in the model management submodule 1211 in the service module 120. During the subsequent simulation process, the workflow management submodule 1212 may obtain the product model and configuration parameters from the model management submodule 1211 to execute a preset workflow on them.
[0161] In step 630 , when the user inputs a command to start simulation processing in the operation interface of the application 111 , the service module 120 may execute a preset workflow corresponding to the application 111 on the product model to perform simulation processing on the product model.
[0162] Optionally, when the user inputs a command to start the simulation processing on the operation interface of the application 111, the operation interface of the application 111 may first display the time and token required for the simulation processing to the user. After the user confirms and inputs a confirmation command to the application 111, the service module 120 executes the preset workflow corresponding to the application 111 on the product model to simulate the product model.
[0163] During the simulation process, the operation interface of the application 111 can present the progress of the simulation process and other relevant information to the user.
[0164] Through the technical solutions of the embodiments of this application, simulation system 100 can present an input interface to the user. This input interface has a corresponding preset workflow on the backend. Simulation system 100 can automatically execute the preset workflow on the product model input through this input interface to simulate the product model. For the user, simulation system 100 can hide the execution process of the preset workflow on the backend through the input interface, thereby providing a good user experience with the technical solutions provided by this application.
[0165] Based on the aforementioned correspondence between one input interface and one preset workflow, the simulation system provided in the embodiment of the present application may include multiple input interfaces. Specifically, the simulation system 100 may include a first input interface and a second input interface, and the preset workflows include: a first preset workflow corresponding to the first input interface, and a second preset workflow corresponding to the second input interface.
[0166] In this case, the simulation system 100 may execute a first preset workflow on the product model input by the user through the first input interface to perform a first simulation process on the product model, and the simulation system 100 may also execute a second preset workflow on the product model input by the user through the second input interface to perform a second simulation process on the product model. The first preset workflow and the second preset workflow may have at least some different preset tasks, and the second simulation process and the first simulation process may be two different processing procedures.
[0167] As an example, the first simulation process may be a simulation analysis process, and the first preset workflow corresponding to the simulation analysis process may include at least the above-mentioned model simulation analysis task. The second simulation process may be a simulation optimization process, and the second preset workflow corresponding to the simulation optimization process may include at least the above-mentioned model simulation optimization task.
[0168] Through the technical solution of the embodiment of the present application, the simulation system 100 can support multiple input interfaces, and the preset workflow corresponding to each input interface focuses on a specific simulation processing. This technical solution can further meet the user's diversified simulation needs on the basis of ensuring the accuracy of the simulation processing to enhance the user's usage experience.
[0169] Optionally, as shown in FIG6 , after step 630 , the simulation method 600 may further include the following steps.
[0170] 640 , performing visualization and / or report processing on the initial simulation results obtained by the simulation processing of the product model according to the preset workflow, to obtain a visualized simulation result and / or a simulation report;
[0171] 650 : Outputting the visual simulation results and / or simulation reports of the product model to the user.
[0172] Specifically, in step 640 , the simulation system 100 may perform visualization and / or report processing on the initial simulation results obtained in step 630 through the report management submodule 1213 in the embodiment shown in FIG. 1 .
[0173] In step 650 , the simulation system 100 may output the visual simulation results and / or simulation reports of the product model to the user through the interface module 110 in the embodiment shown in FIG. 1 .
[0174] Specifically, after the simulation system 100 receives the product model input by the user through the application 111, the simulation system 100 can further output the visual simulation results and / or simulation reports of the product model to the user through the application 111, and the user can download the visual simulation results and / or simulation reports.
[0175] Through the technical solution of this embodiment, the visual simulation results and / or simulation reports of the product model are output to the user, which enables the user to obtain the simulation processing results of the product model more intuitively and conveniently, thereby further improving the user experience.
[0176] Optionally, the above-mentioned simulation report and / or initial simulation result may be stored in the model management submodule 1211 of the simulation system 100 to facilitate subsequent reading and use of the simulation report and / or initial simulation result.
[0177] FIG7 is a schematic diagram of the hardware structure of a product model simulation device provided in an embodiment of the present application. The product model simulation device 700 shown in FIG7 includes a memory 710, a processor 720, a communication interface 730, and a bus 740. The memory 710, the processor 720, and the communication interface 730 are connected to each other via the bus 740.
[0178] The memory 710 may be a read-only memory (ROM), a static storage device, or a random access memory (RAM). The memory 710 may store programs. When the programs stored in the memory 710 are executed by the processor 720, the processor 720 and the communication interface 730 are used to perform the various steps of the product model simulation method according to the embodiment of the present application.
[0179] The processor 720 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the functions required to be performed by the units in the simulation device of the product model of the embodiment of the present application, or to execute the simulation method of the product model of the embodiment of the present application.
[0180] The processor 720 may also be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the product model simulation method of the embodiment of the present application may be completed by hardware integrated logic circuits in the processor 720 or software instructions.
[0181] The processor 720 may also be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The steps of the methods disclosed in the embodiments of the present application may be directly implemented as being executed by a hardware processor, or may be executed using a combination of hardware and software modules in the processor. The software module may be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, or the like.
[0182] The communication interface 730 uses a transceiver device such as, but not limited to, a transceiver to implement communication between the device 700 and other devices or a communication network. For example, a product model can be obtained through the communication interface 730.
[0183] The bus 740 may include a path for transmitting information between the various components of the device 700 (eg, the memory 710 , the processor 720 , and the communication interface 730 ).
[0184] It should be noted that although the above-mentioned device 700 only shows a memory, a processor, and a communication interface, during the specific implementation process, those skilled in the art will understand that the device 700 may also include other components necessary for normal operation. At the same time, according to specific needs, those skilled in the art will understand that the device 700 may also include hardware components that implement other additional functions. In addition, those skilled in the art will understand that the device 700 may also include only the components necessary to implement the embodiments of the present application, and does not necessarily include all the components shown in Figure 7.
[0185] An embodiment of the present application further provides a computer-readable storage medium storing program code for execution by a device, wherein the program code includes instructions for executing the steps in the above-mentioned product model simulation method.
[0186] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0187] The above description is merely a specific implementation of the embodiments of the present application, but the scope of protection of the embodiments of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the embodiments of the present application should be included in the scope of protection of the embodiments of the present application. Therefore, the scope of protection of the embodiments of the present application should be based on the scope of protection of the claims.
Claims
1. A method for simulating a product model, characterized in that: include: Obtain (210) a product model input by a user; Executing (220) a preset workflow on the product model to perform simulation processing on the product model, wherein the preset workflow includes at least one preset task, and each preset task in the at least one preset task is used to perform a processing step in the simulation processing; The simulation result of the product model is output (230) to the user.
2. The simulation method according to claim 1, wherein: The preset workflow includes: a first preset task, which is: a geometry parameterization task, a mesh generation task, a model simulation analysis task, or a model simulation optimization task; The step of executing a preset workflow on the product model to simulate the product model includes: The first preset task in the preset workflow is executed on the product model to perform a first processing on the product model, wherein the first processing is a geometric parameterization processing, a mesh generation processing, a model simulation analysis processing or a model simulation optimization processing corresponding to the first preset task.
3. The simulation method according to claim 2, wherein: The first preset task corresponds to at least one first processing software; The executing the first preset task in the preset workflow on the product model to perform a first process on the product model includes: selecting (320) a target process software from the at least one first process software; The target processing software is called (330) to execute the first preset task on the product model to perform a first processing on the product model.
4. The simulation method according to claim 3, wherein: Before selecting the target processing software from the at least one first processing software, the simulation method further includes: The software information input by the user is acquired (310), wherein the software information is used to indicate the target processing software in the at least one first processing software.
5. The simulation method according to claim 3 or 4, characterized in that: The first preset task corresponds to at least one interface script, and the at least one interface script corresponds one-to-one to the at least one first processing software; The calling of the target processing software to execute the first preset task on the product model to perform a first processing on the product model includes: calling a target interface script corresponding to the target processing software in the at least one interface script; The target processing software is called according to the target interface script, so that the target processing software executes the first preset task on the product model to perform a first processing on the product model.
6. The simulation method according to claim 5, characterized in that: The calling of the target processing software according to the target interface script so that the target processing software executes the first preset task on the product model to perform a first process on the product model includes: The target processing software is called according to the target interface script so that the product model is sent to the target processing software through the target interface script, and the target processing software is used to execute the first preset task on the product model to perform a first processing on the product model.
7. The simulation method according to claim 5, characterized in that: The target processing software includes a plurality of processing units, and the target interface script corresponds to one of the plurality of processing units; The step of calling the target processing software according to the target interface script so that the target processing software executes the first preset task on the product model to perform the first processing on the product model includes: A processing unit in the target processing software is called according to the target interface script, so that the processing unit executes the first preset task on the product model to perform a first processing on the product model.
8. The simulation method according to any one of claims 1 to 7, characterized in that: The product model obtained from the user includes: presenting (610) an input interface of the product model to the user; Acquiring (620) the product model input by the user in the input interface; The executing (630) a preset workflow on the product model to simulate the product model includes: The preset workflow corresponding to the input interface is executed on the product model to perform simulation processing on the product model.
9. The simulation method according to claim 8, characterized in that: The input interface includes: a first input interface and a second input interface, and the preset workflow includes: a first preset workflow corresponding to the first input interface, and a second preset workflow corresponding to the second input interface; The step of executing a preset workflow on the product model to simulate the product model includes: executing the first preset workflow on the product model input by the user through the first input interface to perform a first simulation process on the product model; and executing the second preset workflow on the product model input by the user through the second input interface to perform a second simulation process on the product model; Wherein, at least some of the preset tasks in the first preset workflow and the second preset workflow are different, and the second simulation processing and the first simulation processing are two different processing processes.
10. The simulation method according to any one of claims 1 to 9, wherein the product model is a non-parametric model, and the at least one preset task comprises: Geometric parameterization tasks and model simulation optimization tasks; The step of executing a preset workflow on the product model to simulate the product model includes: performing the geometric parameterization task on the product model to convert the product model into a parameterized model; The model simulation optimization task is performed on the parameterized model to perform simulation optimization on the parameters of the parameterized model.
11. The simulation method according to claim 10, characterized in that: The performing the geometric parameterization task on the product model to convert the product model into a parameterized model includes: Identifying the parameters of the product model and performing intelligent analysis on the parameters of the product model to obtain the parameterized model; or, Parameters of the product model are identified and mapped to a predefined parameterized template to obtain the parameterized model.
12. The simulation method according to any one of claims 1 to 11, characterized in that: The at least one preset task includes: a grid generation task and a model simulation analysis task; The step of executing a preset workflow on the product model to simulate the product model includes: executing the mesh generation task on the product model to generate a mesh file of the product model; The model simulation analysis task is executed on the product model according to the grid file of the product model to perform simulation analysis on the product model.
13. The simulation method according to any one of claims 1 to 12, characterized in that: Outputting the simulation result of the product model to the user includes: Performing visualization and / or report processing (640) on the initial simulation results obtained by the simulation processing of the product model through the preset workflow to obtain a visualized simulation result and / or a simulation report; Output (650) the visual simulation results and / or simulation report of the product model to the user.
14. A simulation device (700) for a product model, characterized in that: include: Memory (710), for storing programs; A processor (720) is configured to execute a program stored in the memory (710); when the program stored in the memory (710) is executed, the processor (720) is configured to execute the product model simulation method according to any one of claims 1 to 13.
15. A computer-readable storage medium, characterized in that The computer-readable medium stores a program code for execution by a device, wherein the program code includes instructions for executing the steps of the product model simulation method according to any one of claims 1 to 13.