Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SLUG FLOW INITIATION IN FLUID FLOW MODELS
Document Type and Number:
WIPO Patent Application WO/2019/015749
Kind Code:
A1
Abstract:
A method for modeling slug flow includes receiving a fluid flow model including a representation of a conduit and a multiphase fluid flow therein. A slug bubble birth rate is determined in the multiphase fluid flow. The slug bubble birth rate is determined based at least partially on a difference between a slug front velocity and a slug tail velocity. A slug bubble is initiated in the fluid flow model based at least partially on the slug bubble birth rate. Data representative of the slug flow is displayed in the fluid flow model after the slug bubble is initiated.

Inventors:
LAWRENCE CHRIS (NO)
XU ZHENG GANG (NO)
Application Number:
PCT/EP2017/068206
Publication Date:
January 24, 2019
Filing Date:
July 19, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SCHLUMBERGER TECHNOLOGY CORP (US)
SCHLUMBERGER CA LTD (CA)
SERVICES PETROLIERS SCHLUMBERGER (FR)
GEOQUEST SYSTEMS BV (NL)
International Classes:
E21B41/00
Domestic Patent References:
WO2015077783A12015-05-28
WO2016118807A12016-07-28
Other References:
S MO ET AL: "Quasi-3D Modelling of Two-Phase Slug Flow in Pipes", THE JOURNAL OF COMPUTATIONAL MULTIPHASE FLOWS, 1 March 2014 (2014-03-01), pages 1 - 12, XP055285987, Retrieved from the Internet DOI: 10.1260/1757-482X.6.1.1
WANG X ET AL: "Development of Liquid Slug Length in Gas-Liquid Slug Flow along Horizontal Pipeline: Experiment and Simulation", CHINESE JOURNAL OF CHEMICAL ENGINEERING, CHEMICAL INDUSTRY PRESS, BEIJING, CN, vol. 14, no. 5, 1 October 2006 (2006-10-01), pages 626 - 633, XP022856416, ISSN: 1004-9541, [retrieved on 20061001], DOI: 10.1016/S1004-9541(06)60125-0
Attorney, Agent or Firm:
CLEARY, Fidelma (NL)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A method for modeling slug flow, comprising:

receiving a fluid flow model comprising a representation of one or more conduits and a multiphase fluid flow therein;

determining, using a processor, a slug bubble birth rate in the multiphase fluid flow, wherein the slug bubble birth rate is determined based at least partially on a difference between a slug front velocity and a slug tail velocity;

initiating a slug bubble in the fluid flow model based at least partially on the slug bubble birth rate; and

displaying data representative of the slug flow in the fluid flow model after the slug bubble is initiated.

2. The method of claim 1 , wherein initiating the slug bubble in the fluid flow model comprises determining that a minimum slip condition is satisfied by the multiphase fluid flow.

3. The method of claim 2, further comprising calculating the minimum slip condition based at least partially on a difference between the slug front velocity and the slug tail velocity, wherein the minimum slip condition is satisfied when the slug front velocity is less than the slug tail velocity.

4. The method of any of the preceding claims, wherein initiating the slug bubble comprises: determining a probability of slug formation by determining a number of slug bubbles for the one or more conduits for one or more time periods based at least in part on the slug bubble birth rate;

generating a threshold number; and

initiating the slug bubble in the fluid flow model when the probability of slug formation exceeds the threshold number.

5. The method of claim 4, wherein the threshold number is a random or pseudo-random number selected in a predetermined range of numbers.

6. The method of any of the preceding claims, wherein determining the slug bubble birth rate comprises:

determining a first difference between the slug front velocity and the slug tail velocity; determining a second difference between a maximum number density of slug bubble precursors and a local number density of slug bubbles for the one or more conduits; and

determining the slug bubble birth rate based on the first difference, the second difference, and a diameter of the one or more conduits.

7. The method of claim 6, wherein initiating the slug bubble comprises probabilistically initiating the slug bubble based on a probability of slug initiation, and wherein the probability of slug initiation increases when the first difference increases, the second difference increases, or both increase.

8. The method of any of the preceding claims, wherein determining the slug bubble birth rate comprises determining the slug bubble birth rate based at least in part on a degree of instability of local dispersed flow and a spatial density of slug precursors.

9. The method of any of the preceding claims, further comprising modifying one or more properties of a fluid or a flow in a real-world pipeline network, or changing control settings in the real-world pipeline network, in response to the slug bubble being initiated, wherein the real- world pipeline network corresponds to the fluid flow model.

10. A computing system, comprising:

one or more processors; and

a memory system comprising one or more non-transitory computer-readable media storing instructions that, when executed by at least one of the one or more processors, cause the computing system to perform operations, the operations comprising: receiving a fluid flow model comprising a representation of one or more conduits and a multiphase fluid flow therein;

determining a slug bubble birth rate in the multiphase fluid flow, wherein the slug bubble birth rate is determined based at least partially on a difference between a slug front velocity and a slug tail velocity;

initiating a slug bubble in the fluid flow model based at least partially on the slug bubble birth rate; and

displaying data representative of the slug flow in the fluid flow model after the slug bubble is initiated.

11. The system of claim 10, wherein initiating the slug bubble in the fluid flow model comprises determining that a minimum slip condition is satisfied by the multiphase fluid flow.

12. The system of claim 11 , wherein the operations further comprise calculating the minimum slip condition based at least partially on a difference between the slug front velocity and the slug tail velocity, wherein the minimum slip condition is satisfied when the slug front velocity is less than the slug tail velocity.

13. The system of any of claims 10-12, wherein initiating the slug bubble comprises:

determining a probability of slug formation by determining a number of slug bubbles for the one or more conduits for one or more time periods based at least in part on the slug bubble birth rate;

generating a threshold number; and

initiating the slug bubble in the fluid flow model when the probability of slug formation exceeds the threshold number.

14. The system of claim 13, wherein the threshold number is a random or pseudo-random number selected in a predetermined range of numbers.

15. The system of any of claims 10-14, wherein determining the slug bubble birth rate comprises: determining a first difference between the slug front velocity and the slug tail velocity; determining a second difference between a maximum number density of slug bubble precursors and a local number density of slug bubbles for the one or more conduits; and

determining the slug bubble birth rate based on the first difference, the second difference, and a diameter of the one or more conduits.

Description:
SLUG FLOW INITIATION IN FLUID FLOW MODELS

Background

[01] Slug flow is a type of multiphase fluid flow that can occur in fluid transport lines (e.g., conduits, pipes, etc.). Slug flow most commonly occurs in gas-liquid flows, with either a single liquid phase (e.g., oil or water) or with two or more liquid phases simultaneously present (e.g., oil and water). Slug flow may also occur in liquid-liquid flows (sometimes referred to as "water slugging").

[02] Gas-liquid slug flow is an intermittent flow in which regions of separated flow with large gas pockets ("slug bubbles") alternate with regions of dispersed flow ("slugs") in which small gas bubbles are dispersed into the liquid. Slug flow can form in two ways, depending on whether the prevailing flow is separated or fully dispersed. If the prevailing flow is separated (e.g., stratified or annular), the transition to slug flow occurs by the formation of new slugs. If the prevailing flow is fully dispersed (e.g., bubbly), the transition to slug flow occurs by the formation of new slug bubbles.

