CN115681822A - Method and device for positioning liquid pipeline - Google Patents

Method and device for positioning liquid pipeline Download PDF

Info

Publication number
CN115681822A
CN115681822A CN202110858723.5A CN202110858723A CN115681822A CN 115681822 A CN115681822 A CN 115681822A CN 202110858723 A CN202110858723 A CN 202110858723A CN 115681822 A CN115681822 A CN 115681822A
Authority
CN
China
Prior art keywords
data
bubble
liquid pipeline
air bag
pipeline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110858723.5A
Other languages
Chinese (zh)
Inventor
宫敬
陈思杭
史博会
李晓平
杨起
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Petroleum Beijing
Original Assignee
China University of Petroleum Beijing
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Petroleum Beijing filed Critical China University of Petroleum Beijing
Priority to CN202110858723.5A priority Critical patent/CN115681822A/en
Publication of CN115681822A publication Critical patent/CN115681822A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Pipeline Systems (AREA)

Abstract

The application provides a method and a device for positioning a liquid pipeline, wherein the method comprises the following steps: acquiring pipeline data of a liquid pipeline and fluid data in the liquid pipeline; obtaining flow field data and bubble number of the liquid pipeline according to the pipeline data and the fluid data; determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value, wherein the air bag data represents the polymerization of a dispersed phase; and performing capturing, positioning and tracking processing on the air bag in the liquid pipeline according to the air bag data in the liquid pipeline. Compared with the prior art, the method and the device have the advantages that the air bag data in the liquid pipeline are determined through the flow field data, the bubble data and the preset threshold value, the air bag in the liquid pipeline is captured, positioned and tracked according to the air bag data, so that the size and the position of the air bag in the liquid pipeline are estimated and judged, the safety threat of the air bag to the liquid pipeline is solved, and the safety of the liquid pipeline is improved.

Description

