Pipeline flow distribution method and computer readable storage medium

By dividing the computational domain along the pipe diameter and setting the type in the pipeline flow distribution, the problem of low efficiency in the prior art is solved, achieving efficient flow distribution and mesh consistency, and reducing the time of repeated calculations.

CN120874686BActive Publication Date: 2025-12-05ENERGY CONSTR TIMES (SHANGHAI) NEW ENERGY STORAGE TECH RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511389693.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-26
Publication Date
2025-12-05
Estimated Expiration
2045-09-26

AI Technical Summary

Technical Problem

Existing simulation-based pipeline flow distribution methods are inefficient, requiring frequent re-establishment of geometric models and mesh generation, which consumes a lot of time and computational resources.

Method used

By dividing the variable diameter region into computational domains along the pipe diameter direction and setting the computational domain type, pipeline fluid simulation is performed based on the computational domain type and geometric model of the variable diameter region. The computational domain type can be flexibly adjusted to achieve different simulated pipe diameters, requiring only one geometric model and one mesh generation.

Benefits of technology

This significantly reduces the time required for model adjustment and mesh generation during iterative optimization, improves the efficiency of pipeline flow distribution, and ensures mesh consistency during the optimization iteration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120874686B_ABST
    Figure CN120874686B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of simulation, and particularly provides a pipeline flow distribution method and a computer readable storage medium, and aims to solve the problem of low efficiency of an existing pipeline flow distribution method based on simulation. To this end, the pipeline flow distribution method comprises the following steps: first, dividing a variable-diameter region of a pipeline along a pipe diameter direction to obtain a calculation domain, and setting a calculation domain type; then, performing pipeline fluid simulation based on the calculation domain type and a geometric model of the variable-diameter region; when the simulation result meets a flow distribution target, determining a target pipe diameter of the variable-diameter region according to the calculation domain type of the variable-diameter region; and performing pipeline flow distribution based on the target pipe diameter. The method can realize simulation of different pipe diameters by adjusting the calculation domain type, and only needs to establish a geometric model and perform grid division once, so that the model adjustment and grid division time in the iterative optimization process are greatly reduced, and the efficiency of pipeline flow distribution is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of simulation, and specifically provides a pipeline flow distribution method and a computer readable storage medium. BACKGROUND

[0002] In a battery pack, a large amount of heat is generated due to the charging and discharging process of the battery. If the heat cannot be effectively transferred, the high temperature of the battery can easily cause safety risks, and in addition, the temperature difference between the batteries can also affect the consistency and life of the batteries. Therefore, the thermal management design of the battery pack is particularly important, and needs to ensure the temperature and temperature difference of the battery. At present, the market mainly adopts air cooling and liquid cooling methods to cool the battery, and the liquid cooling method has lower energy consumption and better control effect on the temperature difference and temperature of the battery. When the liquid cooling method is used to cool the battery, ensuring the consistency of the flow of the cooling liquid of each battery pack is the key to ensuring the temperature difference of the battery in the energy storage container. Therefore, the flow distribution of the cooling liquid between the battery packs is very important.

[0003] Numerical simulation can effectively assist in the flow distribution of the cooling liquid. However, the current flow distribution simulation method of the energy storage pipeline system usually needs to perform the steps of establishing a geometric model, dividing a grid and solving calculation, and adjusting the geometric model according to the current calculation result, and repeating the steps of dividing the grid and solving calculation until the requirement is reached. Among them, each adjustment needs to repeatedly establish a geometric model and divide a grid, which consumes a large amount of time and calculation resources, and has low efficiency. SUMMARY

[0004] The present application aims to solve the above technical problems, that is, to solve the problem of low efficiency of the existing pipeline flow distribution method based on simulation.

[0005] In a first aspect, the present application provides a pipeline flow distribution method, the pipeline comprising a variable-diameter region, the method comprising:

[0006] constructing a geometric model of the pipeline based on pipeline structure parameters;

[0007] dividing a calculation domain of the variable-diameter region of the pipeline along a pipe diameter direction, and setting a calculation domain type;

[0008] performing pipeline fluid simulation based on the calculation domain type of the variable-diameter region and the geometric model;

[0009] when the simulation result meets a flow distribution target, determining a target pipe diameter of the variable-diameter region according to the calculation domain type of the variable-diameter region;

[0010] performing pipeline flow distribution based on the target pipe diameter.

