CN115618653B - Method, server and program product for post-processing of simulation calculation results of CAE software - Google Patents

Method, server and program product for post-processing of simulation calculation results of CAE software Download PDF

Info

Publication number
CN115618653B
CN115618653B CN202211513292.XA CN202211513292A CN115618653B CN 115618653 B CN115618653 B CN 115618653B CN 202211513292 A CN202211513292 A CN 202211513292A CN 115618653 B CN115618653 B CN 115618653B
Authority
CN
China
Prior art keywords
grid
file
conversion format
information
various
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211513292.XA
Other languages
Chinese (zh)
Other versions
CN115618653A (en
Inventor
宋九辉
吴美琳
吴连奎
王长欣
刘韶鹏
康天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yunlu Technology Co Ltd
Original Assignee
Beijing Yunlu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yunlu Technology Co Ltd filed Critical Beijing Yunlu Technology Co Ltd
Priority to CN202211513292.XA priority Critical patent/CN115618653B/en
Publication of CN115618653A publication Critical patent/CN115618653A/en
Application granted granted Critical
Publication of CN115618653B publication Critical patent/CN115618653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application relates to a method, server and program product for post-processing of simulation computation results of CAE software. The method comprises the following steps: acquiring a simulation calculation result of an analysis object obtained by CAE software by using a solver by a server; forming a file with a common conversion format by a server based on a simulation calculation result, wherein the file comprises an organization tree and a resource tree of components as objects, the organization tree defines a point structure, a line structure, a surface structure, a grid line structure, grid structure information, space transformation information and a rendering related structure of each component, and the resource tree defines a field calculation result of a physical field in association with the node information and the grid information of each component; transmitting the file with the common conversion format to the terminal by the server; and analyzing the file with the common conversion format by using an analysis tool by the terminal to obtain an object, drawing and displaying. The unified result can be drawn and viewed at a changeable terminal with lower workload, and loose coupling with CAE software and a display environment is realized.

Description

Method, server and program product for post-processing of simulation calculation results of CAE software
Technical Field
The present application relates to the processing of results of simulation calculations for CAE software, and more particularly, to a method, server and program product for post-processing of results of simulation calculations for CAE software.
Background
Computer Aided Engineering (CAE) is an emerging discipline that is indispensable in the design of new products in large enterprises. The traditional CAE technology refers to analysis calculation and analysis simulation in engineering design, and specifically comprises engineering numerical analysis, structure and process optimization design, strength and service life evaluation, motion/dynamics simulation and verification of the usability and reliability of future engineering/products. Nowadays, with the continuous development of enterprise informatization technology, the CAE software and cad/cam/capp/pdm/erp together have become the dominant technology for supporting the informatization of engineering industry and manufacturing enterprises, play an important role in improving the design quality of engineering/products, reducing the research and development cost and shortening the development cycle, and become the support technology for realizing the innovation of engineering/products.
Although the CAE technology has become mature gradually through the last 50 years of ritualization, for the user enterprises of the CAE technology and the development of CAE software providers, the finite element solver is used to solve to obtain a simulation calculation result, the method still depends on the single engineering environment of the C-side (client side), and generally only supports the post-processing module depending on the current CAE software at the C-side to view. Therefore, the viewing of the simulation calculation result is limited by the C end and the configuration of the CAE software, namely the simulation calculation result cannot be viewed without installing the CAE software, and the requirements of multi-party parallel viewing and collaborative analysis cannot be met.
Disclosure of Invention
The present application is provided to solve the above-mentioned problems occurring in the prior art.
There is a need for a method, a server, and a program product for post-processing of simulation calculation results of CAE software, which can draw and view uniform results at variable terminals (such as a C terminal, a B terminal, and an APP terminal) with a low workload without installing CAE software when obtaining simulation calculation results of analysis objects obtained by various CAE software using a solver, thereby realizing drawing and viewing loose coupling with CAE software and a display environment.
According to a first aspect of the present application, a method for post-processing of simulation computation results of CAE software is provided. The method comprises the following steps: the method comprises the steps that a server obtains simulation calculation results of analysis objects obtained by various CAE software through a solver, wherein the simulation calculation results comprise grid engineering files and calculation data files, and the analysis objects comprise at least one component; formatting, by the server, a conversion format shared by various CAE software based on a grid engineering file and a calculation data file to form a file sharing the conversion format, wherein the file sharing the conversion format comprises an organization tree and a resource tree of components as objects, the organization tree defines a point structure, a line structure, a surface structure, a grid line structure, grid structure information, spatial transformation information of each component and a rendering related structure of each component, and the resource tree defines a field calculation result of a physical field in association with the node information and the grid information of each component; the server transmits the file with the common conversion format to a terminal which needs to check the simulation calculation result, and the terminal is provided with an analysis tool or can obtain the file with the common conversion format; and analyzing the file with the common conversion format by the terminal by using the analysis tool to obtain an object with the common conversion format, and drawing the obtained object by using a drawing tool so as to present a simulation calculation result of the analysis object on a display.
According to a second aspect of the present application, a server for post-processing of simulation computation results of CAE software is provided. The server includes: a communication interface configured to obtain a simulation calculation result of an analysis object obtained by various CAE software using a solver, the simulation calculation result including a grid project file and a calculation data file, the analysis object including at least one component; and the processor configured to: based on the grid engineering file and the calculation data file, formatting is carried out by utilizing a conversion format shared by various CAE software so as to convert the conversion format into organization relation, points, lines and surfaces representing the action relation among at least one component, grid information containing simulation calculation information of each physical field at each node and space transformation information of each component, and form a file of the shared conversion format; so that the file in the common conversion format is transmitted via the communication interface to a terminal that is to view the simulation calculation result, the terminal being equipped with or capable of obtaining an analysis tool for the file in the common conversion format.
According to a third aspect of the present application, there is provided a computer program product comprising program instructions which, when executed by a processor, implement a method for post-processing of simulation computation results for CAE software according to various embodiments of the present application. The method comprises the following steps: obtaining simulation calculation results of an analysis object obtained by various CAE software by utilizing a solver, wherein the simulation calculation results comprise a grid engineering file and a calculation data file, and the analysis object comprises at least one component; based on the grid engineering file and the calculation data file, formatting is carried out by utilizing a conversion format shared by various CAE software so as to convert the conversion format into organization relation, points, lines and surfaces representing the action relation among at least one component, grid information containing simulation calculation information of each physical field at each node and space transformation information of each component, and form a file of the shared conversion format; and transmitting the file with the common conversion format to a terminal for viewing a simulation calculation result, wherein the terminal is provided with or can obtain an analysis tool of the file with the common conversion format.
By using the method, the server and the program product for post-processing of the simulation calculation result of the CAE software according to the embodiments of the present application, it is possible to draw and view a uniform result at a variable terminal (such as a C terminal, a B terminal and an APP terminal) with a low workload without installing the CAE software, and to realize drawing and viewing of loose coupling with the CAE software and a display environment, under the condition that the simulation calculation result of an analysis object obtained by various CAE software using a solver is obtained.
The above description is only an overview of the technical solutions of the present application, and the present application may be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understood.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having letter suffixes or different letter suffixes may represent different instances of similar components. The drawings illustrate various embodiments generally by way of example and not by way of limitation, and together with the description and claims serve to explain the disclosed embodiments. Such embodiments are illustrative, and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.
FIG. 1 shows a schematic illustration of a process of CAE software according to an embodiment of the present application;
FIG. 2 shows a schematic diagram of a system for post-processing of simulation computation results of CAE software according to an embodiment of the application;
FIG. 3 shows a flow diagram illustrating a method for post-processing of results of simulation calculations for CAE software according to an embodiment of the application;
FIG. 4 illustrates an architectural diagram of an example YLTF of a common conversion format for formatting results of simulation calculations for CAE software according to an embodiment of the application;
FIG. 5 is a diagram illustrating an application process of an example YLTF that shares a conversion format according to an embodiment of the present application;
FIG. 6 (a) shows a stress profile of a gear displayed at end B for a method for post-processing of simulation calculation results of CAE software according to an embodiment of the present application;
FIG. 6 (b) shows the stress distribution diagram of the gear, which is presented by the simulation calculation result of other CAE software after the self-contained post-processing module processes; and
fig. 7 is a flowchart showing an example of processing performed by a server in post-processing of a result of simulation calculation for CAE software according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the present application is described in detail below with reference to the accompanying drawings and the detailed description. The embodiments of the present application will be described in further detail with reference to the drawings and specific embodiments, but the present application is not limited thereto.
As used in this application, the terms "first," "second," and the like do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element preceding the word comprises the element listed after the word, and does not exclude the possibility that other elements may also be included. The order of execution of the steps in the methods described in this application in connection with the figures is not intended to be limiting. As long as the logical relationship between the steps is not affected, several steps can be integrated into a single step, a single step can be divided into multiple steps, or the execution order of the steps can be changed according to specific requirements.
Fig. 1 shows a schematic illustration of the processing of CAE software according to an embodiment of the present application. By way of example, CAE software may include, but is not limited to ansys, abaqus, nastran, adina, etc. (generally good for intensity analysis), fluent, cfx, starcd, etc. (generally good for fluid analysis), etc., adams, simpack, etc. (generally good for multi-body kinetic analysis), as well as the non-linear multi-physics field coupled simulated cloud platform "cloud 26383" developed by applicant. As shown in fig. 1, the overall process generally includes pre-processing 101, solver 102, and post-processing 103. Specifically, the preprocessing 101 is mainly used for building a CAE geometric model and a physical model, dividing grids, adding physical properties and boundary conditions, and the like; the core of the solver 102 is numerical solution, and the types of the numerical solution include structural analysis, fluid dynamics analysis, electromagnetic field analysis, sound field analysis, piezoelectric analysis, coupling analysis of multiple physical fields and the like; the post-processing 103 is mainly used to interpret and evaluate the analysis result, for example, the calculation result is displayed in a graphic manner such as a color cloud picture, a vector diagram, a particle flow chart, a tangent plane, or is output in a form of a text, a graph, or the like.
The method for post-processing the simulation calculation result of the CAE software aims to improve the post-processing 103 link, namely, the processing is improved on the basis of the simulation calculation result of the analysis object obtained by various CAE software by utilizing a solver 102. The simulation calculation results may include a grid project file and a calculation data file. Specifically, different CAE software of different companies may have different formats for grid project files and calculation data files. For example, the grid project file of abaqus is. Inp and the compute data file is. Dat, and for example, the grid project file of the "cloud \26383" platform is. Msh and the compute data file is. Res.
As shown in fig. 2, the method of the present application is applicable to a system architecture including a C-side 201 installed with CAE software 202, a server 207 for relaying and processing, and various terminals that want to view simulation calculation results of the C-side 201. It can be seen that different types of terminal platforms, including but not limited to another C-side 201a, B-side 203 and APP-side 204, can be used independently or in parallel to facilitate viewing of simulation calculation results. Specifically, the C-peers 201 and 201a are the conventional engineering environment of CAE software, and it is noted that, unlike the case where the C-peer 201 relies on the CAE software 202 to view the simulation calculation results, in the embodiment of the present application, the other C-peer 201a can view the simulation calculation results in a manner that is loosely coupled to the CAE software 202. Specifically, by loosely coupled to CAE software 202, it is meant that the results of the simulation calculations made by the solver may be obtained without installing CAE software 202, or without enabling CAE software, or isolated from internal information of the preprocessor and solver. The B-side 203 can access the corresponding website through the browser to conveniently view the simulation calculation result, and the APP-side 204 can conveniently view the simulation calculation result by opening the APP on the terminal. Such a system architecture enables convenient and efficient viewing of simulation computation results in a cross-platform application environment (e.g., cross-platform, cross-operating system, cross-different terminal) in a manner that is loosely coupled to the CAE software 202, and the display effect seen by each platform remains consistent. The software environment which accords with the mainstream and habit of the user in the current web era is viewed by accessing a website through a browser of the B-side 203 and viewed through the APP-side 204, for example, the simulation expert A calculates the stress distribution of the gear by using the CAE software 202 at the C-side 201 and views the stress distribution diagram locally through a CAE software interface, opens a large screen of the B-side 203 at a project display site of team discussion, views the stress distribution diagram of the gear by accessing the website through the browser, opens the APP installed on a mobile phone (namely, the APP-side 204) by a construction site personnel to view the stress distribution diagram of the gear, the display effect of the stress distribution diagram viewed by three parties is basically consistent, and therefore the gear design and construction condition can be discussed according to the stress distribution.
The following describes a method for post-processing of simulation calculation results of CAE software with reference to fig. 2 and 3.
In step 301, the server 207 obtains simulation calculation results of the analysis object obtained by the CAE software 202 by using the solver, where the simulation calculation results include a grid project file and a calculation data file, and the analysis object includes at least one component.
In step 302, the server 207 formats the grid project files and the calculation data files in a conversion format common to the various CAE software 202 to form a file having a common conversion format. The file with the common conversion format includes an organization tree of the components and a resource tree as objects, the organization tree defines a point structure, a line structure, a plane structure, a grid line structure, grid structure information, spatial transformation information and a rendering related structure of each component, and the resource tree defines a field calculation result of the physical field in association with the node information and the grid information of each component (which will be described in detail below with reference to fig. 4).
In step 303, the server 207 transmits the file with the common conversion format to a terminal that is to view the simulation calculation result, such as but not limited to another C-side 201a, B-side 203, or APP-side 204, where the terminal is installed with or can obtain a parsing tool for the file with the common conversion format.
In step 304, the terminal, such as but not limited to another C-terminal 201a, B-terminal 203, or APP-terminal 204, parses the file in the common conversion format by using the parsing tool to obtain an object in the common conversion format, and renders the obtained object by using a rendering tool, so as to present the simulation calculation result of the analysis object on a display.
That is, the server 207 serves as a transfer station, which obtains the result of the solver solution from the C-terminal 201, analyzes the simulation calculation result of the object, including the grid project file and the calculation data file, for example, abaqus, and obtains the grid project file, inp and the calculation data file, dat, and the C-terminal 201 may isolate the intermediate processing information involved in the solution process with respect to the server 207, and only provide the grid project file and the calculation data file. Thereby, the amount of data transmitted from the C-side 201 to the server 207 is effectively controlled. Further, a terminal to view a result, for example, but not limited to, another C-side 201a, a B-side 203, or an APP-side 204, acquires less data from the server 207, and is a result of formatting a grid project file and a calculation data file by using a conversion format common to various CAE software 202, and only acquires a file of the common conversion format. Specifically, the file of the common conversion format acquired by the terminal that wants to view the result is further reduced in data size compared to the mesh engineering file and the calculation data file, for example, the former may only extract the "presentation element" information that is used by the drawing tool to draw the presentation result lossless compared to the simulation calculation result, such as but not limited to the organization tree of the components and the resource tree that defines the point structure, the line structure, the surface structure, the mesh line structure, the mesh structure information, the spatial transformation information of each component, and the rendering related structure, of each component, and the resource tree defines the field calculation result of the physical field in association with the node information and the mesh information of each component. In some embodiments, the data amount of the file sharing the converted format (i.e., the data amount transmitted from the server 207 to the terminal to be viewed) may be reduced by at least 50% compared to the corresponding grid project file and the calculation data file before the formatting process (i.e., the corresponding data amount transmitted from the C-side 201 to the server 207), and may even be reduced to 30% when the unformatted process is performed using the YLTF format proposed by the applicant hereinafter. In this way, in a terminal that is particularly sensitive to computing resources and workload, for example, due to CPU and memory-limited B-side 203 allocated per website page, the rendered result display can be smoothly and quickly opened. Furthermore, the significant reduction of the data volume can enable the B-side 203, which is particularly sensitive to computing resources and workload, and the other C-side 201a and APP-side 204, which have higher computing resources and computing speed, to present the result display in parallel, so that the user can hardly perceive the lag and the stuck, and the linkage experience of the user can be significantly improved in the application scenario of multi-platform environment linkage. In an application scenario of multi-platform environment linkage, the server 207 may transmit the file with the common conversion format to the other C-side 201a, the B-side 203 and the APP-side 204 that are to view the simulation calculation result, so that the simulation calculation result of the analysis object is rendered and presented on the other C-side 201, the B-side 203 and the APP-side 204, and the rendered and presented simulation calculation results are kept consistent. Further, the simulation calculation results rendered together may be made lossless compared to the rendering results of the simulation calculation results local to the C-side 201 running the CAE software 202 responsible for solving. Therefore, the uniform result can be drawn and checked at variable terminals (such as a C terminal, a B terminal and an APP terminal) with lower workload, and loose coupling with CAE software and a display environment is realized.
In some embodiments, the common conversion format is common to different CAE software, to different terminals, to different operating systems on the terminals, and does not change from CAE software, terminal, operating system on the terminal. Thus, the server 207 can interface with various different types of viewing terminals and CAE software of various manufacturers, which are varied in the web era, by using a unified internal configuration, as long as the CAE software of various manufacturers opens and accesses the grid project file and the calculation data file to the server 207, and opens or informs the format definitions of the respective files of the grid project file and the calculation data file as the output result of the solver or provides corresponding parsing tools, so that the server 207 can not only obtain the grid project file and the calculation data file, but also can perform the interpretation thereof, so as to conveniently interpret and extract the required information, such as the information defined by the common conversion format, according to the requirements (such as formatting process based on the common conversion format).
Fig. 4 shows an architectural diagram of an example YLTF format of a common conversion format for formatting simulation calculation results of CAE software according to an embodiment of the present application, and it is noted that the "YLTF format" is only named by the applicant as an abbreviation for an example of the common conversion format proposed by itself and is not meant in a limiting sense. As shown in FIG. 4, the YLTF format defines the format content of the relevant CAE post-processing by the "organizational tree" of the component, points, lines, faces, grid lines, grid structure information, spatial matrices, and rendering related structures (not shown). Further, coplanar structures are associated and defined under the branches of the points and lines. Taking a face as an example, the spatial position structure (x, y, z) of the relevant point (such as a vertex), the UV structure (U, V) of the relevant point (such as a vertex), the normal structure (normal) of the relevant point (such as a vertex), the index switch (indices) of the relevant point (such as a vertex), the index structure (index) of the relevant point (such as a vertex), and the simulation field value (also referred to as the simulation data structure CM) of the relevant point (such as a vertex) are associated and defined under the branch of the face. The dot-line planes may be defined with the same organization.
The "organization tree" also defines, for each component, the organization structure of the dot-line plane within the component, i.e., the dot-line plane of the component (whether having dots/lines/planes, data of dot-line planes), and so on.
In some embodiments, the grid lines and grid structure information within the component uses two separate data structures to manage the grid lines (small amount of data) and the grid structure (large amount of data), respectively. The grid lines in the assembly can be optimized, repeated grid lines are removed, each grid line is drawn only once subsequently, the processing speed is further increased, and the workload is reduced. The grid relationships in the grid structure information within the component may be serialized and deduplicated so that each grid datum may be accessed more quickly.
In some embodiments, the spatial transformation information for each component may be formed as a 4 x 4 spatial matrix (as shown in fig. 4) representing the spatial transformation performed by each component from the reference coordinate position to the current coordinate position. Specifically, the spatial position of the component is referenced to world coordinates (0, 0). The space matrix of the assembly can be optimized, the space relation with the multilayer tree-like dependency relation in the CAE calculation result is optimized into a 4 x 4 space matrix, the multiple space transformation is optimized into one space transformation, a large number of space matrix operations are saved, and the display speed is greatly improved.
A rendering-related structure (not shown) is defined in the component, specifically, a management mode for rendering gradient color gradation and full true color is defined, and the predefinition of the gradient color gradation and the full true color (32 bitRGB) can be realized. For example, simulation computation results to rendered visualization algorithms (gradient tone scale and full true color) for CAE may be implemented in the YLTF format and in the development of SDK.
Further, as shown in fig. 4, the data content of the relevant physical field processed after the CAE computation result is defined by a "resource tree" in the YLTF format, the branches of the components and resources are separated under the resource tree, and the node information and the grid information are associated and defined under the branches of the components, and the time history, the physical field and the computation result information are associated and defined under the branches of the resources.
In particular, resources may be divided into simulation grid resources and simulation computation result resources. The simulation grid resources can be managed by adopting a unified data structure, the node information and the grid information are associated, and the organization and management of cross-platform and cross-software (CAE) post-processing data are realized; the simulation calculation result resource can uniformly manage data in the CAE calculation result, simplify the data structure and remove useless data and intermediate data. In some embodiments, the simulation calculation result resources can be compressed and managed, so that a large amount of storage space and network transmission flow are saved. As shown in fig. 4, the simulation calculation result resources may be packed as needed according to the physical field and loaded as needed, so as to optimize network transmission and achieve the effects of fast loading, fast processing and fast displaying. For example, for an exhaust conduit that is an object of analysis, the physical field may include a gas flow velocity distribution field and a pressure distribution field within the exhaust conduit.
Fig. 5 is a diagram illustrating an application process of an example YLTF format that shares a conversion format according to an embodiment of the present application. Note that the application processing procedure may be executed at the terminal. The YLTF format supports cross-platform CAE post-processing display and data display processing of simulation calculation results of CAE at an APP end, a B end, a C end and the like. As shown in fig. 5, the processing procedure can be divided into steps of generating a YLTF format object 504 or caching a YLTF format object 504a and reading the YLTF format object 505 in the cache. As long as the YLTF format object 505 is obtained, whether by the above generation processing or by reading from the cache, it can be rendered and displayed 507 using the SDK 506 in the YLTF format.
The YLTF format object 504 may be generated by the following steps. The file 501 may be transmitted from the server to the viewing terminal, i.e. a compressed version of the file in the YLTF format is transmitted. A compressed version of a file in the YLTF format may be decompressed 502 and then parsed 503 using a parsing tool. The YLTF format file can be parsed into a YLTF format object 505, that is, an organization tree and a resource tree of a component, by SDK in the YLTF format, a website supporting the YLTF format, and installing the YLTF format definition (parsing according to the YLTF format definition). Next, the yaltf format object may be rendered by a development kit (not shown) such as SDK 506 or openGL/webGL in the yaltf format to display 507 the CAE post-processing result defined by the yaltf format.
While parsing and rendering at various terminals are described above with the YLTF format as an example of the common conversion format, it should be understood that the common conversion format may be in other formats as long as the result of rendering the object is lossless compared to the display result of the simulation calculation result obtained by the solver.
Specifically, when the terminal is a C-terminal, the SDK or definition of the common conversion format is used as the parsing tool, the file of the common conversion format is parsed into the object of the common conversion format, and the SDK or openGL development kit of the common conversion format is used as a drawing tool to draw the object.
And when the terminal is a B terminal, accessing a website supporting the common conversion format by using a browser to analyze the file in the common conversion format into an object in the common conversion format, and drawing the object by using a WebGL development kit equipped by the browser as a drawing tool. A common conversion format such as a YLTF format does not need a third-party tool such as a plug-in installed in a browser-based application on the B side, and the application is simple and wide in application scene. The YLTF format is processed in the browser through a WebGL display function in the browser, and information such as points, lines, planes, data and the like defined in the YLTF format is presented through the WebGL display function. And the visualization effect and data precision equivalent to those of CAE software are realized in the browser through the YLTF format. As shown in fig. 6 (a), when the method for post-processing of the simulation calculation result of the CAE software according to the embodiment of the present application accesses a website via a browser at the B-end, the displayed stress distribution diagram of the gear is accurate and clear, and has a visualization effect and data accuracy comparable to the stress distribution diagram of the gear (shown in fig. 6 (B)) presented by the self-contained post-processing module in the CAE software.
And when the terminal is an APP terminal, using the SDK of the common conversion format or the definition of the common conversion format as the analysis tool, analyzing the file of the common conversion format into the object of the common conversion format, and using the SDK of the common conversion format or the openGL development kit as a drawing tool to draw the object.
In some embodiments, the post-processing method of the present application further comprises: and when the terminal is the C terminal, the CAE software is installed on the terminal. That is, the terminal to be checked for the simulation calculation result may also be the C-terminal that has been installed with CAE software. Further, whether the user has the authority of viewing the grid project file and the calculation data file or not can be verified, when the verification is passed, a post-processing module carried by CAE software is enabled to draw and present a simulation calculation result of the analysis object, otherwise, the CAE software is disabled, and the analysis tool is enabled through the terminal to analyze and draw and present the simulation calculation result of the analysis object. Therefore, different paying users of the CAE software can be subjected to authority hierarchical management, and the users are prohibited from improperly checking simulation calculation results of the CAE. Specifically, for a user with viewing authority of the simulation calculation result, the user can view the grid project file and the calculation data file, otherwise, the user can only receive the file with the common conversion format which reduces the data amount after the formatting processing, and can view the processing result obtained by analyzing the file with the common conversion format and drawing.
Returning to fig. 2, in some embodiments, a server 207 for post-processing of simulation computation results of CAE software is provided, the server comprising a communication interface 207a and a processor 207b. The communication interface 207a may be configured to obtain simulation calculation results of the analysis object, including the grid project file and the calculation data file, obtained by the various CAE software 202 using the solver, the analysis object including at least one component. The processor 207b may be configured to: based on the grid engineering file and the calculation data file, formatting is carried out by utilizing a conversion format shared by various CAE software 202 so as to convert the grid information into organization relation, points, lines and surfaces representing the action relation among at least one component, the simulation calculation information of each physical field at each node and the space transformation information of each component, and form a file of the shared conversion format; so that the file in the common conversion format is transmitted to a terminal to be checked for simulation calculation results, such as but not limited to another C-terminal 201a, B-terminal 203 and APP-terminal 204, via the communication interface 207a, and the terminal is installed with or can obtain a parsing tool for the file in the common conversion format, so as to parse out an object, draw and display the received file in the common conversion format.
In some embodiments, the processor 207b may be, for example, a processing component including one or more general-purpose processors, such as a microprocessor, central Processing Unit (CPU), graphics Processing Unit (GPU), or the like. More specifically, the processing element may be a Complex Instruction Set Computing (CISC) microprocessor, reduced Instruction Set Computing (RISC) microprocessor, very Long Instruction Word (VLIW) microprocessor, processor executing other instruction sets, or processors executing a combination of instruction sets. The processing element may also be one or more special-purpose processing devices such as an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), a system on a chip (SoC), or the like.
Similarly, various terminals may also include a processor and a communication interface to perform corresponding processing and information transmission, which are not described in detail herein.
Fig. 7 is a flowchart showing an example of processing performed by a server in post-processing of a result of simulation calculation for CAE software according to an embodiment of the present application. As shown in fig. 7, in step 701, the communication interface is further configured to receive a request from the terminal to view a result of the simulation calculation, where the request includes verification information of the viewing authority and tool configuration information of whether the analysis tool is already installed or can be acquired. In step 702, the processor checks the verification information of the viewing authority of the terminal and checks the tool configuration information.
In step 703a, it is determined whether the check of the viewing right is passed. If yes, continuing to step 703b, and judging whether the terminal is provided with or can obtain an analysis tool; if not, the process is ended. In case it is verified by checking the viewing right and that the terminal is already installed with or can obtain the parsing tool (i.e. step 703b obtains a positive determination result), the file of the common conversion format is caused to be transmitted to the terminal that is to view the result of the simulation calculation via the communication interface (step 704). Therefore, the file with the common conversion format can be prevented from being improperly transmitted to the terminal without the viewing authority, so that the communication resource of the server is wasted, and the system safety is improved. Further, it is possible to ensure that the file of the common conversion format is transmitted to the terminal having not only the viewing right but also the viewing ability.
In the case of passing the check of the viewing right (step 703a, a positive determination result) and confirming that the terminal has not been installed and cannot acquire the analysis tool (step 703b, a negative determination result), the installation package of the analysis tool is transmitted to the terminal. Therefore, the terminal with the authority but without the analysis capability can receive and install the installation package, so that the terminal has the analysis and subsequent processing capabilities. Not shown in fig. 7, after step 705, the server may go back to step 703b to confirm that the parsing tool is installed, and once installed, continue parsing and subsequent rendering and display.
There is also provided, in accordance with an embodiment of the present application, a non-transitory computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions, when executed by a processor, perform steps of a method for post-processing of simulation computation results of CAE software in accordance with an embodiment of the present application. In some embodiments, there is also provided a computer program product comprising program instructions which, when executed by a processor, implement a method for post-processing of simulation computation results for CAE software according to various embodiments of the present application. The method comprises the following steps: obtaining simulation calculation results of an analysis object obtained by various CAE software by utilizing a solver, wherein the simulation calculation results comprise a grid engineering file and a calculation data file, and the analysis object comprises at least one component; based on the grid engineering file and the calculation data file, formatting is carried out by utilizing a conversion format shared by various CAE software so as to convert the conversion format into organization relation, points, lines and surfaces representing the action relation among at least one component, grid information containing simulation calculation information of each physical field at each node and space transformation information of each component, and form a file of the shared conversion format; and transmitting the file with the common conversion format to a terminal for viewing a simulation calculation result, wherein the terminal is provided with or can obtain an analysis tool of the file with the common conversion format.
The non-transitory computer-readable storage medium may be, for example, a read-only memory (ROM), a random-access memory (RAM), a phase-change random-access memory (PRAM), a static random-access memory (SRAM), a dynamic random-access memory (DRAM), an electrically erasable programmable read-only memory (EEPROM), other types of random-access memory (RAMs), a flash disk or other form of flash memory, a cache, a register, a static memory, a compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD) or other optical storage, a tape or other magnetic storage device, or any other non-transitory medium that may be used to store information or instructions that may be accessed by a computer device.
The various processing steps in this application may be written in various programming languages, such as, but not limited to, fortran, C + + and Java, which are not described herein.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative, and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, subject matter of the present application can lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the application should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (9)

