Visual cloud platform system of fluid system

Through distributed architecture and efficient data management, combined with Stomp framework and PostGreSql database, the problems of low efficiency and difficulty in collaborative office of fluid system simulation computing software are solved, and efficient fluid system simulation and collaborative office of multiple people are achieved.

CN119150739APending Publication Date: 2024-12-17XIAN LIUGU SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411292176.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

Existing fluid system simulation computing software is inefficient when processing big data, relies on computer hardware to achieve high performance, and is difficult to achieve teamwork, resulting in low computing efficiency and difficulty in collaborative cooperation.

Method used

Adopting a distributed and load balancing architecture, combining the Stomp framework and PostGreSql database, realizes large text data transmission and efficient data management, and realizes full-duplex communication between the browser and the server through Https and WebSocket protocols, supports collaborative office work for multiple people, and through self-direction Adaptive solvers and efficient storage solutions improve computing efficiency.

Benefits of technology

It significantly improves the efficiency of simulation computing of fluid systems, reduces dependence on hardware performance, realizes collaborative office work for multiple people, and improves the processing capabilities of complex models and data synchronization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119150739A_ABST
    Figure CN119150739A_ABST
Patent Text Reader

Abstract

The invention provides a fluid system visualization cloud platform system, and relates to the technical field of computer simulation. The system comprises a primitive library module which is used for defining parameter data supported by the system and related to simulation solution; the graphical modeling module is used for creating an element link network topological graph; the calculation and solution module is used for setting element model parameters and calculation and solution parameters, and calling a solver for calculation; the result processing module is used for outputting and analyzing the calculation result of the calculation solving module; the cooperative work module is used for realizing real-time cooperative work among the teams; the curve and curved surface library module is used for storing characteristic curves and curved surfaces; and the user-defined element module is used for the user to write the element algorithm into the code template and recompile the user-defined element. According to the method, an efficient and convenient computing environment is provided, and meanwhile, the problem of collaborative development of general simulation software is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computer simulation, and in particular relates to a fluid system visualization cloud platform system. Background Art

[0002] In the field of modern aviation, aircraft engines are core components of aircraft, and their performance and reliability directly affect the safety and efficiency of flight. In the field of aerospace, fluid systems refer to systems involving fluid flow and related phenomena. The fluid system of an aircraft engine covers the flow and heat transfer processes of various fluids such as fuel, lubrication, and air, and plays a vital role in the normal operation of the engine. Fluid system simulation calculation plays an important role in improving design quality, reducing costs, shortening R&D cycles, and ensuring system performance and safety.

[0003] The existing simulation and calculation software for fluid systems has problems such as lag when the data volume is large, high information redundancy, low calculation efficiency, and high dependence on computer hardware performance. At the same time, the existing PC simulation and calculation software usually needs to be loaded on the local desktop. This traditional office method makes people spend a lot of time and energy to manually handle those complicated and repetitive tasks, and it is difficult to carry out teamwork. This is a difficult problem that should be solved as soon as possible in the field of modern industrial design. Summary of the invention

[0004] In order to solve the problems existing in the prior art, the present invention aims at the problems existing in the simulation analysis software of the fluid system, optimizes the algorithm and the solver development plan, improves the computing efficiency, and solves the problem of simulation processing dealing with complex systems; the system adopts distribution and load balancing and stomp framework, and establishes CUTP mode for large text data transmission to ensure fast and efficient data transmission; data management adopts PostGreSql database for data storage, which makes data synchronization more efficient, and can realize multi-person and multi-task collaborative office to improve office efficiency.

[0005] Specifically, the present invention provides a fluid system visualization cloud platform system, comprising: The graphic element library module is used to define the parameter data related to the simulation solution supported by the system and provide the input parameters required for the solution calculation for the nodes of the component link network topology diagram created in the graphical modeling module; Graphical modeling module, which is used to create component link network topology diagram and set component input parameters for solution calculation; A calculation and solution module is used to set component model parameters and calculation and solution parameters, and call the solver for calculation; A result processing module, which is used to output and analyze the calculation results of the calculation and solution module; Collaborative work module, which is used to enable full-duplex communication between the browser and the server to achieve real-time collaborative work between teams; The curve and surface library module is used to store characteristic curves and surfaces to enable users to manage and call data; The custom component module is used by users to write component algorithms into code templates and recompile custom components.