[0011] In some embodiments, the pipeline fluid simulation based on the calculation domain type of the variable diameter region and the geometric model comprises:

[0012] performing meshing on the geometric model;

[0013] determining a simulation pipe diameter of the variable diameter region based on the calculation domain type and setting boundary conditions, and performing pipeline fluid simulation calculation based on the meshed geometric model, the simulation pipe diameter and the boundary conditions; wherein the calculation domain type comprises a solid type or a fluid type.

[0014] In some embodiments, when the simulation result meets the flow distribution target, determining a target pipe diameter of the variable diameter region according to the calculation domain type of the variable diameter region comprises:

[0015] when the simulation result meets the flow distribution target, taking the simulation pipe diameter as the target pipe diameter.

[0016] In some embodiments, the method further comprises:

[0017] a calculation domain type adjustment step of adjusting the calculation domain type of the variable diameter region when the simulation result does not meet the flow distribution target;

[0018] an iterative simulation step of determining an adjusted simulation pipe diameter of the variable diameter region based on the adjusted calculation domain type of the variable diameter region and setting boundary conditions, and performing pipeline fluid simulation calculation based on the meshed geometric model, the adjusted simulation pipe diameter and the boundary conditions;

[0019] repeating the calculation domain type adjustment step and the iterative simulation step until the simulation result meets the flow distribution target.

[0020] In some embodiments, the calculation domain is provided with multiple calculation domains, and setting the calculation domain type comprises:

[0021] setting the calculation domain type of the multiple calculation domains as fluid type.

[0022] In some embodiments, repeating the calculation domain type adjustment step comprises:

[0023] in a first cycle stage, adjusting the calculation domain type of the calculation domain closest to the pipe wall in the multiple calculation domains from fluid type to solid type;

[0024] in an Nth cycle stage, adjusting the calculation domain type of the calculation domain adjacent to the calculation domain adjusted to solid type in the previous cycle stage in the multiple calculation domains from fluid type to solid type, wherein N is an integer greater than or equal to two.

[0025] In some embodiments, the calculation domain division of the variable diameter region of the pipeline along the pipe diameter direction comprises:

[0026] The variable-diameter region of the pipeline is divided into a plurality of calculation domains along the pipe diameter direction, and the center of each calculation domain coincides with the pipeline center of the variable-diameter region.

[0027] In some embodiments, dividing the variable-diameter region of the pipeline into a plurality of calculation domains along the pipe diameter direction comprises:

[0028] The variable-diameter region of the pipeline is divided into a plurality of calculation domains along the pipe diameter direction based on the minimum change amount of the pipe diameter in the actual adjustment process.

[0029] In some embodiments, dividing the variable-diameter region of the pipeline into a plurality of calculation domains along the pipe diameter direction comprises:

[0030] The variable-diameter region of the pipeline is divided into a plurality of calculation domains along the pipe diameter direction, and each calculation domain is annular, and the inner diameter of one calculation domain of the adjacent two calculation domains is the outer diameter of the other calculation domain.

[0031] In a second aspect, the present application provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the pipeline flow distribution method of any one of the above aspects.

[0032] In the technical solution, the pipeline flow distribution method can be provided, the pipeline includes a variable-diameter region, the method divides the variable-diameter region of the pipeline into calculation domains along the pipe diameter direction, and sets the calculation domain type; and then performs pipeline fluid simulation based on the calculation domain type and the geometric model of the variable-diameter region, which can realize different simulation pipe diameters by flexibly adjusting the calculation domain type, and only needs to establish a geometric model and a grid division once, thereby greatly reducing the model adjustment and grid division time in the iterative optimization process, and being beneficial to guarantee the grid consistency in the optimization iteration process, and effectively improving the efficiency of the pipeline flow distribution. BRIEF DESCRIPTION OF DRAWINGS

[0033] The preferred embodiments of the present application are described below with reference to the accompanying drawings, in which:

[0034] Figure 1 is a pipeline flow distribution method flow diagram provided by an embodiment of the present application;

[0035] Figure 2 is a pipeline structure diagram provided by the present application;

[0036] Figure 3 is a pipeline flow distribution method flow diagram provided by another embodiment of the present application;

[0037] Figure 4 is Figure 2An enlarged schematic view of the variable-diameter region;

[0038] Figure 5 is a schematic diagram of a pipeline flow distribution method provided by another embodiment of the present application. DETAILED DESCRIPTION

