A cloud-based simulation method and cloud-based simulation webpage for industrial software
By building a web preprocessing model and motion capture model in the cloud simulation of industrial software, the display and user interaction of visual pending objects is realized, and the problem of lack of effective interaction in the existing technology is solved, the flexibility and accuracy of the simulation is improved, and the user experience is improved.
Patent Information
- Application Number
- CN202410854537.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The existing cloud simulation technology lacks effective interaction in industrial software applications, making it difficult for users to set simulation parameters flexibly, affecting the simulation accuracy and user experience.
By building a web preprocessing model and a motion capture model, the display and user interaction of visual pending objects are realized, allowing users to set different simulation parameters for local features and end faces.
It improves the flexibility and accuracy of cloud simulation, reduces user operation complexity, improves user experience, and promotes the promotion and use of cloud simulation solutions.
Smart Images

Figure CN118656970B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a cloud-based simulation method and a cloud-based simulation webpage for industrial software, and belongs to the technical field of cloud computing simulation. Background Art
[0002] In the field of modern industrial design and engineering analysis, the application of industrial software has become an indispensable part. For example, Ansys, as a leading software widely recognized in the industry, helps engineers predict performance and optimize design in the early stages of product development with its powerful simulation capabilities. However, despite the significant technical advantages of industrial software, the high software licensing fees and the need for high-performance computing resources limit its application in a wider user group. Especially for small and medium-sized enterprises and educational institutions, the initial economic investment and subsequent operation and maintenance costs have become the main obstacles for them to use industrial software.
[0003] With the rapid development of cloud computing technology, it has become feasible and necessary to provide an industrial simulation software service based on a cloud platform. The core advantages of cloud computing are its elastic resource allocation, pay-as-you-go, and high scalability, which provide an ideal solution to the cost and resource problems encountered in the use of traditional industrial software. By deploying industrial software on a cloud platform, users can access simulation services anytime and anywhere, no longer restricted by local hardware configuration, and greatly reduce the threshold for using the software and the total cost of ownership.
[0004] Furthermore, the Chinese patent application (CN112187955A) proposes a method for providing casting mold modeling and simulation cloud computing services based on a SaaS platform, including: receiving a registration request and a login request from a user to log in to the SaaS platform, and allowing the user to log in to the SaaS platform after the review is passed; after the user successfully logs in to the SaaS platform, the SaaS platform receives the three-dimensional geometric model and process parameters submitted by the user, and then provides SaaS services to the user; after receiving the calculation task submitted by the user, the SaaS platform uploads the three-dimensional geometric model and calculation parameter configuration information to the supercomputing site, calls the supercomputing API to submit the calculation task, obtains the calculation status information in real time, and transmits it back to the user layer for the user to view; the supercomputing API calls the calculation core program to complete the calculation task, including the supercomputing API calling the grid division, flow field calculation, and temperature field calculation core programs to calculate the flow field and temperature field corresponding to the mold design scheme submitted by the user, and generates calculation results and calculation status information in real time during the calculation process.
[0005] When users use the above-mentioned simulation cloud service solution, they first submit the 3D geometric model and process parameters to the SaaS platform. The SaaS platform then uploads the 3D geometric model and calculation parameter configuration information to the supercomputing site for calculation. Although this allows the solution process to be cloud-based and reduces user costs, the entire simulation process lacks effective interaction, which requires users to set all process parameters at one time and cannot set corresponding parameters for local features of the 3D geometric model and different end faces separately, affecting the flexibility and accuracy of cloud-based simulation, resulting in a poor user experience and is not conducive to the promotion and use of cloud-based simulation.
[0006] The information disclosed in this Background Art is only for understanding the background of the inventive concept and therefore it may include information that does not constitute the prior art. Summary of the invention
[0007] In response to the above problem or one of the above problems, an object of the present invention is to provide a cloud simulation method for industrial software, which constructs a Web pre-processing model, performs model analysis on a model file, obtains a visual object to be processed that can be displayed on the Web, and displays the visual object to be processed on the Web, so as to display the simulation object in an intuitive way, which is convenient for users to interact with each other; then, through the motion capture model, the user's pre-processing operation information on the visual object to be processed is obtained, and effective interaction in the cloud simulation process is realized, which is convenient for users to make various settings for the visual object to be processed, and different simulation parameters can be set for each local feature and end face, thereby effectively improving the flexibility and accuracy of the cloud simulation, and users do not need to set all process parameters at one time, which effectively improves the user experience and is conducive to the promotion and use of cloud simulation solutions.
[0008] In response to the above problem or one of the above problems, the second object of the present invention is to provide a cloud-based simulation web page for industrial software. By setting a Web pre-processing module, a motion capture module, a software pre-processing module, a software post-processing module and a Web post-processing module, it is convenient to interact with users and obtain user operation information, thereby significantly improving the efficiency and effect of simulation processing, enabling users to make decisions more accurately and quickly, and optimize design and performance.
[0009] In response to the above problem or one of the above problems, the third object of the present invention is to provide a cloud simulation method and a cloud simulation web page for industrial software, which provides pre- and post-processing capabilities of industrial software in a pure Web manner, which means that users do not need to install any local client software, and can directly perform simulation interaction, parameter setting, execution and result analysis through an Internet browser, which greatly simplifies the simulation process and makes the user experience smoother and more convenient.
[0010] To achieve one of the above purposes, the first technical solution of the present invention is:
[0011] A cloud-based simulation method for industrial software includes the following steps:
[0012] The first step is to use the pre-built Web pre-processing model to perform model analysis on a model file on the Web end, obtain a visual object to be processed that can be displayed on the Web end, and convert the visual object to be processed into pre-processing data;
[0013] In the second step, the pre-built motion capture model is used to obtain the user's pre-processing operation information on the visualized object on the Web side;
[0014] The third step is to convert the pre-processing operation information and pre-processing data into the input files required for industrial software solving through the pre-built software pre-processing model;
[0015] The fourth step is to use the pre-built software post-processing model to obtain the calculation results after the industrial software solves the input file, and convert the calculation results into a visualization file;
[0016] The fifth step is to parse and render the visualization file based on the pre-built Web post-processing model to form a visualization simulation object that can be displayed on the Web.
[0017] After continuous exploration and experimentation, the present invention constructs a Web pre-processing model, performs model analysis on a model file, obtains a visualized object to be processed that can be displayed on the Web side, displays the visualized object to be processed on the Web side, and displays the simulation object in an intuitive way, which is convenient for users to perform interactive operations; then, through the motion capture model, the user's pre-processing operation information on the visualized object to be processed is obtained, and effective interaction in the cloud simulation process is achieved, which is convenient for users to perform various settings on the visualized object to be processed, and different simulation parameters can be set for each local feature and end face, thereby effectively improving the flexibility and accuracy of cloud simulation, and users do not need to set all process parameters at one time, which effectively improves user experience and is conducive to the promotion and use of cloud simulation solutions.
[0018] At the same time, the present invention not only significantly simplifies the complexity of simulation pre-processing, but also makes the engineering simulation process more efficient and user-friendly, further improving the accuracy and reliability of the simulation work.
[0019] Furthermore, the present invention provides the pre- and post-processing capabilities of industrial software in a pure Web manner. This means that users can directly perform simulation interaction, parameter setting, execution, and result analysis through an Internet browser without installing any local client software, which greatly simplifies the simulation process and makes the user experience smoother and more convenient.
[0020] Furthermore, the present invention converts Web pre-processing data and user interaction information into input files recognizable by industrial software by constructing a software pre-processing model. In this way, the present invention not only significantly simplifies the complexity of simulation pre-processing, but also makes the engineering simulation process more efficient and user-friendly, further improving the accuracy and reliability of the simulation work.
[0021] As the preferred technical measures:
[0022] In the first step, the method of using the Web pre-processing model to perform model analysis on a model file is as follows:
[0023] Step 11, obtaining a model file of a simulation object uploaded by a user on a Web terminal, which includes a simulation object for representing the simulation object and model-related parameter information;
[0024] Step 12, converting a model file into a unified geometric data structure through an open source library;
[0025] Step 13, processing the geometric data structure by using web graphics technology Canvas or web graphics technology WebGL to obtain a visual object that can rotate freely;
[0026] Step 14, decomposing the visualized object so that each end face and geometric body can be selected, and obtaining a visualized object to be processed that can be displayed on the Web end, so that the user can observe the simulation object intuitively;
[0027] Step 15, digitally analyzing the visualized object to be processed to obtain pre-processing data.
[0028] As the preferred technical measures:
[0029] In the second step, the method of using the motion capture model to obtain pre-processing operation information is as follows:
[0030] Step 21, displaying the visualized object to be processed on the Web end, displaying the simulation object in an intuitive manner, and facilitating the user to perform more operations;
[0031] Step 22, recording the user's operation information on the visualized object to be processed, the operation information including but not limited to parameter setting and / or model rendering and / or zooming and / or rotating the viewing angle and / or selecting a certain geometric body and / or a certain end face;
[0032] Step 23, splitting and cleaning the operation information to obtain final pre-processing operation information.
[0033] As the preferred technical measures:
[0034] The formats of a certain model file are .stp, .iges, .brep and .xao;
[0035] Or / and, parameter settings include but are not limited to setting boundary conditions and constraints and specifying material properties of the simulation object; the boundary conditions and constraints include a certain geometric body / surface of the simulation object and the added force / pressure, or setting the direction in which a certain component can move freely; material properties refer to setting materials for specific parts of the simulation object.
[0036] Or / and, model rendering, including the following:
[0037] Through web graphics technology Canvas or web graphics technology WebGL, the visualized object to be processed is rendered again, so that users can observe the shape and details of the simulation object more clearly;
[0038] Or / and, zoom and rotate the view, including the following:
[0039] Through some mouse interaction events, the camera perspective / position in WebGL can be changed to achieve the effect of scaling and rotating the simulated object, and the model perspective can be flexibly adjusted to examine and analyze geometric shapes from different angles;
[0040] Or / and, select a certain geometry and / or a certain end face, including the following:
[0041] By highlighting, circling or coloring, the user is prompted that this geometric body or / and face is selected, so as to achieve accurate selection of specific parts of the simulation object;
[0042] Or / and, split and clean the operation information, including the following:
[0043] Merge repeated operations: merge the settings that the user clicks repeatedly into one setting;
[0044] Clean up invalid operations. For materials that the user has set multiple times for a geometry, clear out all settings except the most recent one.
[0045] As the preferred technical measures:
[0046] In the third step, the method of obtaining the input file through the software pre-processing model is as follows:
[0047] Step 31, obtaining pre-processing data and pre-processing operation information;
[0048] Step 32, meshing and refining the pre-processed data to obtain mesh refined data;
[0049] Step 33, based on the pre-processing operation information and according to the mesh refinement data, setting boundary and / or load conditions, including force conditions and / or pressure conditions and / or degree of freedom conditions;
[0050] Set the analysis type, which includes static analysis or / and steady-state thermal analysis or / and buckling analysis or / and display dynamic analysis;
[0051] Setting a solution target, which includes stress solution and / or temperature solution and / or deformation solution and / or fatigue solution;
[0052] Step 34, generating a script based on the mesh refinement data, boundary and / or load conditions, analysis type and solution target;
[0053] Step 35, execute the script through the software interface provided by the industrial software, or directly execute the script to simulate the user's pre-processing operations and generate an input file that can be solved without the user having to perform any industrial software interface operations.
[0054] In this way, the present invention further simplifies the complexity of simulation pre-processing, making the engineering simulation process more efficient and user-friendly.
[0055] After the pre-processing operation is completed, the software pre-processing model is used to generate the input file required by the industrial software solver. The file is in .dat format and is an input file under the industrial software ecosystem. It can be an input file for solving modules such as statics and heat transfer. Then, by connecting to supercomputing resources, the present invention can efficiently submit the solution task to the supercomputing center to ensure fast and efficient calculation execution.
[0056] As the preferred technical measures:
[0057] In the fourth step, the method of obtaining a visualization file by using a software post-processing model is as follows:
[0058] Obtain calculation results from industrial software;
[0059] Through the open source library or processing library of the industrial software, the calculation result file is converted into a .vtk format file, that is, a visualization file, and the vtk format visualization file is transmitted to the Web end.
[0060] The software post-processing model of the present invention, combined with the open source post-processing Python library provided by the industrial software, can accurately convert the post-processing result files of the industrial software into the widely supported VTK visualization file format. This process ensures seamless conversion of data and its high-quality visualization display on the Web.
[0061] As the preferred technical measures:
[0062] In the fifth step, the method for forming a visual simulation object based on the Web post-processing model is as follows:
[0063] Step 51, on the Web side, obtain the visualization file;
[0064] Step 52, using the open source library vtkjs, parsing and rendering the visualization file to obtain a freely rotatable three-dimensional model object and simulation result information;
[0065] Step 53, coupling the three-dimensional model object and the simulation result information to obtain a visual simulation object, and transmitting the visual simulation object to the Web end to achieve intuitive display of the visual simulation object on the Web end.
[0066] Therefore, the present invention provides users with a seamless, efficient, and easy-to-operate simulation process, and the final effect is a three-dimensional visual simulation object that can be freely rotated by users on the Web side, and with information on simulation results, such as stress / displacement results on the model. With the generation and transmission of VTK format files to the Web side, the present invention uses rendering technology to efficiently display these files in the browser, thereby achieving intuitive visualization of simulation model results.
[0067] As the preferred technical measures:
[0068] It also includes a report generation model, which is used to process the visual simulation object to obtain a post-processing report; the post-processing report includes key views, data analysis, comprehensive evaluation and suggestions;
[0069] Generate different post-processing reports for different customized scenario applications;
[0070] When the scenario application is a statics scenario application, the extreme values of stress and displacement and the static screenshot will be stated in the post-processing report;
[0071] When the scenario application is a thermodynamic scenario application, the extreme temperature value and static screenshot will be stated in the post-processing report;
[0072] Different scenario-based applications will have different evaluation criteria. For example, the evaluation criteria for statics often look at whether the maximum stress value exceeds the yield strength of the material; the evaluation criteria for thermodynamics look at whether the extreme temperature exceeds a threshold, which will cause overheating, material damage or other situations, providing simulation engineers with a comprehensive analysis tool.
[0073] By using the report generation model, simulation engineers can not only directly access and analyze simulation results through the web interface, but also conduct more in-depth analysis and evaluation based on the generated post-processing reports.
[0074] To achieve one of the above purposes, the second technical solution of the present invention is:
[0075] A cloud-based simulation method for industrial software, comprising the following contents:
[0076] On the Web side, a model file of a simulation object is obtained, and a model analysis is performed on the model file to obtain pre-processing data and a visualized object to be processed that can be displayed on the Web side; based on the visualized object to be processed, the user's pre-processing operation information on the model file is obtained; the pre-processing operation information and pre-processing data are then converted into the input file required for the industrial software to solve; and the input file is transmitted to the industrial software through the network;
[0077] The industrial software performs supercomputing on the input file, obtains the calculation results, and transmits the calculation results to the Web end;
[0078] On the Web side, the calculation results are processed to obtain a visualization file, which is then parsed and rendered to form a visualization simulation object that can be displayed on the Web side.
[0079] The present invention provides the pre- and post-processing capabilities of industrial software in a pure Web manner, which means that users can directly perform simulation interaction, parameter setting, execution and result analysis through an Internet browser without installing any local client software, greatly simplifying the simulation process, making the engineering simulation process more efficient and user-friendly, and the user experience more smooth and convenient, thereby effectively improving the accuracy and reliability of the simulation work.
[0080] To achieve one of the above purposes, the third technical solution of the present invention is:
[0081] A cloud-based simulation web page for industrial software includes a Web pre-processing module, a motion capture module, a software pre-processing module, a software post-processing module and a Web post-processing module:
[0082] The Web pre-processing module is used to perform module analysis on a module file on the web page to obtain a visual object to be processed that can be displayed on the web page, and convert the visual object to be processed into pre-processing data;
[0083] The motion capture module is used to obtain the user's pre-processing operation information on the visual object to be processed on the web page;
[0084] Software pre-processing module, used to convert pre-processing operation information and pre-processing data into input files required for industrial software solutions;
[0085] The software post-processing module is used to obtain the calculation results of the industrial software after solving the input file and convert the calculation results into a visual file;
[0086] The Web post-processing module is used to parse and render the visualization file to form simulation module information that can be displayed on the web page.
[0087] The present invention provides a Web pre-processing module, a motion capture module, a software pre-processing module, a software post-processing module and a Web post-processing module, so as to facilitate interaction with users and obtain user operation information, thereby significantly improving the efficiency and effect of simulation processing, enabling users to make decisions more accurately and quickly and optimize design and performance.
[0088] To achieve one of the above purposes, the fourth technical solution of the present invention is:
[0089] An electronic device comprising:
[0090] one or more processors;
[0091] A storage device for storing one or more programs;
[0092] When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned cloud simulation method for industrial software.
[0093] To achieve one of the above purposes, the fifth technical solution of the present invention is:
[0094] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned cloud-based simulation method for industrial software.
[0095] Compared with the prior art solutions, the present invention has the following beneficial effects:
[0096] After continuous exploration and experimentation, the present invention constructs a Web pre-processing model, performs model analysis on a model file, obtains a visualized object to be processed that can be displayed on the Web side, displays the visualized object to be processed on the Web side, and displays the simulation object in an intuitive way, which is convenient for users to perform interactive operations; then, through the motion capture model, the user's pre-processing operation information on the visualized object to be processed is obtained, and effective interaction in the cloud simulation process is achieved, which is convenient for users to perform various settings on the visualized object to be processed, and different simulation parameters can be set for each local feature and end face, thereby effectively improving the flexibility and accuracy of cloud simulation, and users do not need to set all process parameters at one time, which effectively improves user experience and is conducive to the promotion and use of cloud simulation solutions.
[0097] Furthermore, the present invention provides pre- and post-processing capabilities of industrial software in a pure Web manner, which means that users can directly perform simulation interaction, parameter setting, execution and result analysis through an Internet browser without installing any local client software, greatly simplifying the simulation process and making the user experience smoother and more convenient.
[0098] Furthermore, the present invention facilitates interaction with users and obtains user operation information by setting up a Web pre-processing module, a motion capture module, a software pre-processing module, a software post-processing module and a Web post-processing module, thereby significantly improving the efficiency and effect of simulation processing, enabling users to make decisions more accurately and quickly and optimize design and performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0099] Figure 1 A simulation operation process of the cloud simulation method of the present invention;
[0100] Figure 2 Another simulation operation process of the cloud-based simulation method of the present invention;
[0101] Figure 3 A flow chart of the pre-treatment method of the present invention;
[0102] Figure 4 A flow chart of the solution method of the present invention;
[0103] Figure 5 A flow chart of the post-processing method of the present invention;
[0104] Figure 6 The present invention is a flow chart for analyzing the heat transfer of a frying pan using the present invention. DETAILED DESCRIPTION
[0105] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0106] On the contrary, the present invention covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present invention as defined by the claims. Further, in order to make the public have a better understanding of the present invention, some specific details are described in detail in the detailed description of the present invention below. Those skilled in the art can fully understand the present invention without the description of these details.
[0107] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention pertains. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "or / and" as used herein includes any and all combinations of one or more of the associated listed items.
[0108] like Figure 1 As shown, the first specific embodiment of the cloud-based simulation method for industrial software of the present invention is:
[0109] A cloud-based simulation method for industrial software includes the following steps:
[0110] The first step is to use the pre-built Web pre-processing model to perform model analysis on a model file on the Web end, obtain a visual object to be processed that can be displayed on the Web end, and convert the visual object to be processed into pre-processing data;
[0111] In the second step, the pre-built motion capture model is used to obtain the user's pre-processing operation information on the visualized object on the Web side;
[0112] The third step is to convert the pre-processing operation information and pre-processing data into the input files required for industrial software solving through the pre-built software pre-processing model;
[0113] The fourth step is to use the pre-built software post-processing model to obtain the calculation results after the industrial software solves the input file, and convert the calculation results into a visualization file;
[0114] The fifth step is to parse and render the visualization file based on the pre-built Web post-processing model to form a visualization simulation object that can be displayed on the Web.
[0115] A second specific embodiment of the cloud-based simulation method for industrial software of the present invention:
[0116] A cloud-based simulation method for industrial software includes the following steps:
[0117] The first step is to use the pre-built Web pre-processing model to perform model analysis on a model file on the Web end to obtain pre-processing data;
[0118] The second step is to convert the pre-processed data into the input files required for industrial software solving through the pre-built software pre-processing model;
[0119] The third step is to use the pre-built software post-processing model to obtain the calculation results after the industrial software solves the input file and convert the calculation results into a visualization file;
[0120] The fourth step is to parse and render the visualization file based on the pre-built Web post-processing model to form a visualization simulation object that can be displayed on the Web.
[0121] A third specific embodiment of the cloud-based simulation method for industrial software of the present invention:
[0122] A cloud-based simulation method for industrial software, comprising the following contents:
[0123] On the Web side, a model file of a simulation object is obtained, and a model analysis is performed on the model file to obtain pre-processing data; the pre-processing data is then converted into an input file required for industrial software to solve; and the input file is then transmitted to the industrial software through the network;
[0124] The industrial software performs supercomputing on the input file, obtains the calculation results, and transmits the calculation results to the Web end;
[0125] On the Web side, the calculation results are processed to obtain a visualization file, which is then parsed and rendered to form a visualization simulation object that can be displayed on the Web side.
[0126] A fourth specific embodiment of the cloud-based simulation method for industrial software of the present invention:
[0127] A cloud-based simulation method for industrial software, comprising the following contents:
[0128] On the Web side, a model file of a simulation object is obtained, and a model analysis is performed on the model file to obtain pre-processing data and a visualized object to be processed that can be displayed on the Web side; based on the visualized object to be processed, the user's pre-processing operation information on the model file is obtained; the pre-processing operation information and pre-processing data are then converted into the input file required for the industrial software to solve; and the input file is transmitted to the industrial software through the network;
[0129] The industrial software performs supercomputing on the input file, obtains the calculation results, and transmits the calculation results to the Web end;
[0130] On the Web side, the calculation results are processed to obtain a visualization file, which is then parsed and rendered to form a visualization simulation object that can be displayed on the Web side.
[0131] The first specific embodiment of applying the cloud simulation method of the present invention on the web page:
[0132] A cloud-based simulation webpage for industrial software, including the following contents:
[0133] Use the pre-built Web pre-processing module to perform module analysis on a module file to obtain pre-processing data;
[0134] Through the pre-built software pre-processing module, the pre-processing data is converted into the input file required for industrial software solution; and the input file is transmitted to the industrial software for solution calculation;
[0135] Use pre-built software post-processing modules to obtain the calculation results of industrial software and convert them into visualization files;
[0136] Based on the pre-built Web post-processing module, the visualization file is parsed and rendered to form simulation module information that can be displayed on the web page.
[0137] A second specific embodiment of applying the cloud-based simulation method of the present invention on a web page:
[0138] A cloud-based simulation web page for industrial software includes a Web pre-processing module, a motion capture module, a software pre-processing module, a software post-processing module and a Web post-processing module:
[0139] The Web pre-processing module is used to perform module analysis on a module file on the web page to obtain a visual object to be processed that can be displayed on the web page, and convert the visual object to be processed into pre-processing data;
[0140] The motion capture module is used to obtain the user's pre-processing operation information on the visual object to be processed on the web page;
[0141] Software pre-processing module, used to convert pre-processing operation information and pre-processing data into input files required for industrial software solutions;
[0142] The software post-processing module is used to obtain the calculation results of the industrial software after solving the input file and convert the calculation results into a visual file;
[0143] The Web post-processing module is used to parse and render the visualization file to form simulation module information that can be displayed on the web page.
[0144] The first specific embodiment of applying the cloud simulation method of the present invention to Ansys software:
[0145] The cloud-based simulation method for industrial software of the present invention is applied to Ansys software to form a method based on Ansys industrial cloud-based simulation software, which includes the following steps:
[0146] The first step is to use the pre-built Web pre-processing model to perform model analysis on a model file to obtain pre-processing data;
[0147] The second step is to convert the pre-processing data into the input file required by the Ansys solver through the pre-built Ansys pre-processing model;
[0148] The third step is to use the pre-built Ansys post-processing model to obtain the calculation results after the Ansys solver processes the input file, and convert the calculation results into a standard visualization file;
[0149] The fourth step is to parse and render the visualization file based on the pre-built Web post-processing model to form a visualization simulation object that can be displayed on the Web.
[0150] The present invention provides Ansys-like pre- and post-processing capabilities in a pure Web manner. This means that users can directly perform simulation settings, execution, and result analysis through an Internet browser without installing any local client software, greatly simplifying the simulation process and making the user experience smoother and more convenient, thereby effectively solving the problems existing in traditional Ansys software applications and broadening its application scope in various industries, especially providing powerful engineering simulation capabilities for small and medium-sized enterprises and educational institutions with relatively limited resources.
[0151] like Figure 2 As shown, the second specific embodiment of applying the cloud simulation method of the present invention to Ansys software:
[0152] A cloud-based simulation method for industrial software is a method based on Ansys industrial cloud-based simulation software, which allows users to fully utilize Ansys software to perform industrial simulation tasks through a web-based interface, specifically including the following contents:
[0153] The user first uses the present invention to perform the pre-processing steps of the simulation on the Web interface. At this time, the user needs to upload the geometric model file (usually in the format of .stp.iges.brep.xao, etc.), which includes but is not limited to setting boundary conditions and constraints and specifying key parameters such as material properties of the simulated object. The boundary conditions and constraints, for example, add some setting conditions such as force / pressure for a certain geometric body / face of the user model, or set some simulation physical properties such as the direction in which a certain component can move freely. Material properties generally refer to setting materials for specific parts of the model, such as setting different materials such as structural steel / aluminum alloy for the seat / armrest of the chair. The present invention integrates many materials of national standards.
[0154] After the pre-processing operation is completed, the present invention will execute the process of converting the Web pre-processing data into a pre-processing format recognizable by Ansys. Specifically, the process is to convert Ansys's .dat format to generate the input file required by the Ansys APDL solver. It is an input file under the Ansys ecosystem and an input file for solving modules such as statics and heat transfer. Next, by connecting to supercomputing resources, the present invention can efficiently submit the solution task to the supercomputing center to ensure fast and efficient calculation execution.
[0155] After the calculation is completed, the present invention will use the post-processing function of Ansys to convert the calculation results into a standard, visual file format. Currently, it is through an open source library of Ansys, ansys-mapdl-reader, to convert the above result files (such as files in .rst.rth format) into files in .vtk format. This format is a more common post-processing file format in the industry and has good ecological support. Then, the present invention parses the general visualization file. Specifically, the parsing process is to parse and render the results to the Web end for files in vtk format using the vtkjs open source library, and finally realize the intuitive display of the results on the Web end, providing users with a seamless, efficient, and easy-to-operate simulation process. The final effect is that the Web end can display a three-dimensional visual simulation object that the user can freely rotate, and it carries information about the simulation results, such as the stress / displacement results on the model.
[0156] like Figure 3 As shown, a specific embodiment of the Web pre-processing of the present invention is:
[0157] In this embodiment, a highly innovative pre-processing process is described in detail. The present invention provides a powerful Web-side interface that enables users to directly process various common geometry file formats, such as IGES, STEP, BREP, and XAO, which are all open source geometry file formats. The present invention uses some open source libraries, such as OpenRadioss, to convert these geometry files of different formats into a unified data structure for subsequent processing. These formats are widely used in computer-aided design and simulation software. Through this interface, users can perform a series of pre-processing operations, including but not limited to:
[0158] Rendering geometric models: Displaying the model in an intuitive way so that users can clearly observe the details of the model. That is, through Canvas and WebGL technology, the unified geometric file data structure of the present invention is displayed on the Web end.
[0159] Zoom and rotate the view: flexibly adjust the model's view to examine and analyze geometric shapes from different angles. That is, through some mouse interaction events, change the camera's view / position in WebGL to achieve the effect of model zooming and rotating. For example, holding down the left mouse button and dragging can change the camera's view position, thereby changing the rendered model's view. For example, holding down the right mouse button and dragging can change the camera's placement, thereby changing the rendered model's position.
[0160] Select specific geometry or faces: Accurately select specific parts of the model for further operation or analysis. Some interactive events are implemented, such as left-clicking a geometry / face of a model, which will highlight the geometry / face and prompt the user that the geometry / face is selected.
[0161] The integration of these functions provides simulation engineers with a powerful toolset, enabling them to efficiently complete the pre-processing of the model on the Web. After completing these operations, the present invention will split and clean the operations. The splitting and cleaning specifically include the following processes, such as the merging of repeated operations. For example, if the user repeatedly clicks on the geometric surface to set the force, it will be merged into one setting at this stage; such as the cleaning of invalid operations, such as repeatedly setting the material for a geometric body, in this stage, all materials except the most recent one will be cleaned up. Convert the pre-processing actions completed by the user on the Web interface into a format recognizable by the Ansys software. This conversion process involves generating a script written using the Ansys ACT Python library. All pre-processing operations will eventually be merged into one script. This script basically includes several stages, which are equivalent to the pre-processing process of the simulation, that is, the script includes:
[0162] Import of geometry files;
[0163] Mesh generation and refinement adjustment;
[0164] Setting of boundary / load conditions (i.e. setting of force / pressure / degree of freedom, etc.);
[0165] Set the analysis type, such as static analysis / steady-state thermal analysis / buckling analysis / display dynamic analysis, etc.;
[0166] Set the solution target, such as stress / temperature / deformation / fatigue, etc.
[0167] The script is executed with the help of the software interface provided by Ansys to simulate the user's pre-processing operations. This process ultimately generates an input file that can be solved without the user having to perform any Ansys interface operations.
[0168] In this way, the present invention not only significantly simplifies the complexity of simulation pre-processing, but also makes the engineering simulation process more efficient and user-friendly, further improving the accuracy and reliability of the simulation work.
[0169] A specific embodiment of Ansys pre-processing of the present invention:
[0170] In the core implementation process of the present invention, the solution stage is also very important, which cleverly connects supercomputing (supercomputing) resources to ensure high efficiency and high precision completion of simulation tasks. Figure 4 As shown, the process starts with converting the model and settings completed by the user in the pre-processing stage into a solution input file. These files accurately encapsulate all the necessary information for the simulation task, including but not limited to boundary conditions, material properties, and meshing. This is also part of the Ansys ecosystem. Ansys ensures that this input file includes all the above information. Customer needs are almost all subsets of these capabilities, and there will be no unencapsulated situation.
[0171] After completing the pre-processing, the present invention uploads these solution input files to the connected supercomputing resources. The smooth execution of this step marks that the simulation task has officially entered the computationally intensive solution stage. With the support of supercomputing resources, Ansys software is used to perform complex simulation operations, and its high-performance computing capabilities ensure that even the most complex simulation tasks can be completed within a reasonable time. The use of supercomputing not only significantly improves the efficiency of solving, but also ensures the accuracy and reliability of the simulation results.
[0172] like Figure 5 As shown, a specific embodiment of Ansys post-processing of the present invention:
[0173] The post-processing function of the present invention not only demonstrates the efficient processing capability of common, visual file formats such as VTK, but also can immediately obtain and convert the solution result file after the simulation solution is completed. By utilizing the open source post-processing Python library provided by Ansys, the present invention can accurately convert the Ansys post-processing result file into the widely supported VTK visual file format. This process ensures seamless conversion of data and its high-quality visual display on the Web side.
[0174] A specific embodiment of Web post-processing of the present invention:
[0175] As VTK format files are generated and transmitted to the Web end, the present invention uses rendering technology to efficiently display these files in the browser, thereby achieving intuitive visualization of the simulation model results. In addition, the present invention further enhances the depth and breadth of post-processing analysis by generating a detailed post-processing report. The report not only presents the key views and data analysis of the model results, but also includes a comprehensive evaluation and suggestions for the results. Different reports will be generated for different customized scenarios. For example, for the scenario application of statics, the report will state the extreme values and static screenshots of stress and displacement, and the report of thermodynamics will state the extreme values and static screenshots of temperature; the evaluation criteria will also be different. For example, the evaluation criteria for statics often look at whether the maximum stress value exceeds the yield strength of the material; the evaluation criteria for thermodynamics will look at whether the extreme value of temperature exceeds a threshold, which will cause overheating material damage or other situations, providing simulation engineers with a comprehensive analysis tool.
[0176] This design enables simulation engineers to not only directly access and analyze simulation results through the Web interface, but also to conduct more in-depth analysis and evaluation based on the generated post-processing reports. Combining these functions, the present invention significantly improves the efficiency and effect of simulation post-processing, enabling engineers to make decisions more accurately and quickly, and optimize design and performance.
[0177] The present invention successfully realizes the full cloudification of the Ansys simulation process, covering the entire process from pre-processing, solving to post-processing. This fully cloud-based solution provides a coherent and seamless workflow, allowing users to complete all simulation steps through the cloud platform. In particular, in the solving stage, the present invention makes full use of supercomputing resources to ensure the efficient execution of complex simulation tasks. Although this process relies on powerful computing resources, the integrated use of the cloud platform provides users with an easy way to access and use these resources without directly investing in expensive hardware. This not only optimizes the allocation and use of resources, but also makes advanced simulation functions more popular. Regardless of the user's hardware conditions, these high-performance computing resources can be accessed and utilized to complete complex simulation tasks.
[0178] The present invention greatly simplifies the user's operation process and usage cost by introducing a pure Web client access method. Users can directly access the simulation platform through a browser to set up, solve and analyze the simulation model without downloading and installing any special software. The Web terminal includes the following functions: rendering geometric models and supporting rendering; zooming and rotating viewing angles; selecting specific geometric bodies or faces. This Web-based access method not only improves the user experience and reduces the simulation preparation time, but also significantly reduces the maintenance and update costs of the software. For users with relatively limited resources such as small and medium-sized enterprises and educational institutions, this innovation provides a low-threshold, high-efficiency simulation solution.
[0179] The present invention provides a solid theoretical basis and practical engineering solutions for the simulation of customized scenarios. Through the cloud platform, users can quickly customize and execute simulation tasks according to specific engineering requirements. This not only includes simulation of specific industrial applications, but also covers specific needs in the fields of education and research. The architecture and workflow design of the present invention make the simulation customization for different scenarios more flexible and efficient, providing strong support for solving complex engineering problems.
[0180] like Figure 6 As shown, a specific embodiment of applying the present invention to perform heat transfer analysis on a pan:
[0181] Based on the method proposed by the present invention, the present invention conducts a detailed heat transfer analysis on a frying pan to verify whether its design meets the expected heat transfer performance. The following are the specific steps of the heat transfer analysis:
[0182] The first step is to upload the pan model, which includes the following:
[0183] The user first uploads the pan model file designed in the computer-aided design (CAD) software to the present invention. The present invention performs model analysis in the background to extract key feature points and related data in the model. The process has the following steps: using the Ansys interface, extracting the relevant data of all geometric bodies / faces of the pan, including the centroid coordinates of the body, the volume of the body, the center coordinates of the face, and the area of the face; these feature data will be saved in a searchable database for subsequent comparison and matching.
[0184] The second step is to select the pan heating source and set the heating power, which includes the following:
[0185] The user defines the heating wire at the bottom of the pan as a heat source and specifies a specific heating power, such as 500 watts, to simulate the heating conditions in actual use.
[0186] The third step is to select the pan heating body and set the heat transfer coefficient, which includes the following:
[0187] The pan body is selected as the heat receiving body, and the user needs to set its heat transfer coefficient, for example 0.0005W / (m 2 ·K), which is crucial to the simulation accuracy.
[0188] The fourth step is to select the materials of the heat source and the heat receiving body of the frying pan, which includes the following:
[0189] To ensure the accuracy of the simulation results, the user sets the material of the heating wire and the pan body to aluminum alloy, which should match the material planned during specific production.
[0190] The fifth step is to submit the simulation calculation and wait for the calculation to be completed, which includes the following:
[0191] After completing all necessary simulation parameter settings, the user submits the simulation task through the Web client of the present invention. The present invention performs Ansys pre-processing in the background, generates a solution input file, generates a .dat format file, and submits it to the supercomputing center for solution. The user then waits for the calculation to complete and obtains the result.
[0192] The sixth step is to observe the heat flow analysis cloud diagram of the heated body, which includes the following contents:
[0193] After the calculation is completed, the present invention converts the result file into a universal VTK format and renders it in the Web client. The corresponding extended description is also provided in the previous text and will not be repeated here. The user can intuitively observe the heat flow cloud map of the heated body of the frying pan to evaluate the heating effect.
[0194] The sixth step is to analyze the heat transfer of the pan, which includes the following:
[0195] Generate a detailed heat transfer analysis report, which not only graphically displays the simulation results, but also compares with relevant national standards. The report includes two core data: one is the maximum temperature, which will affect whether the pan will overheat during use, causing side effects such as food coking, and the other is the temperature distribution map, which will serve as a reminder for pan manufacturers to know which areas need to use high-temperature resistant materials and which areas can use ordinary materials. Through this report, users can clearly judge whether the pan design meets national standards. If there are heated areas that do not meet the standards, the present invention will specifically point them out for subsequent design optimization.
[0196] Through the method provided by the present invention, users can efficiently and accurately complete the heat transfer analysis and evaluation of products such as frying pans, ensure the rationality and compliance of the design, and further optimize product performance.
[0197] An embodiment of a device applying the method of the present invention:
[0198] An electronic device comprising:
[0199] one or more processors;
[0200] A storage device for storing one or more programs;
[0201] When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned cloud simulation method for industrial software.
[0202] A computer medium embodiment using the method of the present invention:
[0203] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned cloud-based simulation method for industrial software.
[0204] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, and computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0205] The present application is described by flowcharts or / and block diagrams of the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each process or / and block in the flowchart or / and block diagram and the combination of the processes or / and blocks in the flowchart or / and block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart or / and block diagram. Figure 1 Process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0206] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce a product including an instruction device, which implements the process Figure 1 Process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0207] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 Process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0208] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A cloud-based simulation method for industrial software, characterized in that: The following steps are involved: The first step is to use the pre-built Web pre-processing model to perform model analysis on a model file on the Web end, obtain a visual object to be processed that can be displayed on the Web end, and convert the visual object to be processed into pre-processing data; In the second step, the pre-built motion capture model is used to obtain the user's pre-processing operation information on the visualized object on the Web side; The third step is to convert the pre-processing operation information and pre-processing data into the input files required for industrial software solving through the pre-built software pre-processing model; The method of obtaining the input file through the software pre-processing model is as follows: Step 31, obtaining pre-processing data and pre-processing operation information; Step 32, meshing and refining the pre-processed data to obtain mesh refined data; Step 33, based on the pre-processing operation information and according to the mesh refinement data, setting boundary and / or load conditions, including force conditions and / or pressure conditions and / or degree of freedom conditions; Set the analysis type, which includes static analysis or / and steady-state thermal analysis or / and buckling analysis or / and display dynamic analysis; Setting a solution target, which includes stress solution and / or temperature solution and / or deformation solution and / or fatigue solution; Step 34, generating a script based on the mesh refinement data, boundary and / or load conditions, analysis type and solution target; Step 35, executing the script through the software interface provided by the industrial software, or directly executing the script to simulate the user's pre-processing operation and generate an input file that can be solved without the user having to perform any industrial software interface operation; The fourth step is to use the pre-built software post-processing model to obtain the calculation results after the industrial software solves the input file, and convert the calculation results into a visualization file; The fifth step is to parse and render the visualization file based on the pre-built Web post-processing model to form a visualization simulation object that can be displayed on the Web.
2. A cloud-based simulation method for industrial software according to claim 1, characterized in that: In the first step, the method of using the Web pre-processing model to perform model analysis on a model file is as follows: Step 11, obtaining a model file of a simulation object uploaded by a user on a Web terminal, which includes a simulation object for representing the simulation object and model-related parameter information; Step 12, converting a model file into a unified geometric data structure through an open source library; Step 13, processing the geometric data structure by using web graphics technology Canvas or web graphics technology WebGL to obtain a visual object that can rotate freely; Step 14, decomposing the visualized object so that each end face and geometric body can be selected, and obtaining a visualized object to be processed that can be displayed on the Web end, so that the user can observe the simulation object intuitively; Step 15, digitally analyzing the visualized object to be processed to obtain pre-processing data.
3. A cloud-based simulation method for industrial software according to claim 2, characterized in that: In the second step, the method of using the motion capture model to obtain pre-processing operation information is as follows: Step 21, displaying the visualized object to be processed on the Web end, and displaying the simulation object in an intuitive manner; Step 22, recording the user's operation information on the visualized object to be processed, the operation information including but not limited to parameter setting and / or model rendering and / or zooming and / or rotating the viewing angle and / or selecting a certain geometric body and / or a certain end face; Step 23, splitting and cleaning the operation information to obtain final pre-processing operation information.
4. A cloud-based simulation method for industrial software according to claim 3, characterized in that: The formats of a certain model file are .stp, .iges, .brep and .xao; or / and, parameter settings include but are not limited to setting boundary conditions and constraints and specifying material properties of the simulation object; boundary conditions and constraints include a certain geometric body / surface of the simulation object and the added force / pressure, or setting the direction in which a certain component can move freely; material properties refer to setting materials for specific parts of the simulation object; Or / and, model rendering, including the following: Through web graphics technology Canvas or web graphics technology WebGL, the visualized object to be processed is rendered again, so that users can observe the shape and details of the simulation object more clearly; Or / and, zoom and rotate the view, including the following: Through some mouse interaction events, the camera perspective / position in WebGL can be changed to achieve the effect of scaling and rotating the simulated object, and the model perspective can be flexibly adjusted to examine and analyze geometric shapes from different angles; Or / and, select a certain geometry and / or a certain end face, including the following: By highlighting, circling or coloring, the user is prompted that this geometric body or / and face is selected, so as to achieve accurate selection of specific parts of the simulation object; Or / and, split and clean the operation information, including the following: Merge repeated operations: merge the settings that the user clicks repeatedly into one setting; Clean up invalid operations. For materials that the user has set multiple times for a geometry, clear out all settings except the most recent one.
5. The cloud-based simulation method for industrial software according to claim 1, characterized in that: In the fourth step, the method of obtaining a visualization file by using a software post-processing model is as follows: Obtain calculation results from industrial software; Through the open source library or processing library of the industrial software, the calculation result file is converted into a .vtk format file, that is, a visualization file, and the vtk format visualization file is transmitted to the Web end.
6. A cloud-based simulation method for industrial software according to claim 1, characterized in that: In the fifth step, the method for forming a visual simulation object based on the Web post-processing model is as follows: Step 51, on the Web side, obtain the visualization file; Step 52, using the open source library vtkjs, parsing and rendering the visualization file to obtain a freely rotatable three-dimensional model object and simulation result information; Step 53, coupling the three-dimensional model object and the simulation result information to obtain a visual simulation object, and transmitting the visual simulation object to the Web end to achieve intuitive display of the visual simulation object on the Web end.
7. The cloud-based simulation method for industrial software according to claim 1, characterized in that: It also includes a report generation model, which is used to process the visual simulation object to obtain a post-processing report; the post-processing report includes key views, data analysis, comprehensive evaluation and suggestions; Generate different post-processing reports for different customized scenario applications; When the scenario application is a statics scenario application, the extreme values of stress and displacement and the static screenshot will be stated in the post-processing report; When the scenario application is a thermodynamic scenario application, the extreme temperature value and static screenshot will be stated in the post-processing report.
8. A cloud-based simulation method for industrial software, characterized in that: Includes the following: On the Web side, a model file of a simulation object is obtained, and a model analysis is performed on the model file to obtain pre-processing data and a visualized object to be processed that can be displayed on the Web side; then, based on the visualized object to be processed, the user's pre-processing operation information on the model file is obtained; Then, the pre-processing operation information and pre-processing data are converted into input files required by the industrial software for solving; and the input files are transmitted to the industrial software through the network; The method to obtain the input file is as follows: Step 31, obtaining pre-processing data and pre-processing operation information; Step 32, meshing and refining the pre-processed data to obtain mesh refined data; Step 33, based on the pre-processing operation information and according to the mesh refinement data, setting boundary and / or load conditions, including force conditions and / or pressure conditions and / or degree of freedom conditions; Set the analysis type, which includes static analysis or / and steady-state thermal analysis or / and buckling analysis or / and display dynamic analysis; Setting a solution target, which includes stress solution and / or temperature solution and / or deformation solution and / or fatigue solution; Step 34, generating a script based on the mesh refinement data, boundary and / or load conditions, analysis type and solution target; Step 35, executing the script through the software interface provided by the industrial software, or directly executing the script to simulate the user's pre-processing operation and generate an input file that can be solved without the user having to perform any industrial software interface operation; The industrial software performs supercomputing on the input file, obtains the calculation results, and transmits the calculation results to the Web end; On the Web side, the calculation results are processed to obtain a visualization file, which is then parsed and rendered to form a visualization simulation object that can be displayed on the Web side.
9. A cloud-based simulation webpage for industrial software, characterized in that: A cloud-based simulation method for industrial software as described in any one of claims 1 to 8 is applied, comprising a Web pre-processing module, a motion capture module, a software pre-processing module, a software post-processing module and a Web post-processing module: The Web pre-processing module is used to perform module analysis on a module file on the web page to obtain a visual object to be processed that can be displayed on the web page, and convert the visual object to be processed into pre-processing data; The motion capture module is used to obtain the user's pre-processing operation information on the visual object to be processed on the web page; Software pre-processing module, used to convert pre-processing operation information and pre-processing data into input files required for industrial software solutions; The software post-processing module is used to obtain the calculation results of the industrial software after solving the input file and convert the calculation results into a visual file; The Web post-processing module is used to parse and render the visualization file to form simulation module information that can be displayed on the web page.
Citation Information
Patent Citations
Casting mold modeling and simulation cloud computing service providing method based on SaaS platform
CN112187955A
Structural mechanical simulation processing method, device and system and equipment
CN113919203A