[0006] As a further explanation of the present invention, the functional implementation process of the calculation solution module specifically includes: According to the design indicators, the one-dimensional parameterized model of the cooling scheme is obtained by determining the internal cooling structure form and cooling structure parameters; Specify the input parameters, output parameters, and port information of the primitives; List the characteristic equations of all components in the fluid system network, list the mass and energy conservation equations at the nodes, solve the entire fluid system equation group through an iterative method, and finally obtain the parameters at each position.

[0007] As a further explanation of the present invention, the solution process design method of the calculation solution module is: Save the parameters saved in the interface in the project folder in .inp format; The C++ solver performs component algorithms by referencing a custom component library; The solver returns the solving process parameters to the interface console; The solver saves the simulation results to the result file and returns them in the interface output results.

[0008] As a further illustration of the present invention, the solver improves convergence in the following manner: Use linearization to transform nonlinear equations into quasi-linear equations for easy solution by the program; First use the incompressible solver module for several iterations, and then switch to the compressible module.

[0009] As a further illustration of the present invention, the solver improves the solving speed by: Develop an adaptive relaxation factor calculation method based on the Aitken relaxation method; The analysis process is time-consuming, and more concurrent processing is introduced; Reduce unnecessary file output during file reading and writing; According to the program time-consuming result data, adjust the data structure and select an efficient storage solution.

[0010] As a further explanation of the present invention, the process of enabling the browser and the server to perform full-duplex communication to achieve real-time collaborative work between teams specifically includes: The platform system adopts a hybrid development model of Https protocol and WSS protocol, and uses the Stomp framework encapsulated based on WebSocket technology to achieve full-duplex communication between browsers and servers, thereby realizing collaborative work and instant messaging functions between teams; Establish CUTP mode for large text data transmission; Use PostGreSql database for data storage and data synchronization; When collaborating, an asynchronous multi-queue mode is adopted, and multiple threads concurrently process synchronous messages.

[0011] As a further explanation of the present invention, the platform system is also provided with a message interception module, a message broadcast module and a queue pool model module for processing the affairs of the collaborative part; wherein: The message interception module is used for receiving client messages, identity authentication, and information security; the message broadcast module is used for broadcasting required messages and supports sending by designated clients; the queue pool model module is used for receiving and processing messages under multiple ports in an orderly manner to ensure information consistency among multiple clients.

[0012] As a further explanation of the present invention, the basic data of the curve and surface are processed by Chebyshev polynomial interpolation. When some scattered point parameters cannot be well fitted in actual calculation, fitting is performed by taking the logarithm of each variable.

[0013] As a further explanation of the present invention, the function realization process of the custom component module specifically includes: When users define custom components, they define the input and output parameters of the components on the interface. The set algorithm program automatically generates code templates on the interface; The user writes the component algorithm into the code template and recompiles the custom component module.

[0014] As a further illustration of the present invention, the functions of the result processing module include chart viewing, report generation and viewing, and report chart generation functions, and the specific implementation process is as follows: The implementation process of the chart viewing is: parsing the calculation result file in the view area; The implementation process of the report generation and viewing is as follows: calling the word interface document template to generate the report, downloading it to the local computer and opening it for viewing; The implementation process of the report chart generation function is: based on the scanning of static resources in the program, the background releases and obtains the specified resources to ensure the reliability of the report and icon content.

[0015] Compared with the prior art, the present invention has the following beneficial technical effects: The present invention has created a fluid system visualization cloud platform system with an independent design system, which is mainly used for fluid heat transfer analysis in complex systems in the field of industrial manufacturing. It provides an efficient and convenient computing environment, improves computing speed, reduces dependence on computer hardware performance, saves experimental research and development funds, and can improve the processing ability of complex models; at the same time, it solves the problem of collaborative development of general simulation software.

[0016] Other features and advantages of the technical solution will be described in the subsequent description, and partly become apparent from the description, or understood by implementing the technical solution. The purpose and other advantages of the technical solution can be achieved and obtained through the structures specifically pointed out in the written description and the drawings.

[0017] The technical solution of the present technical solution is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are used to provide a further understanding of the technical solution and constitute a part of the specification. Together with the embodiments of the technical solution, they are used to explain the technical solution and do not constitute a limitation of the technical solution. In the accompanying drawings: Figure 1 This is a structural diagram of the fluid system visualization cloud platform provided by the present invention.