[03] There are various types of slug flow, which are generally referred to by the conditions that lead to their creation. For example, operational or "start-up" slugs may occur after flow through a pipeline is started (e.g., after stopping flow) such that liquid has settled to low points in the pipe, and then restarting the flow. Similarly, "terrain" slugs may be caused by the topography of the pipelines, and hydrodynamic slugs may be caused during "normal" conditions by the presence of one or more regions where there is too much liquid for separated flow to be stable and too little liquid for bubbly flow to be stable.

[04] Multiphase flow, including slug flow, may be modeled and simulated. Multidimensional simulation presents a challenge, however, as it may use an impractical amount of computing resources and/or time. Thus, at least for long pipelines, one -dimensional models may be employed, in which properties of the flow are averaged over the pipe cross-section. The model then describes how these averaged properties vary along the pipeline and with time.

[05] Such models may implement various strategies for modeling slug flow. For example, in "slug tracking," the boundaries (front and tail) of the slugs are followed as they propagate along the pipe. Thus, the slugs and separated zones are represented on a Lagrangian grid, which is superimposed on the Eulerian grid used to solve the basic equations. In another example, "slug capturing," the underlying equations are resolved on a fine Eulerian grid, including the growth of large waves and the formation of slugs, so that each slug is represented.

[06] These models may provide satisfactory results in a wide variety of contexts. However, some such methods of slug flow modeling and simulation may include long computation times, accuracy and/or stability issues, and/or tuning to match experimental or otherwise measured datasets, such as by using an iterative, trial-and-error process.

Summary

[07] A method for modeling slug flow is disclosed. The method includes receiving a fluid flow model including a representation of a conduit and a multiphase fluid flow therein. A slug bubble birth rate is determined in the multiphase fluid flow. The slug bubble birth rate is determined based at least partially on a difference between a slug front velocity and a slug tail velocity. A slug bubble is initiated in the fluid flow model based at least partially on the slug bubble birth rate. Data representative of the slug flow is displayed in the fluid flow model after the slug bubble is initiated.

[08] A computing system is also disclosed. The computer system includes a processor and a memory system. The memory system includes a non-transitory computer-readable medium storing instructions that, when executed by the processor, cause the computing system to perform operations. The operations include receiving a fluid flow model including a representation of a conduit and a multiphase fluid flow therein. A slug bubble birth rate is determined in the multiphase fluid flow. The slug bubble birth rate is determined based at least partially on a difference between a slug front velocity and a slug tail velocity. A slug bubble is initiated in the fluid flow model based at least partially on the slug bubble birth rate. Data representative of the slug flow is displayed in the fluid flow model after the slug bubble is initiated.

[09] A non-transitory computer-readable medium is also disclosed. The medium stores instructions that, when executed by at least one processor of a computing system, cause the computing system to perform operations. The operations include receiving a fluid flow model including a representation of a conduit and a multiphase fluid flow therein. A slug bubble birth rate is determined in the multiphase fluid flow. The slug bubble birth rate is determined based at least partially on a difference between a slug front velocity and a slug tail velocity. A slug bubble is initiated in the fluid flow model based at least partially on the slug bubble birth rate. Data representative of the slug flow is displayed in the fluid flow model after the slug bubble is initiated.

[010] It will be appreciated that this summary is intended merely to introduce some aspects of the present methods, systems, and media, which are more fully described and/or claimed below. Accordingly, this summary is not intended to be limiting.

Brief Description of the Drawings

[Oil] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present teachings and together with the description, serve to explain the principles of the present teachings. In the figures:

[012] Figure 1 illustrates an example of a system that includes various management components to manage various aspects of a pipeline environment, according to an embodiment.

[013] Figure 2 illustrates a schematic view of a separated (e.g., stratified) flow, according to an embodiment.

[014] Figure 3 illustrates a schematic view of slugs added to the stratified flow, according to an embodiment.

[015] Figure 4 illustrates a schematic view of a dispersed (e.g., bubbly) flow, according to an embodiment.

[016] Figure 5 illustrates a schematic view of slug bubbles added to the bubbly flow, according to an embodiment.

[017] Figure 6 illustrates a flowchart of a method for modeling slug flow (e.g., in a separated or dispersed) multiphase flow, according to an embodiment.

[018] Figures 7A and 7B illustrate another flowchart of a method for modeling slug flow in a separated multiphase flow, according to an embodiment.

[019] Figures 8A and 8B illustrate another flowchart of a method for modeling slug flow in a dispersed multiphase flow, according to an embodiment.

[020] Figure 9 illustrates a schematic view of a computing system, according to an embodiment. Detailed Description

[021] Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings and figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be apparent to one of ordinary skill in the art that the invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to obscure aspects of the embodiments.

[022] It will also be understood that, although the terms first, second, etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used to distinguish one element from another. For example, a first object or step could be termed a second object or step, and, similarly, a second object or step could be termed a first object or step, without departing from the scope of the invention. The first object or step, and the second object or step, are both, objects or steps, respectively, but they are not to be considered the same object or step.

[023] The terminology used in the description of the invention herein is for the purpose of describing particular embodiments and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and/or" as used herein refers to and encompasses any possible combinations of one or more of the associated listed items. It will be further understood that the terms "includes," "including," "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Further, as used herein, the term "if may be construed to mean "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context.

[024] Attention is now directed to processing procedures, methods, techniques, and workflows that are in accordance with some embodiments. Some operations in the processing procedures, methods, techniques, and workflows disclosed herein may be combined and/or the order of some operations may be changed. [025] Figure 1 illustrates an example of a system 100 that includes various management components 110 to manage various aspects of a pipeline environment 150 (e.g., an environment that includes wells, transportation lines, risers, chokes, valves, separators, etc.). For example, the management components 110 may allow for direct or indirect management of design, operations, control, optimization, etc., with respect to the pipeline environment 150. In turn, further information about the pipeline environment 150 may become available as feedback 160 (e.g., optionally as input to one or more of the management components 110).

[026] In the example of Figure 1 , the management components 1 10 include a pipeline configuration component 112, an additional information component 114 (e.g., fluid measurement data), a processing component 1 16, a simulation component 120, an attribute component 130, an analysis/visualization component 142 and a workflow component 144. In operation, pipeline configuration data and other information provided per the components 1 12 and 114 may be input to the simulation component 120.

[027] In an example embodiment, the simulation component 120 may rely on pipeline components or "entities" 122. The pipeline components 122 may include pipe structures and/or equipment. In the system 100, the components 122 can include virtual representations of actual physical components that are reconstructed for purposes of simulation. The components 122 may include components based on data acquired via sensing, observation, etc. (e.g., the pipeline configuration 1 12 and other information 1 14). An entity may be characterized by one or more properties (e.g., a pipeline model may be characterized by changes in pressure, heat transfer, pipe inclination and geometry, etc.). Such properties may represent one or more measurements (e.g., acquired data), calculations, etc.