1. A method for post-processing of results of simulation calculations for CAE software, the method comprising:
the method comprises the steps that a server obtains simulation calculation results of three-dimensional analysis objects obtained by various CAE software through a solver, the simulation calculation results comprise grid engineering files and calculation data files, and the three-dimensional analysis objects comprise at least one component;
formatting, by the server, a file with a common conversion format by using a conversion format shared by various CAE software based on a grid engineering file and a calculation data file, wherein the file with the common conversion format comprises an organization tree and a resource tree of components, the organization tree defines a point structure, a line structure, a surface structure, a grid structure, grid structure information, spatial transformation information of each component, and a rendering related structure, the point structure is associated with and defines an index of a related point under a branch of the surface structure, and a repeated grid structure in each component is removed, so that each grid structure is drawn only once subsequently, the grid structure and the grid structure information respectively manage grid and grid structures by using two independent data structures, the spatial transformation information of each component is formed into a 4 × 4 spatial matrix representing spatial transformation performed by each component from a reference coordinate position to a current coordinate position, the resource tree defines a field calculation result of a physical field in association with node information and grid information of each component, and the data amount of the shared conversion file is reduced by at least 50% compared with a data format before the engineering file with the data format;
the server transmits the file with the common conversion format to various terminals including a terminal B, a terminal C and an APP, which need to check simulation calculation results in parallel, wherein the various terminals are provided with or can obtain analysis tools of the file with the common conversion format; and
and analyzing the file with the common conversion format by the various terminals by using the analysis tool to obtain an object with the common conversion format, and drawing the obtained object by using a drawing tool so as to present a simulation calculation result of the three-dimensional analysis object on a display.
2. The method of claim 1, wherein the common conversion format is common to different CAE software, to different terminals, to different operating systems on the various terminals, and does not change from CAE software, terminal, operating system on the various terminals.
3. The method according to claim 1, wherein the various terminals include a C terminal, a B terminal, and an APP terminal, and further comprising:
when the various terminals are C terminals, the SDK of the common conversion format or the definition of the common conversion format is used as the analysis tool, the file of the common conversion format is analyzed into the object of the common conversion format, and the SDK or openGL development kit of the common conversion format is used as a drawing tool to draw the object;
when the various terminals are B terminals, accessing a website supporting the common conversion format by using a browser to analyze the file of the common conversion format into an object of the common conversion format, and drawing the object by using a WebGL development kit equipped by the browser as a drawing tool;
when the terminals are APP terminals, the SDK of the common conversion format or the definition of the common conversion format is used as the analysis tool, the file of the common conversion format is analyzed into the object of the common conversion format, and the SDK or openGL development kit of the common conversion format is used as a drawing tool to draw the object.
4. The method of claim 3, further comprising: no CAE software is installed on the various terminals.
5. The method of claim 3, further comprising:
when the various terminals are C terminals, CAE software is installed on the various terminals;
verifying whether a user has the authority of checking the grid engineering file and the calculation data file, enabling a post-processing module carried by CAE software to draw and present a simulation calculation result of the three-dimensional analysis object when the user passes the verification, and otherwise, disabling the CAE software and enabling the analysis tool through various terminals to analyze and draw and present the simulation calculation result of the three-dimensional analysis object.
6. The method of claim 3, further comprising: and the server transmits the file with the common conversion format to a C end, a B end and an APP end which need to check simulation calculation results in parallel, so that the simulation calculation results of the three-dimensional analysis object are drawn and presented on the C end, the B end and the APP end together, and the drawn and presented simulation calculation results are kept consistent.
7. A server for post-processing of results of simulation calculations by CAE software, the server comprising:
a communication interface configured to obtain a simulation calculation result of a three-dimensional analysis object obtained by various CAE software using a solver, the simulation calculation result including a grid project file and a calculation data file, the three-dimensional analysis object including at least one component; and
a processor configured to: based on a grid engineering file and a calculation data file, formatting a conversion format shared by various CAE software to convert the file into an organization relation, a point, a line, a plane representing an action relation between at least one component, grid information containing simulation calculation information of various physical fields at various nodes, and spatial transformation information of various components, and forming a file of the shared conversion format, wherein the file of the shared conversion format comprises an organization tree and a resource tree of the components, the organization tree defines a point structure, a line structure, a plane structure, a grid line structure, grid structure information, spatial transformation information of various components, and a rendering related structure, the point structure, the line structure, the grid structure information, the spatial transformation information of various components are associated and defined with each other under the branch of the plane structure, and a repeated grid line structure in the components is removed, so that each grid line structure is drawn only once after, the grid line structure and the grid structure information respectively manage the grid lines and the grid structure by adopting two independent data structures, the spatial transformation information of various components is formed into a 4-by-field spatial matrix representing that the components perform spatial transformation from coordinate positions of the current coordinate positions, the components perform spatial transformation from the coordinate positions, the grid line structure, the spatial transformation with at least 50% of the grid information of the components and the grid information of the grid field format of the grid structure, and the data format of the common conversion format of the components are reduced by at least 50%; and transmitting the file with the common conversion format to various terminals including a terminal B, a terminal C and an APP, which are to view simulation calculation results in parallel, through the communication interface, wherein the various terminals are provided with or can acquire analysis tools of the file with the common conversion format.
8. The server according to claim 7, wherein the communication interface is further configured to receive requests from the various terminals to view simulation calculation results in parallel, the requests including verification information of viewing permissions and tool configuration information of whether the analysis tool is installed or can be acquired;
the processor is further configured to:
verifying the verification information of the viewing authority of each terminal, and checking tool configuration information;
under the condition that the various terminals are checked through checking authority and confirmed to be installed with or can obtain the analysis tool, the files with the common conversion format are transmitted to the various terminals to be checked in parallel with simulation calculation results through the communication interface;
and transmitting the installation package of the analysis tool to the various terminals under the condition that the various terminals are not installed and the analysis tool cannot be obtained through checking and confirming the viewing authority.
9. A computer-readable storage medium, on which program instructions are stored, which program instructions, when executed by a processor, implement a method for post-processing of simulation computation results for CAE software according to any of claims 1-6, the method comprising the steps of: obtaining simulation calculation results of three-dimensional analysis objects obtained by various CAE software by utilizing a solver, wherein the simulation calculation results comprise a grid engineering file and a calculation data file, and the three-dimensional analysis objects comprise at least one component; based on a grid engineering file and a calculation data file, formatting a conversion format shared by various CAE software to convert the file into an organization relation, a point, a line, a plane representing an action relation between at least one component, grid information containing simulation calculation information of various physical fields at various nodes, and spatial transformation information of various components, and forming a file of the shared conversion format, wherein the file of the shared conversion format comprises an organization tree and a resource tree of the components, the organization tree defines a point structure, a line structure, a plane structure, a grid line structure, grid structure information, spatial transformation information of various components, and a rendering related structure, the point structure, the line structure, the grid structure information, the spatial transformation information of various components are associated and defined with each other under the branch of the plane structure, and a repeated grid line structure in the components is removed, so that each grid line structure is drawn only once after, the grid line structure and the grid structure information respectively manage the grid lines and the grid structure by adopting two independent data structures, the spatial transformation information of various components is formed into a 4-by-field spatial matrix representing that the components perform spatial transformation from coordinate positions of the current coordinate positions, the components perform spatial transformation from the coordinate positions, the grid line structure, the spatial transformation with at least 50% of the grid information of the components and the grid information of the grid field format of the grid structure, and the data format of the common conversion format of the components are reduced by at least 50%; and transmitting the file with the common conversion format to various terminals which are required to view simulation calculation results in parallel and comprise a terminal B, a terminal C and an APP, wherein the various terminals are provided with or can obtain analysis tools of the file with the common conversion format.
CN202211513292.XA 2022-11-30 2022-11-30 Method, server and program product for post-processing of simulation calculation results of CAE software Active CN115618653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211513292.XA CN115618653B (en) 2022-11-30 2022-11-30 Method, server and program product for post-processing of simulation calculation results of CAE software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211513292.XA CN115618653B (en) 2022-11-30 2022-11-30 Method, server and program product for post-processing of simulation calculation results of CAE software