[0019] Figure 2 Schematic diagram of the fluid network provided by the present invention. DETAILED DESCRIPTION

[0020] The preferred embodiments of the present technical solution are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present technical solution, and are not used to limit the present technical solution.

[0021] like Figure 1 As shown, an embodiment of the present invention provides a fluid system visualization cloud platform system, including: The graphic library module is used to define the parameter data related to the simulation solution supported by the system, and provide the input parameters required for the solution calculation for the nodes of the component link network topology diagram created in the graphical modeling module.

[0022] This module defines the parameter data related to simulation solution, such as component types and component parameters supported by the system, and saves the mapping relationship between each component and parameter, as well as the mapping relationship between parameters and units, and the mapping relationship between parameters and materials. At the same time, it provides the input parameters required for simulation solution for the nodes of the network topology diagram created in the front-end visual modeling module.

[0023] Through the primitive library module, the internal airflow of the engine blade can be abstracted into a network diagram consisting of elements, internal nodes and boundary nodes, so that the network topology diagram of the cold air flow inside the blade can be quickly constructed and the data file for the calculation and solution module to solve the program can be generated.

[0024] The graphical modeling module is used to create a component link network topology diagram and set the component input parameters for solution calculation.

[0025] This module is developed based on the MxGraph flowchart component, and includes features such as geometric transformation, layer management, custom styles, and multiple layout algorithms. It can easily and quickly build complex network topology diagrams. When the component is dragged to the main interface, a component link network topology diagram is built on the interface. The front end sends the request to drag the component to the back end, and after the back end parses it, the information is stored in the corresponding database table.

[0026] In the graphical modeling module, click on a component to set the input parameters of the component. When a component contains a diameter parameter, enter the diameter parameter, and the corresponding area, perimeter and other parameters will be automatically calculated. The user does not need to manually calculate and then enter them. The control of the parameter attribute color depends on the specified field necessity in the database to determine whether the attribute is required.

[0027] Specifically, when using it, create the primitives by dragging, and then connect them according to the ports to generate the component link network topology diagram; set the input parameters for simulation solution calculation; the fluid network is as follows Figure 2 As shown in the figure, rectangles represent components, circles represent nodes adjacent to components, black letters represent the names of components and nodes, component names start with "E", and node names start with "P". In this system, components E1 and E4 provide boundary conditions, and nodes P1 and P2 are the intersections of component branches. The parameters to be solved in the fluid network system include the pressure and temperature of the nodes, the flow rate and velocity of the components, etc.

[0028] The calculation and solution module is used to set component model parameters and calculation and solution parameters, and call the solver for calculation.

[0029] The design method of the solution process of the above-mentioned calculation solution module is: 1) Save the parameters saved in the interface in the project folder in .inp format; 2) The C++ solver performs component algorithms by referencing a custom component library; 3) The solver returns the solution process parameters to the interface console; 4) The solver saves the simulation results to a result file and returns them in the output results interface.

[0030] The functional implementation process of the above-mentioned calculation and solution module specifically includes: according to the design indicators, by determining the internal cooling structure form, cooling structure parameters, etc., to obtain a one-dimensional parametric model of the cooling scheme; specifying the input parameters, output parameters, port information, etc. of the graphics element. The platform distributes the workload among multiple servers or resources to balance the server load. List the component characteristic equations of all components in the fluid system network, list the mass and energy conservation equations at the nodes, solve the entire fluid system equation group through an iterative method, and finally obtain the parameters at each position.

[0031] After the component link network is built, the program can check the link. If there is an abnormality in the link, the system will analyze the cause of the abnormality, such as the link is not closed, the parameters are not filled in, the parameters are wrong, and the link matrix is ​​abnormal, and there will be an abnormal prompt.

[0032] When solving a problem, the log area will display different information to prompt the user. If a problem occurs during the solution, the log area will prompt a calculation error, and the platform will pop up a window to prompt the general cause of the problem and guide the user to make corrections.

[0033] This module improves the calculation speed and convergence of the calculation solver to improve the calculation efficiency.

[0034] (1) Improve convergence by: 1) Adjust the linearization scheme of the formula of a single component: The solver uses linearization to transform the nonlinear equations into quasi-linear equations for easy solution by the program.

[0035] 2) Divide the compressible calculation into two solution stages: incompressible and compressible. Generally speaking, the incompressible module is simpler to solve than the compressible module, and therefore more stable. Therefore, the solver in this application first uses the incompressible solution module for several iterations, and then switches to the compressible module, which can improve the convergence of the solution.