[0039] To make the objects, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are some but not all of the embodiments of the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of protection of the present disclosure.

[0040] Referring to Figure 1 , the schematic diagram of the pipeline flow distribution method provided by an embodiment of the present disclosure is shown. Figure 1 is a schematic diagram of a pipeline flow distribution method provided by another embodiment of the present disclosure.

[0041] S11: constructing a geometric model of the pipeline based on pipeline structure parameters.

[0042] S12: dividing the variable-diameter region of the pipeline in the pipe diameter direction to form a calculation domain, and setting a calculation domain type;

[0043] S13: performing pipeline fluid simulation based on the calculation domain type and the geometric model of the variable-diameter region;

[0044] S14: when the simulation result meets the flow distribution target, determining a target pipe diameter of the variable-diameter region according to the calculation domain type of the variable-diameter region.

[0045] S15: performing pipeline flow distribution based on the target pipe diameter.

[0046] In some embodiments, the pipeline structure parameters can include at least one of a pipe diameter, a length, an inner diameter of a pipe wall, a distance from a pump, and a direction.

[0047] Step S11 can be specifically constructing a geometric model and a fluid model of the pipeline based on the pipeline structure parameters by using conventional methods in the art. As an example, the geometric model of the pipeline can be constructed by using SolidWorks software.

[0048] In the embodiments of the present application, the variable-diameter region is a region in the pipeline that can change the pipe diameter during actual adjustment, and the output flow can be adjusted by changing the pipe diameter of the variable-diameter region.

[0049] In some embodiments, step S12 can specifically include: performing computational domain division on the variable diameter region of the pipeline in the pipe diameter direction according to at least one of the minimum pipe diameter, the minimum change amount of the pipe diameter in the actual adjustment process, and the original inner diameter of the variable diameter region, and setting a computational domain type.

[0050] In some embodiments, the number of computational domains can be determined according to the minimum change amount of the pipe diameter in the actual adjustment process, and the variable diameter region of the pipeline is divided into computational domains based on the number of computational domains.

[0051] The critical size of the computational domain can be determined according to the minimum pipe diameter and the original inner diameter of the variable diameter region. For example, when the computational domain is a ring structure, the minimum pipe diameter can be used as the minimum inner diameter of the computational domain, the original inner diameter of the variable diameter region can be used as the maximum outer diameter of the computational domain, and the region between the minimum pipe diameter and the original inner diameter of the variable diameter region (i.e., the pipe wall) can be divided into computational domains in the pipe diameter direction.

[0052] The size of each computational domain in the pipe diameter direction can be determined according to the minimum change amount of the pipe diameter in the actual adjustment process. For example, when the minimum change amount is 1 mm, the size of each computational domain in the pipe diameter direction can be set to 1 mm.

[0053] In the embodiments of the present application, the computational domain type can be a solid type or a fluid type. By setting the computational domain type, different simulation pipe diameters can be realized. For example, when the original inner radius of the variable diameter region in the geometric model is 5 mm, the computational domain is a ring computational domain with the center of the pipeline as the center, the inner radius of the computational domain is 4 mm, and the outer diameter is 5 mm, when the computational domain type is a solid type, the corresponding simulation pipe diameter is 8 mm, and when the computational domain type is a fluid type, the corresponding simulation pipe diameter is 10 mm.

[0054] In some embodiments, the computational domain division on the variable diameter region of the pipeline in the pipe diameter direction in step S12 can include:

[0055] The variable diameter region of the pipeline is divided into a plurality of computational domains in the pipe diameter direction, and the center of each of the plurality of computational domains coincides with the center of the pipeline of the variable diameter region.

[0056] In some embodiments, the variable diameter region of the pipeline is divided into a plurality of computational domains in the pipe diameter direction, and the center of each of the plurality of computational domains coincides with the center of the pipeline of the variable diameter region.

[0057] The variable diameter region of the pipeline is divided into a plurality of computational domains in the pipe diameter direction based on the minimum change amount of the pipe diameter in the actual adjustment process.

[0058] The minimum change amount of the pipe diameter in the actual adjustment process is the adjustment amount of the actual machining design. Therefore, the target pipe diameter obtained by optimization, i.e., the final result, can be directly used as the actual machining parameter without repeated calculation.