Method and device for positioning liquid pipeline
Technical Field
The application relates to the technical field of large-fall liquid pipelines, in particular to a positioning method and device of a liquid pipeline.
Background
The oil and gas pipeline crosses east and west and north and south, and the covered terrain is very complex. The construction of oil and gas pipelines can pass through continuously fluctuating large-fall areas. Before liquid pipelines are put into formal operation, the operations of cleaning the pipelines, debugging equipment, discharging accumulated gas and the like are required to be carried out to ensure the operation safety.
At present, the liquid pipeline is put into production mainly by water combined transportation. In the water intermodal transportation and production mode of the pipeline with large drop height, because of large drop height, a water head can flow to a downhill section in the form of open channel flow after crossing a high point of a pipeline section, liquid flows can be accumulated at a low point of the pipeline, and finally a liquid plug is formed, so that gas is accumulated in the downhill pipeline section, and a large number of gas accumulation sections can be formed in the continuous water intermodal transportation and production of the pipeline with large drop height. Along with the production, the liquid plug at the low point grows, and the liquid plug at the upslope section can continuously grow, so that the downslope gas accumulation section can be subjected to continuously increased back pressure, and when the back pressure exceeds a certain threshold value, the tail part of the gas accumulation section starts to be broken into small bubbles and moves downstream.
However, in theory, in the transportation and exhaust mode, each accumulated gas section is broken at a certain speed and reduced until the accumulated gas section disappears in the water intermodal transportation and production process of the pipeline with large drop height. However, in the related experiments, it was observed that the gas accumulation section did not disappear due to the fragmentation as such, and all of the fragmented gas bubbles did not migrate downstream. In the related experiments, it is observed that the downward slope section of the broken bubbles can decelerate and even flow back under the action of buoyancy, converge at the downstream of the gas accumulation section and become long air bags, and finally develop into a new gas accumulation section. After the bubbles are gathered into the air bags again, the air bags move along with the air bags under the action of a complex flow field in the large-drop pipeline and move in each structure of the pipeline, and are combined and accumulated with each other, so that serious air resistance is formed; meanwhile, after the air bag is developed to a certain scale, the problem of bubble breakage phenomenon also exists at the tail part. The characteristics that the bubbles and the air bag move respectively and are transformed mutually in the large-fall production process lead the condition of air resistance in the pipe to be complex, and if the air resistance is accumulated too much, accidents such as overpressure of the pipeline, pipe explosion and the like can be caused. Therefore, the existing production method of the liquid pipeline has the problem of low safety.
Disclosure of Invention
The embodiment of the application provides a positioning method and device of a liquid pipeline, and aims to solve the problem that in the prior art, the safety of a production method of the liquid pipeline is low.
A first aspect of the present application provides a method of positioning a liquid conduit, the method comprising:
acquiring pipeline data of the liquid pipeline and fluid data in the liquid pipeline;
obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, wherein the flow field data represents the flow of a continuous phase in the liquid pipeline, and the bubble data represents the movement of a dispersed phase in the liquid pipeline in the continuous phase;
determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value, wherein the air bag data represents the polymerization of the dispersed phase;
and capturing, positioning and tracking the air bag in the liquid pipeline according to the air bag data in the liquid pipeline.
In an alternative embodiment, the obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data includes:
obtaining staggered grid data of the liquid pipeline according to the pipeline data, wherein the staggered grid data comprise main grid data and auxiliary grid data;
and obtaining the flow field data and the bubble data according to the fluid data and the staggered grid data.
In an alternative embodiment, the obtaining the flow field data and the bubble data according to the fluid data and the interlaced mesh data includes:
obtaining a flow field equation and a bubble migration equation of the liquid pipeline according to the fluid data;
discretizing the flow field equation according to the staggered grid data to obtain the flow field data;
and carrying out discretization processing on the bubble migration equation according to the staggered grid data to obtain the bubble data.
In an alternative embodiment, the primary grid data has stored thereon first parameters including pressure data and gas phase fraction data, and the secondary grid data has stored thereon second parameters including fluid velocity data.
In an optional embodiment, the determining the gas bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value includes:
obtaining multiple co-located grid data of the liquid pipeline according to the flow field data and the bubble data, wherein the multiple co-located grid data comprise bubble grid data and air bag grid data;
and determining air bag data in the liquid pipeline according to the multiple co-located grid data and the preset threshold value.
In an alternative embodiment, the determining balloon data in the liquid conduit according to the multi-apposition grid data and the preset threshold value includes:
determining whether the bubbles in the bubble grid data are polymerized into the air bag or not according to the gas phase content in the bubble grid data and the preset threshold;
if so, acquiring the airbag data from the airbag grid data corresponding to the bubble grid data;
and if not, determining that the bubbles in the bubble grid data are not polymerized into the air bag.
In an alternative embodiment, the capturing, locating and tracking a balloon within the liquid conduit from balloon data in the liquid conduit comprises:
and capturing, positioning and tracking the air bag in the liquid pipeline in the air bag grid data according to an air bag migration equation and the air bag data.
A second aspect of the present application provides a positioning device for a liquid pipe, the device comprising:
the acquisition module is used for acquiring pipeline data of the liquid pipeline and fluid data in the liquid pipeline;
the processing module is used for obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, wherein the flow field data represents the flow of a continuous phase in the liquid pipeline, and the bubble data represents the motion of a disperse phase in the liquid pipeline in the continuous phase; determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value, wherein the air bag data represents the polymerization of the dispersed phase; and carrying out capturing, positioning and tracking processing on the air bag in the liquid pipeline according to the air bag data in the liquid pipeline.
In an optional implementation manner, the processing module is specifically configured to obtain staggered grid data of the liquid pipeline according to the pipeline data, where the staggered grid data includes primary grid data and secondary grid data;
and obtaining the flow field data and the bubble data according to the fluid data and the staggered grid data.
In an optional embodiment, the processing module is specifically configured to obtain a flow field equation and a bubble migration equation of the liquid pipeline according to the fluid data;
discretizing the flow field equation according to the staggered grid data to obtain the flow field data;
and carrying out discretization processing on the bubble migration equation according to the staggered grid data to obtain the bubble data.
In an alternative embodiment, the primary grid data has stored thereon a first parameter comprising pressure data and gas phase fraction data, and the secondary grid data has stored thereon a second parameter comprising fluid velocity data.
In an optional implementation manner, the processing module is specifically configured to obtain multiple co-located grid data of the liquid pipeline according to the flow field data and the bubble data, where the multiple co-located grid data includes bubble grid data and air bag grid data;
and determining air bag data in the liquid pipeline according to the multiple co-located grid data and the preset threshold value.
In an optional embodiment, the processing module is specifically configured to determine whether bubbles in the bubble grid data are polymerized into air pockets according to the gas phase content in the bubble grid data and the preset threshold;
if so, acquiring the airbag data from the airbag grid data corresponding to the bubble grid data;
and if not, determining that the bubbles in the bubble grid data are not polymerized into the air bag.
In an alternative embodiment, the processing module is specifically configured to capture, locate and track the balloon in the liquid conduit in the balloon grid data according to a balloon migration equation and the balloon data.
A third aspect of the present application provides an electronic device comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to invoke and execute the computer program stored in the memory to perform the method according to the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium for storing a computer program for causing a computer to perform the method according to the first aspect.
A fifth aspect of the application provides a computer program product comprising a computer program which, when executed by a processor, performs the method according to the first aspect.
The embodiment of the application provides a method and a device for positioning a liquid pipeline, wherein the method comprises the following steps: acquiring pipeline data of a liquid pipeline and fluid data in the liquid pipeline; obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, wherein the flow field data represents the flow of a continuous phase in the liquid pipeline, and the bubble data represents the movement of a dispersed phase in the continuous phase in the liquid pipeline; determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value, wherein the air bag data represents the polymerization of a disperse phase; and capturing, positioning and tracking the air bag in the liquid pipeline according to the air bag data in the liquid pipeline. Compared with the prior art, the method and the device have the advantages that the air bag data in the liquid pipeline are determined through the flow field data, the bubble data and the preset threshold value, the air bag in the liquid pipeline is captured, positioned and tracked according to the air bag data, accordingly, the size and the position of the air bag in the liquid pipeline are estimated and judged, the threat of the air bag to the safety in the liquid pipeline is solved, and the safety of the liquid pipeline is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and obviously, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic application scenario diagram of a positioning method for a liquid pipeline according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a positioning method for a liquid pipeline according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a fluid pipeline according to an embodiment of the present disclosure;
FIG. 4 is a schematic illustration of the formation of air pockets in a fluid conduit provided in an embodiment of the present application;
FIG. 5 is a schematic flow chart illustrating another method for positioning a fluid conduit according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an interlaced grid according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a base volume group and a calculated volume group according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a bubble force provided by an embodiment of the present application;
fig. 9 is a schematic diagram of bubble grid data according to an embodiment of the present application;
FIG. 10 is a schematic diagram of airbag mesh data provided in an embodiment of the present application;
FIG. 11 is a schematic view of an airbag incorporating the subject application;
FIG. 12 is a schematic view of bubble collapse at the tail of an airbag according to an embodiment of the present application;
FIG. 13 is a schematic view of bubble collapse in the aft section of an alternative airbag according to embodiments of the present application;
FIG. 14 is a schematic view of bubble collapse of a further air bag aft section according to an embodiment of the present application;
FIG. 15 is a schematic view of bubble collapse of an alternative embodiment of an airbag according to the present disclosure;
FIG. 16 is a schematic flow chart illustrating a method for positioning a fluid line according to an exemplary embodiment of the present disclosure;
fig. 17 is a schematic structural diagram of a positioning device for a liquid pipeline according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The oil and gas pipeline crosses east and west and north and south, and the covered terrain is very complex. The construction of oil and gas pipelines can pass through continuously fluctuating large-fall areas. Before liquid pipelines are put into formal operation, the operations of cleaning the pipelines, debugging equipment, discharging accumulated gas and the like are required to be carried out to ensure the operation safety. At present, the liquid pipeline is put into operation mainly by water combined transportation. In the water intermodal transportation and production mode of the pipeline with large drop height, because of large drop height, a water head can flow to a downhill section in the form of open channel flow after crossing a high point of a pipeline section, liquid flows can be accumulated at a low point of the pipeline, and finally a liquid plug is formed, so that gas is accumulated in the downhill pipeline section, and a large number of gas accumulation sections can be formed in the continuous water intermodal transportation and production of the pipeline with large drop height. Along with the production, the liquid plug at the low point grows, and the liquid plug at the upslope section can continuously grow, so that the downslope gas accumulation section can be subjected to continuously increased back pressure, and when the back pressure exceeds a certain threshold value, the tail part of the gas accumulation section starts to be broken into small bubbles and moves downstream.
However, in theory, in the process of water intermodal transportation and production of the large-head pipeline, each gas accumulation section is broken at a certain speed by the transportation and exhaust method, and is reduced until the gas accumulation section disappears. However, in the related experiments, it was observed that the gas accumulation section did not disappear due to the fragmentation as such, and all of the fragmented gas bubbles did not migrate downstream. In the related experiments, it was observed that the broken bubble descending section decelerates under the buoyancy force, even refluxes, converges at the downstream of the gas accumulation section and becomes a long air pocket, and finally develops into a new gas accumulation section. After the bubbles are gathered into the air bags again, the air bags are moved along with the action of a complex flow field in the large-fall pipeline and are moved in each structure of the pipeline, and the air bags are combined and accumulated with each other, so that serious air resistance is formed; meanwhile, after the air bag is developed to a certain scale, the problem of bubble breakage phenomenon also exists at the tail part. The characteristics that the bubbles and the air bag move respectively and are transformed mutually in the large-fall production process lead the condition of air resistance in the pipe to be complex, and if the air resistance is accumulated too much, accidents such as overpressure of the pipeline, pipe explosion and the like can be caused. Therefore, the existing production method of the liquid pipeline has the problem of low safety.
In order to solve the problems, the application provides a method and a device for positioning a liquid pipeline, air bag data in the liquid pipeline is determined through flow field data, bubble data and a preset threshold value, and an air bag in the liquid pipeline is captured, positioned and tracked according to the air bag data, so that the size and the position of the air bag in the liquid pipeline are estimated and judged, the safety threat of the air bag to the liquid pipeline is solved, and the safety of the liquid pipeline is improved.
The following explains an application scenario of the present application.
Fig. 1 is a schematic application scenario diagram of a positioning method for a liquid pipeline according to an embodiment of the present application. As shown in fig. 1, includes: fluid conduit 001, terminal device 002, and server 003. After acquiring the pipeline data of the liquid pipeline 001 and the fluid data of the fluid conveyed in the liquid pipeline 001, the terminal device 002 sends the pipeline data and the fluid data to the server 003, the server 003 processes the pipeline data and the fluid data to acquire the airbag data in the liquid pipeline 001, and captures, positions and tracks the airbag in the liquid pipeline 001 according to the airbag data.
Optionally, after acquiring the pipeline data of the liquid pipeline 001 and the fluid data of the fluid conveyed in the liquid pipeline 001, the terminal device 002 processes the pipeline data and the fluid data to acquire the air bag data in the liquid pipeline 001, and captures, locates, and tracks the air bag in the liquid pipeline 001 according to the air bag data, so that the pipeline data, the fluid data, the air bag data, and the like can be stored in the server 003 for subsequent use.
The terminal device may be a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a mobile phone (mobile phone), a tablet computer (pad), a wireless terminal in industrial control (industrial control), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in smart home (smart home), or the like.
In the embodiment of the present application, the apparatus for implementing the positioning function of the liquid pipeline may be a terminal device or a server, or may be an apparatus capable of supporting implementation of the function, for example, a chip system, and the apparatus may be installed in the terminal device or the server. In the embodiment of the present application, the chip system may be formed by a chip, and may also include a chip and other discrete devices.
It should be noted that the application scenario of the technical solution of the present application may be the scenario in fig. 1, but is not limited to this, and may also be applied to other scenarios that require positioning of a liquid pipeline.
It can be understood that the positioning method of the liquid pipeline may be implemented by the positioning device of the liquid pipeline provided in the embodiment of the present application, and the positioning device of the liquid pipeline may be a part or all of a certain device, for example, a chip of the terminal device, a server, or a terminal device.
The following describes in detail the technical solution of the embodiment of the present application in specific embodiments by taking a positioning device of a liquid pipeline integrated or installed with a relevant execution code as an example. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a schematic flow chart of a method for positioning a liquid pipeline according to an embodiment of the present application, where the embodiment is implemented as a terminal device, and relates to a specific process for positioning a liquid pipeline. As shown in fig. 2, the method includes:
s101, pipeline data of the liquid pipeline and fluid data in the liquid pipeline are obtained.
The pipeline data of the liquid pipeline comprises the diameter of the pipeline, the elevation of the pipeline, the mileage of the pipeline, the roughness of the pipeline and the like. The fluid data includes fluid type, fluid velocity, flow rate, etc., wherein the fluid type may include water and oil.
It can be known that the pipeline data and the fluid data may change in the liquid pipeline, and in the embodiment of the present application, when the pipeline data and the fluid data change, the changed pipeline data and the changed fluid data are obtained, and the liquid pipeline is described according to the changed pipeline data and the changed fluid data.
And S102, obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data.
Wherein the flow field data characterizes the flow of a continuous phase in the liquid conduit and the bubble data characterizes the movement of a dispersed phase in the liquid conduit in the continuous phase. The continuous phase is a substance in which other substances are dispersed in the dispersion system, and the dispersed substance is called a dispersed phase.
In the embodiment of the present application, the fluid in the liquid pipeline is a continuous phase, and the gas phase dispersed in the fluid in the liquid pipeline is a dispersed phase. There is no particular limitation on the type of continuous and dispersed phases in this application, and it is exemplary that there may be multiple different types of dispersed phases in the continuous phase simultaneously, as well as mass transfer and transfer between the different dispersed phases, such as a hydrate slurry stream and a waxy crude stream.
The following is a description of the case of the dispersed phase and the continuous phase in the liquid conduit.
Fig. 3 is a schematic structural diagram of a liquid pipeline provided in an embodiment of the present application, and as shown in fig. 3, in the liquid pipeline, a "U" section composed of a downward slope section, a low point, and an upward slope section may be set as a basic unit, and as shown in fig. 3, one of the basic units is shown, and includes: an air accumulation section S1, a liquid plug S4 and broken air bubbles S3. In the actual production process, along with the production, the liquid plug S4 of the ascending section continuously grows along with the growth of the liquid plug S4 of the low point, so that the gas accumulating section of the descending section continuously increases the backpressure, when the backpressure exceeds a certain threshold value, the tail part of the gas accumulating section starts to be broken into small bubbles, and the broken bubbles S3 move downstream. Theoretically, in the process of water combined transportation and production of the large-fall liquid pipeline, each gas accumulation section S1 can be broken at a certain speed, reduced and eliminated through the transportation and exhaust mode. However, in the related experiment, it was observed that the gas accumulation section S1 did not disappear due to the collapse as such, and all of the collapsed bubbles did not move downstream. Fig. 4 is a schematic diagram illustrating the formation of air pockets in a liquid pipeline provided in an embodiment of the present application, as shown in fig. 4, including: an air accumulation section S1 and an air bag S2. In the actual engineering, the broken bubbles can decelerate or even flow back under the action of buoyancy in the process of moving to a downward slope section, and finally are polymerized at the downstream of the gas accumulation section S1 to form an air bag S2, and then the air bag S2 can be developed into a new gas accumulation section S1; after the bubbles S3 are re-gathered into the air bags S2, the air bags S2 are moved under the action of a complex flow field in the liquid pipeline, and when the air bags S2 are moved in each structure of the liquid pipeline, the air bags S2 are mutually combined and accumulated, so that serious air resistance is formed in the liquid pipeline; meanwhile, after the airbag S2 has developed to a certain scale, a bubble fracture phenomenon may also occur at the tail of the airbag S2. The characteristics of the air bubbles S3 and the air bags S2 that move respectively and are mutually converted in the production process of the liquid pipeline make the situation of air resistance in the liquid pipeline complicated, and if the air resistance is accumulated too much, the pipeline is over-pressurized, even the accidents such as pipe explosion and the like occur. For example, a relatively severe "hump air lock" is formed near a high point of a liquid pipeline, a plurality of stagnant air locks are formed at a downward slope section of the pipeline, and the like, and the air locks are difficult to discharge the liquid pipeline by means of the hydraulic action of the fluid, and need to be realized by means of an external force such as an exhaust valve.
In the embodiment of the application, flow field data and bubble data are determined according to pipeline data and fluid data, wherein the whole range of fluid flow is called a flow field, the speed, the pressure and the like can be changed in one flow field, and parameters such as the fluid speed and the like required for determining the bubble data can be provided in the flow field data.
In the embodiment of the present application, the states of the continuous phase and the dispersed phase in the liquid pipe are constantly changing, and therefore, in the embodiment of the present application, the flow field data and the bubble data are calculated in real time, and the states of the fluid and the bubbles in the liquid pipe are described according to the calculation result at each moment.
S103, determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value.
In the embodiment, the air bag data in the liquid pipeline is determined according to the flow field data and the air bubble data in each time step, wherein the air bag data represents the polymerization of the dispersed phase.
Optionally, when the gas phase content corresponding to the bubble is greater than the preset threshold, it is determined that the corresponding bubble is polymerized into the airbag, and corresponding airbag data is determined.
The following is a description of the case of bubbles and the breaking and polymerization in the liquid pipe.
During the production of the liquid pipeline, a plurality of gas accumulation sections are formed at each downhill section, and the gas accumulation sections are broken into small bubbles and move downstream during the production. In the migration process, the bubbles collide with each other under the action of turbulence, wherein the larger the number density of the bubbles is, the larger the collision probability is, and the smaller the number density is, the smaller the collision probability is, and the number density refers to the number of the bubbles in a unit volume; after collision, part of the bubbles are converged and combined together to form larger bubbles; some of the bubbles will continue to break up into smaller sized bubbles due to the turbulent flow of the liquid phase. Therefore, after bubbles of varying size break up from the gas accumulation section, their downstream migration is accompanied by varying degrees of polymerization and fragmentation. For example, if a plurality of bubbles with diameter d are broken at the tail of a certain gas accumulation section, they will move along with the liquid flow to the downslope section, and in the moving process, they may collide with bubbles with other diameters and merge together, and may merge into larger bubbles with each other, so that the number of bubbles with diameter d will be reduced; at the same time, however, bubbles of smaller size are merged with each other and coalesce into bubbles of diameter d, so that the number of bubbles of diameter d increases. On the contrary, the bubbles with the diameter d are broken into smaller bubbles under the action of turbulence, so that the number of the bubbles is reduced; at the same time, if larger size bubbles break up into bubbles of size d, the number of such bubbles will increase. In the production process, the bubble breaking and polymerization all occur at any moment, the sizes of the bubbles are also widely distributed, and the calculated amount becomes huge if the polymerization and breaking of the bubbles with any size are determined; in addition, the bubbles are subjected to various forces during the migration process of the downward slope section, and the migration characteristics of the bubbles are relatively complicated.
And S104, capturing, positioning and tracking the air bag in the liquid pipeline according to the air bag data in the liquid pipeline.
The capturing, positioning and tracking processing is to capture the air bag in real time according to the air bag data and change in the air bag moving and moving process, position and track the captured air bag, and specifically, position and track the air bag according to the air bag data at each moment.
For example, the aggregation and fragmentation of the corresponding airbag and the data of position change can be determined according to the airbag data at each moment, so as to realize the capturing, positioning and tracking processing of the airbag.
The embodiment of the application provides a method for positioning a liquid pipeline, which comprises the following steps: acquiring pipeline data of a liquid pipeline and fluid data in the liquid pipeline; obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, wherein the flow field data represents the flow of a continuous phase in the liquid pipeline, and the bubble data represents the movement of a dispersed phase in the continuous phase in the liquid pipeline; determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value, wherein the air bag data represents the polymerization of a dispersed phase; and carrying out capturing, positioning and tracking processing on the air bag in the liquid pipeline according to the air bag data in the liquid pipeline. Compared with the prior art, the method and the device have the advantages that the air bag data in the liquid pipeline are determined through the flow field data, the bubble data and the preset threshold value, the air bag in the liquid pipeline is captured, positioned and tracked according to the air bag data, accordingly, the size and the position of the air bag in the liquid pipeline are estimated and judged, the safety threat of the air bag to the liquid pipeline is solved, and the safety of the liquid pipeline is improved.
On the basis of the foregoing embodiment, fig. 5 is a schematic flowchart of another positioning method for a liquid pipeline according to an embodiment of the present application, and as shown in fig. 5, the method includes:
s201, pipeline data of the liquid pipeline and fluid data in the liquid pipeline are obtained.
The technical terms, technical effects, technical features, and optional embodiments of S201 can be understood with reference to S101 shown in fig. 2, and repeated descriptions will not be repeated here.
S202, obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data.
In the application, the method for obtaining the flow field data and the bubble data of the liquid pipeline according to the pipeline data and the fluid data is not limited, and for example, a staggered grid mode may be adopted, the staggered grid mode is used for describing the liquid pipeline, and then the flow field data and the bubble data are obtained according to the fluid data.
Optionally, the staggered grid data of the liquid pipeline is obtained according to the pipeline data, and the staggered grid data includes main grid data and auxiliary grid data; and obtaining flow field data and bubble data according to the fluid data and the staggered grid data.
The first parameters comprise pressure data, gas phase fraction data and the like, and the second parameters comprise fluid speed data and the like. Fig. 6 is a schematic structural diagram of an interleaved mesh according to an embodiment of the present application, where as shown in fig. 6, the interleaved mesh includes: a main grid S5 and a sub-grid S6, wherein the hollow circles in the main grid S5 represent one point in the liquid pipeline, one point is a central point P, the flow direction of the fluid in the liquid pipeline is taken as a reference direction, the reverse direction of the flow direction is west w, and the flow direction is east E, wherein phi is k,W 、φ k,P And phi k,E First parameters, illustratively, pressure data, gas phase fraction data, density data, etc., represented as point w, center point P, and point E, respectively, wherein any point on the liquid conduit can be taken as center point P; the open circle in the secondary grid S6 represents a point in the liquid pipe because it is in a staggered relationship with the corresponding primary grid S5 and is on the east E side of the center point P on the primary grid S5, on the secondary grid S6The centre point is denoted by e and the opposite direction of the flow is still west W, correspondingly the east of the centre point e is arranged east and denoted by ee, where u k,W 、u k,e And u k,ee Represented as fluid velocity data at the corresponding point.
In the embodiment of the application, the manner of obtaining the flow field data and the bubble data according to the fluid data and the staggered grid data is not limited, and illustratively, a flow field equation and a bubble migration equation of the liquid pipeline are obtained according to the fluid data; discretizing a flow field equation according to the staggered grid data to obtain flow field data; and discretizing the bubble migration equation according to the staggered grid data to obtain bubble data.
The flow field equation and the bubble migration equation in the present application are explained below.
In the examples of the present application, a Population Balance Model (PBM) was applied to describe the aggregation and fragmentation of gas bubbles in liquid pipelines.
Specifically, a population group balance model of bubbles solves the problem of infinite possible sizes of bubbles by first dividing the bubbles in a liquid conduit into M basic volume groups (v) 1 ,v 2 ,...,v M ) I.e. framing a volume range to substantially contain the volume of bubbles that may occur under different conditions (v) 1 ~v M ) (M-1) calculated volume groups (g) in the population group balance model are obtained on the basis of the basic volume group 1 ,g 2 ,...,g M-1 ) Where M is an integer, so as to avoid the occurrence of volume overrun during the calculation, e.g. volume v M The bubble of (2) is combined with other bubbles to form a larger bubble beyond the boundary, and the calculation cannot be continued. Fig. 7 is a schematic diagram of a basic volume group and a calculated volume group according to an embodiment of the present application, and as shown in fig. 7, a conversion relationship between the calculated volume group and the basic volume group is: g is a radical of formula 1 +g 2 =2v 2 And so on until g M-1 . It can also be seen in fig. 7 that in the set of elementary volumes, one volume is v and lies between v 1 And v 2 Of bubbles inWhen in calculation, the calculated volume group g is distributed according to a certain proportion 1 And g 2 In (1). Thus, bubbles of different sizes can be distributed to g in a certain ratio 1 ~g M-1 Then, the bubble polymerization and fragmentation formulas can be adjusted to calculate the bubble particle size distribution at different times and positions.
In the embodiments of the present application, there is no limitation on the formula of bubble aggregation and fragmentation, and for example, the formula of bubble aggregation and fragmentation includes:
Figure BDA0003184995680000101
wherein n (v, t) represents the number density of the bubbles with the volume u at the t-th moment; u. of b Represents the velocity of the bubbles; c (-) represents the collision probability; β (·) represents a size distribution coefficient of the bubbles; b (-) represents the fragmentation probability; c B A positive source term representing bubble aggregation; c D A negative source term representing bubble aggregation; b is B A positive source term representing bubble collapse; b is D A negative source term representing bubble collapse; the first term to the left of the equality sign of equation (1) represents the transient term of the bubble and the second term represents the conservation of mass term. The positive source term and the negative source term in the formula (1) are defined by the concepts of "birth" and "death", and if two small bubbles are merged into one large bubble, it means that two small bubbles are "dead" and one large bubble is "birth". On the contrary, if one large bubble is broken into two small bubbles, it can be regarded that one large bubble is "dead" and two small bubbles are "born". Over time, the bubbles interact and the number evolves differently between different sets of calculated volumes, as in a society with varying mortality rates due to birth rates of the population, thus presenting the number of people at different age stages at different times. The population balance model of the bubble is to introduce a positive source term (birth rate) and a negative source term (death rate) to describe the number density distribution of the bubble presented at different moments.
Furthermore, a flow field equation and a bubble migration equation of migration of bubbles with different sizes in a downward slope section are obtained by describing fluid in the liquid pipeline through an Euler-Lagrange method.
Specifically, in the bubble migration of the downhill section, the bubble migration is performed in the liquid plug section after the gas accumulation section is broken, and if the migration of bubbles needs to be studied, the hydraulic calculation of the fluid in the downhill section in the large-fall liquid pipeline needs to be completed to obtain a flow field equation. A one-dimensional two-fluid model is used in this application to derive the flow field equation:
Figure BDA0003184995680000102
wherein M is k Representing a source item; the above equation in the formula (2) is a continuity equation, and the following equation is a momentum equation. Wherein k = g,1, i.e. gas phase, liquid phase; a represents the gravitational acceleration; alpha is alpha k Represents the phase fraction, ρ, of each phase k Denotes the density of each phase, u k Representing the respective phase velocities, Γ k Each phase friction resistance term is expressed, and P represents pressure.
The basic flow field data such as liquid phase velocity required for bubble migration calculation can be obtained by the formula (2).
Further, the bubble migration equation is listed according to equation (1):
Figure BDA0003184995680000103
the formula (3) is a bubble number density equation, namely formula (1), and is also a bubble continuity equation listed by the eulerian method, and the formula is a bubble momentum equation listed by the lagrange method. Therefore, the formula (3) combines the Euler method and the Lagrange method to describe the migration characteristic of the bubbles, so that the method is called as the Euler-Lagrange method. Wherein, in the formula (3), F b M is the resultant force of the bubbles in the flow direction b Corresponding bubble mass. Fig. 8 is a schematic diagram of force applied to a bubble according to an embodiment of the present application, where as shown in fig. 8, a flow direction of the bubble is an X-axis direction in a coordinate system, and a direction perpendicular to and upward from the X-axis is a Y-axis directionIn the direction of (1), a coordinate system is established with the point where the bubble is located as the center point, u L ,u B Denotes the flow direction of the liquid and gas phases, F bou Indicating the buoyancy to which the bubble is subjected, F Drag Representing the drag force of the liquid stream on the bubble, m b g is the gravity borne by the bubble, g represents the gravity acceleration, and the resultant force F borne by the bubble b Comprises the following steps:
F b =(m b g-F buo )cosθ+F Drag (4)
further, discretizing a flow field equation according to the staggered grid data to obtain flow field data; and discretizing the bubble migration equation according to the staggered grid data to obtain bubble data.
Specifically, the formula (2) is discretized by adopting a first-order windward format to obtain:
Figure BDA0003184995680000111
Figure BDA0003184995680000112
then, discretizing the formula (3) according to the same interlaced grid data to obtain:
Figure BDA0003184995680000113
Figure BDA0003184995680000114
after the calculation of the above equation is completed, the flow field data and the bubble data, for example, the velocity and number density of each group of bubbles in the flow field, can be obtained.
And S203, determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value.
In the embodiment of the application, the airbag data can be obtained according to a mode of multiple co-located grids. Optionally, obtaining multiple co-located grid data of the liquid pipeline according to the flow field data and the bubble data, wherein the multiple co-located grid data comprises the bubble grid data and the air bag grid data; and determining the air bag data in the liquid pipeline according to the multiple co-located grid data and a preset threshold value.
Specifically, the above calculation results in flow field data and bubble data, which may include, for example, hydraulic parameters of the flow field, the velocity of each set of bubbles, and the number density updated after coalescence and fragmentation of the bubbles are taken into account. In the liquid pipeline, the speed and the density of each bubble group can be calculated in real time at each time step and each distance step, and then the formation of the air bag and the mass transfer and the migration of the bubbles in the liquid pipeline are captured, positioned and tracked according to the multiple co-located grid data to obtain the air bag data in the liquid pipeline.
In the embodiment of the present application, the manner of determining the airbag data according to the preset threshold is not limited, and may be described according to specific situations, for example, according to the gas phase content in the bubble grid data and the preset threshold, it is determined whether the bubbles in the bubble grid data are polymerized into the airbag; if yes, obtaining airbag data from airbag grid data corresponding to the bubble grid data; and if not, determining that the bubbles in the bubble grid data are not polymerized into the air bag.
Specifically, if the polymerization of the bubbles into the air bag is described, the critical condition for converting the bubbles into the air bag, i.e. the preset threshold, needs to be listed. In the embodiment of the present application, the setting of the preset threshold is not limited, and for example, if the air bag continues to swallow the bubble, the bubble may grow into a longer taylor bubble, that is, an air accumulation section. Therefore, the balloon belongs substantially to the taylor bulb, and may be defined as a shorter taylor bulb. The gas pockets are formed by polymerization of bubbles in a space due to a high number density of bubbles, which also corresponds to the characteristic of transition from bubble flow to slug flow. Through investigation, a great deal of relevant literature shows that many researchers have made many studies on the flow pattern transition conditions, and the conclusion can be summarized as follows: in a space, the bubbles will collide and coalesce randomly, forming a few slightly larger individual bubbles, and as the gas flow increases, at these lower liquid flow rates the bubble density increases and reaches a critical point where the dispersed bubbles become so tightly packed together that many collisions occur and the velocity of the coalescence into larger bubbles increases dramatically, resulting in a transition to slug flow. A large number of experiments show that the gas phase content in the bubble flow rarely exceeds 0.35; when the gas content is 0.25 to 0.3, the bubble flow is changed to slug flow. In consideration of the actual situation, 0.3 is taken as the transition boundary point in the embodiment of the present application, that is, the preset threshold value in the embodiment of the present application is 0.3.
It is understood that the gas phase fraction of the cross section is obtained by adding the cross sectional areas of the respective groups of bubbles and dividing by the cross sectional area of the pipe, and if the gas phase fraction is 0.3 or more, the conditions for forming the air bag are considered to be satisfied, and specifically, the gas phase fraction can be represented by the following formula:
Figure BDA0003184995680000121
where D represents the diameter of the liquid conduit, and D is a variable quantity in the calculation process, i.e. a change according to the actual condition of the liquid conduit.
And S204, capturing, positioning and tracking the air bag in the liquid pipeline according to the air bag data in the liquid pipeline.
Specifically, the air bag in the liquid pipeline is captured, positioned and tracked in air bag grid data according to an air bag migration equation and air bag data.
The following describes the case of bubble mesh data and bubble mesh data.
Fig. 9 is a schematic diagram of bubble mesh data provided in the embodiment of the present application, and fig. 10 is a schematic diagram of airbag mesh data provided in the embodiment of the present application, as shown in fig. 9, α b (x 1 ),α b (x 2 ) Respectively represent X = X 1 And x = x 2 Gas phase fraction of gas bubbles, alpha cri A predetermined threshold value, alpha, representing the gas phase fraction A (x 1 ) Denotes X = X 1 The gas phase fraction of the individual cells. Fig. 9 and 10 show the procedure of the positioning process of the balloon: when grid x 1 X exceeds a predetermined threshold value mentioned in the formula (9) 1 The gas cell is formed and captured by the gas cell mesh data, and at the same time, because during the mass transfer from the gas bubble to the gas cell, the gas phase fraction of the gas cell becomes alpha A When x 1 The current number of bubbles at (a) will return to zero, a value corresponding to x in the bubble grid data 1 A of b Are equal. That is, as long as the gas phase inclusion ratio exceeds the criterion listed in equation (9) in a certain bubble mesh data, it will be marked as the balloon mesh capturing the balloon, which will move in the balloon mesh, which is the multi-apposition mesh of the lagrange mesh of bubbles, and stores information such as volume fraction and velocity.
The use of multiple co-located grids of bubble grids and cell grids in the embodiments of the present application may provide for parallel computation of bubbles and cells in the same grid, meaning that such grids may describe multiple gas phase forms at the same time, and at the same location.
Next, a case of positioning processing of the airbag in the airbag grid data will be described.
The migration of the air bag will be described first, and the migration equation of the air bag can be described according to the migration equation of the air bubble in the formula (3), but the air bag is subjected to a more complicated force after being formed. The pressure difference is the same as that of the bubbles in the liquid flow. The same is that the liquid flow dragging force and the buoyancy force are applied to the liquid flow dragging force. The difference is that the air bag can move along the pipe wall of the pipeline under the action of buoyancy, so that the air bag is subjected to friction force of the pipe wall when moving, and the contact interface of the air bag and the pipe wall is also influenced by surface tension. Therefore, in the transport equation of the airbag, the stress of the airbag is as follows:
Figure BDA0003184995680000131
wherein the content of the first and second substances,F R denotes the resultant force, D D Denotes the drag coefficient, ρ denotes the density, A CS Showing the cross-sectional area of the balloon in the direction of flow, A p Is the projected area of the balloon on the upper wall of the tube, u is the velocity, V b Is the volume of the air cells or bubbles, f b Denotes the coefficient of friction between air and the tube wall, gamma denotes the surface tension coefficient, L i Which represents the interfacial length of gas and liquid, alpha is the contact angle of air and theta is the slope of the pipe. Subscripts l, b, s, and i denote liquid, long bladder, glide, and interface, respectively, wherein interface refers to gas and liquid contact surface. After the airbag mesh data is captured to the airbag, the motion of the airbag is described by equation (10). In summary, in the process of water intermodal transportation and production of liquid pipelines, the euler-lagrangian coupled population group balance model can be used for predicting bubble migration and re-aggregation.
In particular, due to the different phase fractions of the balloons, they move in the balloon grid with different resultant forces; therefore, it may happen that two single airbags are combined into a continuous airbag, and fig. 11 is a schematic diagram of the airbag combination provided in the embodiment of the present application, as shown in fig. 11, where α in fig. 11 represents gas phase content, subscript a represents a single airbag, and C represents a continuous airbag. The merging process occurs as a function of the characteristics and the force. Considering the mass conservation of the combined air bag, the sectional area, the volume, the mass and the speed of the combined air bag, the stress is updated:
Figure BDA0003184995680000132
Figure BDA0003184995680000133
wherein in equation (11), v and M represent volume and mass, respectively, n represents the number of individual air cells participating in the merging process, subscript i represents an individual air cell, c represents consecutive air cells, and it is noted that each grid evenly distributes the total value of consecutive values; in the formula (12), A i Liquid film and air bagCross sectional area of interface therebetween, f i The interfacial friction coefficient is expressed. As the length of the continuous balloon increases, the effect of interfacial friction by the liquid film becomes non-negligible, which is expressed as the last term of the resultant force of the continuous balloon in equation (12). Successive balloons will move in the balloon grid with updated parameters, resultant forces and velocities, and as they move in the grid, they may "swallow" more individual or even successive balloons.
It will be appreciated that the bubble collapse phenomenon at the end of the balloon will continue until the aspect ratio of the balloon is reduced to 5 and below, and therefore the bubble collapse process will continue until it reaches a standard. The length-diameter ratio of the air bag can be calculated through L/D1, L represents the length of the air bag, and D1 represents the pipe diameter of the liquid pipeline.
Fig. 12 is a schematic diagram of bubble fragmentation at an airbag tail according to an embodiment of the present application, fig. 13 is a schematic diagram of bubble fragmentation at an airbag tail according to an embodiment of the present application, fig. 14 is a schematic diagram of bubble fragmentation at an airbag tail according to an embodiment of the present application, and fig. 15 is a schematic diagram of bubble fragmentation at an airbag tail according to an embodiment of the present application, as shown in fig. 12 and fig. 13, when bubble fragmentation occurs at an airbag tail, a mass of bubbles is transferred from an airbag mesh to a bubble mesh, thereby causing an increase in gas phase content of bubbles in the airbag mesh. As shown in fig. 13, grid X = X 6 When the bubble breaking process is started in the tail part S7 of the air bag, the bubbles are broken from the tail part of the air bag, and the gas phase content of the entrained bubbles is alpha be . At the same time, as shown in fig. 14, these bubbles will be transferred from the air cell lattice into the bubble lattice, resulting in the gas phase fraction of x6 in the bubble lattice rising to α b (x 6 )+α be (x 6 ) Accordingly, as shown in fig. 15, after the bubbles are transferred from the air bag grid to the bubble grid, the gas phase inclusion rate of the bubbles at the tail S7 of the air bag at x6 in the air bag grid becomes 0. It is worth noting that bubble collapse will occur whether in a continuous or single cell until the criteria are met. By applying the above balloon capture and tracking model, the balloon will be described as being generated, capturing its state changes continuouslyAnd will be captured, located and tracked along the fluid conduit.
The multiple co-located grid method provided in the embodiment of the application can be applied to research on mass transfer and transfer of a disperse phase in a continuous phase. Illustratively, it may be used to describe the parallel computation of a continuous phase and multiple dispersed phases, e.g., multiple dispersed phases in a pipe or other transport medium. Specifically, in the liquid conduit, the water may be the continuous phase and the bubbles and gas pockets are the dispersed phase.
In addition, in the deep sea water pipeline field and the urban drainage pipeline field, the problem that gas phase migration is blocked exists in the pipeline sections with large height difference, bubble migration and air bag capture need to be described and calculated, and the positioning method of the liquid pipeline provided by the embodiment of the application can be well applied to the deep sea water pipeline field and the urban drainage pipeline field.
The embodiment of the application provides a method for positioning a liquid pipeline, which comprises the following steps: acquiring pipeline data of a liquid pipeline and fluid data in the liquid pipeline; obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, wherein the flow field data represents the flow of a continuous phase in the liquid pipeline, and the bubble data represents the movement of a dispersed phase in the continuous phase in the liquid pipeline; determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value, wherein the air bag data represents the polymerization of a dispersed phase; and carrying out capturing, positioning and tracking processing on the air bag in the liquid pipeline according to the air bag data in the liquid pipeline. Compared with the prior art, this application is through flow field data, bubble data and preset threshold value, confirm the gasbag data in the liquid pipeline, catch according to the gasbag data in the liquid pipeline, location and pursuit processing, thereby realize the estimation and the judgement to the size and the position of gasbag in the liquid pipeline, in addition, through the application of multiple apposition net technique, can be simultaneously to the bubble in the liquid pipeline, the migration of gasbag and the mass transfer effect between the two, the distribution situation and the change situation of gaseous phase in the in-process of putting into production have been described more accurately, the security threat of gasbag to the liquid pipeline has been solved, the security of liquid pipeline has been improved.
On the basis of the above embodiments, fig. 16 is a schematic flow chart of a positioning method for a liquid pipeline according to another embodiment of the present application, and as shown in fig. 16, the method includes:
s301, pipeline data of the liquid pipeline and fluid data in the liquid pipeline are obtained.
And S302, obtaining staggered grid data of the liquid pipeline according to the pipeline data.
And S303, obtaining a flow field equation and a bubble migration equation of the liquid pipeline according to the fluid data.
S304, discretizing the flow field equation according to the staggered grid data to obtain flow field data.
S305, discretizing the bubble migration equation according to the staggered grid data to obtain bubble data.
And S306, obtaining multiple co-located grid data of the liquid pipeline according to the flow field data and the bubble data.
S307, determining air bag data in the liquid pipeline according to the multiple co-located grid data and a preset threshold value.
And S308, determining whether the bubbles in the bubble grid data are polymerized into the air bag or not according to the gas phase content in the bubble grid data and a preset threshold value.
S309, determining that the bubbles in the bubble grid data are not polymerized into the air bag.
In this step, the terminal device determines whether the bubbles in the bubble grid data are aggregated into the air bag according to the gas phase content in the bubble grid data and a preset threshold, and if so, determines that the bubbles in the bubble grid data are not aggregated into the air bag.
And S310, obtaining airbag data from the airbag grid data corresponding to the bubble grid data.
In this step, the terminal device determines whether the bubbles in the bubble grid data are polymerized into the airbag according to the gas phase content in the bubble grid data and a preset threshold, and if not, the terminal device obtains airbag data from the airbag grid data corresponding to the bubble grid data.
S311, capturing, positioning and tracking the air bag in the liquid pipeline in the air bag grid data according to the air bag migration equation and the air bag data.
In this step, after the terminal device obtains the air bag data from the air bag grid data corresponding to the air bubble grid data, the air bag in the liquid pipeline is captured, positioned and tracked in the air bag grid data according to the air bag migration equation and the air bag data.
The technical terms, technical effects, technical features and alternative embodiments of S301 to S311 can be understood with reference to S201 to S204 shown in fig. 5, and repeated descriptions thereof will not be repeated here.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 17 is a schematic structural diagram of a positioning device for a liquid conduit according to an embodiment of the present invention, and the positioning device for a liquid conduit may be implemented by software, hardware, or a combination of the two, so as to execute the positioning method for a liquid conduit according to the embodiment of the present invention. As shown in fig. 17, the positioning device 400 for the liquid pipe includes: an acquisition module 401 and a processing module 402.
An obtaining module 401, configured to obtain pipeline data of a liquid pipeline and fluid data in the liquid pipeline;
the processing module 402 is configured to obtain flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, where the flow field data represents a flow of a continuous phase in the liquid pipeline, and the bubble data represents a motion of a dispersed phase in the liquid pipeline in the continuous phase; determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value, wherein the air bag data represents the polymerization of a dispersed phase; and capturing, positioning and tracking the air bag in the liquid pipeline according to the air bag data in the liquid pipeline.
In an optional embodiment, the processing module 402 is specifically configured to obtain staggered grid data of the liquid pipeline according to the pipeline data, where the staggered grid data includes main grid data and sub-grid data;
and obtaining flow field data and bubble data according to the fluid data and the staggered grid data.
In an alternative embodiment, the processing module 402 is specifically configured to obtain a flow field equation and a bubble migration equation of the liquid pipeline according to the fluid data;
discretizing a flow field equation according to the staggered grid data to obtain flow field data;
and discretizing the bubble migration equation according to the staggered grid data to obtain bubble data.
In an alternative embodiment, the primary grid data has stored thereon a first parameter comprising pressure data and gas phase fraction data, and the secondary grid data has stored thereon a second parameter comprising fluid velocity data.
In an optional embodiment, the processing module 402 is specifically configured to obtain multiple co-located grid data of the liquid pipeline according to the flow field data and the bubble data, where the multiple co-located grid data includes the bubble grid data and the air bag grid data;
and determining the air bag data in the liquid pipeline according to the multiple co-located grid data and a preset threshold value.
In an optional embodiment, the processing module 402 is specifically configured to determine whether bubbles in the bubble grid data are polymerized into an airbag according to a gas phase content rate in the bubble grid data and a preset threshold;
if so, acquiring airbag data from airbag grid data corresponding to the bubble grid data;
if not, determining that the bubbles in the bubble grid data are not polymerized into the air bag.
In an alternative embodiment, the processing module 402 is specifically configured to perform capturing, locating, and tracking processing of the balloon within the fluid conduit in the balloon grid data based on the balloon migration equation and the balloon data.
It should be noted that the positioning device for a liquid pipeline provided in the embodiment of the present application may be used to execute the method provided in any of the above embodiments, and the specific implementation manner and the technical effect are similar, and are not described herein again.
Fig. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 18, the electronic device may include: at least one processor 501 and memory 502. Fig. 18 shows an electronic device exemplified by a processor.
The memory 502 is used for storing programs. In particular, the program may include program code comprising computer operating instructions.
Memory 502 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 501 is used for executing computer-executable instructions stored in the memory 502 to implement the positioning method of the liquid pipeline;
the processor 501 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Alternatively, in a specific implementation, if the communication interface, the memory 502 and the processor 501 are implemented independently, the communication interface, the memory 502 and the processor 501 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. Buses may be divided into address buses, data buses, control buses, etc., but do not represent only one bus or type of bus.
Alternatively, in a specific implementation, if the communication interface, the memory 502 and the processor 501 are integrated into a chip, the communication interface, the memory 502 and the processor 501 may complete communication through an internal interface.
The embodiment of the application also provides a chip which comprises a processor and an interface. Wherein the interface is used for inputting and outputting data or instructions processed by the processor. The processor is configured to perform the methods provided in the above method embodiments. The chip can be applied to a positioning device of a liquid pipeline.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, are provided, and specifically, the computer readable storage medium stores program information, and the program information is used for the positioning method of the liquid conduit.
Embodiments of the present application further provide a program, which when executed by a processor is configured to perform the positioning method for a liquid conduit provided in the above method embodiments.
Embodiments of the present application further provide a program product, such as a computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the positioning method for a liquid conduit provided by the above method embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A method of positioning a fluid conduit, the method comprising:
acquiring pipeline data of the liquid pipeline and fluid data in the liquid pipeline;
obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, wherein the flow field data represents the flow of a continuous phase in the liquid pipeline, and the bubble data represents the movement of a dispersed phase in the liquid pipeline in the continuous phase;
determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold, wherein the air bag data represents the polymerization of the dispersed phase;
and carrying out capturing, positioning and tracking processing on the air bag in the liquid pipeline according to the air bag data in the liquid pipeline.
2. The method according to claim 1, wherein the obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data comprises:
obtaining staggered grid data of the liquid pipeline according to the pipeline data, wherein the staggered grid data comprise main grid data and auxiliary grid data;
and obtaining the flow field data and the bubble data according to the fluid data and the staggered grid data.
3. The method according to claim 2, wherein the obtaining the flow field data and the bubble data from the fluid data and the interlaced mesh data comprises:
obtaining a flow field equation and a bubble migration equation of the liquid pipeline according to the fluid data;
discretizing the flow field equation according to the staggered grid data to obtain the flow field data;
and carrying out discretization processing on the bubble migration equation according to the staggered grid data to obtain the bubble data.
4. The method of claim 3, wherein the primary grid data has stored thereon first parameters, the secondary grid data having stored thereon second parameters, the first parameters including pressure data and gas phase fraction data, the second parameters including fluid velocity data.
5. The method according to any one of claims 1 to 4, wherein the determining gas pocket data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold value comprises:
obtaining multiple co-located grid data of the liquid pipeline according to the flow field data and the bubble data, wherein the multiple co-located grid data comprise bubble grid data and air bag grid data;
and determining air bag data in the liquid pipeline according to the multiple co-located grid data and the preset threshold value.
6. The method of claim 5, wherein the determining balloon data in the liquid conduit based on the multiple collocated grid data and the preset threshold comprises:
determining whether the bubbles in the bubble grid data are polymerized into the air bag or not according to the gas phase content in the bubble grid data and the preset threshold;
if so, acquiring the airbag data from the airbag grid data corresponding to the bubble grid data;
and if not, determining that the bubbles in the bubble grid data are not polymerized into the air bag.
7. The method according to claim 6, wherein the capturing, locating and tracking the balloon in the liquid conduit according to the balloon data in the liquid conduit comprises:
and capturing, positioning and tracking the air bag in the liquid pipeline in the air bag grid data according to an air bag migration equation and the air bag data.
8. A positioning device for a fluid line, the device comprising:
the acquisition module is used for acquiring pipeline data of the liquid pipeline and fluid data in the liquid pipeline;
the processing module is used for obtaining flow field data and bubble data of the liquid pipeline according to the pipeline data and the fluid data, wherein the flow field data represents the flow of a continuous phase in the liquid pipeline, and the bubble data represents the motion of a disperse phase in the liquid pipeline in the continuous phase; determining air bag data in the liquid pipeline according to the flow field data, the bubble data and a preset threshold, wherein the air bag data represents the polymerization of the dispersed phase; and carrying out capturing, positioning and tracking processing on the air bag in the liquid pipeline according to the air bag data in the liquid pipeline.
9. An electronic device, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is used for calling and running the computer program stored in the memory and executing the method according to any one of claims 1-7.
10. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 1-7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the method according to any of claims 1-7 when executed by a processor.
CN202110858723.5A 2021-07-28 2021-07-28 Method and device for positioning liquid pipeline Pending CN115681822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110858723.5A CN115681822A (en) 2021-07-28 2021-07-28 Method and device for positioning liquid pipeline

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110858723.5A CN115681822A (en) 2021-07-28 2021-07-28 Method and device for positioning liquid pipeline