[0036] (2) Use the following methods to improve the solution speed: 1) Introduce an adaptive relaxation factor scheme; develop an adaptive relaxation factor calculation method based on the Aitken relaxation method. During the calculation process, the relaxation factor is adaptively adjusted according to the change law of the physical quantity, and a unified relaxation factor is not used, thereby improving the solution speed.

[0037] 2) Analyze the time consumption of the program and introduce more concurrent processing; make more accurate statistics on the time consumption of each module of the program, adjust the parts that consume more time, and optimize the algorithm for the parts that can use concurrency.

[0038] 3) Reduce unnecessary file output: File reading and writing is a time-consuming part of the program. Reduce unnecessary file output to increase the speed of solving.

[0039] 4) According to the time-consuming result data of the program, adjust the data structure, select a more efficient storage solution, and use smart pointers to avoid excessive copying of data objects.

[0040] The result processing module is used to output and analyze the calculation results of the calculation solution module.

[0041] The functions of the result processing module include chart viewing, report generation and viewing, and report chart generation. The specific implementation process is as follows: The implementation process of chart viewing is: parse the calculation result file in the view area.

[0042] The implementation process of report generation and viewing is as follows: call the word interface document template to generate a report, download it to the local computer and open it for viewing; The implementation process of the report chart generation function is: based on the scanning of static resources in the program, the background releases and obtains the specified resources to ensure the reliability of the report and icon content.

[0043] The collaborative work module is used to enable full-duplex communication between the browser and the server to achieve real-time collaborative work between teams.

[0044] The platform system adopts distributed architecture and load balancing technology to reasonably allocate cloud system resources and further improve computing efficiency. The SOA architecture supports multiple message modes and can work together. The SOA architecture adopts a typical "1+" distribution strategy in the distributed mode: supports multiple message modes and can work together. The platform is mainly based on the https protocol to realize responsive request requirements, integrates the ws protocol, maintains long connection requirements, realizes full-duplex communication between the browser and the server, and realizes a real-time collaborative operation mode. At the same time, the CUTP mode is established for large text data transmission to ensure fast and efficient data transmission. Data management mode: instant save mode. In the database part, the PostGreSql database is used for data storage to make data synchronization more efficient. Using PostgreSQL, while supporting multi-threading, it can complete data addition, deletion, modification and query operations faster, making data synchronization more efficient. When collaborating, the asynchronous multi-queue mode is adopted, and multi-threaded concurrent processing of synchronization messages is adopted.

[0045] The platform system also has three modules to handle collaborative affairs, namely: A. Message interception module: receiving client messages, identity authentication, information security, etc.

[0046] B. Message broadcast module: used to broadcast required messages and supports sending by specified clients.

[0047] C. Queue pool model module: used to receive and process messages from multiple ports in an orderly manner to ensure information consistency among multiple clients.

[0048] The curve and surface library module is used to store characteristic curves and surfaces to enable users to manage and call data. Combining the curve and 3D surface drawing functions and the response surface interpolation method, the curve and surface drawing can be realized.

[0049] The solver processes the basic data of curves and surfaces through Chebyshev polynomial interpolation; when some scattered point parameters in actual calculations cannot be well fitted, the logarithm of each variable is used for fitting.

[0050] Specifically, the basic data of a surface or curve is composed of a series of discrete points. The discrete points are interpolated through Chebyshev polynomials, and the residuals of each order of interpolation are solved. The most appropriate interpolation order is taken to fit it into a surface or curve. In actual calculations, some scattered point parameters cannot be well fitted, so the logarithm of each variable is used for fitting. When solving, the value of the input variable is set to get the value of the output variable.

[0051] The custom component module is used by users to write component algorithms into code templates and recompile custom components.

[0052] The solver supports the custom component function. Custom components are compiled as separate modules and loaded as dynamic link libraries. When users customize components, they define the input and output parameters and other characteristics of the components on the interface. Through the set algorithm program, the interface automatically generates a code template. Users write the component algorithm into the code template and recompile the custom component module.

[0053] Obviously, those skilled in the art can make various changes and modifications to the technical solution without departing from the spirit and scope of the technical solution. Thus, if these modifications and variations of the technical solution fall within the scope of the claims of the technical solution and their equivalents, the technical solution is also intended to include these modifications and variations.

Claims

