Pipeline design method and device, computer equipment, storage medium and program product
By grid processing and path parameter analysis of the three-dimensional model of the aircraft engine, the external pipeline of the aircraft engine is automatically designed, which solves the problems of long design cycles and high costs caused by traditional design methods, and achieves efficient and accurate pipeline design.
Patent Information
- Application Number
- CN202510118538.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-01-24
AI Technical Summary
Traditional aero engine external pipeline design methods rely on experience and manual calculations, resulting in long design cycles and high costs.
By meshing the three-dimensional model of the engine to be designed, the path parameters of the to-choose path between the start point and the end point of the external pipeline are obtained, and the target path is determined based on these path parameters in the search space, thereby automatically designing the external pipeline of the aircraft engine.
It realizes automatic generation of an aircraft engine external pipeline design scheme that meets the design requirements, improves design efficiency, saves design costs, and improves design accuracy and reliability.
Smart Images

Figure CN119783471A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of aero-engine design, and in particular to a pipeline design method, device, computer equipment, storage medium and program product. Background Art
[0002] External piping design is an important part of aircraft engine design and has a significant impact on the overall performance and operating efficiency of the engine. However, external piping design of aircraft engines is a highly complex, multidisciplinary problem involving knowledge from multiple fields.
[0003] Traditional piping design methods often rely on designers' experience and manual calculations, resulting in long design cycles and high costs. Summary of the invention
[0004] Based on this, it is necessary to provide a piping design method, device, computer equipment, storage medium and program product that can automatically design external piping of aircraft engines to improve the design cycle and reduce costs in response to the above technical problems.
[0005] In a first aspect, the present application provides a pipeline design method. The method comprises:
[0006] Meshing the three-dimensional model of the engine to be designed to obtain a search space for an external pipeline of the engine to be designed;
[0007] Obtaining the path parameters of the candidate paths between the starting point and the end point of each of the input external pipelines; the candidate paths are the paths between a node and the next node of the external pipeline;
[0008] For each of the external pipelines, in the search space, a target path between a starting point and an end point of the external pipeline is determined according to path parameters of each of the candidate paths of the external pipeline;
[0009] The target path of each of the external pipelines is determined as the pipeline design scheme of the engine to be designed.
[0010] In one embodiment, determining the target path between the start point and the end point of the external pipeline according to the path parameters of each of the candidate paths of the external pipeline includes:
[0011] Determine at least one to-be-selected node corresponding to the to-be-processed node of the external pipeline; the to-be-processed node is any node between the starting point and the end point of the pipeline except the end point;
[0012] According to the path parameters of the candidate paths corresponding to the candidate nodes, a target node corresponding to the node to be processed is determined from each of the candidate nodes, and the candidate paths corresponding to the target nodes are used as intermediate paths;
[0013] The target node is used as the node to be processed, and the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline is returned to determine the target node corresponding to the node to be processed, until the target node is the end point, and the target path is determined according to each intermediate path.
[0014] In one embodiment, determining the target node corresponding to the node to be processed from each of the candidate nodes according to the path parameters of the candidate path corresponding to the candidate node includes:
[0015] Determine a weighted sum result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path;
[0016] The target node is determined from the candidate nodes according to the weighted summation results corresponding to the candidate nodes.
[0017] In one embodiment, determining the target node from each of the candidate nodes according to the weighted summation results corresponding to each of the candidate nodes includes:
[0018] The candidate node corresponding to the minimum weighted sum result is determined as the target node.
[0019] In one embodiment, the method further comprises:
[0020] If the first target node corresponding to the first to-be-processed node is the same as the second target node corresponding to the second to-be-processed node, then the first priority of the first external pipeline and the second priority of the second external pipeline are compared, the first to-be-processed node is the to-be-processed node of the first external pipeline, and the second to-be-processed node is the to-be-processed node of the second external pipeline;
[0021] If the first priority is higher than the second priority, the target node corresponding to the second node to be processed is determined from other nodes to be selected; the other nodes to be selected include the nodes to be selected corresponding to the second node to be processed except the second target node.
[0022] In one embodiment, the path parameters of the selected path include at least one of the path length and maximum corner angle of the selected path, the degree of fit between the selected path and the surface of the engine to be designed, and the distance between the selected path and other external pipelines, and the other external pipelines include external pipelines in each of the external pipelines except the external pipeline corresponding to the selected path.
[0023] In a second aspect, the present application also provides a pipeline design device. The device comprises:
[0024] A processing module, used for performing grid processing on the three-dimensional model of the engine to be designed, and obtaining a search space for the external pipeline of the engine to be designed;
[0025] An acquisition module, used for acquiring the path parameters of the candidate paths between the starting point and the end point of each of the external pipelines; the candidate paths are the paths between a node and the next node of the external pipeline;
[0026] A first determination module is used to determine, for each of the external pipelines, in the search space, a target path between a start point and an end point of the external pipeline according to path parameters of each of the candidate paths of the external pipeline;
[0027] The second determination module is used to determine the target path of each of the external pipelines as the pipeline design scheme of the engine to be designed.
[0028] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.
[0029] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.
[0030] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any of the above methods when executed by a processor.
[0031] The above-mentioned piping design method, device, computer equipment, storage medium and program product obtain the search space of the external piping of the engine to be designed by gridding the three-dimensional model of the engine to be designed, obtain the path parameters of the candidate paths between the starting points and the end points of each input external piping, and then for each external piping, in the search space, determine the target path between the starting point and the end point of the external piping according to the path parameters of each candidate path of the external piping, and determine the target path of each external piping as the piping design scheme of the engine to be designed, thereby being able to automatically generate a design scheme for the external piping of the aircraft engine that meets the design requirements, thereby improving the design efficiency and saving the design cost. In addition, the above-mentioned method can also improve the accuracy and reliability of the external piping design. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is an internal structure diagram of a computer device provided in an embodiment of the present application;
[0033] Figure 2 It is a flow chart of a pipeline design method provided in an embodiment of the present application;
[0034] Figure 3 It is a flowchart of a method for determining a target path provided in an embodiment of the present application;
[0035] Figure 4 It is a flowchart of a method for determining a target node provided in an embodiment of the present application;
[0036] Figure 5 It is a flowchart of another method for determining a target node provided in an embodiment of the present application;
[0037] Figure 6 It is a flow chart of an automated design method for external piping of an aircraft engine provided in an embodiment of the present application;
[0038] Figure 7 It is a structural block diagram of a pipeline design device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] External piping design is an important part of aircraft engine design and has a significant impact on the overall performance and operating efficiency of the engine. However, external piping design of aircraft engines is a highly complex, multidisciplinary problem involving knowledge from multiple fields.
[0041] Traditional piping design methods often rely on designers' experience and manual calculations, resulting in long design cycles and high costs.
[0042] The pipeline design method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1 is an internal structure diagram of a computer device provided in an embodiment of the present application. The computer device may be a server, and its internal structure diagram may be as follows Figure 1 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a pipeline design method is implemented.
[0043] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0044] In one embodiment, Figure 2 As shown, Figure 2 is a flow chart of a pipeline design method provided in an embodiment of the present application, which can be applied to Figure 1 The computer device comprises the following steps:
[0045] S201, meshing the three-dimensional model of the engine to be designed to obtain a search space for external pipelines of the engine to be designed.
[0046] Optionally, a three-dimensional model of the engine to be designed input by the user may be obtained, and then the surface of the three-dimensional model may be meshed to obtain a search space for planning external pipelines.
[0047] S202: Obtain path parameters of the candidate paths between the starting points and end points of each input external pipeline.
[0048] The path to be selected is a path between a node and the next node of the external pipeline.
[0049] In one embodiment, the starting point, the end point, and the path parameters of the selected path between the starting point and the end point of the external pipeline input by the user may be obtained, wherein the path parameters of the selected path may include, for example, the pipeline diameter, the maximum corner angle, and the priority of the selected path.
[0050] For example, the start point Start, end point End of the external pipeline Pipe1, and the pipeline diameter Diameter, maximum corner angle MaxAngle, and priority Priority of the selected path input by the user can be described in the form of a script, as shown below:
[0051] Pipe1:
[0052] Start: (x1, y1, z1)
[0053] End: (x2, y2, z2)
[0054] Diameter: d1
[0055] MaxAngle: a1
[0056] Priority: p1
[0057] S203 , for each external pipeline, in the search space, determine a target path between a start point and an end point of the external pipeline according to path parameters of each candidate path of the external pipeline.
[0058] In one embodiment, for each external pipeline, a target path between a starting point and an end point of each pipeline may be determined according to path parameters of each candidate path corresponding to each external pipeline.
[0059] Exemplarily, the target path between the starting point and the end point of the external pipeline can be determined in the following manner: a "seed" can be created for the starting point of the external pipeline, the starting point of the external pipeline is used as a node to be processed, at least one candidate node that can be used as the next node of the node to be processed is determined, and then based on the A* algorithm and the vine growth strategy, according to the path parameters of each candidate path corresponding to each candidate node, the next node of the starting point, that is, the target node corresponding to the node to be processed, is determined from the candidate nodes, and the candidate path corresponding to the target node is used as the intermediate path. Afterwards, the next node of the starting point, that is, the target node corresponding to the node to be processed, can be used again as the node to be processed, and then the target node corresponding to the new node to be processed is determined based on the A* algorithm and the vine growth strategy, and the above steps are repeated until the target node corresponding to the latest node to be processed is the end point, and the target path is determined according to each intermediate path.
[0060] Among them, the path to be selected is the path formed between the node to be processed and the node to be selected, and the path parameters of the path to be selected include at least one of the path length and maximum corner angle of the path to be selected, the degree of fit between the path to be selected and the surface of the engine to be designed, and the distance between the path to be selected and other external pipelines.
[0061] S204: Determine the target path of each external pipeline as a pipeline design scheme for the engine to be designed.
[0062] In one embodiment, when all external pipelines reach the end point, that is, when all external pipelines determine the target path, the path coordinates of each target path can be determined, and the pipeline design scheme of the engine to be designed is generated according to each path coordinate.
[0063] In an embodiment of the present application, by gridding the three-dimensional model of the engine to be designed, a search space for the external piping of the engine to be designed is obtained, and path parameters of the candidate paths between the starting points and end points of each input external piping are obtained. Then, for each external piping, in the search space, a target path between the starting point and the end point of the external piping is determined according to the path parameters of each candidate path of the external piping, and the target path of each external piping is determined as the piping design scheme of the engine to be designed, thereby enabling automatic generation of a design scheme for the external piping of an aircraft engine that meets the design requirements, thereby improving design efficiency, saving design costs, and the accuracy and reliability of the external piping design can also be improved through the above method.
[0064] Reference Figure 3 , Figure 3 1 is a flow chart of a target path determination method provided by an embodiment of the present application. This embodiment relates to a possible implementation method of how to determine a target path between a starting point and an end point of an external pipeline according to the path parameters of each selected path of the external pipeline. Based on the above embodiment, the above S203 includes the following steps:
[0065] S301, determining at least one node to be selected corresponding to the node to be processed of the external pipeline.
[0066] The node to be processed is any node between the starting point and the end point of the pipeline except the end point.
[0067] Exemplarily, the starting point may be determined as the first node to be processed, and then at least one candidate node that may be the next node of the node to be processed is determined.
[0068] For example, if node A is determined to be the node to be processed, then nodes B, C, D, and E adjacent to node A may be determined as candidate nodes corresponding to node A to be processed.
[0069] S302 , according to the path parameters of the candidate paths corresponding to the candidate nodes, determine the target node corresponding to the node to be processed from the candidate nodes, and use the candidate paths corresponding to the target nodes as the intermediate paths.
[0070] Optionally, based on the A* algorithm and the vine growth strategy, according to the path parameters of the candidate paths corresponding to the candidate nodes, the target node corresponding to the node to be processed can be determined from the candidate nodes, and the candidate path corresponding to the target node can be used as the intermediate path.
[0071] In one embodiment, the starting point of the external pipeline can be used as the "seed" for the growth of the vine, and the growth direction of the vine can be determined from the starting point toward the end point. Specifically, determining the growth direction of the node to be processed means determining the target node corresponding to the node to be processed. The above-mentioned determination of the target node corresponding to the node to be processed from each node to be processed based on the path parameters of the path to be selected corresponding to the node to be selected based on the A* algorithm and the vine growth strategy can be achieved, for example, in the following manner: according to the weights of the path parameters of each path to be selected corresponding to the node to be selected and the path parameters of each path to be selected, the weighted summation result corresponding to the node to be selected is determined, and then according to the weighted summation result corresponding to each node to be selected, the target node is determined from each node to be selected.
[0072] Among them, the path to be selected is the path formed between the node to be processed and the node to be selected, and the path parameters of the path to be selected include at least one of the path length and maximum corner angle of the path to be selected, the degree of fit between the path to be selected and the surface of the engine to be designed, and the distance between the path to be selected and other external pipelines.
[0073] Exemplarily, the path between the to-be-processed node A and the to-be-selected node B is the to-be-selected path 1, the path between the to-be-processed node A and the to-be-selected node C is the to-be-selected path 2, the path between the to-be-processed node A and the to-be-selected node D is the to-be-selected path 3, and the path between the to-be-processed node A and the to-be-selected node E is the to-be-selected path 4. Then, the first weighted summation result corresponding to the to-be-selected node B can be determined according to the weight of the path parameter of the to-be-selected path 1 and the path parameter of the to-be-selected path 1, the second weighted summation result corresponding to the to-be-selected node C can be determined according to the weight of the path parameter of the to-be-selected path 2 and the path parameter of the to-be-selected path 2, the third weighted summation result corresponding to the to-be-selected node D can be determined according to the weight of the path parameter of the to-be-selected path 3 and the path parameter of the to-be-selected path 3, and the fourth weighted summation result corresponding to the to-be-selected node E can be determined according to the weight of the path parameter of the to-be-selected path 4 and the path parameter of the to-be-selected path 4. Then, the target node can be determined from each to-be-selected node according to the first weighted summation result, the second weighted summation result, the third weighted summation result, and the fourth weighted summation result.
[0074] S303, taking the target node as the node to be processed, and returning to the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline, so as to determine the target node corresponding to the node to be processed, until the target node is the end point, and determining the target path according to each intermediate path.
[0075] In one embodiment, it can be determined whether the target node is the end point of the external pipeline. If the target node is not the end point of the external pipeline, the target node can be used as a new node to be processed, and then the above steps S301-S302 are returned to determine the target node corresponding to the new node to be processed until the target node is the end point, and then the intermediate paths are combined to obtain the target path.
[0076] In an embodiment of the present application, at least one candidate node corresponding to the node to be processed of the external pipeline is determined, and according to the path parameters of the candidate path corresponding to the candidate node, the target node corresponding to the node to be processed is determined from each candidate node, and the candidate path corresponding to the target node is used as the intermediate path, and the target node is used as the node to be processed, and the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline is returned to determine the target node corresponding to the node to be processed, until the target node is the end point, and the target path is determined according to each intermediate path, so that the target path can be automatically determined based on the path parameters of the candidate path corresponding to the candidate node based on the A* algorithm and the vine growth strategy, and a design scheme for the external pipeline of the aircraft engine that meets the design requirements is obtained, thereby improving design efficiency and saving design costs. In addition, the accuracy and reliability of the external pipeline design can also be improved through the above method.
[0077] Reference Figure 4 , Figure 4 1 is a flow chart of a method for determining a target node provided by an embodiment of the present application. This embodiment relates to a possible implementation method of determining a target node corresponding to a to-be-processed node from each to-be-selected node based on the path parameters of the to-be-selected path corresponding to the to-be-selected node. Based on the above embodiment, the above S302 includes the following steps:
[0078] S401, determining a weighted sum result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path.
[0079] Optionally, the path parameters of the path to be selected may include, for example, the path length and maximum corner angle of the path to be selected, the degree of fit between the path to be selected and the surface of the engine to be designed, and the distance between the path to be selected and other external pipelines.
[0080] Exemplarily, for the candidate path 1 between the node A to be processed and the candidate node B, the weights of each path parameter can be determined according to the importance of each path parameter of the candidate path 1, and then the weighted summation result corresponding to the candidate node B is determined by the weights of each path parameter of the candidate path 1, the path length and maximum corner angle of the candidate path 1, the degree of fit between the candidate path 1 and the surface of the engine to be designed, and the distance between the candidate path 1 and other external pipelines.
[0081] S402: Determine a target node from each candidate node according to the weighted summation result corresponding to each candidate node.
[0082] Optionally, the candidate node corresponding to the minimum weighted sum result may be determined as the target node. Alternatively, a preset threshold may be set, and the candidate node corresponding to the weighted sum result less than the preset threshold may be determined as the target node.
[0083] In an embodiment of the present application, a weighted summation result corresponding to a candidate node is determined based on the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path. A target node is determined from each candidate node based on the weighted summation result corresponding to each candidate node. This enables automatic determination of the target path, and obtains a design scheme for the external piping of an aircraft engine that meets the design requirements, thereby improving design efficiency and saving design costs. In addition, the above method can also improve the accuracy and reliability of the external piping design.
[0084] Based on the above embodiment, the above S402 can be implemented in the following manner:
[0085] The candidate node corresponding to the minimum weighted sum result is determined as the target node.
[0086] Exemplarily, the weighted sum results corresponding to the candidate nodes may be sorted, and then the candidate node corresponding to the minimum weighted sum result may be determined as the target node.
[0087] In an embodiment of the present application, the candidate node corresponding to the minimum weighted sum result is determined as the target node, so that the target path can be automatically determined, and a design scheme for the external piping of the aircraft engine that meets the design requirements is obtained, thereby improving the design efficiency and saving the design cost. The above method can also improve the accuracy and reliability of the external piping design.
[0088] Reference Figure 5 , Figure 5 FIG. 1 is a flow chart of another target node determination method provided by an embodiment of the present application. Based on the above embodiment, the method further includes the following steps:
[0089] S501: If the first target node corresponding to the first node to be processed is the same as the second target node corresponding to the second node to be processed, compare the first priority of the first external pipeline with the second priority of the second external pipeline.
[0090] The first node to be processed is a node to be processed of the first external pipeline, and the second node to be processed is a node to be processed of the second external pipeline.
[0091] In an embodiment of the present application, after each round of determining the target node, collision detection is required. If the first target node corresponding to the first node to be processed is the same as the second target node corresponding to the second node to be processed, it means that two different external pipelines have collided during the path selection process. At this time, the first priority of the first external pipeline and the second priority of the second external pipeline can be compared.
[0092] S502: If the first priority is higher than the second priority, determine the target node corresponding to the second node to be processed from other nodes to be selected.
[0093] The other nodes to be selected include the nodes to be selected corresponding to the second node to be processed except the second target node.
[0094] In one embodiment, if the first priority is higher than the second priority, it means that the priority of the first external pipeline is higher than the priority of the second external pipeline, and the second external pipeline triggers the bypass mechanism, that is, based on the above steps S301-S303, the target node corresponding to the second node to be processed is re-determined from other candidate nodes corresponding to the second node to be processed except the second target node.
[0095] In the embodiment of the present application, if the first target node corresponding to the first node to be processed is the same as the second target node corresponding to the second node to be processed, the first priority of the first external pipeline and the second priority of the second external pipeline are compared. If the first priority is higher than the second priority, the target node corresponding to the second node to be processed is determined from other nodes to be selected, so that when a collision is detected, the external pipeline with a low priority can be actively bypassed, avoiding conflicts between pipelines, and further improving the safety and reliability of the external pipeline design. At the same time, it avoids repeated rework due to collision problems after the design is completed, and improves the efficiency of external pipeline design.
[0096] Reference Figure 6 , Figure 6 1 is a flow chart of an automated design method for external piping of an aircraft engine provided in an embodiment of the present application. The method comprises the following steps:
[0097] S601, meshing the three-dimensional model of the engine to be designed to obtain a search space for external pipelines of the engine to be designed.
[0098] S602: Obtain path parameters of the candidate paths between the starting points and end points of each input external pipeline.
[0099] S603: Determine at least one node to be selected corresponding to the node to be processed of the external pipeline.
[0100] S604: Determine a weighted sum result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path.
[0101] S605: Determine the candidate node corresponding to the minimum weighted sum result as the target node.
[0102] S606, taking the target node as the node to be processed, and returning to the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline to determine the target node corresponding to the node to be processed, until the target node is the end point, and determining the target path according to each intermediate path.
[0103] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0104] Based on the same inventive concept, the embodiment of the present application also provides a pipeline design device for implementing the pipeline design method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more pipeline design device embodiments provided below can refer to the limitations of the pipeline design method above, and will not be repeated here.
[0105] In one embodiment, Figure 7 As shown, Figure 7 700 is a structural block diagram of a pipeline design device provided in an embodiment of the present application. The device 700 includes:
[0106] The processing module 701 is used to perform grid processing on the three-dimensional model of the engine to be designed to obtain a search space for the external pipeline of the engine to be designed.
[0107] The acquisition module 702 is used to acquire the path parameters of the candidate path between the starting point and the end point of each input external pipeline; the candidate path is the path between a node and the next node of the external pipeline.
[0108] The first determination module 703 is used to determine, for each external pipeline, a target path between a start point and an end point of the external pipeline according to path parameters of each candidate path of the external pipeline in the search space.
[0109] The second determination module 704 is used to determine the target path of each external pipeline as the pipeline design scheme of the engine to be designed.
[0110] In one embodiment, the first determining module 703 includes:
[0111] The first determining unit is used to determine at least one to-be-selected node corresponding to the to-be-processed node of the external pipeline; the to-be-processed node is any node between the starting point and the end point of the pipeline except the end point.
[0112] The second determining unit is used to determine the target node corresponding to the node to be processed from each of the nodes to be selected according to the path parameters of the node to be processed and the path to be selected corresponding to the node to be selected, and use the path to be selected corresponding to the target node as the intermediate path.
[0113] The third determination unit is used to take the target node as the node to be processed, and return to execute the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline to determine the target node corresponding to the node to be processed, until the target node is the end point, and determine the target path according to each intermediate path.
[0114] In one embodiment, the second determining unit includes:
[0115] The first determining subunit is used to determine the weighted summation result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path.
[0116] The second determination subunit is used to determine the target node from each candidate node according to the weighted summation result corresponding to each candidate node.
[0117] In one of the embodiments, the second determining subunit is specifically configured to determine the candidate node corresponding to the minimum weighted sum result as the target node.
[0118] In one embodiment, the apparatus 700 further includes:
[0119] A comparison module is used to compare the first priority of the first external pipeline and the second priority of the second external pipeline if the first target node corresponding to the first node to be processed is the same as the second target node corresponding to the second node to be processed. The first node to be processed is the node to be processed of the first external pipeline, and the second node to be processed is the node to be processed of the second external pipeline.
[0120] The third determination module is used to determine the target node corresponding to the second node to be processed from other nodes to be selected if the first priority is higher than the second priority; the other nodes to be selected include the nodes to be selected corresponding to the second node to be processed except the second target node.
[0121] In one embodiment, the path parameters of the selected path include at least one of the path length and maximum turning angle of the selected path, the degree of fit between the selected path and the surface of the engine to be designed, and the distance between the selected path and other external pipelines. Other external pipelines include external pipelines other than the external pipeline corresponding to the selected path.
[0122] Each module in the above pipeline design device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0123] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0124] Meshing the three-dimensional model of the engine to be designed to obtain a search space for the external pipeline of the engine to be designed;
[0125] Obtaining path parameters of a candidate path between the starting point and the end point of each input external pipeline; the candidate path is a path between a node and the next node of the external pipeline;
[0126] For each external pipeline, in the search space, a target path between a starting point and an end point of the external pipeline is determined according to path parameters of each candidate path of the external pipeline;
[0127] The target path of each external pipeline is determined as the pipeline design scheme of the engine to be designed.
[0128] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0129] Determine at least one to-be-selected node corresponding to the to-be-processed node of the external pipeline; the to-be-processed node is any node between the starting point and the end point of the pipeline except the end point;
[0130] According to the path parameters of the to-be-processed node and the to-be-selected path corresponding to the to-be-selected node, a target node corresponding to the to-be-processed node is determined from each to-be-selected node, and the to-be-selected path corresponding to the target node is used as an intermediate path;
[0131] The target node is taken as the node to be processed, and the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline is returned to determine the target node corresponding to the node to be processed, until the target node is the end point, and the target path is determined according to each intermediate path.
[0132] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0133] Determine the weighted sum result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path;
[0134] According to the weighted summation results corresponding to the candidate nodes, the target node is determined from the candidate nodes.
[0135] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0136] The candidate node corresponding to the minimum weighted sum result is determined as the target node.
[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0138] If the first target node corresponding to the first to-be-processed node is the same as the second target node corresponding to the second to-be-processed node, then the first priority of the first external pipeline and the second priority of the second external pipeline are compared, the first to-be-processed node is the to-be-processed node of the first external pipeline, and the second to-be-processed node is the to-be-processed node of the second external pipeline;
[0139] If the first priority is higher than the second priority, the target node corresponding to the second node to be processed is determined from other nodes to be selected; the other nodes to be selected include the nodes to be selected corresponding to the second node to be processed except the second target node.
[0140] In one embodiment, the path parameters of the selected path include at least one of the path length and maximum corner angle of the selected path, the degree of fit between the selected path and the surface of the engine to be designed, and the distance between the selected path and other external pipelines. Other external pipelines include external pipelines other than the external pipeline corresponding to the selected path.
[0141] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0142] Meshing the three-dimensional model of the engine to be designed to obtain a search space for the external pipeline of the engine to be designed;
[0143] Obtaining path parameters of a candidate path between the starting point and the end point of each input external pipeline; the candidate path is a path between a node and the next node of the external pipeline;
[0144] For each external pipeline, in the search space, a target path between a starting point and an end point of the external pipeline is determined according to path parameters of each candidate path of the external pipeline;
[0145] The target path of each external pipeline is determined as the pipeline design scheme of the engine to be designed.
[0146] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0147] Determine at least one to-be-selected node corresponding to the to-be-processed node of the external pipeline; the to-be-processed node is any node between the starting point and the end point of the pipeline except the end point;
[0148] According to the path parameters of the to-be-processed node and the to-be-selected path corresponding to the to-be-selected node, a target node corresponding to the to-be-processed node is determined from each to-be-selected node, and the to-be-selected path corresponding to the target node is used as an intermediate path;
[0149] The target node is taken as the node to be processed, and the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline is returned to determine the target node corresponding to the node to be processed, until the target node is the end point, and the target path is determined according to each intermediate path.
[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0151] Determine the weighted sum result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path;
[0152] According to the weighted summation results corresponding to the candidate nodes, the target node is determined from the candidate nodes.
[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0154] The candidate node corresponding to the minimum weighted sum result is determined as the target node.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0156] If the first target node corresponding to the first to-be-processed node is the same as the second target node corresponding to the second to-be-processed node, then the first priority of the first external pipeline and the second priority of the second external pipeline are compared, the first to-be-processed node is the to-be-processed node of the first external pipeline, and the second to-be-processed node is the to-be-processed node of the second external pipeline;
[0157] If the first priority is higher than the second priority, the target node corresponding to the second node to be processed is determined from other nodes to be selected; the other nodes to be selected include the nodes to be selected corresponding to the second node to be processed except the second target node.
[0158] In one embodiment, the path parameters of the selected path include at least one of the path length and maximum corner angle of the selected path, the degree of fit between the selected path and the surface of the engine to be designed, and the distance between the selected path and other external pipelines. Other external pipelines include external pipelines other than the external pipeline corresponding to the selected path.
[0159] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0160] Meshing the three-dimensional model of the engine to be designed to obtain a search space for the external pipeline of the engine to be designed;
[0161] Obtaining path parameters of a candidate path between the starting point and the end point of each input external pipeline; the candidate path is a path between a node and the next node of the external pipeline;
[0162] For each external pipeline, in the search space, a target path between a starting point and an end point of the external pipeline is determined according to path parameters of each candidate path of the external pipeline;
[0163] The target path of each external pipeline is determined as the pipeline design scheme of the engine to be designed.
[0164] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0165] Determine at least one to-be-selected node corresponding to the to-be-processed node of the external pipeline; the to-be-processed node is any node between the starting point and the end point of the pipeline except the end point;
[0166] According to the path parameters of the to-be-processed node and the to-be-selected path corresponding to the to-be-selected node, a target node corresponding to the to-be-processed node is determined from each to-be-selected node, and the to-be-selected path corresponding to the target node is used as an intermediate path;
[0167] The target node is taken as the node to be processed, and the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline is returned to determine the target node corresponding to the node to be processed, until the target node is the end point, and the target path is determined according to each intermediate path.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0169] Determine the weighted sum result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path;
[0170] According to the weighted summation results corresponding to the candidate nodes, the target node is determined from the candidate nodes.
[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0172] The candidate node corresponding to the minimum weighted sum result is determined as the target node.
[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0174] If the first target node corresponding to the first to-be-processed node is the same as the second target node corresponding to the second to-be-processed node, then the first priority of the first external pipeline and the second priority of the second external pipeline are compared, the first to-be-processed node is the to-be-processed node of the first external pipeline, and the second to-be-processed node is the to-be-processed node of the second external pipeline;
[0175] If the first priority is higher than the second priority, the target node corresponding to the second node to be processed is determined from other nodes to be selected; the other nodes to be selected include the nodes to be selected corresponding to the second node to be processed except the second target node.
[0176] In one embodiment, the path parameters of the selected path include at least one of the path length and maximum corner angle of the selected path, the degree of fit between the selected path and the surface of the engine to be designed, and the distance between the selected path and other external pipelines. Other external pipelines include external pipelines other than the external pipeline corresponding to the selected path.
[0177] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0178] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0179] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A pipeline design method, characterized in that: The method comprises: Performing grid processing on the three-dimensional model of the engine to be designed to obtain a search space for the external pipeline of the engine to be designed; Obtaining the path parameters of the candidate paths between the starting point and the end point of each of the external pipelines; the candidate paths are the paths between a node and the next node of the external pipelines; For each of the external pipelines, in the search space, determining a target path between a starting point and an end point of the external pipeline according to path parameters of each of the candidate paths of the external pipeline; The target path of each of the external pipelines is determined as the pipeline design scheme of the engine to be designed.
2. The method according to claim 1, characterized in that: The step of determining the target path between the starting point and the end point of the external pipeline according to the path parameters of each of the candidate paths of the external pipeline comprises: Determine at least one to-be-selected node corresponding to the to-be-processed node of the external pipeline; the to-be-processed node is any node between the starting point and the end point of the pipeline except the end point; Determine the target node corresponding to the node to be processed from each of the nodes to be selected according to the path parameters of the paths to be selected corresponding to the nodes to be selected, and use the paths to be selected corresponding to the target nodes as the intermediate paths; The target node is taken as the node to be processed, and the step of determining at least one candidate node corresponding to the node to be processed of the external pipeline is returned to determine the target node corresponding to the node to be processed, until the target node is the end point, and the target path is determined according to each of the intermediate paths.
3. The method according to claim 2, characterized in that The step of determining a target node corresponding to the node to be processed from each of the nodes to be selected according to the path parameters of the paths to be selected corresponding to the nodes to be selected includes: Determine a weighted summation result corresponding to the candidate node according to the weights of the path parameters of each candidate path corresponding to the candidate node and the path parameters of each candidate path; The target node is determined from the nodes to be selected according to the weighted summation results corresponding to the nodes to be selected.
4. The method according to claim 3, characterized in that The step of determining the target node from the candidate nodes according to the weighted summation results corresponding to the candidate nodes includes: The candidate node corresponding to the minimum weighted sum result is determined as the target node.
5. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: If the first target node corresponding to the first to-be-processed node is the same as the second target node corresponding to the second to-be-processed node, then the first priority of the first external pipeline and the second priority of the second external pipeline are compared, the first to-be-processed node is the to-be-processed node of the first external pipeline, and the second to-be-processed node is the to-be-processed node of the second external pipeline; If the first priority is higher than the second priority, the target node corresponding to the second node to be processed is determined from other nodes to be selected; the other nodes to be selected include the nodes to be selected corresponding to the second node to be processed except the second target node.
6. The method according to any one of claims 1 to 4, characterized in that: The path parameters of the selected path include at least one of the path length and maximum turning angle of the selected path, the degree of fit between the selected path and the surface of the engine to be designed, and the distance between the selected path and other external pipelines, wherein the other external pipelines include the external pipelines other than the external pipeline corresponding to the selected path.
7. A pipeline design device, characterized in that: The device comprises: A processing module, used for performing grid processing on the three-dimensional model of the engine to be designed, so as to obtain a search space of the external pipeline of the engine to be designed; An acquisition module, used to acquire path parameters of a candidate path between a starting point and an end point of each of the external pipelines; the candidate path is a path between a node and a next node of the external pipeline; A first determination module is used to determine, for each of the external pipelines, in the search space, a target path between a start point and an end point of the external pipeline according to path parameters of each of the candidate paths of the external pipeline; The second determination module is used to determine the target path of each of the external pipelines as the pipeline design scheme of the engine to be designed.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Engine right-angle pipeline genetic algorithm planning method oriented to Manhattan space
CN104809307A
Simulation optimization method for air conditioner pipeline system
CN114186372A
Aircraft engine external pipeline simulation laying method and system
CN117113603A
Pipeline layout method, equipment, storage medium, computer program product and device
CN118797853A
Pipeline path automatic planning method for multiple pipelines in building
CN118863199A