[028] In an example embodiment, the simulation component 120 may operate in conjunction with a software framework such as an object-based framework. In such a framework, entities may include entities based on pre-defined classes to facilitate modeling and simulation. A commercially available example of an object-based framework is the MICROSOFT ® .NET ® framework (Redmond, Washington), which provides a set of extensible object classes. In the .NET ® framework, an object class encapsulates a module of reusable code and associated data structures. Object classes can be used to instantiate object instances for use by a program, script, etc. For example, borehole classes may define objects for representing boreholes based on well data. [029] In the example of Figure 1 , the simulation component 120 may process information to conform to one or more attributes specified by the attribute component 130, which may include a library of attributes. Such processing may occur prior to input to the simulation component 120 (e.g., consider the processing component 1 16). As an example, the simulation component 120 may perform operations on input information based on one or more attributes specified by the attribute component 130. In an example embodiment, the simulation component 120 may construct one or more models of the pipeline environment 150, which may be relied on to simulate behavior of the pipeline environment 150 (e.g., responsive to one or more acts, whether natural or artificial). In the example of Figure 1 , the analysis/visualization component 142 may allow for interaction with a model or model-based results (e.g., simulation results, etc.). As an example, output from the simulation component 120 may be input to one or more other workflows, as indicated by a workflow component 144.