1. A fluid system visualization cloud platform system, characterized in that: include: The graphic element library module is used to define the parameter data related to the simulation solution supported by the system and provide the input parameters required for the solution calculation for the nodes of the component link network topology diagram created in the graphical modeling module; Graphical modeling module, which is used to create component link network topology diagram and set component input parameters for solution calculation; A calculation and solution module is used to set component model parameters and calculation and solution parameters, and call the solver for calculation; A result processing module, which is used to output and analyze the calculation results of the calculation and solution module; Collaborative work module, which is used to enable full-duplex communication between the browser and the server to achieve real-time collaborative work between teams; The curve and surface library module is used to store characteristic curves and surfaces to enable users to manage and call data; The custom component module is used by users to write component algorithms into code templates and recompile custom components.

2. The fluid system visualization cloud platform system according to claim 1, characterized in that: The function realization process of the calculation and solution module specifically includes: According to the design indicators, the one-dimensional parameterized model of the cooling scheme is obtained by determining the internal cooling structure form and cooling structure parameters; Specify the input parameters, output parameters, and port information of the primitives; List the characteristic equations of all components in the fluid system network, list the mass and energy conservation equations at the nodes, solve the entire fluid system equation group through an iterative method, and finally obtain the parameters at each position.

3. The fluid system visualization cloud platform system according to claim 1, characterized in that: The solution process design method of the calculation solution module is: Save the parameters saved in the interface in the project folder in .inp format; The C++ solver performs component algorithms by referencing a custom component library; The solver returns the solving process parameters to the interface console; The solver saves the simulation results to the result file and returns them in the interface output results.

4. The fluid system visualization cloud platform system according to claim 1, characterized in that: The solver improves convergence in the following ways: Use linearization to transform nonlinear equations into quasi-linear equations for easy solution by the program; First use the incompressible solver module for several iterations, and then switch to the compressible module.

5. The fluid system visualization cloud platform system according to claim 1, characterized in that: The solver uses the following methods to improve the solving speed: Develop an adaptive relaxation factor calculation method based on the Aitken relaxation method; The analysis process is time-consuming, and more concurrent processing is introduced; Reduce unnecessary file output during file reading and writing; According to the program time-consuming result data, adjust the data structure and select an efficient storage solution.

6. The fluid system visualization cloud platform system according to claim 1, characterized in that: The process of enabling full-duplex communication between the browser and the server to achieve real-time collaborative work between teams specifically includes: The platform system adopts a hybrid development model of Https protocol and WSS protocol, and uses the Stomp framework encapsulated based on WebSocket technology to achieve full-duplex communication between browsers and servers, thereby realizing collaborative work and instant messaging functions between teams; Establish CUTP mode for large text data transmission; Use PostGreSql database for data storage and data synchronization; When collaborating, an asynchronous multi-queue mode is adopted, and multiple threads concurrently process synchronous messages.

7. The fluid system visualization cloud platform system according to claim 6, characterized in that: The platform system is also provided with a message interception module, a message broadcast module and a queue pool model module for processing the affairs of the collaborative part; wherein: The message interception module is used for receiving client messages, identity authentication, and information security; the message broadcast module is used for broadcasting required messages and supports sending by designated clients; the queue pool model module is used for receiving and processing messages under multiple ports in an orderly manner to ensure information consistency among multiple clients.

8. The fluid system visualization cloud platform system according to claim 1, characterized in that: The basic data of the curve and surface are processed by Chebyshev polynomial interpolation. When some scattered point parameters cannot be well fitted in actual calculation, fitting is performed by taking the logarithm of each variable.

9. The fluid system visualization cloud platform system according to claim 1, characterized in that: The function realization process of the custom component module specifically includes: When users define custom components, they define the input and output parameters of the components on the interface. The set algorithm program automatically generates code templates on the interface; The user writes the component algorithm into the code template and recompiles the custom component module.

10. The fluid system visualization cloud platform system according to claim 1, characterized in that: The functions of the result processing module include chart viewing, report generation and viewing, and report chart generation. The specific implementation process is as follows: The implementation process of the chart viewing is as follows: parsing the calculation result file in the view area; The implementation process of report generation and viewing: call the word interface document template to generate a report, download it to the local computer and open it for viewing; The implementation process of the report chart generation function is: based on the scanning of static resources in the program, the background releases and obtains the specified resources to ensure the reliability of the report and icon content.