1. Field of the Invention
The present invention relates to computerized systems and methods for modeling multiphase flow in pipes, such as oil pipelines, and particularly to a system and method for modeling corrosion-based multiphase flow friction in pipes, and particularly to the calculation and modeling of pressure drop between an un-corroded portion of a pipe and a corroded portion thereof.
2. Description of the Related Art
Oil wells, pipelines and the like are subject to corrosion due to the passage of corrosive fluids, such as hydrogen sulfide, enhanced oil recovery chemicals and the like. Well flow capacity is typically modeled using conventional, idealized fluid dynamic equations, which are often integrated into commercially available software for such modeling. However, the conventional models do not take into account additional friction on the fluid flow within the pipe caused by the corrosion. However, in order to accurately model and predict the well flow capacity, this factor must be taken into account.
Thus, a system and method for modeling corrosion-based multiphase flow friction in pipes solving the aforementioned problems are desired.
The system and method for modeling corrosion-based multiphase flow friction in pipes relates to the calculation and modeling of a pressure drop between an un-corroded portion of a pipe and a corroded portion thereof. In order to model the total pressure drop from the un-corroded portion of the pipe to the corroded portion of the pipe, dptotal, a coefficient of friction μcorrosion of an interior surface of the corroded portion of the pipe is first measured. The pipe has a total length of dl, the un-corroded portion has a length of dl1, and the corroded portion has a length of dl2, such that dl=dl1+dl2.
Any suitable type of fluid velocity measurement sensor (such sensors are well known in the art) may be used to measure the velocity v of a multiphase fluid flowing through the un-corroded portion of the pipe, and the velocity vc of the multiphase fluid flowing through the corroded portion of the pipe. As the fluid flows from the un-corroded portion to the corroded portion, the fluid velocity decreases, and the change in fluid velocity dv is calculated as dv=v−vc.
The inner diameters d and dcorr of the un-corroded portion of the pipe and the corroded portion of the pipe, respectively, are measured by any suitable type of sensor or measurement device, such as a fiber Bragg grating (FBG) sensor or the like. The total pressure drop from the un-corroded portion of the pipe to the corroded portion of the pipe dptotal may then be calculated as:
where ptp, is a total multiphase fluid density of the fluid flowing through the pipe, g is gravitational acceleration, gc is a gravitational acceleration conversion factor, θ is an angle measuring angular displacement of an axis of the pipe with respect to horizontal, ftp is a friction factor for laminar flow, vm is a mixture velocity density of the multiphase fluid flowing through the un-corroded portion of the pipe, and vcm is a mixture velocity density of the multiphase fluid flowing through the corroded portion of the pipe. The result may then be displayed to the user on a conventional display or the like.
These and other features of the present invention will become readily apparent upon further review of the following specification and drawings.
Similar reference characters denote corresponding features consistently throughout the attached drawings.
Any suitable type of fluid velocity measurement sensor (such sensors are well known in the art) may be used to measure the velocity v of a multiphase fluid flowing through the un-corroded portion 18 of the pipe, and the velocity vc of the multiphase fluid flowing through the corroded portion 20 of the pipe.
The inner diameters d and dcorr of the un-corroded portion 18 and the corroded portion 20, respectively, are measured by any suitable type of sensor or measurement device, such as a fiber Bragg grating (FBG) sensor 14 or the like. The total pressure drop from the un-corroded portion of the pipe to the corroded portion of the pipe dptotal may then be calculated as:
where ptp is a total multiphase fluid density of the fluid flowing through the pipe 16, g is the gravitational acceleration constant near the surface (i.e., g=9.8 m/s2), gc is a gravitational acceleration conversion factor, θ is an angle measuring angular displacement of an axis of the pipe 16 with respect to the horizontal, ftp is a friction factor for laminar flow, vm is a mixture velocity density of the multiphase fluid flowing through the un-corroded portion 18 of the pipe 16, and vcm is a mixture velocity density of the multiphase fluid flowing through the corroded portion 20 of the pipe 16.
In the above, the gravitational acceleration conversion factor gc is simply a dimensional conversion factor, where gc=1 kg·m/N·s2. The variables vm and vcm are mixture velocity densities. Keeping in mind that the fluid flowing through the pipe 16 is a multiphase fluid, the mixture velocity vm for uncorroded portion 18 is given by vm=(qL+qG)/Ap, where qL, is the liquid flow rate (volume per time), qG is gas flow rate, and Ap is the cross-sectional area of the pipe in the uncorroded portion 18. Similarly, the mixture velocity vcm for the corroded portion 20 is given by vcm=qcL+qcG/Acp, where qcL is the liquid flow rate (volume per time), qcG is gas flow rate, and Acp is the cross-sectional area of the pipe in the corroded portion 20. The friction factor for laminar flow, ftp, is, as is known in the field of fluid dynamics, determined analytically by combining the Darcy-Wiesbach equation with the Hagen-Poiseuille equation, such that ftp=64/NRE, where NRE is the Reynold's number.
In order to derive equation (1), pressure drop in a pipe without considering corrosion is first considered. This pressure drop per unit pipe length is given by:
where (ptp×v×dv)/(gc×dl) represents fluid acceleration, (g/gc)×ptp sin θ represents gravitational acceleration, and (ftp×ptp×vm2)/(2gcd) represents frictional deceleration.
Given a measured coefficient of friction μcorrosion due to corrosion allows the addition:
Substitution of the lengths from dl=dl1+dl2 then gives:
Equation (4) represents the loss in pressure for a pipe corroded through some distance that would result in additional pressure drop due to corrosion. As corrosion also changes the diameter, the pipe wall thickness also decreases. The decrease in thickness cH can be obtained from the FBG sensor 14. Thus, the new diameter becomes dcorr=d−cH, or:
where bo is the initial thickness of pipe 16, p is the operating pressure, r is the radius of the interior of the pipe, λB is the Bragg wavelength, ΔλH-comp is the degree of shift in wavelength in the horizontal direction, E is the Young's modulus, T1 and T2 are the initial and final temperatures, respectively, measured before and after corrosion, θ is Poisson's ratio, pc is the strain optic constant, and α is the thermal coefficient. Knowledge of dcorr then allows us to calculate dptotal of equation (1).
It should be understood that the calculations may be performed by any suitable controller 100, such as that diagrammatically shown in
The processor 114 may be associated with, or incorporated into, any suitable type of computing device, for example, a personal computer or a programmable logic controller. The display 118, the processor 114, the memory 112 and any associated computer readable recording media arc in communication with one another by any suitable type of data bus, as is well known in the art.
Examples of computer-readable recording media include a magnetic recording apparatus, an optical disk, a magneto-optical disk, and/or a semiconductor memory (for example, RAM, ROM, etc). Examples of magnetic recording apparatus that may be used in addition to memory 112, or in place of memory 112, include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape (MT). Examples of the optical disk include a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc-Read Only Memory), and a CD-R (Recordable)/RW.
In order to test the model represented by equation (1), an inflow performance curve (IPR) was modeled by the Darcy equation, an outflow performance curve (OPR) was modeled using the Mukherjee and Brill model, and the gas/oil ratio and the oil volume factor for a sample oil well were modeled using the Vasquez and Beggs model. For purposes of modeling, the following oil well/reservoir parameters were used: a well head temperature of 94° F., a flow line pressure of 100 psia, a flow line temperature of 60° F., a reservoir temperature of 170° F., a gas gravity of 0.6, a gas/oil ratio (GOR) of 600, an API gravity of 35, a flow line ID of 1.995 inches, a measured depth of 7,875 feet, and a roughness (with no corrosion) of 0.0018.
For a pipe of depth 7,875 feet, the non-corroded portion was chosen to have a length of dl1=6,875 feet and the corroded portion was chosen to have a length of dl2=1,000 feet. The friction factor for laminar flow ftp was selected as 0.018, and a varying coefficient of friction due to corrosion was chosen with the values μcorrosion=0.2, 0.3, 0.4.
As shown in
In
The plot indicates that the System Flow Capacity (Well Performance Indicator) with an initial roughness of 0.0018 (where no corrosion is considered) is 640, compared to values of 580, 572, and 555 STB/D, respectively, for the other three corroded cases (with coefficients of friction of 0.2, 0.3 and 0.4, respectively). The model of equation (1) indicated that when friction due to corrosion is not considered, an over-estimated value of the system flow capacity is obtained. Such an over-estimation can negatively influence decisions in relation to the well performance. When the effect of friction due to corrosion is considered, and using a variable friction factor, the system flow capacity can decrease 10-13% for this well model. The percentage can grow depending on the well model and the severity of the corrosion. The calculated pressure drop for the above four cases is plotted in
It is to be understood that the present invention is not limited to the embodiments described above, but encompasses any and all embodiments within the scope of the following claims.