[0059] As an example, the minimum change of the pipe diameter in the actual adjustment process is 1 mm, and when the original pipe inner diameter of the variable diameter region in the geometric model is 10 mm, a region with an increase of 1 mm from the center of the pipe in the pipe diameter direction can be set as a calculation domain, such as a region with a distance of 3-4 mm from the center of the pipe as a calculation domain, and a region with a distance of 4-5 mm from the center of the pipe as another calculation domain.

[0060] In some embodiments, the step of dividing the variable diameter region of the pipe into a plurality of calculation domains in the pipe diameter direction comprises:

[0061] The variable diameter region of the pipe is divided into a plurality of calculation domains in the pipe diameter direction, and each of the plurality of calculation domains is annular, and the inner diameter of one of the adjacent two calculation domains is the outer diameter of the other calculation domain.

[0062] In some embodiments, the step S13 can be specifically: performing mesh division on the geometric model; determining the simulation pipe diameter of the variable diameter region based on the calculation domain type and setting the boundary condition, and performing pipe fluid simulation calculation based on the mesh-divided geometric model, the simulation pipe diameter and the boundary condition; wherein the calculation domain type includes a solid type or a fluid type.

[0063] In some embodiments, the simulation pipe diameter of the variable diameter region based on the calculation domain type can be determined based on the corresponding maximum outer diameter in the fluid type calculation domain; or the simulation pipe diameter can also be determined based on the corresponding minimum inner diameter in the solid type calculation domain. The simulation pipe diameter is the size of the region for transmitting fluid in the variable diameter region in the pipe diameter direction.

[0064] In some embodiments, the size, type and boundary mesh of the mesh can be flexibly set according to the needs, and the mesh division is performed on the geometric model based on the set mesh size and type. As an example, the type of the mesh can be hexahedral or tetrahedral mesh.

[0065] In some embodiments, different regions can use different mesh sizes and types.

[0066] In some embodiments, the variable diameter region in the geometric model can also be mesh-encrypted to improve the accuracy of the simulation calculation.

[0067] In some embodiments, setting the boundary condition can include setting the pipe wall of the variable diameter region or the interface between the adjacent two calculation domains as a no-slip boundary condition.

[0068] In some embodiments, the flow distribution target can be set according to actual needs. When the method provided in the present application is applied to the pipe system for cooling a plurality of battery packs in an energy storage container, the pipe can adopt, for example, Figure 2The pipeline shown in the structure can include a main pipe and a plurality of branch pipes, the branch pipes can be arranged one-to-one with the battery packs (PACK) for cooling the corresponding battery packs, and the flow distribution target can be to make the flow of each branch pipe corresponding to be the same to reduce the temperature difference between the plurality of battery packs. The variable diameter region can be a region close to the main pipe side of the branch pipe, and the calculation domain can be arranged at the black position of the branch pipe. Figure 2 It should be noted that when the pipeline is provided with a plurality of branch pipes, i.e., a plurality of variable diameter regions, the calculation domain division and the calculation domain type setting can be performed for each variable diameter region respectively, the plurality of variable diameter regions can adopt the same or different calculation domain division manner, and the same or different calculation domain type setting manner can be adopted. For example, the initial type of the calculation domain of one branch pipe can be set to the solid type, and the initial type of the calculation domain of another branch pipe can be set to the fluid type.

[0069] In some embodiments, step S14 can be specifically that when the simulation result meets the flow distribution target, the simulation pipe diameter is taken as the target pipe diameter.

[0070] The above is a pipeline flow distribution method provided by an embodiment of the present application. By dividing the calculation domain of the variable diameter region of the pipeline along the pipe diameter direction and setting the calculation domain type, and then performing pipeline fluid simulation based on the calculation domain type and the geometric model, different simulation pipe diameters can be realized by flexibly adjusting the calculation domain type, and only one geometric model and one grid division need to be established, which greatly reduces the model adjustment and grid division time in the iterative optimization process, is conducive to ensuring the grid consistency in the optimization iteration process, and effectively improves the efficiency of the pipeline flow distribution.

[0071] In some embodiments, when the simulation result does not meet the flow distribution target, the calculation domain type of the variable diameter region can be adjusted to perform multiple simulations to optimize the flow distribution of the pipeline. For details, please refer to Figure 3 and the description below.

[0072] Figure 3 is a pipeline flow distribution method flowchart provided by another embodiment of the present application, which includes steps S31 to S37.

[0073] S31: Construct a geometric model of the pipeline based on pipeline structure parameters.

[0074] S32: Divide the calculation domain of the variable diameter region of the pipeline along the pipe diameter direction and set the calculation domain type.

[0075] S33: Perform pipeline fluid simulation based on the calculation domain type of the variable diameter region and the geometric model.

[0076] S34: Calculation domain type adjustment step, when the simulation result does not meet the flow distribution target, adjust the calculation domain type of the variable diameter region.

[0077] S35: Iterative simulation step, determining the simulation pipe diameter of the variable-diameter region after adjustment based on the adjusted calculation domain type of the variable-diameter region and setting boundary conditions, and performing pipe fluid simulation calculation based on the grid-divided geometric model, the adjusted simulation pipe diameter and the boundary conditions.

[0078] The calculation domain type adjustment step S34 and the iterative simulation step S35 are repeated until the simulation result meets the flow distribution target.

[0079] S36: When the simulation result meets the flow distribution target, determining the target pipe diameter of the variable-diameter region according to the calculation domain type of the variable-diameter region.

[0080] S37: Performing pipe flow distribution based on the target pipe diameter.

[0081] In some embodiments, steps S31-S33, S36-S37 can adopt the same execution method as the corresponding steps in S11-S15, which will not be repeated here for brevity, and can be specifically referred to the description of the corresponding embodiments above. Figure 1

[0082] In some embodiments, when there is only one calculation domain, and the calculation domain type is set to solid type in step S32, the calculation domain type adjustment step S34 can adjust the calculation domain type to fluid type; and when the calculation domain type is set to fluid type in step S32, the calculation domain type adjustment step S34 can adjust the calculation domain type to solid type.

[0083] In some embodiments, when there are multiple calculation domains, and the calculation domain types of all the multiple calculation domains are set to solid type or part of the calculation domain types are set to solid type in step S32, the calculation domain type adjustment step S34 can adjust at least part of the solid type calculation domains to fluid type or at least part of the fluid type calculation domains to solid type.

[0084] When the calculation domain type is fluid type, the current calculation domain is regarded as a fluid region communicating with the pipe for transmitting fluid, so that different simulation pipe diameters can be realized by adjusting different calculation domain types.

[0085] In some embodiments, the pipe fluid simulation based on the calculation domain type and the geometric model in step S33 further includes setting initial flow field data such as pressure or velocity of the grid, and calculating the flow field data of the grid through simulation.

[0086] In step S35, the pipe fluid simulation calculation based on the grid-divided geometric model, the adjusted simulation pipe diameter and the boundary conditions can be simulation based on the flow field data obtained in step S33 or the previous cycle as the initial flow field of the current cycle. ​

[0087] In the method, the optimization process only needs to simply adjust the calculation domain type of the variable-diameter region on the basis of the geometric model, and the flow field obtained in the previous iteration calculation can be used in the current iteration calculation, thereby greatly reducing the time for convergence in the current iteration, improving the convergence speed, and quickly obtaining the updated flow field calculation result.

[0088] Referring to Figure 4 illustrated, Figure 4 is Figure 2 an enlarged schematic view of the variable-diameter region, when multiple calculation domains are provided, each calculation domain can be regarded as a layer, and the layers increase in the direction from the inside of the pipe to the pipe wall, for example, the layers include a first layer, a second layer, and the like in the direction from the inside of the pipe to the pipe wall. In some embodiments, in order to reduce the fluid resistance in actual application, the circulation calculation domain type adjustment step can be to adjust the type of each layer of calculation domain from the fluid type to the solid type in the direction from the pipe wall to the inside of the pipe, that is, to gradually reduce the simulation pipe diameter, and perform simulation respectively. For details, refer to Figure 5 and the description below.

[0089] Referring to Figure 5 illustrated, Figure 5 is a schematic flow diagram of a pipe flow distribution method provided by another embodiment of the present application, which can include the following steps.

[0090] S51: constructing a geometric model of the pipe based on pipe structure parameters.

[0091] S52: dividing the variable-diameter region of the pipe in the pipe diameter direction to obtain multiple calculation domains, and setting the types of the multiple calculation domains as fluid types.

[0092] S53: performing pipe fluid simulation based on the types of the multiple calculation domains of the variable-diameter region and the geometric model.

[0093] When the simulation result meets the flow distribution target, step S58 is performed; when the simulation result does not meet the flow distribution target, steps S54-S57 are performed.

[0094] S54: in the first circulation stage, adjusting the type of the calculation domain closest to the pipe wall in the multiple calculation domains from the fluid type to the solid type.

[0095] S55: iteration simulation step, determining the adjusted simulation pipe diameter of the variable-diameter region based on the adjusted type of the calculation domain of the variable-diameter region and setting the boundary condition, and performing pipe fluid simulation calculation based on the grid-divided geometric model, the adjusted simulation pipe diameter, and the boundary condition.

[0096] S56: In the Nth cycle stage, the calculation domains adjacent to the calculation domains adjusted to the solid type in the previous cycle stage in the plurality of calculation domains are adjusted to the solid type from the fluid type, where N is an integer greater than or equal to 2.

[0097] S57: Iterative simulation step, determining the simulation pipe diameter of the variable-diameter region after adjustment based on the calculation domain type of the variable-diameter region after adjustment and setting boundary conditions, and performing pipe fluid simulation calculation based on the geometric model after grid division, the simulation pipe diameter after adjustment, and the boundary conditions. S56 and S57 are executed in a loop until the simulation result meets the flow distribution target, and step S58 is executed.

[0098] S58: Determining the target pipe diameter of the variable-diameter region according to the calculation domain type of the variable-diameter region.

[0099] S59: Performing pipe flow distribution based on the target pipe diameter.

[0100] Among them, steps S51, S53, S58 and S59 can correspondingly adopt the same execution method as S11, S13-S15, and the specific implementation can refer to the description in the foregoing.

[0101] In some embodiments, the calculation domain division of the variable-diameter region of the pipe in the step S52 in the pipe diameter direction can include:

[0102] The variable-diameter region of the pipe is divided into a plurality of calculation domains in the pipe diameter direction, and the center of each of the plurality of calculation domains coincides with the center of the pipe of the variable-diameter region.

[0103] In some embodiments, the variable-diameter region of the pipe is divided into a plurality of calculation domains in the pipe diameter direction, including:

[0104] The variable-diameter region of the pipe is divided into a plurality of calculation domains in the pipe diameter direction based on the minimum change amount of the pipe diameter in the actual adjustment process.

[0105] In some embodiments, the variable-diameter region of the pipe is divided into a plurality of calculation domains in the pipe diameter direction, including:

[0106] The variable-diameter region of the pipe is divided into a plurality of calculation domains in the pipe diameter direction, and each of the plurality of calculation domains is annular, and the inner diameter of one of the two adjacent calculation domains is the outer diameter of the other calculation domain.

[0107] In some embodiments, the step S54 can be specifically that in the first cycle stage, the calculation domain type of the outermost layer of calculation domains is adjusted to the solid type from the fluid type.

[0108] Correspondingly, the step S55 can be specifically: iterative simulation step, determining the simulation pipe diameter of the variable-diameter region after adjustment based on the calculation domain of the outermost layer of fluid type and setting boundary conditions, and performing simulation calculation based on the simulation pipe diameter after adjustment, the geometric model after grid division, and the boundary conditions.

[0109] The inner diameter corresponding to the adjusted outermost calculation domain can be used as the simulation pipe diameter.

[0110] In some embodiments, step S56 can be specifically adjusting the calculation domain type of the outer calculation domain from the fluid type to the solid type in the second loop stage.

[0111] Correspondingly, step S57 can be specifically an iterative simulation step of determining the simulation pipe diameter and setting the boundary condition based on the outer solid-type calculation domain, and performing simulation calculation based on the adjusted simulation pipe diameter, the grid-divided geometric model and the boundary condition.

[0112] When the simulation result does not meet the flow distribution target, the calculation domain of the fluid type can be adjusted to the solid type based on the direction of the pipe wall pointing to the pipe, and simulation is performed, that is, S56 and S57 are performed for each adjustment until the flow distribution target is met.

[0113] In other embodiments, the calculation domain type in step S52 can also be set to the solid type. The loop calculation domain type adjustment step can be adjusting the calculation domain type of each layer from the solid type to the fluid type in turn from the direction of the pipe pointing to the pipe wall, that is, the simulation pipe diameter gradually increases, and simulation is performed respectively.

[0114] It should be noted that the size of the multiple calculation domains in the pipe diameter direction and the number of calculation domains adjusted each time can be flexibly set according to actual needs.

[0115] Those skilled in the art can understand that all or part of the processes in the method for implementing the above embodiments can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the processor executes the computer program, the steps of each method embodiment described above can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms, etc. The computer readable storage medium can include any entity or device, medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.