Publications (1)

Publication Number Publication Date
CN115681822A true CN115681822A (en) 2023-02-03

Family

ID=85058288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110858723.5A Pending CN115681822A (en) 2021-07-28 2021-07-28 Method and device for positioning liquid pipeline

Country Status (1)

Country Link
CN (1) CN115681822A (en)

Similar Documents

Publication Publication Date Title
Sumner et al. Spatter
Kang et al. Numerical study of a Taylor bubble rising in stagnant liquids
Van Ommen et al. Computational validation of the scaling rules for fluidized beds
Sepúlveda et al. Wetting transitions displayed by persistent active particles
Lu Experimental and computational study of two-phase slug flow
Bayareh et al. Equilibrium position of a buoyant drop in Couette and Poiseuille flows at finite Reynolds numbers
Hallanger et al. A simulation model for three-phase gravity separators
CN115681822A (en) Method and device for positioning liquid pipeline
Mortimer et al. Density ratio effects on the topology of coherent turbulent structures in two-way coupled particle-laden channel flows
Pozorski et al. Smoothed particle hydrodynamics modelling of multiphase flows: an overview
Wang et al. Simulation of hydrate particle deposition in horizontal annular mist flow
CN115688615A (en) Method, device, equipment, medium and product for determining number density of pipeline bubbles
CN112749468B (en) Numerical simulation method for capacity of solid-phase suspended matters to pass through pores of oil-gas reservoir
Chen et al. Assessment of CFD for unheated gas-liquid flows with high void fraction
Rahimi et al. The indication of two-phase flow pattern and slug characteristics in a pipeline using CFD method
Conte et al. A two-fluid model for slug flow initiation based on a lagrangian scheme
Bozzano et al. Coalescence between adjacent drops lying on the interface of two liquids
Juggurnath et al. Simulations of air-water two-phase flow in an inclined pipe
Zahnow et al. Aggregation and fragmentation dynamics of inertial particles in chaotic flows
Hajra et al. Large eddy simulation of wind-induced pressure on a low rise building
Hernandez-Martinez et al. A method to size gas-liquid horizontal separators handling nonstable multiphase streams
Azzopardi Multiphase flow
Liu et al. Numerical study of the motion of a freely falling sphere in fluid
CN116401834B (en) Method and device for calculating impact characteristics of water drops of airplane, equipment and storage medium
CN116842864A (en) Vortex-induced vibration calculation method and device in near-wall state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination