Slug flow is a type of multiphase flow that can occur in fluid transport lines. More particularly, slug flow is an intermittent flow in which regions of separated flow with large gas pockets alternate with regions of dispersed flow (“slugs”) in which small gas bubbles are dispersed into the liquid. The separated flow may be stratified flow in pipelines that are oriented horizontally or with relatively small inclination to the horizontal, or annular flow in other cases. The various types of slug flow may be 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.
Embodiments of the disclosure may provide systems, methods, and computer-readable media for modeling slug flow, e.g., in a pipeline. The method includes receiving a fluid flow model comprising a representation of one or more conduits and a multiphase fluid flow therein, and determining a slug birth rate in the multiphase fluid flow. The slug birth rate is determined based at least partially on a difference between a slug front velocity and a slug tail velocity. The method also includes initiating a slug in the fluid flow model based at least partially on the slug birth rate, and displaying data representative of the slug flow in the model.
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.
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:
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 unnecessarily obscure aspects of the embodiments.
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 only 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.
The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only 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 and all 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.
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.
Multiphase flow, including slug flow, may be modeled and simulated. Multi-dimensional simulation presents a challenge, however, as it may require 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.
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.
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.
In the example of
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 112 and other information 114). 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.
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, Wash.), 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.
In the example of
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 Tex. Further, in an example embodiment, the management components 110 may include features of a commercially available framework such as OLGA® or the PETREL® seismic to simulation software framework (Schlumberger Limited, Houston, Tex.). 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.).
In an example embodiment, various aspects of the management components 110 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, Tex.) allows for integration of add-ons (or plug-ins) into OLGA® or a PETREL® framework workflow. The OCEAN® framework environment leverages .NET® tools (Microsoft Corporation, Redmond, Wash.) 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.).
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.
In the example of
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).
In the example of
In the example of
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 OLGA® or 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.).
Accordingly, in some embodiments, the method 200 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 200 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 202. 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, e.g., 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.
The method 200 may also include determining a slug birth rate in the multiphase fluid flow, as at 204. The slug birth rate may be determined based on one or more of a variety of factors, which may be provided as part of a slug birth rate model. The birth rate, generally referred to as ‘B’ herein, may thus represent the number of new slugs per length of pipe per second.
The slug birth rate may be zero unless conditions exist that allow slugs to form. A first one of such conditions may be known as a “minimum slip criterion” or “slug growth criterion.” More particularly, in an embodiment, the minimum slip criterion may be satisfied if, were a slug to be introduced into the flow, the velocity of the slug front VF would exceed the velocity of the slug tail VT (i.e., VF−VT>0). The difference between VF and VT may represent a mean growth rate of slugs, and may also be representative of a distance from the minimum slip boundary, or the degree of instability of the local separated flow. Accordingly, the value of the difference may represent a driving force, and thus an increasing probability, for new slugs to form, as will be described below. For a slug 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 to form may scale as D/(VF−VT), and the rate at which new slugs form may scale as (VF−VT)/D.
To determine slug tail velocity VT, a correlation for slug tail velocity VT may be implemented in terms of mixture velocity uM, gravity g, pipe diameter D, inclination angle above the horizontal θ, and/or other quantities. Accordingly, slug tail velocity VT may be defined as:
V
T
=f(uM, g, D, θ, . . . ) (1)
The slug front velocity VF may be given by a mass balance across the slug front:
(VF−uGSF)αGSF=(VF−uGBT)αGBT (2)
Solving equation (2) for VF:
where αGSF and uGSF represent the cross-sectional holdup and cross-sectional mean velocity of gas at the front of the slug, respectively, and αGBT and uGBT represent the same quantities at 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 αGSF and uGSF may be provided (e.g., as hypothetical values), while αGBT and uGBT may take values corresponding to the separated flow.
When the minimum slip criterion (first condition) is satisfied, slugs may grow from the 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 birth rate B may take into consideration slugs that have already formed. Accordingly, the second condition that may be satisfied in order for slug flow to exist 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).
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=uI/(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.
In an embodiment, the wave profile may be obtained by solving a first order, ordinary differential equation for liquid holdup αLW(ξ),
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 wave (slug precursor) propagates without changing shape. As such, the flow may be considered quasi-steady in a frame of reference moving with the tail speed. In equation (4), ξ represents the spatial coordinate measured backwards from the wave crest (tail of the slug precursor). 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):
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:
The terms τIW, τLW, and τGW 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 SGW represent the corresponding perimeter lengths, and the subscript ‘W’ denotes “wave.” A is the pipe cross-sectional area, ûSL and ûSG are the superficial velocities of liquid and gas, respectively, relative to the moving frame of reference, ρL and ρG 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.
The mean holdup may be determined by integration over the wave profile:
where LW is the distance between the tail of one slug precursor and the front of the next. 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):
αLW≈{tilde over (α)}LW(ξ)=αLWE+(αLW0−αLWE)e−kξ (8)
where αLWE is a hypothetical equilibrium holdup achieved for a very long wave tail, ξ→∞, Z→0, and αLW0 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, αLW0 may be set to unity. As such, the mean holdup value of the liquid corresponding to the approximate profile may be:
z,999 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:
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, αLWR may be a reference value of the holdup taken at a point along the profile. In an embodiment, the value of αLWR may be selected such that the half-angle δ subtended by the liquid layer at the pipe center is between the equilibrium value δE and the value of the slug tail δ0, weighted by a fraction cK:
δR=δE+cK(δ0−δE) (13)
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 200. 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 δ by αLW=(δ−cosδsinδ)/π.
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.
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:
αLWûLW≈ûSL (15)
where ûLW=VW−uLW is the liquid velocity (measured backwards) relative to the wave crest (slug tail) and ûSL=VW−uSL is the corresponding superficial velocity. Continuity of liquid holdup and flux across the slug tail may give αLW0=αLST and ûSL=(VW−uLST)αLST, where αLST and uLST 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 αLST≈1, δ°=π, and uLST=uM, such that ûSL≈VW−uM, where uM is a local mixture velocity.
The mean liquid flux in the wave may be determined as:
Further, as uLW=VW−ûSL/αLW, liquid flux becomes:
yielding:
in which uG is the mean gas velocity
For a developing flow, the liquid holdup αL and the flux qL may be determined independently. As such, the wave velocity VW, which may be equal to the gas velocity uG in the case with no gas entrainment, may differ from the slug tail velocity VT. 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=VT, which may be regarded as an approximation for unsteady flow. In such case, the wave model may take
In this case, the wave model may use a liquid holdup value
In some embodiments, determining a slug death rate model may not be needed, 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 (VT−VF)ψ(0). The function ψ(LS) represents the probability density function of slugs of length LS, and ψ(0) represents the probability density of slugs of zero (or substantially zero) length. In some embodiments, ψ(0) may be proportional to N/
where cD is another dimensionless constant that may be tuned to data. Further, to avoid a potential singularity when
In an embodiment, if both of the first condition (minimum slip criterion) and second conditions (available precursors) are satisfied, the birth rate B may be determined according to the following equation:
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).
The method 200 may then proceed to initiating a slug flow in the fluid flow model based at least partially on the slug birth rate, as at 206. In an embodiment, initiating slug 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:
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.
In an embodiment, the simulation of the fluid flow model may proceed according to time steps Δt, 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 step. Further, the number of new slugs formed may be generally described in terms of the birth rate B, the control volume length Δz and the time step At as:
ΔN=BΔz Δt. (24)
However, the pipe length Δz and/or the time step Δt may be relatively short, such that ΔN is generally less than one and greater than or equal to zero. Accordingly, embodiments of the present method 200 may employ the ΔN value as a probability. For example, the method 200 may include generating a random or psuedo-random number X, which may be uniformly distributed on the interval [0, 1]. When ΔN>X, a slug may be initiated, and if ΔN<X, a slug may not be initiated.
When one or more slug flows at one or more lengths of pipe, at a time step, are resolved, the method 200 may include displaying data representative of the slug flow, as at 208. 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 200. In another embodiment, a slug length distribution, e.g., as a plot, may be created and/or modified according to the method 200. In other embodiments, other types of graphical displays based on data from the underlying actual or hypothetical physical pipeline system may be provided.
In an embodiment, the method 300 may begin by receiving a fluid flow model, as at 302, e.g., 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 300 may receive the model as already complete or may include constructing at least a portion of the model.
The method 300 may include conducting one or more aspects iteratively, e.g., as part of a sequence that may be based upon time steps in a simulation using the model. The time steps may be set at any time value. Accordingly, the method 300 may generally proceed by making calculations and updating the model after a certain amount of time passes in the model.
As part of such an iterative sequence, for example, the method 300 may include determining a slug front velocity for the multiphase flow in one, some, or each section of the pipe, for the time step, as at 304. The slug front velocity VF may be determined as generally described above. Further, the method 300 may include determining a slug tail velocity VT, as at 306, again as generally described above.
The method 300 may then determine whether the slug front velocity exceeds the slug tail velocity, as at 308. For example, the method 300 at 308 may include determining whether the minimum slip criterion is met. If it is not, the method 300 may move to the next time step (or to a next length of pipe, etc.). When the determination at 308 is ‘YES’, the method 300 may proceed to determining a number of slug precursors NW, as at 310. In an embodiment, this may be conducted as described above.
The method 300 may then determine whether the number (density) of slugs N is less than the number (density) of slug precursors NW, as at 312. If the number of slugs N is greater than the number of slug precursors Nw (e.g., the determination at 312 is ‘NO’), the method 300 may determine that the second condition is not met, and thus no slugs will be initiated at this time step, at this pipe length, and may thus move to the next pipe length or time step. On the other hand, if the number of slugs N is not greater than the number of slug precursors (e.g., the determination at 312 is ‘YES’), the method 300 may continue to determining a slug birth rate, as at 314. The slug birth rate B model may be determined as described above, for example.
The method 300 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 316. 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.
Whether a slug flow is initiated or not, the method 300 may, in some embodiments, determine whether to proceed to another round of analysis, e.g., at another pipe length and/or another time step, as at 318. If no further analysis is required, the method 300 may terminate (and control may be passed, e.g., to other methods). If analysis at another pipe length or time step is desired, the method 300 may loop back to 304. If a time step 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.
In some embodiments, the methods of the present disclosure may be executed by a computing system.
A processor may include a microprocessor, microcontroller, processor module or subsystem, programmable integrated circuit, programmable gate array, or another control or computing device.
The storage media 406 may be implemented as one or more computer-readable or machine-readable storage media. Note that while in the example embodiment of
In some embodiments, computing system 400 contains one or more slug initiation module(s) 408. In the example of computing system 400, computer system 401A includes the slug initiation module 408. In some embodiments, a single slug initiation module may be used to perform some or all aspects of one or more embodiments of the methods disclosed herein. In alternate embodiments, a plurality of slug initiation modules may be used to perform some or all aspects of methods herein.
It should be appreciated that computing system 400 is only one example of a computing system, and that computing system 400 may have more or fewer components than shown, may combine additional components not depicted in the example embodiment of
Further, the steps in 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 all included within the scope of protection of the invention.
It is important to recognize that 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 400,
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.
This application claims priority to U.S. Provisional Patent Application No. 61/908,413, which was filed on Nov. 25, 2013. This provisional application is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61908413 | Nov 2013 | US |