[030] As an example, the simulation component 120 may include one or more features of a simulator such as a simulator provided in OLGA ® (Schlumberger Limited, Houston Texas. Further, in an example embodiment, the management components 1 10 may include features of a commercially available framework such as the PETREL ® seismic to simulation software framework (Schlumberger Limited, Houston, Texas). The PETREL ® framework provides components that allow for optimization of exploration and development operations. The PETREL ® framework includes seismic to simulation software components that can output information for use in increasing reservoir performance, for example, by improving asset team productivity. Through use of such a framework, various professionals (e.g., geophysicists, geologists, pipeline engineers, and reservoir engineers) can develop collaborative workflows and integrate operations to streamline processes. Such a framework may be considered an application and may be considered a data-driven application (e.g., where data is input for purposes of modeling, simulating, etc.).

[031] In an example embodiment, various aspects of the management components 1 10 may include add-ons or plug-ins that operate according to specifications of a framework environment. For example, a commercially available framework environment marketed as the OCEAN ® framework environment (Schlumberger Limited, Houston, Texas) allows for integration of addons (or plug-ins) into a PETREL ® framework workflow. The OCEAN ® framework environment leverages .NET ® tools (Microsoft Corporation, Redmond, Washington) and offers stable, user- friendly interfaces for efficient development. In an example embodiment, various components may be implemented as add-ons (or plug-ins) that conform to and operate according to specifications of a framework environment (e.g., according to application programming interface (API) specifications, etc.).

[032] Figure 1 also shows an example of a framework 170 that includes a model simulation layer 180 along with a framework services layer 190, a framework core layer 195 and a modules layer 175. The framework 170 may include the commercially-available OCEAN ® framework where the model simulation layer 180 is the commercially-available PETREL ® model-centric software package that hosts OCEAN ® framework applications. In an example embodiment, the PETREL ® software may be considered a data-driven application. The PETREL ® software can include a framework for model building and visualization.

[033] As an example, a framework may include features for implementing one or more mesh generation techniques. For example, a framework may include an input component for receipt of information from interpretation of pipeline configuration, one or more attributes based at least in part on pipeline configuration, log data, image data, etc. Such a framework may include a mesh generation component that processes input information, optionally in conjunction with other information, to generate a mesh.

[034] In the example of Figure 1 , the model simulation layer 180 may provide domain objects 182, act as a data source 184, provide for rendering 186 and provide for various user interfaces 188. Rendering 186 may provide a graphical environment in which applications can display their data while the user interfaces 188 may provide a common look and feel for application user interface components.

[035] As an example, the domain objects 182 can include entity objects, property objects and optionally other objects. Entity objects may be used to geometrically represent wells, surfaces, bodies, reservoirs, etc., while property objects may be used to provide property values as well as data versions and display parameters. For example, an entity object may represent a well where a property object provides log information as well as version information and display information (e.g., to display the well as part of a model).

[036] In the example of Figure 1 , data may be stored in one or more data sources (or data stores, generally physical data storage devices), which may be at the same or different physical sites and accessible via one or more networks. The model simulation layer 180 may be configured to model projects. As such, a particular project may be stored where stored project information may include inputs, models, results and cases. Thus, upon completion of a modeling session, a user may store a project. At a later time, the project can be accessed and restored using the model simulation layer 180, which can recreate instances of the relevant domain objects.

[037] In the example of Figure 1 , the pipeline environment 150 may be outfitted with any of a variety of sensors, detectors, actuators, etc. For example, equipment 152 may include communication circuitry to receive and to transmit information with respect to one or more networks 155. Such information may include information associated with downhole equipment 154, which may be equipment to acquire information, to assist with resource recovery, etc. Such equipment may include storage and communication circuitry to store and to communicate data, instructions, etc. As an example, one or more satellites may be provided for purposes of communications, data acquisition, etc. For example, Figure 1 shows a satellite in communication with the network 155 that may be configured for communications, noting that the satellite may additionally or instead include circuitry for imagery (e.g., spatial, spectral, temporal, radiometric, etc.).

[038] Figure 1 also shows the geologic environment 150 as optionally including equipment 157 and 158 associated with a well. As an example, the equipment 157 and/or 158 may include components, a system, systems, etc. for pipeline condition monitoring, sensing, valve modulation, pump control, analysis of pipeline data, assessment of one or more pipelines 156, etc. The pipelines 156 may include at least a portion of the well, and may form part of, or be representative of, a network of pipes which may transport a production fluid (e.g., hydrocarbon) from one location to another.

[039] As mentioned, the system 100 may be used to perform one or more workflows. A workflow may be a process that includes a number of worksteps. A workstep may operate on data, for example, to create new data, to update existing data, etc. As an example, a workstep may operate on one or more inputs and create one or more results, for example, based on one or more algorithms. As an example, a system may include a workflow editor for creation, editing, executing, etc. of a workflow. In such an example, the workflow editor may provide for selection of one or more pre-defined worksteps, one or more customized worksteps, etc. As an example, a workflow may be a workflow implementable in the PETREL ® software, for example, that operates on pipeline configuration, seismic attribute(s), etc. As an example, a workflow may be a process implementable in the OCEAN ® framework. As an example, a workflow may include one or more worksteps that access a module such as a plug-in (e.g., external executable code, etc.).

[040] Figure 2 illustrates a schematic view of a separated (e.g., stratified) flow, and Figure 3 illustrates a schematic view of slugs added to the stratified flow, according to an embodiment. In Figures 2 and 3, a conduit (e.g., a pipe) 200 has a fluid flowing therethrough. The fluid is stratified into a first portion 202 and a second portion 204. The first portion 202 may be or include a gas such as hydrocarbons, steam, carbon dioxide, or a combination thereof. In another embodiment, the first portion 202 may be or include an immiscible liquid of lower density than the second portion 204. The second portion 204 may be or include a liquid such as hydrocarbons, steam, carbon dioxide, or a combination thereof. In Figure 3, the first portion 202 has transitioned into a plurality of slug bubbles 206 (i.e., a slug flow). The slug bubbles 206 may be or include the gas and be separated from one another by liquid slugs 207 formed from the second portion of the fluid. The liquid slugs 207 may have (e.g., smaller) bubbles 208 dispersed therein, containing parts of the first portion 202 of the fluid.

[041] Figure 4 illustrates a schematic view of a dispersed (e.g., bubbly) flow, according to an embodiment. Figure 5 illustrates a schematic view of slug bubbles 406 added to the bubbly flow, according to an embodiment. In Figures 4 and 5, a conduit (e.g., a pipe) 400 has a fluid flowing therethrough. Unlike Figures 2 and 3, where the fluid is stratified, in Figures 4 and 5, the fluid may include a liquid with bubbles dispersed therein. The liquid may be or include water, hydrocarbons, carbon dioxide, or a combination thereof. The bubbles may be or include a gas such as hydrocarbons, steam, carbon dioxide, or a combination thereof. In other embodiments, the bubbles may be or include an immiscible liquid of lower density. In Figure 5, a transition to slug flow has occurred by the formation of new slug bubbles 406. The slug bubbles 406 may be separated from one another by liquid slugs 407, which may, as shown, have smaller bubbles 408 dispersed therein.

[042] Figure 6 illustrates a flowchart of a method 600 for modeling a slug flow (e.g., in a multiphase fluid flow model), according to an embodiment. The method 600 may be employed as part of a fluid flow or pipeline model. The model may include representations of one or more fluid conduits (e.g., pipes, wells) and/or other pipeline equipment (compressors, pumps, separators, slug catchers, etc.). Such models may be representative of real-world, physical pipeline systems, or may be constructed as part of the planning of such systems.

[043] Accordingly, in some embodiments, the method 600 may include creating a fluid flow model, such as by using OLGA ® or any other suitable pipeline modeling/simulation system. In another embodiment, the method 600 may include receiving a completed fluid flow model. Either case may be considered as part of receiving a fluid flow model, e.g., as at 602. The model makes use of data on the geometry of the pipeline, the physical properties of the gas and/or liquid(s) present, and the mass flow rates of the gas and/or liquids. The pipeline properties may be obtained from design information or by direct measurement (as-laid). The fluid properties may be obtained from a PVT simulator through knowledge of the fluid composition together with the temperature and pressure. The temperature and pressure may be known through direct measurement (e.g., using sensors positioned in or coupled to the pipeline), or may be inferred from a simulation. The mass flow rates may be specified by design, may be known by direct measurement (e.g., using sensors positioned in or coupled to the pipeline), or may be inferred from other calculations.

[044] As indicated, the model may include a representation of one or more conduits, as well as a flow of multiphase fluid therein. The conduits may be modeled according to geometry (e.g., diameter, length, etc.), pressure change, elevation gain, heat transfer, and/or the like. For the remainder of the present description, the model is described in terms of "pipes"; however, it will be readily apparent that the disclosure is not limited to pipes and may apply to any type of fluid conduit. In an embodiment, the multiphase fluid flow may be modeled based on the parameters of the pipes (and/or other equipment), as well as the underlying equations of mass, state, energy, etc.

[045] The method 600 may also include identifying conditions of a precursor formation, as at 603. As used herein, a "precursor formation" refers to the appearance of a short slug in a region where the flow was separated, for example, by the growth of an interfacial wave to such an amplitude that it fills the pipe cross-section, or to the appearance of a short slug bubble in a region where the flow was dispersed, for example, by the coalescence of many small bubbles to form a single large bubble. The precursor formation may be or include a slug precursor formation or a slug bubble precursor formation. A first one of such conditions may be known as a "minimum slip criterion." The minimum slip criterion determines if a slug flow is to be created, and if so, the minimum slip criterion also determines whether slug flow grows out of slug precursors or slug bubble precursors.

[046] If conditions of a slug precursor formation are identified, the method 600 may proceed to determining a birth rate of slug precursors in the multiphase fluid flow, as at 604. If, however, conditions of a slug bubble precursor formation are identified, the method 600 may proceed to determining a birth rate of slug bubble precursors in the multiphase fluid flow, as at 605. The birth rate may be determined based on one or more of a variety of factors, which may be provided as part of a birth rate model. The birth rate, generally referred to as '5 ' herein, may thus represent the number of new precursors of slugs or slug bubbles per length of pipe per second.

[047] The birth rate may be zero unless conditions exist that allow either slugs or slug bubbles to form. A first one of such conditions may be known as a "minimum slip criterion," "slug growth criterion," or "slug bubble growth criterion." More particularly, in an embodiment, the minimum slip criterion may be satisfied if, were a slug or slug bubble to be introduced into the flow, the velocity of the slug front V F would exceed or not the velocity of the slug tail V T (i.e., V F - V T > 0 or V F - V T < 0). The difference between V F and V T may represent a mean growth rate of slugs or slug bubbles, and may also be representative of a distance from the minimum slip boundary, or the degree of instability of the local separated flow or bubbly flow. Accordingly, the value of the difference may represent a driving force, and thus an increasing probability, for new slugs or new slug bubbles to form, as will be described below. For a slug or slug bubble to be counted (e.g., in the determination of N, below) it may have a length of at least the pipe diameter D. Thus, the time for a slug or slug bubble to form may scale as D/\ V F ~ V T \, and the rate at which new slugs or slug bubbles form may scale as \V F ~ V T \ID.

[048] To determine the slug tail velocity V T , a correlation for slug tail velocity V T may be implemented in terms of mixture velocity U M , gravity g, pipe diameter D, inclination angle above the horizontal Θ, and/or other quantities. Accordingly, slug tail velocity Frmay be defined as:

[049] The slug front velocity V F may be given by a mass balance across the slug front:

(VF - u F GS ~ )a F Gs = (VF ~ u T GB ) B (2)

Solving equation (2) for V F '. T T F F

AGB U GB ~A GS U GS

T F (3)

AGB A GS

where GS and u F GS represent the cross-sectional holdup and cross-sectional mean velocity of gas within the front of the slug, respectively, and <Xg B and Ug B represent the same quantities within the tail of the zone of separated flow immediately ahead of the slug. Further, equations (2) and (3) may be evaluated when slugs are not present. In such case, values for a£ 5 and u F GS may be provided (e.g., as hypothetical values), while a GB and Ug B may take values corresponding to the separated flow. In a similar way, equations (2) and (3) may be evaluated when slug bubbles are not present. In such case, values for a GS and u F GS may take values corresponding to the bubbly flow, while a GB and Ug B may be provided (e.g., as hypothetical values).

[050] When the minimum slip criterion (first condition) is satisfied, it may indicate that slugs may grow from slug precursors, if such precursors are available (second condition). The spatial frequency of slug formation may thus be proportional to the number of large waves (or slug precursors) per unit pipe length Nw- However, the presence (or proximity) of slugs may decrease the subsequent formation of slugs, and thus the slug birth rate B, as at 604, may take into consideration slugs that have already formed. Accordingly, the second condition that may be satisfied in order for slug precursors to form may be that the density of slugs present in the pipe N (slugs per unit length of pipe) may not exceed the density of large wave slug precursors (i.e., Nw- N > 0).

[051] In another embodiment, when the minimum slip criterion (first condition) is satisfied, it may indicate that slug flow forms from slug bubble precursors, if such precursors are available (second condition). The spatial frequency of slug bubble formation may thus be proportional to the number of slug bubble precursors per unit pipe length NB. However, the presence (or proximity) of slug bubbles may decrease the subsequent formation of slug bubbles, and thus the slug bubble birth rate B, as at 605, may take into consideration slug bubbles that have already formed. Accordingly, the second condition that may be satisfied in order for slug bubble precursors to form may be that the density of slug bubbles present in the pipe N (slug bubbles per unit length of pipe) may not exceed the density of slug bubble precursors (i.e., NB ~ N > 0).

[052] To determine the number of slug precursors or large waves, a delay constant may be implemented. As such, the density of large wave slug precursors Nw may be estimated, as Nw = UL/(VT D), where Ω is the delay constant and UL is the local mean liquid velocity. In another embodiment, a mechanistic model for slug initiation frequency may be employed. For example, at the threshold of slug formation, the wave profile may be considered to be similar to the tail profile of an incipient slug, and the wave speed may approach the slug tail velocity. As such, the wavelength of the slug may be estimated using a quasi-steady slug tail profile model. The local slug density N at a particular grid point or control volume may be estimated based on the distances to the nearest slugs (if any) in each direction along the pipeline. If no slugs exist in either direction, then the slug density is zero.

[053] Similarly, to determine the number of slug bubble precursors, a delay constant may be implemented. As such, the density of slug bubble precursors NB may be estimated, as NB = UMI{VT 2D , where Ω is the delay constant and UM is the local mixture velocity. In another embodiment, a mechanistic model for slug bubble initiation frequency may be employed. For example, at the threshold of slug bubble formation, the holdup profile behind a slug tail may be considered to be similar to the tail profile of a developed slug, and the slug bubble propagation speed may approach the slug tail velocity. As such, the holdup of the slug bubble may be estimated using a quasi-steady slug tail profile model. The local slug bubble density N at a particular grid point or control volume may be estimated based on the distances to the nearest slug bubbles (if any) in each direction along the pipeline. If no slug bubbles exist in either direction, then the slug bubble density is zero.

[054] In an embodiment, the slug tail profile may be obtained by solving a first order, ordinary differential equation for liquid holdup a LW ( ),

dam ? Z

άξ Y (4)

[055] This may represent a reduced form of a steady-state, two- (or more) fluid model, which may be based at least in part on an assumption that the flow in a slug bubble may be considered quasi-steady in a frame of reference moving with the slug tail speed. In equation (4), ξ represents the spatial coordinate measured backwards from the wave crest (tail of the slug). In the two-fluid model, Z represents the equilibrium terms: friction and the axial component of gravity, which in the case where the separated flow is stratified are according to equation (5):

[056] The denominator Y in equation (4) may represent one or more non-equilibrium terms, such as inertial and hydraulic gradient terms, which, for stratified flow, may be:

Y = p L ^ + p G , UsG - {p L - p G ) g∞ s0-^- (6)

- a Lw ) S n

[057] The terms Tiw, TLW, and TQW represent the shear stresses between the gas and liquid, between the liquid and the pipe wall, and between the gas and the pipe wall, respectively, while Siw, SLW, and Sow represent the corresponding perimeter lengths, and the subscript i W denotes "wave" (or slug tail). A is the pipe cross-sectional area, fi 5i and u SG are the superficial velocities of liquid and gas, respectively, relative to the moving frame of reference, /¾ and /¾ are the liquid and gas densities, respectively, g is the acceleration of gravity and Θ represents the angle of inclination of the pipe above the horizontal.

[058] The mean holdup may be determined by integration over the slug tail profile: where Lw is the distance between the tail of one slug and the front of the next.

[059] Further, the slug length of the slug precursor may be set to zero, or any other value, for example a length of a few diameters, in order to determine the frequency of slug precursors. Moreover, an approximate solution may be introduced for the wave profile in the exponential form, as equation (8):

where a w is a hypothetical equilibrium holdup achieved for a very long wave tail, ξ →∞, Z→ 0, and a° w is the hold up at the wave crest (slug tail), which may be set equal to the slug body holdup of the incipient slug. When the void in the slug is neglected, a° w may be set to unity. As such, the mean holdup value of the liquid corresponding to the approximate profile may be:

a ¾ E + in 0 - a E ]— !— it - e '" * kv ) ^ [060] In an embodiment, the product kLw may be about three (or another, moderately large number), so that the stratified zone is long enough for the liquid level to approach the equilibrium value and the exponential term in equation (9) may be neglected. In such a case, Lw may be determined from:

[061] To estimate the value of k, the spatial derivative of the exponential profile may be given as:

so that a value of the exponential coefficient k may be estimated from

Here, ^ w may be a reference value of the holdup taken at a point along the profile. In an embodiment, the value of a^ w may be selected such that the half-angle δ subtended by the liquid layer at the pipe center is between the equilibrium value δ and the value of the slug tail δ , weighted by a fraction CK-

(13)

δ Α = δ Ε +€ κ (δ° - δ ε )

[062] The fraction CK may serve as a tuning variable in the model. The value may be predetermined or received, e.g., from a user, as part of the method 600. For example, the fraction may be set as 0.18, but in other embodiments, may be any other suitable number. The holdup may be given in terms of the half angle e>by OCL W = (δ- cosdsind)l .

[063] An estimate for the number of precursor waves per unit length may thus be: where Cw may be a free tuning parameter, which may be set, for example, as 1.

[064] When the wave propagates without change of form, the liquid flux relative to the moving frame of reference may be constant along the wave profile, such that: U LW M LW ~ U SL

(15)

where u LW = V W — u LW is the liquid velocity (measured backwards) relative to the wave crest (slug tail) and u SL = V w — u SL is the corresponding superficial velocity. Continuity of liquid holdup and flux across the slug tail may give a° w = a[ s and u SL = (V w — u[ s al s , where a[ s and u[ s are the holdup and velocity of liquid, respectively, at the tail of the slug precursor (e.g., the crest of the wave). In some embodiments, gas entrainment may be ignored, and a[ s « 1, δ° = π, and u[ s = u M , such that u SL ~ V w — u M , where u M is a local mixture velocity.

[065] The mean liquid flux in the wave may be determined as:

Further, as u LW = V w SL /a LW , liquid flux becomes:

yielding:

'M

(18) in which UQ is the mean gas velocity

[066] For a developing flow, the liquid holdup <¾ and the flux qi may be determined independently. As such, the wave velocity Vw, which may be equal to the gas velocity U G in the case with no gas entrainment, may differ from the slug tail velocity V T . This potential inconsistency may be resolved in at least two ways. First, in a steady flow, the wave velocity may be equal to the slug tail velocity, Vw = V T , which may be regarded as an approximation for unsteady flow. In such case, the wave model may take a LW to be the local value of a L (and may not use the liquid flux q L ). Second, a local value for the liquid flux q L may be determined, and equation (18) may be employed to obtain an adjusted value for the mean holdup corresponding to the wavy flow: — Λ u M -q L m

¾iv = 1 — (19)

In this case, the wave model may use a liquid holdup value a LW corresponding to the local value of ¾(and may not use a L ).

[067] In some embodiments, determining a slug death rate may be omitted, as a slug may simply be considered to be dead with its characteristic length Ls approaches zero. In other embodiments, a slug death rate may be determined. If slugs are present, and the slug tail velocity VT is greater than the slug front velocity VF, the slugs may decrease in length. The mean front and tail velocity of relatively short slugs may be considered generally constant, thus the model may neglect slugs for which the tail velocity differs from the standard form. Thus, the rate at which the slugs disappear may be proportional to (V T — The function if)(L s represents the probability density function of slugs of length Ls, and ψ ) represents the probability density of slugs of zero (or substantially zero) length. In some embodiments, ψ(0 may be proportional to N/L s thus the death rate may be estimated by

L) = c D = , P T > F (20)

L S where CD is another dimensionless constant that may be tuned to data. Further, to avoid a potential singularity when L s → 0, an upper bound may be imposed for the slug death rate D by adding a constant to the denominator, such as the pipe diameter, thereby yielding:

In some embodiments, the death of slug bubbles may be treated in a precisely analogous manner.

[068] In an embodiment, if both of the first condition (minimum slip criterion) and second conditions (available precursors) are satisfied, the slug birth rate B may be determined according to the following equation:

[069] In equation (22), D represents the pipe diameter, and CB is a constant of proportionality that is determined by matching the model with experimental data and/or field data. The birth rate model gives the birth rate B in terms of at least two factors, which represent the degree of instability of the local stratified flow, and the spatial density of slug precursors (slugs/meter).

[070] The length (Lw) of the slug bubble precursor may be set to zero, or any other value, for example a length of a few diameters, in order to determine the frequency of slug bubble precursors. The distance between two slug bubble precursors may be determined according to the following equation:

_ Lwl a LW~ a ) (23

s a-a s ^ '

The slug bubble density is then

B L w +L s ^ ^

The birth rate of slug bubble precursor may be determined by the following equation

B = - c f (N B - N V T - V F ) (25)

[071] After the slug birth rate is determined, the method 600 may then proceed to initiating a slug flow in the fluid flow model based at least partially on the slug birth rate, as at 606. In another embodiment, after the slug bubble birth rate is determined, the method 600 may then proceed to initiating a slug bubble flow in the fluid flow model based at least partially on the slug bubble birth rate, as at 607. Initiating slug flow or slug bubble flow may be conducted according to a population equation, which may employ the birth rate and/or death rate calculated above. An example of such a population equation may be as follows: f + ^ = « - ° ( 2 6)

where N is the number of slugs per unit pipe length, UA is the advection velocity, B is the slug birth rate, and D is the slug death rate. In some embodiments, as mentioned above, a model for slug death may be omitted; as length approaches zero, the slug may be considered dead.

[072] In an embodiment, the simulation of the fluid flow model may proceed according to time periods At, where the equations describing the state of the cells or control volumes (e.g., lengths of pipe) of the model are resolved after one, some, or each time period. Further, the number of new slugs formed may be generally described in terms of the birth rate B, the control volume length Az and the time period At as:

AN = B Az At. (27) [073] However, the pipe length Az and/or the time period At may be relatively short, such that AN is generally less than one and greater than or equal to zero. Accordingly, embodiments of the present method 600 may employ the AN value as a probability. For example, the method 600 may include generating a random or pseudo-random number X, which may be uniformly distributed on the interval [0, 1]. When AN > X, a slug may be initiated, and if AN < X, a slug may not be initiated.

[074] When one or more slug flows at one or more lengths of pipe, at a time period, are resolved, the method 600 may include displaying data representative of the slug flow, as at 608. This may take any one or more of a variety of forms and may result in a representation of an underlying object changing, based on the simulation. For example, one or more slugs may be graphically represented in a pipe. In another embodiment, a frequency of slug flow, e.g., as a plot, may be created and/or modified according to the method 600. In another embodiment, a slug length distribution, e.g., as a plot, may be created and/or modified according to the method 600. In other embodiments, other types of graphical displays based on data from the underlying actual or hypothetical physical pipeline system may be provided.

[075] In a design study, the user may choose to modify or optimize the design taking account of the data from the slug flow simulation. In an operational scenario, the user may choose to adjust control settings to modify or optimize the flow in the pipeline network, as at 610. For example, in response to initiating the slug (at 606) or the slug bubble (at 607), the user may modify one or more properties (e.g., flow rate, the pressure, the temperature, the viscosity, etc.) of the fluid, or may modify one or more of the control settings (e.g., valves, actuators, etc.) in the physical, real-world pipeline network, as opposed to the model. Modifying the flow may be performed directly by the user, or automatically by a computer system designed for that purpose.

[076] Figures 7A and 7B illustrate a flowchart of a method 700 for modeling slug flow in a separated, multiphase flow, according to an embodiment. In an embodiment, the method 700 may be a more detailed view of a portion of the method 600 of Figure 6, which may employ one or more of the calculation techniques described above. In other embodiments, however, the method 700 may proceed using different calculation techniques.

[077] In an embodiment, the method 700 may begin by receiving a fluid flow model, as at 702. The fluid flow model may be or include a model of a system of fluid conduits (e.g., pipes and/or other structures) through which flow is transported. The flow may be multiphase, meaning that it contains two or more phases selected from the group including of a gas, a liquid, and a number of other immiscible liquids. The method 700 may receive the fluid flow model as already complete or may include constructing at least a portion of the model. After the model is received, the method 700 may include identifying conditions of a precursor formation, as at 703. This may include determining whether slugs grow from slug precursors.

[078] The method 700 may include conducting one or more aspects iteratively, e.g., as part of a sequence that may be based upon time periods in a simulation using the model. The time periods may be set at any time value. Accordingly, the method 700 may generally proceed by making calculations and updating the model after a certain amount of time passes in the model.

[079] As part of such an iterative sequence, for example, the method 700 may include determining a slug front velocity for the multiphase flow in one, some, or each section of the pipe, for the time period, as at 704. The slug front velocity VF may be determined as generally described above. Further, the method 700 may include determining a slug tail velocity VT, as at 706, again as generally described above.

[080] The method 700 may then determine whether the slug front velocity exceeds the slug tail velocity, as at 708. For example, the method 700 at 708 may include determining whether the minimum slip criterion is met. If it is not, the method 700 may move to the next time period (or to a next length of pipe, etc.). When the determination at 708 is 'YES', the method 700 may proceed to determining a number of slug precursors Nw, as at 710. In an embodiment, this may be conducted as described above.

[081] The method 700 may then determine whether the number (density) of slugs N is less than the number (density) of slug precursors Nw, as at 712. If the number of slugs N is greater than the number of slug precursors Nw (e.g., the determination at 712 is 'NO'), the method 700 may determine that the second condition is not met, and thus no slugs will be initiated at this time period, at this pipe length, and may thus move to the next pipe length or time period. On the other hand, if the number of slugs N is not greater than the number of slug precursors (e.g., the determination at 712 is 'YES'), the method 700 may continue to determining a slug birth rate, as at 714. The slug birth rate B model may be determined as described above, for example.

[082] The method 700 may then probabilistically initiate a slug based at least partially on the birth rate B, e.g., at least partially on the difference between the slug front velocity and the slug tail velocity, as at 716. For example, the greater the birth rate and/or the greater the difference between the front and tail velocities, the higher the likelihood of a slug initiation. However, slug initiation, even in high-probability situations, may not be a certainty. Thus, in some cases, such probabilistic initiation may not actually result in a slug being initiated, but in others, it may.

[083] Whether a slug is initiated or not, the method 700 may, in some embodiments, determine whether to proceed to another round of analysis, e.g., at another pipe length and/or another time period, as at 718. If no further analysis occurs, the method 700 may terminate (and control may be passed, e.g., to other methods). If analysis at another pipe length or time period is desired, the method 700 may loop back to 704. If a time period is advanced, the fluid flow model may thus be updated, such that new values for the slug front velocity and slug tail velocity, among other things, may be calculated for a given length of pipe.

[084] Figures 8A and 8B illustrate a flowchart of a method 800 for modeling slug flow in a dispersed (e.g., bubbly) multiphase flow, according to an embodiment. In an embodiment, the method 800 may be a more detailed view of a portion of the method 600 of Figure 6, which may employ one or more of the calculation techniques described above. In other embodiments, however, the method 800 may proceed using different calculation techniques.

[085] The model for slug initiation generated by the method 700 applies to the transition from separated (e.g., stratified or annular) flow to slug flow. This is achieved in simulations by the introduction of short slugs. The model may be extended so that it applies to the transition from a dispersed (e.g., bubbly) flow to slug flow, as described by the method 800.

[086] In an embodiment, the method 800 may begin by receiving a fluid flow model, as at 802, e.g., a model of a system of fluid conduits (e.g., pipes and/or other structures) through which flow is transported. The method 800 may receive the fluid flow model as already complete or may include constructing at least a portion of the model. After the model is received, the method 800 may include identifying conditions of a precursor formation, as at 803. This may include determining whether slugs grow from slug bubble precursors.

[087] The method 800 may include conducting one or more aspects iteratively, e.g., as part of a sequence that may be based upon time periods in a simulation using the model. The time periods may be set at any time value. Accordingly, the method 800 may generally proceed by making calculations and updating the model after a certain amount of time passes in the model.

[088] As part of such an iterative sequence, for example, the method 800 may include determining a slug front velocity for the multiphase flow in one, some, or each section of the pipe, for the time period, as at 804. The slug front velocity V F may be determined as generally described above. Further, the method 800 may include determining a slug tail velocity V T , as at 806, again as generally described above.

[089] The method 800 may then determine whether the slug tail velocity exceeds the slug front velocity, as at 808. For example, the method 800 at 808 may include determining whether the minimum slip criterion is met. If it is not, the method 800 may move to the next time period (or to a next length of pipe, etc.). When the determination at 808 is 'YES', the method 800 may proceed to determining a number of slug bubble precursors N B , as at 810. In an embodiment, this may be conducted as described above.

[090] The method 800 may then determine whether the number (density) of slug bubbles N is less than the number (density) of slug bubble precursors N B , as at 812. If the number of slug bubbles N is greater than the number of slug bubble precursors N B (e.g., the determination at 812 is 'NO'), the method 800 may determine that the second condition is not met, and thus no slug bubbles will be initiated at this time period, at this pipe length, and may thus move to the next pipe length or time period. On the other hand, if the number of slug bubbles N is not greater than the number of slug bubble precursors (e.g., the determination at 812 is 'YES'), the method 800 may continue to determining a slug bubble birth rate, as at 814. The slug bubble birth rate B model may be determined as described above, for example.

[091] The method 800 may then probabilistically initiate a slug bubble based at least partially on the birth rate B, e.g., at least partially on the difference between the slug front velocity and the slug tail velocity, as at 816. For example, the greater the birth rate and/or the greater the difference between the front and tail velocities, the higher the likelihood of a slug initiation. However, slug bubble initiation, even in high-probability situations, may not be a certainty. Thus, in some cases, such probabilistic initiation may not actually result in a slug bubble being initiated, but in others, it may.

[092] Whether a slug bubble is initiated or not, the method 800 may, in some embodiments, determine whether to proceed to another round of analysis, e.g., at another pipe length and/or another time period, as at 818. If no further analysis occurs, the method 800 may terminate (and control may be passed, e.g., to other methods). If analysis at another pipe length or time period is desired, the method 800 may loop back to 804. If a time period is advanced, the fluid flow model may thus be updated, such that new values for the slug front velocity and slug tail velocity, among other things, may be calculated for a given length of pipe.

[093] The methods 600, 700, 800 provided herein may improve existing computer technologies and provide improvements to a technology or technical field, namely modeling slug flow. More particularly, the methods 600, 700, 800 may reduce the amount of computing resources and time needed to model slug flow. In addition, the methods 600, 700, 800 may improve accuracy, stability, and tuning to match experimental or measured datasets by using an iterative process. Any such improvements in speed, accuracy, stability, and/or tunability may lead to consequent improvements in the design, operation, and optimization of multiphase flow in pipelines and pipeline networks, such as in the production of hydrocarbon energy fluids.

[094] As discussed above, the method 800 may include (1) a criterion that determines when and where it is appropriate to introduce a new slug bubble into a simulation; (2) a model for the birth rate of new slug bubbles, which is used to determine a probability that a new slug bubble will be generated in a given pipe section at a given time period; (3) a model for the spatial number density or temporal frequency of slug bubble precursors; and (4) programming logic that manages the introduction of a new slug bubble in a simulation.

[095] Original model for initiation of short slugs

[096] The model may based on a conservation equation for the number of slugs:

+ {nUa) = b

dt dx (28)

[097] In equation (28), N represents the density of slugs in the pipeline (1/m), UA represents the advection velocity (i.e., average velocity with which slugs move through the pipeline), B represents the net birth rate of short slugs (1/m/sec), which is assumed to depend on the degree of instability in the system and the spatial density of slug precursors Np (1/m). The slug precursor density Np=l/Luc,p is obtained by simulating the unit cell length Luc,p of successive short slugs of specified length (e.g., Ls,p = 10 diameters). To this end, a two-phase tail profile model may be applied to compute the holdup distribution in the slug bubble zone.

[098] The introduction of slugs may be governed by the slug growth criterion, also known as the minimum slip criterion. This criterion can be expressed in terms of the front (V F ) and tail (V T ) velocities of a candidate slug. If the flow is locally separated, the introduction of a candidate slug may be considered, and its front and tail velocity may be calculated. If V F < V T , the slug will quickly die, so a new slug should not be introduced. On the other hand, if V F > V T , the slug will grow, so a slug may be introduced. In the latter case, the decision whether to introduce a slug or not may be based on an estimate of the probability of slug formation. The birth rate B is modelled in the form

- J T

B = k K _

[099] Where kB, S ep is a tuning constant. The final factor represents the (inverse) time for a slug to grow to a length of 10 times the pipe diameter D. Then, for a control volume of length Δζ and a time interval A the probability of a new slug being formed is P=B Αχ A t . The time period may be small, so that P « 1 .

[0100] "Square Bubble" Version of the Model

[0101] The slug precursor frequency Np may be determined from the unit cell length of successive short slugs, based on a two-phase tail profile model, in which the gradual reduction in liquid level behind the slug is modelled. This may be simplified/sped up by using a "square bubble model," in which the liquid level behind the slug is assumed to be uniform at the level of equilibrium stratified flow. In this case, the point model may be used to determine the slug fraction χ = Ls,p / Luc,p = NpLs,p, and then Np = χ / Ls,p.

[0102] Model for Initiation of Short Taylor Bubbles

[0103] The above model may be adapted to the initiation of short Taylor bubbles in bubbly flow. Since each pair of slugs is separated by a Taylor bubble, introduction of a new slug may lead to introduction of a new Taylor bubble. As a result, B can be regarded as the birth rate of slug units (i.e., a slug plus a Taylor bubble). Similarly, N represents the density of slug units, and Np represents the density of precursor units. For the transition from bubbly flow to slug flow, the minimum slip criterion takes the opposite form from that described above. More particularly, if a short Taylor bubble is introduced, it will grow if its front velocity (i.e., the slug tail velocity V T ) is greater than its tail velocity (i.e., the slug front velocity V F ). Thus, a model for the birth rate of slug units may include:

B = k B N P -N) V ^

(30)

[0104] In the case of a square bubble model, the precursor density may be given by Np = ( 1 - χ) / LB,P, where L B ,p ~ 10D, for example, is the length at which the short Taylor bubbles become somewhat stable. In the absence of more accurate information, the tuning constant kB, d i sp may be assigned the same value as k B , sep . The model described above may produce an approximation of the rate at which new slugs should be introduced. The lengths of the slug and slug bubble precursors used in the model Ls,p ~ 10D and L B ,p ~ 10D are not the same as the lengths of the new slugs or slug bubbles introduced into the simulation, which may be shorter (e.g., 1 or 2 diameters).

[0105] As discussed above, if a short Taylor bubble is introduced, it will grow if its front velocity (i.e., the slug tail velocity V T ) is greater than its tail velocity (i.e., the slug front velocity V F ). This may be closely equivalent to a different criterion. If the local fraction of gas in the bubbly flow is greater than the fraction of gas that would occur inside a slug in a slug flow, then a transition to slug flow may occur. The excess gas may be used to create the slug bubble.

[0106] Model for Spatial Density of Slug Bubble Precursors

[0107] The precursor density is given by Np = (1 - χ) / L B ,p, where χ represents the slug fraction, and L B ,p represents a selected value for the length of a short slug bubble son after initiation. As discussed above, there may be two ways to estimate the slug fraction: the "slug tail profile model" and the "square bubble model." The square bubble model gives a rough estimate, while the tail profile model is more detailed and may provide a more accurate estimate. There is also a third method, in which the square bubble model is modified by accounting for the momentum from the slug zone to the square bubble zone.

[0108] In some embodiments, the methods of the present disclosure may be executed by a computing system. Figure 9 illustrates an example of such a computing system 900, in accordance with some embodiments. The computing system 900 may include a computer or computer system 901A, which may be an individual computer system 901A or an arrangement of distributed computer systems. The computer system 901A includes one or more analysis modules 902 that are configured to perform various tasks according to some embodiments, such as one or more methods disclosed herein. To perform these various tasks, the analysis module 902 executes independently, or in coordination with, one or more processors 904, which is (or are) connected to one or more storage media 906. The processor(s) 904 is (or are) also connected to a network interface 907 to allow the computer system 901 A to communicate over a data network 909 with one or more additional computer systems and/or computing systems, such as 901B, 901C, and/or 901D (note that computer systems 901B, 901C and/or 901D may or may not share the same architecture as computer system 901 A, and may be located in different physical locations, e.g., computer systems 901A and 901B may be located in a processing facility, while in communication with one or more computer systems such as 901 C and/or 90 ID that are located in one or more data centers, and/or located in varying countries on different continents).

[0109] A processor may include a microprocessor, microcontroller, processor module or subsystem, programmable integrated circuit, programmable gate array, or another control or computing device.

[0110] The storage media 906 may be implemented as one or more computer-readable or machine-readable storage media. Note that while in the example embodiment of Figure 9 storage media 906 is depicted as within computer system 901A, in some embodiments, storage media 906 may be distributed within and/or across multiple internal and/or external enclosures of computing system 901A and/or additional computing systems. Storage media 906 may include one or more different forms of memory including semiconductor memory devices such as dynamic or static random access memories (DRAMs or SRAMs), erasable and programmable read-only memories (EPROMs), electrically erasable and programmable read-only memories (EEPROMs) and flash memories, magnetic disks such as fixed, floppy and removable disks, other magnetic media including tape, optical media such as compact disks (CDs) or digital video disks (DVDs), BLUERAY ® disks, or other types of optical storage, or other types of storage devices. Note that the instructions discussed above may be provided on one computer-readable or machine -readable storage medium, or may be provided on multiple computer-readable or machine-readable storage media distributed in a large system having possibly plural nodes. Such computer-readable or machine-readable storage medium or media is (are) considered to be part of an article (or article of manufacture). An article or article of manufacture may refer to any manufactured single component or multiple components. The storage medium or media may be located either in the machine running the machine-readable instructions, or located at a remote site from which machine -readable instructions may be downloaded over a network for execution.

[0111] In some embodiments, computing system 900 contains one or more slug initiation module(s) 908. In the example of computing system 900, computer system 901 A includes the slug initiation module 908. In some embodiments, a single slug initiation module may be used to perform some aspects of one or more embodiments of the methods disclosed herein. In other embodiments, a plurality of slug initiation modules may be used to perform some aspects of methods herein.

[0112] It should be appreciated that computing system 900 is one example of a computing system, and that computing system 900 may have more or fewer components than shown, may combine additional components not depicted in the example embodiment of Figure 9, and/or computing system 900 may have a different configuration or arrangement of the components depicted in Figure 9. The various components shown in Figure 9 may be implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing and/or application specific integrated circuits.

[0113] Further, the processing methods described herein may be implemented by running one or more functional modules in information processing apparatus such as general purpose processors or application specific chips, such as ASICs, FPGAs, PLDs, or other appropriate devices. These modules, combinations of these modules, and/or their combination with general hardware are included within the scope of protection of the invention.

[0114] Fluid flow interpretations, models, and/or other interpretation aids may be refined in an iterative fashion; this concept is applicable to the methods discussed herein. This may include use of feedback loops executed on an algorithmic basis, such as at a computing device (e.g., computing system 900, Figure 9), and/or through manual control by a user who may make determinations regarding whether a given action, template, model, or set of curves has become sufficiently accurate for the evaluation of the flow under consideration.

[0115] The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. Moreover, the order in which the elements of the methods described herein are illustrated and described may be re-arranged, and/or two or more elements may occur simultaneously. The embodiments were chosen and described in order to best explain the principals of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated.