METHOD OF DETERMINING FLUID FLOW

Abstract: A method of determining fluid flow in a volume containing two or more fluid components, comprising determining a pressure field for the volume. One or more streamlines are determined from the pressure field, and the fluid composition is solved for the fluid composition along the or each streamline. The pressure may also be solved along the or each streamline. The step of solving along the or each streamline may be performed using a finite difference technique.

Description: METHOD OF DETERMINING FLUID FLOW The present invention relates to a method of determining fluid flow, and to processing fluid flow data relating to a hydrocarbon reservoir. Typically, when a hydrocarbon reservoir is exploited one or more boreholes are drilled into the reservoir and liquid hydrocarbons such as oil and/or gas hydrocarbons is/are extracted from the reservoir through the boreholes (which are generally known as "producers"). A fluid, normally water, is introduced into the reservoir at one or more points distant from the producers, to displace liquid or gaseous hydrocarbons and cause them to be expelled from the reservoir through the producers. A point at which water is introduced into the reservoir is generally known as an "injector". The extraction of liquid and/or gaseous hydrocarbons at the producer(s) and the injection of water at the injector set up a fluid flow pattern in the reservoir. The fluid flow pattern is also influenced by gravity. It is desirable to model the fluid flow within the reservoir, in order to predict, for example, how the yield of liquid and/or gaseous hydrocarbons extracted by a particular producer will vary over the planned lifetime of the exploitation ofthe reservoir (which can be many years). Furthermore a reservoir will generally contain a number of different hydrocarbon compounds, and it is desirable to model the yield of a particular hydrocarbon compound (generally referred to as a "component") at a producer as a function of time. Thus, it is preferable not just to calculate the overall hydrocarbon pressure at a producer, but also to calculate the hydrocarbon composition at a producer. The mathematical equations governing fluid flow are known, so that a mathematical model of fluid flow in a given reservoir may be constructed. However such a mathematical model is generally not capable of being solved exactly, and it is necessary to use numerical techniques to determine an approximate solution. There are two principal classes of numerical techniques - streamline methods and finite difference techniques. Finite difference techniques have generally been used for simulation of fluid flow in a reservoir, although streamline methods have been used for numerical approximation of fluid flow since the 1800s and have been used in petroleum engineering since the 1950s. Conventional finite difference techniques suffer from two principal drawbacks :- numerical smearing and loss of computational efficiency for models with a large number of grid cells. (In order to represent a multi-producer, geologically heterogeneous reservoir, a model having 10 5 to 10 6 cells is required.) Finite difference methods based on an IMPES (Implicit Pressure Explicit Saturation) approach are limited to using a short time step length owing to the limiting CFL condition, which limits the maximum distance that fluid can flow during a time step to less than the length of a grid cell. The need to use a short time step length increases the number of steps required in a simulation. As a result, the total processing time required to process a large model can make it impractical to apply the method. An alternative approach is to use a fully implicit finite difference technique. This can, in principal, use a longer time step than an IMPES-based finite difference technique. However, it requires the inversion of a much larger matrix and this is a particular disadvantage with a simulation that incorporates the composition of fluid at a producer, since the existence of a large number of hydrocarbon components will make the matrix very large. Furthermore, the equations governing fluid flow are non-linear and this can place an upper limit on the allowable time step length. As a result, the processing time required for a fully implicit finite difference simulation may also make it impractical to apply the method to a large model, in particular to a compositional model. This problem has hitherto been addressed by using an adaptive implicit finite difference technique. Conventional streamline techniques are based on an IMPES method. In these techniques the fluid pressure is solved implicitly, and streamlines are computed based on this solution for the fluid pressure. A streamline is the path that a particle would take through a three-dimensional space (in this case the reservoir) for a pressure solution at a given time. In this method, the three-dimensional domain ofthe reservoir is decomposed into many one-dimensional streamlines, and fluid flow calculations are performed each streamline. A streamline technique may have a high time step length, which reduces the processing time required. However, a conventional streamline technique assumes, despite the movement of fluid that occurs in the reservoir, that the pressure is constant over a time step of fluid movement and this assumption leads to a lack of connection between the pressure field and the movement of fluids. This can cause instabilities and limit the maximum time step length that can be used. In an example of conventional streamline technique, the component conservation equations can be written in terms of moles as: a? A +v- ∑fi bfij =qt i=\...n c (i) J=SιW, J=0,W,g where φ is the porosity ofthe reservoir material, x tj is the mole fraction of component i in the h phase, b j is the molar density for phase/, S j is the saturation for phase j, and qi is the well production rate of component i. The saturation of a phase is the fraction of the total fluid volume for a given phase so, for example, if half the fluid at a given point is oil then the oil saturation is 0.5. The subscript i, where 1 < i < n c denotes the particular hydrocarbon component, there are n c hydrocarbon components in total in the reservoir fluid, andj denotes the phase (gas, liquid etc). The velocity ij- ofthe,/ phase is defined as: where λ j is the mobility for phasey, Pj is the pressure ofthe phase/, and/3 * s me mass density of phase 7. The streamline concept is based on an operator splitting technique for the conservation equations, which separates an equation for the pressure from the conservation equations. Assuming that capillary forces are negligible so that P c = 0, then a pressure equation may be written as (3) at j=o,w,g where Q is the total well production rate which equals the total well injection rate, Vt is the total velocity of fluid, Qis the fluid total compressibility; C j is the compressibility of phase/ and p is the pressure. Again assuming that the capillary pressure P c = 0 (in which case the P 0 =P^ - Pg), then the total velocity is given by where P 0 is the oil phase pressure, λ t is the total mobility, λj is the mobility of phase j, p j is the mass density of phase/ and g is the acceleration due to gravity. Equations (3) and (4) are used to find the pressure distribution for a given component distribution. The pressure equation is solved implicitly using a finite difference method to give a pressure field. From this pressure field, cell fluxes are found using equation (4). These fluxes define the streamlines. These conventional streamline calculations are well-known and are described in the literature. Neglecting the gravitational term in the above equations, the IMPES-type assumption that the pressure is constant throughout a time step means that pressure-derivative terms can be ignored when solving for the saturation so that, for the concentration equation along a streamline, it is assumed that: .« (5) dt The total number of moles per unit volume of component i, ntj, is defined as m i. = j= Σo,w, χ g t >jSj ( 6a ) and the convective flow of component i F ( is defined as where f is the fractional flow function of component/ and bj is the molar density of phase/. If the effect of gravity is neglected, then equation (1) may be re-written as a 1-D equation along the streamlines: where q, is the injection/production rate ofthe component i. The velocity v t defines the streamlines. On the assumption that the pressure in the reservoir remains constant over a time step, then the streamlines will not change their path during a time step. In order to account for the effect of gravity, we define the term for the flow due to gravity by which arises from writing v t = v t +r.g for each phase j. In equation (8), G, is the flow due to gravity segregation for component i, Fj is the gravity segregation strength for phase/ and the index k denotes oil, water or gas (and is used since the usual index/ is used earlier in the equation). Equation (1) may now be re-written to separate the gravity flow term from the convective flow term , to give dm , ^ 1 • v , + • <?,) = ?/ i = I,-, n . (9) δt φ In equation (9), the V.Fj term is a 1-D term along the streamlines defined by v t and the V.Gj term is a 1-D term along the gravity lines defined by the gravity vector g. It is possible to split the two terms, to give: - ati. + l φ ?, . V* 1 - Jl (10) Equation (10) models the convective flow in the absence of gravity, and may be solved as described above. Equation (11) models the gravity segregation ofthe fluids. The gravity vector in equation (8) is constant and known, so that the gravity lines are always defined. The full 3-D movement of fluids in the reservoir is modelled by solving equations (10) and (11) sequentially. Figure 1 illustrates schematically how the saturation is modelled initially along a streamline, and then along a gravity line. The principal steps of a conventional streamline method are shown in Figure 2. At step 1 a fluid flow model ofthe reservoir is initialised, and at step 2 an initial estimate ofthe pressure field in the reservoir is made by solving implicitly for the pressure. At step 3 the initial streamlines are calculated from the initial estimate ofthe pressure field. The saturation is then mapped onto these initial streamlines at step 4, and the saturation is solved over a time step ΔT along the streamlines at step 5, using equation (10). Several techniques for this are known. The saturation is them mapped from the streamlines onto the gravity lines, at step 6, and the saturation is solved over the time step ΔT along the gravity lines at step 7, using equation (11). The saturation is then mapped onto gricTcells at step 8, so that the saturation at each grid point within the reservoir can be output. To repeat the calculations over a subsequent time step, the time is updated at step 9, and the pressure field within the reservoir is re-computed from the newly-calculated values for the saturation. Step 3 of estimating the streamlines from the pressure is then repeated. A suitable counter is updated at step 10, and the newly-calculated values for the saturation are then mapped onto the new streamlines. Steps 5 to 8 of computing the saturation along the (new) sfreamlrnes, mapping the saturation onto the gravity lines, computing the" saturation along the gravity lines and mapping the saturation onto the grid cells are then repeated. Steps 9, 10 and 2-8 may then be repeated until the fluid flow has been simulated over a desired time period. One advantage of a streamline technique is that the problem of simulating the fluid flow in the reservoir has been reduced to a set of separate, smaller 1-D problems. As noted above, however, conventional streamline techniques assume that the pressure field is constant over a time step (which means that the streamlines are fixed over a time step). This assumption limits the length ofthe time step that can be used, since effects that depend on pressure changes are ignored. This problem is particularly serious if the pressure within the reservoir is changing rapidly since, in this case, large errors may occur unless the time steps are be kept short. A first aspect ofthe present invention provides a method of determining fluid flow in a volume containing two or more fluid components, the method comprising: determining a pressure field for the volume; determining one or more streamlines from the pressure field; and solving for the fluid composition along the or each streamline. A second aspect ofthe invention provides a method of processing data relating to a hydrocarbon reservoir containing two or more fluid components, the method comprising the steps of: determining a pressure field for a volume indicative ofthe reservoir; determining one or more streamlines from the pressure field; and solving for the fluid composition ofthe reservoir along the or each streamline. The present invention thus makes it possible to perform a full compositional calculation along a streamline. In a preferred embodiment the method further comprises solving for the pressure along the or each streamline. The step of solving the fluid composition along the or each streamline and, optionally, the step of solving the pressure along the or each streamline may be repeated by updating the pressure field, re-computing the streamlines for the updated pressure field, and solving along the re-computed streamlines. This enables the fluid composition, and optionally the pressure, to be modelled as a function of time. Where the invention is applied to a hydrocarbon reservoir, it provides information about the expected yield at a producer ofthe reservoir. This may be used to control the production ofthe reservoir, for example to determine where to locate a producer and/or an injector. In preferred embodiment, the step of solving along the or each streamline comprises using a finite difference technique. This eliminates the requirement of a conventional streamline technique that the pressure is assumed to the constant during a time step. In turn, this allows a longer time step length, and so reduces the number of steps required to simulate over a given time period. A third aspect ofthe present invention provides an apparatus for determining fluid flow in a volume containing two or more fluid components, the apparatus comprising: means for determining a pressure field for the volume; means for determining one or more streamlines from the pressure field; and means for solving for the fluid composition along the or each streamline. A fourth aspect ofthe present invention provides an apparatus for processing data relating to a hydrocarbon reservoir containing two or more fluid components, the apparatus comprising: means for determining a pressure field for a volume indicative of the reservoir; means for determining one or more streamlines from the pressure field; and means for solving for the fluid composition ofthe reservoir along the or each streamline. In a preferred embodiment, the apparatus comprised a programmable data processor. A fifth aspect ofthe present invention provides a storage medium containing a program for a data processor of an apparatus as defined above. Preferred embodiments ofthe present invention will now be described by way of illustrative example with reference to the accompanying Figures, in which: Figure 1 is a schematic illustration of a conventional streamline technique; Figure 2 is a flow chart for a conventional streamline technique; Figure 3(a) is a flow chart illustrating the principal steps of a method ofthe invention; Figure 3(b) is a flow chart illustrating one embodiment ofthe invention; Figure 4 is a schematic illustration of one step of a method according to the present invention; Figure 5 illustrates gas production rates predicted by a method ofthe invention and a conventional technique for a first reservoir model; Figure 6 illustrates oil, gas and water production rates predicted by a method ofthe invention and a conventional technique for a second reservoir model; Figure 7 shows a saturation plot for a method ofthe invention for the second reservoir model; Figure 8 shows a streamline plot for a method ofthe invention for the second reservoir model; Figure 9 illustrates oil production rates predicted by a method ofthe invention and a conventional technique for a third reservoir model Figure 10 shows a saturation plot for a method ofthe invention for a third reservoir model; Figure 11 shows a streamline plot for a method ofthe invention for the third reservoir model; Figure 12 shows a streamline plot for a method ofthe invention for a fourth reservoir model; Figure 13 is a comparison of he CPU time and RAM capacity required by a method of the invention and a conventional technique; Figure 14 is a block schematic diagram of an apparatus constituting a further embodiment ofthe invention; and Figure 15 is a block schematic diagram of a programmable data processor-based apparatus constituting a further embodiment ofthe invention. In a streamline calculation ofthe present invention, the pressure field for a reservoir is calculated at for each time step, and the streamlines are estimated from this pressure field as in the prior art. However, the one-dimensional solutions along the streamlines are found using a fully implicit technique or an adaptive implicit technique. The pressure and the fluid composition are solved for together along each streamline. Physical effects that depend on the changes in pressure can be taken account of in the solution along the streamlines, and it is not necessary to assume that the pressure remains constant over a time step. The present invention is thus able to use long time steps, even if the pressure is changing rapidly, and this ~ reduces the number of steps required in a simulation. The invention may be applied to a "black oil" calculation or to a full composition calculation. In a "black oil" calculation, only water, oil and gas ' are considered, and the individual hydrocarbon components are not considered. In one embodiment, a method ofthe invention is carried out using a Streamline Simulator (CS) and a finite difference simulator (FD). The finite difference simulator is used to provide the fully implicit solutions along the streamlines. One suitable finite difference simulator is the Schlumberger GeoQuest Eclipse 300 simulator, which is a commercial reservoir simulator. A suitable Streamline Simulator is the Schlumberger GeoQuest FrontSim simulator. Figure 3(a) is a flow diagram setting out the principal steps of a method ofthe present invention. The method will be described with reference to a hydrocarbon reservoir but, in principle, the invention may be performed on any volume that contains two or more fluid components. Initially the CS simulator is initialised by loading user-defined data such as the pressure P, the water saturation S w , and the mole fractions m t ofthe various hydrocarbon components. Alternatively, if the gas saturation S g and the mole fractions xy ofthe/ phases ofthe i components are available, these can be loaded into the CS simulator. The CS simulator contains a global grid of cells that are used in the calculations. The FD simulator is then initialised for 1-D simulations using the fluid and component properties and relative permeability from the user data, and dummy data for the grid parameters and scheduling data. These dummy values are updated for each streamline during the simulation. The CS simulator then instructs the FD simulator to calculate the initial gas saturation, the initial pressure field, and the initial phase compositions for each compositional model. These calculations are done, in the flash calculation module ofthe FD simulator. The FD simulator also calculates pressure derivatives. The pressure field for a volume that defines the reservoir is then calculated by the solver ofthe CS simulator.. This is done using an IMPES-type solver, which has been modified to calculate the partial pressure field for each component ofthe reservoir fluid. The pressure-dependent variables needed by the Jacobian are supplied by the flash module ofthe FD simulator The streamlines are then computed from the pressure field. The data that the FD simulator need to simulate one time step is then prepared. The FD simulator has a fixed 1-D grid, and the streamlines are bundled up so that they fit into the fixed grid, as shown schematically in Figure 4. The left hand of Figure 4 is intended to represent streamline that extend from an injector to a producer as they would appear in the CS simulator (streamlines are generally three-dimensional, but are shown as two- dimensional in Figure 4 for convenience). In order to solve along the streamline in the FD simulator, the streamline is mapped onto a one-dimensional grid, as shown on the right of Figure 4. The initial values for the FD simulator, such as the transmissibility and depth ofthe grid, and the pressure, saturation and composition ofthe fluids, are set by the CS simulator. The pressure is computed both globally for each time step and locally along each streamline when the fluids are moved. [The positions ofthe ρroducer(s) and injector(s) are also defined. The FD simulator then solves the pressure equation for one global time step for its fixed 1-D grid which, as explained above, represents a set of streamlines. The FD simulator then passes the results of this simulation to the CS simulator so that the values ofthe solution variables, the molar densities, the pressure and " the saturations for the global grid cells can be updated. During this update, volumetric averages ofthe values calculated on the streamlines are mapped back to the global grid in the CS simulator. Figure 3(b) is a more detailed flow diagram showing one embodiment ofthe invention. First, the simulation is initialised. This initialisation includes initialising two separate simulators, the CS simulator and the FD simulator. At step 10 user input data is read by the CS simulator. At step 11 the CS simulator prepares data to be input to the FD simulator, and at step 12 this data is read into the FD simulator. At step 13 the FD simulator is initialised for ID simulations, typically a small ID grid. The size ofthe FD simulator grid does not depend on the size ofthe CS simulator grid since the FD simulator is used to solve for grids representing streamlines only. The fluid and component properties as well as the relative permeability tables are initialised for the FD simulator using data input by the user into the CS simulator and passed to the FD simulator by the CS simulator. The rest ofthe input data to the FD simulator (grid parameters, wells and production schedule) is a set of dummy values for the initialisation. During the simulation these variables will be dynamically updated for each streamline. The CS simulator is then initialised at step 14. The initial gas saturation, pressure and phase compositions for the CS simulator are computed using the FD simulator flash calculation module at step 15, and are supplied to the CS simulator. The FD simulator flash module also supplies the CS simulator with data for the phase mobility, density, and compressibility as well as the derivatives of these quantities with respect to pressure. Next the CS simulator computes the pressure field within the reservoir at step 16. The pressure solver in the CS simulator is an IMPES type solver and few modifications have been made for the compositional case. The pressure dependent variables needed for the matrix are supplied by the FD flash module. From the pressure field the fluxes are determined and streamlines are computed at step 17. The streamlines may be computed in any suitable manner, for example using the method described above. In order to use the FD simulator to solve for the compositions and pressure, the streamlines are broken down into ID grids defined by transmissibility, pore volume and depths for the grid cells. This is done in the CS simulator, as step 18. The gravity lines are also broken down into ID grids, again at step 18. Each of these ID grids can be solved individually by the FD simulator. For performance reasons, the CS simulator will fill the FD grid with a set of streamline grids. An injector is positioned in the first cell and a producer in the last cell of each part ofthe grid representing a single streamline, as shown schematically in Figure 4. At step 19, the FD simulator solves one time step for the set of streamlines in the FD grid. The results of this step are sent to the CS simulator. The resulting compositions and pressure determined at step 19 are mapped onto the CS grid at step 20. This procedure is repeated until all streamlines have been solved. Once all streamlines have been solved and mapped onto the CS simulator grid, the FD simulator performs, at step 21, a flash calculation on the resulting averages in the CS simulator grid. As for the initial flash calculation at step 15, the FD simulator flash will supply the CS simulator with values for the phase mobility, density and compressibility as well as the derivatives of these quantities. However, the values calculated at step 21 are updated values, at the end of a time step. These values may be output for review by an operator, if this is desired. At step 22 there is a determination whether the simulation is complete. If the result of this determination is "no", a time counter is incremented at step 23, and the pressure is then re-calculated at step 16. The pressure is recalculated from the updated values computed by the FD simulator at step 21. Steps 16 to 23 are then repeated until the simulation is complete and a "yes" determination is obtained at step 22, whereupon the process ends at step 24. The detailed mathematical basis for the present invention will now be described. The gravity lines are handled very much in the same way as the streamlines. They are mapped to the FD simulator, and results are obtained in the same way as for the streamlines. The main difference is that there are no wells defined in the gravity lines since only the gravity segregation ofthe fluids need be taken into account. The initial condition for the gravity lines are the results ofthe streamline simulator. From equation (1), the component conservation equations for each component i in the FD simulator can be written in terms of n c + 2 primary solution variables for pressure and component molar densities X = (p, mi, mw), where i = 1... n c ., and mw is the molar density of water. — m. + V • ∑ x i,j p J - + q i = 0 (12) dt ' J =g,w,o for i = \...n c , where / denotes the phase and λj is the mobility of the / th phase, k b λ , = — - — — (with k rj the relative permeability of phase j). A similar equation can be written for water. The finite volume discretisation for component and water molar conservation equations then lead to n c + 1 equations ofthe form (<K » ,> * ' - , » ,) ) + ∑ F . . + q ι = 0 (13) A t Δj > . J * ι In streamline mode, the ID spatial discretisation in equation (13) is in time of flight (TOF) along the sfreamlines. If the total number of hydrocarbon moles per unit pore volume is ,„ = V m. then the phase saturations for oil, water and gas, S w , S w , S g , are defined in terms ofthe liquid and vapour mole fractions L, N and the phase molar densities of oil, water and gas, b m b 0 , b g , as m„ Lm,/ o _ Vm t V "\, = A' * * ' A (14) where m t is the total hydrocarbon molar density, and so the phase volume per unit pore volume is given by m. Lm , Vm . u τ = ■ + (15) The FD simulator solves the additional volume balance constraint V p = Vf= V p u T , where V v is the pore volume, V f is the fluid volume, and U T is the phase volume per unit pore volume, and total compressibility ofthe fluid is given by This is used to construct the pressure equation (3). The FD simulator flash package also supplies values and derivatives for other extensive properties in equation (3) such as μ J; , the viscosity of phase j, and p j . The CS simulation is initialised by calling the compositional equihbrator, and is flashed onto the global grid. The initial data consists ofthe pressure P, the saturation of water S w and mole fractions z,-, or both S w and the gas saturation S g and mole fractions xy if available. Since the simulator works with specific molar density primary variables m ; - it is important to predict mi in order to preserve material balance when the solution is interpolated back and forth between the global grids and streamlines. After solving a simulator time step, the solutions are then pulled back onto the global grid and re- flashed before computing the new streamlines. Material balance errors and the and the work involved in this reflash is minimised by initialising the FD streamline solver and global flash with saturations S 0 , S g and S w and liquid and vapour compositions xt ι0 and Xi ιg ., so the vapour fraction V= S g b g l z - is predicted. The initial molar phase densities are computed as b j = b j (xi j ,P) and b w = b w (P) so that the component molar densities are given by mt = X{ ι0 So b o + Xi ιg S g b g (17) The interpolation of saturations S j and mole fractions xy between the streamline and global grids attempts to conserve the molar masses x Sj b j of components in each phase as well as the molar mass of water m w while pressures are pore volume weighted averages. The material balance errors are then minimal and uT should be approximately 1. If uTis significantly different from 1, the predicted S 0 , S w , S g in equation (15) obtained from the FD simulator flash package are normalised by uT, leading to material balance error in the streamline simulation. The compositional simulator runs efficiently since the streamlines are one-dimensional. Streamlines are concatenated into a I-D list and presented to the simulator as a bundle so that key parts ofthe FD can readily be optimised for a 1-D solution. Each streamUne in the bundle may be converged separately; the convergence criteria in the simulator are based on achieving tolerances on solution changes hip and mi. In the examples described in detail above, the streamlines have been solved fully implicitly. Alternatively, the streamlines may be solved using adaptive implicit method (ATM) solutions along streamlines. Examples illustrating the improvement provided by the invention will now be described. 1. SPE9 Simple Model The 9th SPE Comparison Problem, as presented by J. Killough at the 13th Symposium of Reservoir Simulation, San Antonio, Texas (1995) was converted from black oil to a compositional problem. The problem relates to heterogeneous reservoir with a single water injector and 24 oil producers whose operation was converted to reservoir volume control. In the simulation a 9000 cell grid (24 x 25 x 15) is used. The producers are completed (open) in the layers 2,3,4, and the injector was completed in layers 11 to 15. The reservoir is initialised with an oil water contact in the reservoir^ The simulation is run for a period of 900 days. The PNT data for 6 components, having from one to 20 carbon atoms (C1-C20), is used with single stage flash to standard conditions of 60°F and 14.7 psi. Figure 5 shows the field gas production rate (FGPR) as simulated using a CS model of the present invention and an FD model for comparison. It will be seen that the material balance error predicted by the CS method ofthe invention is less than 0.6%. 2. SPE Refined Model The SPE9 comparison model was refined to a 72 x 75 x 45 grid with the same 6 component PNT data as for the SPE simple model described above to give a 243,000 cell model. For models of this size, the streamline approach may be much faster than a finite difference simulation. A simplified production schedule was employed with the production wells under a constant reservoir volume control of 1500 Stb/day and the water injector maintaining a bottom hole pressure (BHP) of 4500 psi over a period of 1000 days. The producers were completed (open) in layers 4 to 12). Fig 6 compares field oil production rates (FOPR), field gas production rates (FGPR) and field water production rates (FWPR) for a CS simulation and an FD simulation. It can be seen that the oil recovery predicted by the CS simulation is slightly lower than the oil recovery predicted by the FD simulation. Figure 13 shows the memory capacity and CPU time required to perform a simulation for this model, using a CS simulation ofthe invention and using a conventional FD simulation. The CS simulation used a 243,000 cell model, and extended over a simulation period of 1,000 days. This Figures shows that a CS simulation ofthe invention is quicker and needs less memory that a conventional FD simulation. The CS simulation required 14 hours of CPU time (on an rBM SP2) and 330 MB RAM, whereas the conventional FD simulation required 7 5hours CPU time and 650MB RAM. Thus, even with no tuning, a CS simulation ofthe present invention runs in less than a fifth ofthe CPU time required for an FD simulation, and needs approximately half the memory capacity. Figures 7 and 8 illustrate the saturation (Fig 7) and the streamlines (Fig 8) for the top layer ofthe reservoir simulation for the SPE 9 refined model after 500 days. In Figure 7 the saturation is shaded to denote oil, gas or water. As indicated in the Figure, a region near the injector extending across the entire breadth ofthe top layer ofthe reservoir (that is, into the paper), and over approximately 0.2 ofthe width ofthe top layer ofthe reservoir (that is, across the paper) contains predominantly water, The remainder ofthe top layer ofthe reservoir contains predominantly oil, except for a narrow region at the boundary ofthe water-containing region. The streamlines in Figure 8 are shaded to indicate gas saturation, whereas the is where the streamlines are shaded to indicate gas saturation. The gas saturation is close to zero near the injector, and increases away from the injector, generally to around 0.1 although it reaches o.2 or 0.3 in some regions. The material balance error is 0.03% for the CS simulation. 3. The PUNQ Simple Model The PUNQ-Simple model of F.J.T Floris et al, European Conference on the Mathematics of Oil Recovery (1998) was converted to a 5-component compositional model and initialised with an oil water contact in the reservoir. The coarse simulation model has 1761 active cells and the rim aquifer was removed for the purpose of comparing the finite volume simulation and the streamline simulation. The reservoir is depleting with the wells put under reservoir volume rate controls for a 5000 day period from January 1967. The well separator conditions assume a single stage flash to standard conditions. Figure 9 shows the field oil production rates (FOPR) predicted by a conventional FD simulation and by a CS simulation ofthe invention. It can be seen that CS simulation predicts an early decline in production when the BHP constraint is achieved. (Initially in the simulation the produces are controlled to have a constant rate, and a limit for the maximum bottom hole (BHP) is set. The BHP increases during the simulation, and will eventually reach the set limit. At this point the target for the well is changed to maintain a constant BHP, and the production rate decreases. Figures 10 and 11 show the saturation plot (Figure 10) and the streamline plot (Figure 11) for the CS model after 5000 days when free gas has appeared in the reservoir. The indicated region in the saturation plot of Figure 10 contains predominantly oil, and elsewhere there as an oil/water mix (with the water content generally increasing away from the predominantly-oil region. The gas saturation in Figure 11 was approximately 0.2 in a region that corresponds generally to the predominantly-oil region of Figure 10, although it reached 0.25-0.3 near producers Pro 1, Pro 4 and Pro 5. Elsewhere, the gas saturation was lower, generally in the range 0.05 to 0J5. 4. PUNQ complex model As an illustration of an application ofthe invention to a geological scale model that it is impractical to solve using a conventional simulation without first upscaling, the million cell PUNQ complex model (the SPE 10 th comparative solution project on upscaling) was run. In this model the wells are arranged in a 5 spot pattern. A central injector injects water at a reservoir volume rate of 4000 Stb/day and four producers operate under bottom hole pressure constraints of 4000 psi. The reservoir is located between 12,000 and 12,170 feet and is initialised with a datum pressure of 6000 psi at 1200 feet with an OWC at 2000 feet. The six component fluid described in Example 1 is used. Figure 12 illustrates the streamlines after 5110 days. The streamlines are shaded to indicate the CIO molar density, and it can be seen that this increases from approximately 0.25 at the centre ofthe layer to approximately 1 at each ofthe producers PI to P4 The invention has been described above with reference to separate CS and FD simulators. In practice however, the invention may conveniently be carried out by embodying the CS simulator and the FD simulator in a " single program that is run on any suitable processor. Figure 14 is a schematic block diagram of an apparatus 25 according to the present invention. The apparatus comprises an input device 26 for receiving input data to be processed and for supplying to the remainder ofthe apparatus data t the appropriate time for processing. The apparatus further comprises a streamline simulator 27 and an FD simulator 28. The FD simulator may be a fully-implicit FD simulator, or it may be an adaptive implicit FD simulator. Finally the apparatus comprises an output device 29, such as a printer, a visual display unit, or a memory. Figure 15 illustrates a programmable system embodying the apparatus of Figure 14, for performing a method according to the present invention, such as the method illustrated in Figure 3(a) or Figure 3(b). The system comprises a programmable data processor 30 with a program memory 31, for instance in the form of a read only memory ROM, storing a program for controlling the data processor 30 to perform, for example, the method illustrated in Figure 3(a) or Figure 3(b). The system further comprises non-volatile read/write memory 32 for storing, for example, any data which must be retained in the absence of power supply. A "working" or "scratchpad" memory for the data processor is provided by a random access memory (RAM) 33. An input interface 34 is provided, for instance for receiving commands and data. An output interface 35 is provided, for instance for displaying information relating to the progress and result ofthe method. User-define data may be supplied via the input interface 34 or may optionally be provided by a machine-readable store 36. The program for operating the system and for performing the method described hereinbefore is stored in the program memory 31, which may be embodied as a semi-conductor memory, for instance ofthe well-known ROM type. However, the program may be stored in any other suitable storage medium, such as magnetic data carrier 31a (such as a "floppy disc") or CD-ROM 31b.

Claims: CLAIMS: 1. A method of determining fluid flow in a volume containing two or more fluid components, the method comprising: deterrnining a pressure field for the volume; determining one or more sfreamlines from the pressure field; arid solving for the fluid composition along the or each streamline. 2. A method as claimed in claim 1 and further comprising solving for the pressure along the or each streamline. 3. A method as claimed in claim 1 or 2 and further comprising the steps of: determining an up-dated pressure field for the volume; determining one or more streamlines from the updated pressure field; and solving for the fluid composition ofthe reservoir or for the fluid composition and the pressure along the or each streamline determined from the updated pressure field. 4. A method of processing data relating to a hydrocarbon reservoir containing two or more fluid components, the method comprising the steps of: deterrnining a pressure field for a volume indicative ofthe reservoir; determining one or more streamlines from the pressure field; and solving for the fluid composition ofthe reservoir along the or each streamline. 5. A method as claimed in claim 4 and further comprising solving for the pressure ofthe reservoir along the or each streamline. 6. A method as claimed in claim 4 or 5 and further comprising the steps of: determining an up-dated pressure field for the volume indicative ofthe reservoir; determining one or more streamlines from the updated pressure field; and solving for the fluid composition ofthe reservoir or for the fluid composition and the pressure along the or each streamline determined from the updated pressure field. 7. A method as claimed in claim 4, 5 or 6 and comprising the further step of controlling production ofthe reservoir on the basis ofthe results ofthe step of solving along the streamline. 8. A method as claimed in any preceding claim wherein the step of solving along the or each streamline comprises using a finite difference technique. 9. A method as claimed in claim 8 wherein the step of solving along the or each streamline comprises using a fully-implicit finite difference technique. 10. A method as claimed in claim 9 wherein the step of solving along the or each streamline comprises using an adaptive finite difference technique. 11. An apparatus for determining fluid flow in a volume containing two or more fluid components, the apparatus comprising: means for determining a pressure field for the volume; means for determining one or more sfreamlines from the pressure field; and means for solving for the fluid composition along the or each streamline. 12. An apparatus for processing data relating to a hydrocarbon reservoir containing two or more fluid components, the apparatus comprising: means for determining a pressure field for a volume indicative ofthe reservoir; means for deterrnining one or more streamlines from the pressure field; and means for solving for the fluid composition ofthe reservoir along the or each streamline. 13. An apparatus as claimed in claim 11 or 12 wherein the means for solving the fluid composition along the or each streamline is a finite difference simulator. 14. An apparatus as claimed in claim 13 wherein the finite difference solver is further adapted to solve for the pressure along the or each streamline. 15. An apparatus as claimed in claim 13 or 14 wherein the finite difference simulator is a fully implicit finite difference simulator. 16. An apparatus as claimed in claim 13 or 14 wherein the finite difference simulator is an adaptive implicit finite difference simulator. 17. An apparatus as claimed in any of claims 11 to 16 wherein the means for determining the pressure field is a streamline solver. 18. An apparatus as claimed in any preceding claim and comprising a programmable data processor. 19. A storage medium containing a program for a data processor of an apparatus as claimed in claim 18.

Inventors: BRATVEDT FRODE, BRATVEDT KYRRE, CHILDS PAUL, CRANE MARTHA, OLUFSEN RUDI, BRATVEDT, FRODE, BRATVEDT, KYRRE, CHILDS, PAUL, CRANE, MARTHA, OLUFSEN, RUDI
Applicants: BRATVEDT FRODE, BRATVEDT KYRRE, CHILDS PAUL, CRANE MARTHA, OLUFSEN RUDI, SCHLUMBERGER CA LTD, SCHLUMBERGER HOLDINGS, SCHLUMBERGER SERVICES PETROL, BRATVEDT, FRODE, BRATVEDT, KYRRE, CHILDS, PAUL, CRANE, MARTHA, OLUFSEN, RUDI, SCHLUMBERGER CANADA LIMITED, SCHLUMBERGER HOLDINGS LIMITED, SERVICES PETROLIERS SCHLUMBERGER
Application year: 2001
Main classification: E21B49
IPC codes: E21B49, G01P5