Publications (2)

Publication Number Publication Date
CN115618653A CN115618653A (en) 2023-01-17
CN115618653B true CN115618653B (en) 2023-04-07

Family

ID=84880352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211513292.XA Active CN115618653B (en) 2022-11-30 2022-11-30 Method, server and program product for post-processing of simulation calculation results of CAE software

Country Status (1)

Country Link
CN (1) CN115618653B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339637A (en) * 2023-03-22 2023-06-27 之江实验室 File clearing method and device, storage medium and electronic equipment
CN117097717B (en) * 2023-08-16 2024-03-22 浙江远算科技有限公司 File transmission optimization method and system for simulation result and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107248194A (en) * 2017-05-31 2017-10-13 华中科技大学 A kind of CAE data three-dimensionals based on cloud computing show exchange method
CN108846059B (en) * 2018-06-01 2022-04-05 北京航空航天大学 OpenFOAM finite volume analysis result data format for result post-processing and conversion method thereof
CN110516325B (en) * 2019-08-12 2023-07-28 雷沃重工集团有限公司 CAE automatic simulation analysis method and system
CN114547498A (en) * 2021-12-31 2022-05-27 宁波市水利水电规划设计研究院有限公司 Water flow two-dimensional flow field simulation visualization method and system based on B/S framework