[0116] Another aspect of the present application also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program is capable of implementing the pipeline flow distribution method in any of the above embodiments when executed by a processor. The computer readable storage medium can be a storage device formed by various electronic devices, and optionally, the computer readable storage medium in the embodiments of the present application is a non-transitory computer readable storage medium.

[0117] So far, the technical solution of the present application has been described in combination with the preferred embodiments shown in the drawings, but it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Those skilled in the art can make equivalent changes or replacements to the related technical features without departing from the principles of the present application, and the technical solutions after these changes or replacements will all fall within the protection scope of the present application.

Claims

1. A method of distributing flow through a circuit, the method comprising: The pipeline comprises a variable-diameter region, and the method comprises: constructing a geometric model of the pipeline based on pipeline structure parameters; dividing the variable-diameter region of the pipeline into calculation domains along the pipe diameter direction and setting the calculation domain types; the dividing the variable-diameter region of the pipeline into calculation domains along the pipe diameter direction comprises: dividing the variable-diameter region of the pipeline into a plurality of calculation domains along the pipe diameter direction, the centers of the plurality of calculation domains all coinciding with the pipeline center of the variable-diameter region; wherein the variable-diameter region is a region in the pipeline that can change the pipe diameter in an actual adjustment process, and the calculation domain types comprise a solid type or a fluid type; performing pipeline fluid simulation based on the calculation domain types of the variable-diameter region and the geometric model; when the simulation result meets the flow distribution target, determining a target pipe diameter of the variable-diameter region according to the calculation domain types of the variable-diameter region; performing pipeline flow distribution based on the target pipe diameter; a calculation domain type adjustment step, when the simulation result does not meet the flow distribution target, adjusting the calculation domain types of at least part of the calculation domains in the variable-diameter region; an iterative simulation step, determining an adjusted simulation pipe diameter of the variable-diameter region based on the adjusted calculation domain types of the variable-diameter region and setting boundary conditions, and performing pipeline fluid simulation calculation based on the grid-divided geometric model, the adjusted simulation pipe diameter, and the boundary conditions; recycling the calculation domain type adjustment step and the iterative simulation step until the simulation result meets the flow distribution target.

2. The method of claim 1, wherein, The pipeline fluid simulation based on the calculation domain types of the variable-diameter region and the geometric model comprises: performing grid division on the geometric model; determining a simulation pipe diameter of the variable-diameter region based on the calculation domain types and setting boundary conditions, and performing pipeline fluid simulation calculation based on the grid-divided geometric model, the simulation pipe diameter, and the boundary conditions.

3. The method of claim 2, wherein, The determination of the target pipe diameter of the variable-diameter region according to the calculation domain types of the variable-diameter region when the simulation result meets the flow distribution target comprises: when the simulation result meets the flow distribution target, taking the simulation pipe diameter as the target pipe diameter.

4. The method of claim 1, wherein, The plurality of calculation domains are provided, and the setting of the calculation domain types comprises: setting the calculation domain types of the plurality of calculation domains all as fluid types.

5. The method of claim 4, wherein, The recycling of the calculation domain type adjustment step comprises: in a first recycling stage, adjusting the calculation domain type of the calculation domain closest to the pipe wall in the plurality of calculation domains from a fluid type to a solid type; in an Nth recycling stage, adjusting the calculation domain adjacent to the calculation domain adjusted to the solid type in the previous recycling stage in the plurality of calculation domains from a fluid type to a solid type, wherein N is an integer greater than or equal to two.

6. The method of claim 1, wherein, The dividing the variable-diameter region of the pipeline into a plurality of calculation domains along the pipe diameter direction comprises: based on the minimum change amount of the pipe diameter in the actual adjustment process, dividing the variable-diameter region of the pipeline into a plurality of calculation domains along the pipe diameter direction.

7. The method of claim 1, wherein, The dividing the variable-diameter region of the pipeline into a plurality of calculation domains along the pipe diameter direction comprises: dividing the variable-diameter region of the pipeline into a plurality of calculation domains along the pipe diameter direction, the plurality of calculation domains all being annular, and the inner diameter of one calculation domain in the adjacent two calculation domains being the outer diameter of the other calculation domain.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the pipeline flow distribution method in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method, system and device for acquiring copper pipe water cooling parameters of heat pipe module simulation

    CN118656978A

  • Liquid cooling pipeline temperature control system based on liquid flow regulation

    CN120341443A