Also Published As

Publication number Publication date
CN115618653A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN115618653B (en) Method, server and program product for post-processing of simulation calculation results of CAE software
CN108958736B (en) Page generation method and device, electronic equipment and computer readable medium
CN111639287A (en) Page processing method and device, terminal equipment and readable storage medium
CN109087384B (en) Ray tracing system and method and ray compression method and module
CN106649882B (en) Spatial data management middleware applied to telecommunication field and implementation method thereof
US11301539B2 (en) Just-in-time front end template generation using logical document object models
US20160321218A1 (en) System and method for transforming image information for a target system interface
US7013468B2 (en) Method and apparatus for design and manufacturing application associative interoperability
CN110990467A (en) BIM (building information modeling) model format conversion method and conversion system
CN114443577A (en) Drawing processing method, device, equipment and storage medium
CN114077430A (en) Interface generation method and device, electronic equipment and storage medium
CN111078217A (en) Brain graph generation method, apparatus and computer-readable storage medium
CN111107133A (en) Generation method of difference packet, data updating method, device and storage medium
CN110888972A (en) Sensitive content identification method and device based on Spark Streaming
CN109284108A (en) Date storage method, device, electronic equipment and storage medium
CN114969586A (en) BIM (building information modeling) graphic engine loading method and device based on WEB side
CN112631588A (en) File generation method and device, electronic equipment and computer readable medium
CN109597611B (en) Front-end data flow control component development system, method, device and storage medium
CN114237916B (en) Data processing method and related equipment
US20130061126A1 (en) Secure document creation from potentially unsecure source templates
CN113050921A (en) Webpage conversion method, device, storage medium and computer equipment
CN114816972A (en) Coloring language testing method and device, electronic equipment and storage medium
CN111949259A (en) Risk decision configuration method, system, electronic equipment and storage medium
CN112765252A (en) Data transmission method, client, terminal, server and storage medium
CN111767498A (en) Method and device for realizing file information sharing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Methods, servers, and program products for post-processing simulation calculation results used in CAE software

Granted publication date: 20230407

Pledgee: Shijiazhuang Luquan Rural Commercial Bank Co.,Ltd.

Pledgor: BEIJING YUNLU TECHNOLOGY CO.,LTD.

Registration number: Y2024980015341