Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MODELING FLUID DISPLACEMENT IN A WELL SYSTEM ENVIRONMENT
Document Type and Number:
WIPO Patent Application WO/2015/030863
Kind Code:
A1
Abstract:
In some aspects, a one-dimensional flow model is generated. The one-dimensional flow model can represent flow of a first fluid and a second fluid in a flow path in a well system environment. The one-dimensional flow model comprises an effective diffusion coefficient model for a composite fluid volume comprising the first and second fluids. The effective diffusion coefficient model calculates an effective diffusion coefficient for the composite fluid volume based on a difference between the respective densities and viscosities of the first fluid and the second fluid.

Inventors:
WU HONGFEI (US)
MADASU SRINATH (US)
LIN AVI (US)
Application Number:
PCT/US2014/015882
Publication Date:
March 05, 2015
Filing Date:
February 11, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HALLIBURTON ENERGY SERV INC (US)
International Classes:
G06F17/50; G06F19/00
Domestic Patent References:
WO2012092013A22012-07-05
Foreign References:
US7229593B12007-06-12
US20090272528A12009-11-05
Other References:
YUSUKE KIRINO ET AL.: "Effect of density-driven flow on the through- diffusion experiment", JOURNAL OF CONTAMINANT HYDROLOGY, vol. 106, no. ISSUES, 12 May 2009 (2009-05-12), pages 169 - 172
CHAO-YING JIAO ET AL.: "An Experimental Study of Miscible Displacements in Porous Media with Variation of Fluid Density and Viscosity", TRANSPORT IN POROUS MEDIA, vol. 54, no. ISSUE, February 2004 (2004-02-01), pages 125 - 144
Attorney, Agent or Firm:
GRISWOLD, Joshua, A. et al. (P.O. Box 1022Minneapolis, MN, US)
Download PDF:
Claims:
CLAIMS

1. A flow modeling method comprising:

generating a one-dimensional flow model that models flow of a first fluid and a second fluid in a flow path in a well system environment, the one-dimensional flow model comprising an effective diffusion coefficient model for a composite fluid volume comprising the first and second fluids, the effective diffusion coefficient model based on a difference between respective densities of the first fluid and the second fluid; and

on a computer system, operating the one-dimensional flow model based on the effective diffusion coefficient model.

2. The method of claim 1, wherein the effective diffusion coefficient model is based on a difference between respective viscosities of the first fluid and the second fluid.

3. The method of claim 1, wherein the first and second fluids comprise immiscible fluids, and operating the one-dimensional flow model simulates the first fluid displacing the second fluid in the flow path.

4. The method of claim 1, wherein the first and second fluids comprise miscible fluids, and operating the one-dimensional flow model simulates the first fluid displacing the second fluid in the flow path.

5. The method of claim 1, wherein the composite fluid volume comprises a mixing zone of the first fluid and the second fluid in the flow path, and the effective diffusion coefficient model is based on a length of the mixing zone.

6. The method of claim 1 , wherein the one-dimensional flow model models fluid flow in a subterranean region during an injection treatment applied to the subterranean region, the first fluid comprising an injection fluid, and the second fluid comprises a native fluid that resides in the subterranean region.

7. The method of claim 1, wherein the one-dimensional flow model models fluid flow in a wellbore in a subterranean region, and operating the one-dimensional flow model simulates the first fluid displacing the second fluid in the wellbore.

8. A non-transitory computer-readable medium storing instructions that, when executed by a data processing apparatus, perform operations comprising:

generating a one-dimensional flow model that models flow of a first fluid and a second fluid in a flow path in a well system environment, the one-dimensional flow model comprising an effective diffusion coefficient model for a composite fluid volume comprising the first and second fluids, the effective diffusion coefficient model based on a difference between respective viscosities of the first fluid and the second fluid; and

operating the one-dimensional flow model based on the effective diffusion coefficient model.

9. The computer-readable medium of claim 8, wherein the effective diffusion coefficient model is based on a difference between respective densities of the first fluid and the second fluid.

10. The computer-readable medium of claim 8, wherein the first and second fluids comprise immiscible fluids, and operating the effective diffusion coefficient model calculates an effective diffusion coefficient De for the composite fluid volume based on the equation:

where Ds represents surface diffusivity, Dd represents dispersion, Όμ represents a viscosity difference factor, Dp represents a density difference factor, μ1 represents the first fluid's viscosity, μ2 represents the second fluid's viscosity, p1 represents the first fluid's density, p2 represents the second fluid's density, U represents the first fluid's average velocity, and W represents a width of the flow path.

11. The computer-readable medium of claim 10, wherein the viscosity difference factor ϋμ is calculated based on the equ

wherein y is a viscosity difference coefficient and the Schmidt number Sc is calculated based on:

μ + μ2

Sc = Dm-

Pl + P2

12. The computer-readable medium of claim 10, wherein the density difference factor Dp is calculated based on the equation:

Dp = K Re (l ¾— Y

p V P1 + P2

wherein κ is a density difference coefficient and the Reynolds number Re is calculated based on:

Pi + P2

Re =———UW.

μ1 + μ2

13. The computer-readable medium of claim 8, wherein the first and second fluids comprise miscible fluids, and operating the effective diffusion coefficient model calculates an effective diffusion coefficient De for the composite fluid volume based on the equation:

De = Dm + Dp

where Dm represents a molecular diffusion factor for the first fluid, and Of represents a fingering diffusion factor, wherein the fingering diffusion factor is given by the equation:

Of = ( ¾ + + Dp 8l £±\ uw, where Dd represents dispersion, ϋμ represents a viscosity difference factor, Dp represents a density difference factor, μ1 represents the first fluid's viscosity, μ2 represents the second fluid's viscosity, p1 represents the first fluid's density, p2 represents the second fluid's density, U represents the first fluid's average velocity, and W represents a width of the flow path.

14. The computer-readable medium of claim 13, wherein the viscosity difference factor ϋμ is calculated based on the equation:

¾ = y Sc --!—),

V μ1 + μ2 '

wherein y is a viscosity difference coefficient and the Schmidt number Sc is calculated based on:

_ /½ + /½

Pi + P2

15. The computer-readable medium of claim 13, wherein the density difference factor Dp is calculated based on the equation:

Dp = K Re (l ¾— Y

wherein κ is a density difference coefficient and the Reynolds number Re is calculated based on:

Pi + P2

Re =———UW.

μ1 + μ2

16. The computer-readable medium of claim 13, wherein the composite fluid volume comprises a mixing zone of the first fluid and the second fluid in the flow path, and the effective diffusion coefficient model is based on a length of the mixing zone.

17. A flow modeling system comprising one or more computer systems that include: memory adapted to store a one-dimensional flow model that models flow of a first fluid and a second fluid in a flow path in a well system environment, the one-dimensional flow model comprising an effective diffusion coefficient model for a composite fluid volume comprising the first and second fluids, the effective diffusion coefficient model based on:

a difference between respective viscosities of the first fluid and the second fluid; and

a difference between respective densities of the first fluid and the second fluid; and

data processing apparatus adapted to operate the one-dimensional flow model based on the effective diffusion coefficient model.

18. The flow modeling system of claim 17, wherein the first and second fluids comprise immiscible fluids, and operating the one-dimensional flow model simulates the first fluid displacing the second fluid in the flow path.

19. The flow modeling system of claim 17, wherein the first and second fluids comprise miscible fluids, and operating the one-dimensional flow model simulates the first fluid displacing the second fluid in the flow path.

Description:
Modeling Fluid Displacement in a Well System Environment

BACKGROUND

[0001] The following description relates to modeling fluid displacement, for example, in a simulation of fluid flow in a well system environment.

[0002] Fluid models have been used to simulate fluid flow in well systems and other environments. For example, fluid models have been used to model fluid flow during fracture treatments applied to subterranean rock formations. During a conventional fracture treatment, pressurized fluid is communicated from a wellbore into the reservoir at high pressure, and the pressurized fluid can fracture the rock formation.

DESCRIPTION OF DRAWINGS

[0003] FIG. 1 is a schematic diagram of an example well system.

[0004] FIG. 2 is a schematic diagram of an example computing system.

[0005] FIG. 3 is a diagram of an example system architecture.

[0006] FIG. 4 is a flow chart showing an example technique for modeling fluid flow in a well system environment.

[0007] FIG. 5 is a diagram showing an example of miscible fluids in a wellbore.

[0008] FIGS. 6A, 6B, 6C, and 6D are plots showing data from example numerical simulations.

[0009] FIG. 7 is a diagram showing an example of immiscible fluids in a wellbore.

[0010] FIGS. 8A and 8B are plots showing data from example numerical simulations.

[0011] Like reference symbols in the various drawings indicate like elements.

DETAILED DESCRIPTION

[0012] Fluid flow models can be used to analyze fluid flow, for example, in a well system environment (e.g., in a wellbore, a fracture network, within the reservoir rock matrix, in a well system tool, etc.) or other environments. In some environments, the fluid flow is unsteady and multi-dimensional (e.g., three-dimensional or at least two-dimensional). For example, in some types of fractures, the dominant flow is two-dimensional, and includes transient behaviors. In some instances, two- or three-dimensional flow can be described by a one-dimensional flow model, for example, by integrating the governing flow equations over the cross-section of the two- or three-dimensional flow path. In some cases, the resulting equations include nonlinear partial differential equations that can be solved using finite difference, finite volume, or finite element methods. In some cases, the use of one- dimensional flow models can reduce computational costs, and allow for faster or more computationally efficient simulations. In some instances, a flow model can be used to perform numerical simulations in real time, for example, during a fracture treatment or during another well system activity.

[0013] In some cases, a fluid flow model models multiple fluids in a well system

environment, for example, the displacement of one fluid by another fluid. Fluid displacement may occur when a sequence of moving fluids physically interact with each other. Fluid displacement can occur, for example, in a well system environment in a process such as hydraulic fracturing, which involves the injection of fluids at different pumping or perforation stages. Displacement can occur where the injected fluids interact with each other or with native fluids in the reservoir.

[0014] In a well system environment, multiple distinct fluids can exist in separate physical domains, for example, in separate parts of a flow path. In an intermediate region (e.g., at a fluid interface or mixing zone), the distinct fluids may coexist in a common domain. For example, the fluids may form a composite fluid volume in the intermediate region. In some instances, one of the fluids displaces the other fluid within the flow path, causing the intermediate region to move along the flow path.

[0015] The fluid properties of the composite fluid in the intermediate region can be distinct from the properties of the separate constituent fluids, and numerical simulations can account for the distinct fluid properties of the composite fluid. The fluids in the intermediate region may be miscible (e.g., fully or partially miscible) or immiscible. Miscible fluids can combine into a substantially homogenous solution. For example, certain alcohols and water are miscible. Some fluids are partially miscible, for example, when they are not fully soluble but each fluid near the interface holds the other fluid. For example, water and phenol are partially miscible. Immiscible fluids are not mutually soluble. For example, oil and water are immiscible.

[0016] FIG. 1 is a diagram of an example well system 100 and a computing subsystem 110. The example well system 100 includes a wellbore 102 in a subterranean region 104 beneath the ground surface 106. The example wellbore 102 shown in FIG. 1 includes a horizontal wellbore. However, a well system may include any combination of horizontal, vertical, slant, curved, or other wellbore orientations. The well system 100 can include one or more additional treatment wells, observation wells, or other types of wells.

[0017] The computing subsystem 110 can include one or more computing devices or systems located at the wellbore 102 or other locations. The computing subsystem 110 or any of its components can be located apart from the other components shown in FIG. 1. For example, the computing subsystem 110 can be located at a data processing center, a computing facility, or another suitable location. The well system 100 can include additional or different features, and the features of the well system can be arranged as shown in FIG. 1 or in another configuration.

[0018] The example subterranean region 104 may include a reservoir that contains hydrocarbon resources, such as oil, natural gas, or others. For example, the subterranean region 104 may include all or part of a rock formation (e.g., shale, coal, sandstone, granite, or others) that contain natural gas. The subterranean region 104 may include naturally fractured rock or natural rock formations that are not fractured to any significant degree. The subterranean region 104 may include tight gas formations that include low permeability rock (e.g., shale, coal, or others).

[0019] The example well system 100 shown in FIG. 1 includes an injection system 108. The injection system 108 can be used to perform an injection treatment, whereby fluid is injected into the subterranean region 104 through the wellbore 102. In some instances, the injection treatment fractures part of a rock formation or other materials in the subterranean region 104. In such examples, fracturing the rock may increase the surface area of the formation, which may increase the rate at which the formation conducts fluid resources to the wellbore 102.

[0020] The example injection system 108 can inject treatment fluid into the subterranean region 104 from the wellbore 102. For example, a fracture treatment can be applied at a single fluid injection location or at multiple fluid injection locations in a subterranean zone, and the fluid may be injected over a single time period or over multiple different time periods. In some instances, a fracture treatment can use multiple different fluid injection locations in a single wellbore, multiple fluid injection locations in multiple different wellbores, or any suitable combination. Moreover, the fracture treatment can inject fluid through any suitable type of wellbore, such as, for example, vertical wellbores, slant wellbores, horizontal wellbores, curved wellbores, or combinations of these and others.

[0021] The example injection system 108 includes instrument trucks 114, pump trucks 116, and an injection treatment control subsystem 111. The injection system 108 may apply injection treatments that include, for example, a multi-stage fracturing treatment, a single- stage fracture treatment, a mini-fracture test treatment, a follow-on fracture treatment, a re- fracture treatment, a final fracture treatment, other types of fracture treatments, or a combination of these. The injection system 108 may inject fluid into the formation above, at or below a fracture initiation pressure for the formation; above, at or below a fracture closure pressure for the formation; or at another fluid pressure.

[0022] The pump trucks 116 can include mobile vehicles, immobile installations, skids, hoses, tubes, fluid tanks, fluid reservoirs, pumps, valves, mixers, or other types of structures and equipment. The example pump trucks 116 shown in FIG. 1 can supply treatment fluid or other materials for the injection treatment. The example pump trucks 116 can communicate treatment fluids into the wellbore 102 at or near the level of the ground surface 106. The treatment fluids can be communicated through the wellbore 102 from the ground surface 106 level by a conduit installed in the wellbore 102. The conduit 112 may include casing cemented to the wall of the wellbore 102. In some implementations, all or a portion of the wellbore 102 may be left open, without casing. The conduit 112 may include a working string, coiled tubing, sectioned pipe, or other types of conduit.

[0023] The instrument trucks 114 can include mobile vehicles, immobile installations, or other structures. The example instrument trucks 114 shown in FIG. 1 include an injection treatment control subsystem 111 that controls or monitors the injection treatment applied by the injection system 108. The communication links 128 may allow the instrument trucks 114 to communicate with the pump trucks 116, or other equipment at the ground surface 106. Additional communication links may allow the instrument trucks 114 to communicate with sensors or data collection apparatus in the well system 100, remote systems, other well systems, equipment installed in the wellbore 102 or other devices and equipment. In some implementations, communication links allow the instrument trucks 114 to communicate with the computing subsystem 110, which may run simulations and provide simulation data. The well system 100 can include multiple uncoupled communication links or a network of coupled communication links. The communication links can include wired or wireless communications systems, or combinations.

[0024] The injection system 108 may also include surface and down-hole sensors to measure pressure, rate, temperature or other parameters of treatment or production. For example, the injection system 108 may include pressure meters or other equipment that measure the pressure of fluids in the wellbore 102 at or near the ground surface 106 level or at other locations. The injection system 108 may include pump controls or other types of controls for starting, stopping, increasing, decreasing or otherwise controlling pumping as well as controls for selecting or otherwise controlling fluids pumped during the injection treatment. The injection treatment control subsystem 111 may communicate with such equipment to monitor and control the injection treatment.

[0025] The example injection treatment control subsystem 111 shown in FIG. 1 controls operation of the injection system 108. The injection treatment control subsystem 111 may include data processing equipment, communication equipment, or other systems that control injection treatments applied to the subterranean region 104 through the wellbore 102. The injection treatment control subsystem 111 may be communicably linked to the computing subsystem 110, which may calculate, select, or optimize fracture treatment parameters for initialization, propagation, or opening fractures in the subterranean region 104. The injection treatment control subsystem 111 may receive, generate or modify an injection treatment plan (e.g., a pumping schedule) that specifies parameters of an injection treatment to be applied to the subterranean region 104.

[0026] In the example shown in FIG. 1, an injection treatment has fractured the subterranean region 104. FIG. 1 shows examples of dominant fractures 132 formed by fluid injection through perforations 120 along the wellbore 102. Generally, the fractures can include fractures of any type, number, length, shape, geometry or aperture. Fractures can extend in any direction or orientation, and they may be formed at multiple stages or intervals, at different times or simultaneously. The example dominant fractures 132 shown in FIG. 1 extend through natural fracture networks 130. Generally, fractures may extend through naturally fractured rock, regions of un-fractured rock, or both. The injected fracturing fluid can flow from the dominant fractures 132, into the rock matrix, into the natural fracture networks 130, or in other locations in the subterranean region 104. The injected fracturing fluid can, in some instances, dilate or propagate the natural fractures or other pre-existing fractures in the rock formation.

[0027] In some implementations, the computing subsystem 110 can simulate fluid flow in the well system 100. For example, the computing subsystem 110 can include flow models for simulating fluid flow in or between various locations of fluid flow in the well system, such as, for example, the wellbore 102, the perforations 120, the conduit 112 or components thereof, the dominant fractures 132, the natural fracture networks 130, the rock media in the subterranean region 104, or a combination of these and others. The flow models can model the flow of incompressible fluids (e.g., liquids), compressible fluids (e.g., gases), or a combination multiple fluid phases. The flow models can also model the flow of miscible fluids, immiscible fluids, or composite fluids comprised of multiple fluids. In some instances, the flow models can model flow in one, two, or three spatial dimensions. The flow models can include nonlinear systems of differential or partial differential equations. The computing subsystem 110 can generate nodes or a mesh for use in the flow models or simulations. The computing subsystem 110 can use the flow models to predict, describe, or otherwise analyze the dynamic behavior of fluid in the well system 100.

[0028] The computing subsystem 110 can perform simulations before, during, or after the injection treatment. In some implementations, the injection treatment control subsystem 111 controls the injection treatment based on simulations performed by the computing subsystem 110. For example, a pumping schedule or other aspects of a fracture treatment plan can be generated in advance based on simulations performed by the computing subsystem 110. As another example, the injection treatment control subsystem 111 can modify, update, or generate a fracture treatment plan based on simulations performed by the computing subsystem 110 in real time during the injection system.

[0029] In some cases, the simulations are based on data obtained from the well system 100. For example, pressure meters, flow monitors, microseismic equipment, tiltmeters, or other equipment can perform measurements before, during, or after an injection treatment; and the computing subsystem 110 can simulate fluid flow based on the measured data. In some cases, the injection treatment control subsystem 111 can select or modify (e.g., increase or decrease) fluid pressures, fluid densities, fluid viscosities, fluid compositions, and other control parameters based on data provided by the simulations. In some instances, data provided by the simulations can be displayed in real time during the injection treatment, for example, to an engineer or other operator of the well system 100.

[0030] Some of the techniques and operations described herein may be implemented by a one or more computing systems configured to provide the functionality described. In various instances, a computing system may include any of various types of devices, including, but not limited to, personal computer systems, desktop computers, laptops, notebooks, mainframe computer systems, handheld computers, workstations, tablets, application servers, computer clusters, distributed computing systems, storage devices, or any type of computing or electronic device. [0031] FIG. 2 is a diagram of an example computing system 200. The example computing system 200 can operate as the example computing subsystem 1 10 shown in FIG. 1, or it may operate in another manner. For example, the computing system 200 can be located at or near one or more wells of a well system or at a remote location apart from a well system. All or part of the computing system 200 may operate independent of a well system or well system components. The example computing system 200 includes a memory 250, a processor 260, and input/output controllers 270 communicably coupled by a bus 265. The memory 250 can include, for example, a random access memory (RAM), a storage device (e.g., a writable read-only memory (ROM) or others), a hard disk, or another type of storage medium. The computing system 200 can be preprogrammed or it can be programmed (and reprogrammed) by loading a program from another source (e.g., from a CD-ROM, from another computer device through a data network, or in another manner). In some examples, the input/output controller 270 is coupled to input/output devices (e.g. a monitor 275, a mouse, a keyboard, or other input/output devices) and to a communication link 280. The input/output devices can receive or transmit data in analog or digital form over communication links such as a serial link, a wireless link (e.g. infrared, radio frequency, or others), a parallel link, or another type of link.

[0032] The communication link 280 can include any type of communication channel, connector, data communication network, or other link. For example, the communication link 280 can include a wireless or a wired network, a Local Area Network (LAN), a Wide Area Network (WAN), a private network, a public network (such as the Internet), a WiFi network, a network that includes a satellite link, or another type of data communication network.

[0033] The memory 250 can store instructions (e.g., computer code) associated with an operating system, computer applications, and other resources. The memory 250 can also store application data and data objects that can be interpreted by one or more applications or virtual machines running on the computing system 200. As shown in FIG. 2, the example memory 250 includes data 254 and applications 258. The data 254 can include treatment data, geological data, fracture data, fluid data, or any other appropriate data. The applications 258 can include flow models, fracture treatment simulation software, reservoir simulation software, or other types of applications. In some implementations, a memory of a computing device includes additional or different data, application, models, or other information.

[0034] In some instances, the data 254 include treatment data relating to fracture treatment plans. For example the treatment data can indicate a pumping schedule, parameters of a previous injection treatment, parameters of a future injection treatment, or parameters of a proposed injection treatment. Such parameters may include information on flow rates, flow volumes, slurry concentrations, fluid compositions, injection locations, injection times, or other parameters.

[0035] In some instances, the data 254 include geological data relating to geological properties of a subterranean region. For example, the geological data may include information on wellbores, completions, or information on other attributes of the subterranean region. In some cases, the geological data includes information on the lithology, fluid content, stress profile (e.g., stress anisotropy, maximum and minimum horizontal stresses), pressure profile, spatial extent, or other attributes of one or more rock formations in the subterranean zone. The geological data can include information collected from well logs, rock samples, outcroppings, microseismic imaging, or other data sources.

[0036] In some instances, the data 254 include fracture data relating to fractures in the subterranean region. The fracture data may identify the locations, sizes, shapes, and other properties of fractures in a model of a subterranean zone. The fracture data can include information on natural fractures, hydraulically-induced fractures, or any other type of discontinuity in the subterranean region. The fracture data can include fracture planes calculated from microseismic data or other information. For each fracture plane, the fracture data can include information (e.g., strike angle, dip angle, etc.) identifying an orientation of the fracture, information identifying a shape (e.g., curvature, aperture, etc.) of the fracture, information identifying boundaries of the fracture, or other information.

[0037] In some instances, the data 254 include fluid data relating to well system fluids. The fluid data may identify types of fluids, fluid properties, thermodynamic conditions, and other information related to well system fluids. The fluid data can include flow models for compressible or incompressible fluid flow. The fluid data can also include flow models for miscible or immiscible fluid mixtures, including composite fluids comprised of multiple fluids. For example, the fluid data can include systems of governing equations (e.g., Navier- Stokes equation, continuity equation, etc.) that represent fluid flow generally or fluid flow under certain types of conditions. In some cases, the governing flow equations define a nonlinear system of equations. The fluid data can include data related to native fluids that naturally reside in a subterranean region, treatment fluids to be injected into the subterranean region, proppants, hydraulic fluids that operate well system tools, or other fluids that may or may not be related to a well system. [0038] The applications 258 can include software applications, scripts, programs, functions, executables, or other modules that are interpreted or executed by the processor 260. For example, the applications 258 can include a fluid flow simulation module, a hydraulic fracture simulation module, a reservoir simulation module, or another other type of simulator. The applications 258 may include machine-readable instructions for performing one or more of the operations related to FIGS. 3-8. For example, the applications 258 can include modules or algorithms for modeling fluid flow in a wellbore. The applications 258 may include machine-readable instructions for generating a user interface or a plot, for example, illustrating fluid flow or fluid properties. The applications 258 can receive input data, such as treatment data, geological data, fracture data, fluid data, or other types of input data, from the memory 250, from another local source, or from one or more remote sources (e.g., via the communication link 280). The applications 258 can generate output data and store the output data in the memory 250, in another local medium, or in one or more remote devices (e.g., by sending the output data via the communication link 280).

[0039] The processor 260 can execute instructions, for example, to generate output data based on data inputs. For example, the processor 260 can run the applications 258 by executing or interpreting the software, scripts, programs, functions, executables, or other modules contained in the applications 258. The processor 260 may perform one or more of the operations related to FIGS. 3-8. The input data received by the processor 260 or the output data generated by the processor 260 can include any of the treatment data, the geological data, the fracture data, the fluid data, or any other data.

[0040] FIG. 3 is a diagram of an example system architecture 300. The example system architecture 300 can be used to model physical phenomena related to a well system environment. For example, the architecture 300 can be used to model fluid flow in an injection treatment of the subterranean region 104 shown in FIG. 1. In some instances, the architecture 300 is used to model fluid flow and other aspects of an injection treatment or other activities in a well system. In some cases, the architecture 300 is used to model fluid flow within or between one or more wellbores, wellbore conduits, wellbore tools, wellbore perforations, reservoir rock media, reservoir fractures (e.g., fractures in a complex fracture network, in a dominant bi-wing fracture extending from a wellbore, in a natural fracture network, in hydraulically- induced fractures, etc.), or combinations of these and other types of flow paths in a well system environment. [0041] The example architecture 300 shown in FIG. 3 includes a fluid system 310, a data acquisition system 320, a fluid flow simulation system 330, and an analysis system 360. The architecture 300 can include additional or different components or subsystems, and the example components shown in FIG. 3 can be combined, integrated, divided, or configured in another manner. For example, the fluid flow simulation system 330 and the analysis system 360 can be subcomponents of an integrated computing system (e.g., the computing system 200 shown in FIG. 2) or multiple computing systems; or the data acquisition system 320 can be integrated with the fluid system 310. As another example, the fluid flow simulation system 330 or the analysis system 360, or both, can be implemented in a computing system that operates independent of the fluid system 310 or the data acquisition system 320.

[0042] The example fluid system 310 can include any physical system where fluid flow or other fluid phenomena occur. The fluid system 310 can represent a well system environment (e.g., the well system 100 shown in FIG. 1) or a subset of well system components or subsystems (e.g., the injection system 108 shown in FIG. 1). The fluid system 310 can include the physical reservoir rock in a subterranean reservoir (e.g., the subterranean region 104 shown in FIG. 1), fractures or a fracture network in the reservoir rock, one or more downhole systems installed in a wellbore, or a combination of them.

[0043] The data acquisition system 320 can include systems or hardware that obtain data from the fluid system 310. For example, the data acquisition system 320 can include flow sensors, pressure sensors, temperature sensors, and other types of measurement devices. The data acquisition system 320 can include communication and data storage systems that store, transfer, manipulate, or otherwise manage the information obtained from the fluid system 310.

[0044] The fluid flow simulation system 330 can include one or more computer systems or computer-implemented programs that simulate fluid flow. The fluid flow simulation system 330 can receive information related to the fluid system 310 and simulate fluid flow and other fluid phenomena that occur in the fluid system 310. For example, the fluid flow simulation system 330 can calculate flow velocities, pressures, fluid concentrations, or other aspects of fluid flow based on data from the data acquisition system 320 or another source.

[0045] The example fluid flow simulation system 330 includes fluid system data 332, flow models 334, an effective diffusion coefficient module 340, and a solver 342. The fluid flow simulation system can include additional or different features, and the features of a fluid flow simulation system 330 can be configured to operate in another manner. The modules of the fluid flow simulation system 330 can include hardware modules, software modules, or other types of modules. In some cases, the modules can be integrated with each other or with other system components. In some example implementations, the fluid flow simulation system 330 can be implemented as software running on a computing system, and the modules of the fluid flow simulation system 330 can be implemented as software functions or routines that are executed by the computing system.

[0046] The fluid system data 332 can include any information related to the fluid system 310 or another fluid system. For example, the fluid system data 332 can indicate physical properties (e.g., geometry, cross-sectional areas, surface properties, etc.) of one or more flow paths in the fluid system 310, material properties (e.g., density, viscosity, Reynolds number, etc.) of one or more fluids in the fluid system 310, thermodynamic data (e.g., fluid pressures, fluid temperatures, fluid flow rates, etc.) measured at one or more locations in the fluid system 310, and other types of information. The fluid system data 332 can include information received from the data acquisition system 320 and other sources.

[0047] The flow models 334 can include any information or modules that can be used to simulate fluid flow. The flow models 334 can include governing equations, spatial and temporal discretization data, or other information. In some examples, the flow models 334 include governing flow equations, such as, for example, the Navier-Stokes equation or related approximations of the Navier-Stokes equation, diffusion-convection equations, conservation equations, continuity equations, or other types of flow equations. As an example, the flow models 334 may include one or more of the equations below; or the flow models 334 may include additional or different governing flow equations.

[0048] As shown in FIG. 3, the fluid flow simulation system 330 can also include an effective diffusion coefficient module 340. The effective diffusion coefficient module 340 can include any information or modules that can be used to model fluid displacement in a fluid flow model. For example, the effective diffusion coefficient module 340 can model fluid displacement between two miscible fluids or between two immiscible fluids. The effective diffusion coefficient module 340 can also model parameters or features of fluid displacement in a flow path. For example, the effective diffusion coefficient module 340 can model the volume of the composite fluid comprising the two fluids, such as the length of a mixing zone. In some instances, the effective diffusion coefficient module 340 includes a fluid

displacement model based on a difference between the densities of two fluids, a difference between the viscosities of two fluids, or both. The effective diffusion coefficient module 340 can include a one-dimensional flow model.

[0049] The solver 342 can include any information or modules that can be used to solve a system of equations. For example, the solver 342 can be a direct solver or another type of solver. In some implementations, the solver 342 receives inputs from the other components of the fluid flow simulation system 330. For example, the inputs can include the discretized governing flow equations, information from effective diffusion coefficient module 340, the fluid system data 332, or any other information. The inputs can also include data generated or reported from a separate simulation or model. The solver 342 can generate a numerical solution for a variable of interest based on the inputs. The solution can be generated for some or all of the grid points in a discretized spatial domain. For example, the solver 342 may calculate values of fluid velocity, fluid pressure, fluid concentration, or another variable over a spatial domain; the values can be calculated for an individual time step or multiple time steps.

[0050] The analysis system 360 can include any systems, components, or modules that analyze, process, use, or access the simulation data generated by the fluid flow simulation system 330. For example, the analysis system 360 can be a real time analysis system that displays or otherwise presents fluid data (e.g., to a field engineer, etc.) during an injection treatment. In some cases, the analysis system 360 includes other simulators or a simulation manager that use the fluid simulation data to simulate other aspects of a well system. For example, the analysis system 360 can be a fracture simulation suite that simulates fracture propagation based on the simulated fluid flow data generated by the fluid flow simulation system 330. As another example, the analysis system 360 can be a reservoir simulation suite that simulates fluid migration in a reservoir based on the simulated fluid flow data generated by the fluid flow simulation system 330.

[0051] FIG. 4 is a flow chart showing an example process 400 for simulating fluid flow in a well system environment. All or part of the example process 400 may be computer- implemented, for example, using the features and attributes of the example computing system 200 shown in FIG. 2 or other computing systems. The process 400, individual operations of the process 400, or groups of operations may be iterated or performed in parallel, in series, or in another manner. In some cases, the process 400 may include the same, additional, fewer, or different operations performed in the same or a different order. [0052] The example process 400 can be used to simulate the flow of various fluids and fluid mixtures. In some cases, the process 400 is used to simulate one or more well system fluids, proppants, or fluid mixtures. Here, the term "well system fluid" is used broadly to encompass a wide variety of fluids that may be found in or near, or may be used in connection with, a well system. Well system fluids can include one or more native fluids that reside in a subterranean region (e.g., brine, oil, natural gas, etc.), one or more fluids that have been or will be injected into a subterranean region (e.g., fracturing fluids, treatment fluids, etc.), one or more fluids that have been or will be communicated within a wellbore or within one or more tools installed in the well bore (e.g., drilling fluids, hydraulic fluids, etc.), and other types of fluids. The example process 400 can also simulate multiple types of fluid flowing within the same system. For example, process 400 can simulate fluid displacement of two fluids within a wellbore.

[0053] The example process 400 can simulate fluid flow based on a fluid flow model. For example, the process 400 can use the example one-dimensional models described with respect to FIGS. 5-8, or the process 400 can use another type of flow model. The flow model can include governing equations and associated variables.

[0054] At 402, flow paths and fluids are identified. In some cases, the flow paths are identified as flow paths in a wellbore, in a fracture or rock matrix in a subterranean rock formation, or other types of flow paths. Identifying the flow paths can include generating a discretized representation of the flow paths. Identifying the flow paths can include identifying properties of the flow paths such as length, width, geometry, composition, intersections, or other properties. Identifying the fluids can include identifying fluid types, fluid composition, fluid properties, or other information. The fluids can be identified as certain fluids in the identified flow paths. Fluid characteristics such as miscibility, density, or viscosity can be identified. In some cases, each of the identified fluids resides in a distinct domain along a flow path.

[0055] At 404, a mixing zone is identified. The mixing zone can be a region or volume in a flow path where two or more fluids meet, for example, at an interface or fluid front. The fluids in the mixing zone can include miscible or immiscible fluids that form a composite fluid; the composite fluid can have distinct fluid properties, which are based, for example, on the different properties of the constituent fluids. The composite fluid in the mixing zone can have a characteristic length or other properties. In some implementations, multiple mixing zones can be identified. [0056] At 406, composite fluid parameters are identified. The composite fluid parameters can include parameters that describe a composite fluid comprised of two or more fluids. The composite fluid can include a solution (e.g., a homogeneous or non-homogeneous solution) of miscible fluids. The composite fluid can also include a mixture of immiscible fluids or a fluid front domain between two immiscible fluids. The composite fluid parameters can be based on the fluids identified at 402.

[0057] The composite fluid parameters can include an effective diffusion coefficient 408a, a density difference 408b, or a viscosity difference 408c. The effective diffusion coefficient 408a can describe diffusive fluid effects associated with the composite fluid, such as surface diffusion, molecular diffusion, fingering diffusion, and other effects. In some

implementations, the effective diffusion coefficient 408a is based on the density difference 408b or the viscosity difference 408c. The density difference 408b can include one or more parameters based on a difference between the densities of fluids in the composite fluid. The viscosity difference 408c can include one or more parameters based on a difference between the viscosities of fluids in the composite fluid.

[0058] At 420, a solution is obtained. The solution can be obtained based on a set of conservation equations, effective diffusion coefficient equations, discretized governing flow equations, or other equations. In some implementations, the equations are solved numerically. For example, an iterative method such as Newton's method can be used to solve the equations and obtain the solution. The solution can indicate fluid properties such as concentration, velocity, or pressure. The solution can also indicate properties of the mixing zone, such as the length of the mixing zone or the concentration of fluids in the mixing zone. The solution can also indicate properties of fluid interaction, such as the location of the front of the displacing fluid in miscible fluid displacement.

[0059] FIG. 5 shows an example schematic diagram 500 of miscible fluid displacement in a fluid channel 502. FIG. 5 depicts a Fluid 1 (510) displacing another Fluid 2 (520) in a fluid channel 502 (e.g., a wellbore or another type of flow path). In this example, Fluid 1 and Fluid 2 are miscible fluids with one or more distinct physical properties. For example, Fluid 1 can be described by a viscosity μ 1 and a density p x and Fluid 2 by a viscosity μ 2 and a density p 2 , where μ 1 ≠ μ 2 or p x ≠ p 2 . The region between the bulk Fluid 1 and the bulk Fluid 2, where the two fluids interact and mix can be described as a mixing zone 530. The mixing zone 530 is the region where some proportion of both Fluid 1 and Fluid 2 is present. The fluid present in the mixing zone 530 can be a composite of Fluid 1 and Fluid 2. In some cases, the mixing zone 530 can be described by a characteristic length.

[0060] Some example one-dimensional miscible fluid displacement models can be mathematically represented as convection-diffusion equation, where an effective diffusion coefficient is introduced to take into account the effects on the fluid displacement from convection, advection, viscosity difference and density difference. The one-dimensional model can describe fluid interaction behavior as values along the flow path. The example one-dimensional model can include one or more of example equations (1)-(14).

[0061] Example equations (l)-(3) describe the miscible fluid displacement through an overall mass conservation equation and a modified convection-diffusion equation. In equations (1)- (3), the variation of density p and viscosity μ with the fluid concentration c can be specified, and then the fluid continuity and modified convection-diffusion equation of the concentration field can be formulated so as to integrate the cross-section averaged fluid velocity u and the cross-section averaged fluid concentration c.

[0062] In equations (l)-(3), u represents the cross-section averaged fluid velocity, and the scalar variable c represents the local volume concentration of the injected fluid as the cross- section averaged fluid concentration. For example, a region with only Fluid 1 will have a concentration c = 1, whereas a region with only Fluid 2 will have a concentration c = 0. In the mixing zone 530, the fluid is a composite of both Fluid 1 and Fluid 2, and thus has a concentration c described by one or more values of 0 < c < 1.

[0063] Equation (1) describes the overall composite fluid density p in terms of the density of Fluid 1 ( i) and the density of Fluid 2 (p 2 ) and the cross-section averaged fluid density c. Equation (2) is an equation for the overall mass continuity of both Fluid 1 and Fluid 2.

Equation (3) is an example convection-diffusion equation that describes the displacement of Fluid 1 into Fluid 2. The diffusive term on the right-hand-side of equation (3) describes the diffusion of the fluids in terms of concentration c and an effective miscible diffusion constant D e m . The effective miscible diffusion constant D e m is a single diffusive term describing multiple diffusion contributions from both Fluid 1 and Fluid 2, including density differences and viscosity differences. The second term of the right-hand-side of equation (3) describes the convection of the fluids in terms of a retarding convective factor λ. The retarding convective factor λ is additional factor in the convection term that can account for friction- like effects of the interaction between the fluids and the sidewalls of the flow path.

[0064] The effective miscible diffusion coefficient D e m can include a contribution from molecular diffusion (D m ) and a contribution from fingering diffusion (Df), as shown in equation (4):

De.m = D m + Of. (4)

When fluids interact and mix, each fluid can form fingerlike projections into the other fluid near the fluid interface, known as fingering. The fingering diffusion Of is a factor that describes fingering effects during fluid displacement and interaction. The fingering effects can be described by the fingering diffusion factor Of given in equation (5):

μ 2 - i p 2 - PA

[0065] The fingering diffusion Df factor given by equation (5) includes contributions from dispersion D d , the viscosity difference ϋ μ and the density difference D p . The dispersion factor D d can be represented by a function g d of the Peclet number (Pe) given by the following equation:

Dd = 5d (P )≡ ω Pe. (6)

In equation (6), ω can be a constant value, a variable that is computed by a model, or another type of value. The Peclet number Pe is a dimensionless ratio describing proportions of convection and diffusion in a fluid mixture and is given by:

UW

Pe =— (7)

In equation (7), U represents the average velocity of the injected Fluid 1 , W represents the width of the fluid channel x02, and D m represents the molecular diffusion coefficient of the injected Fluid 1.

[0066] In equation (5), the viscosity difference ϋ μ can be represented by a function g ll of the viscosities of each fluid (μ 1 ; μ 2 ) and the Schmidt number (Sc). For example, Ό μ can be described by the following equation: Ο μ = 9μ(μι, μ 2 $ ) = 7 Sc ( l ^— ). (8)

\ i T μ 2

In equation (8), γ can be a constant value, a variable that is computed by a model, or another type of value. The Schmidt number (Sc) describes the proportion of momentum diffusion to mass diffusion in a fluid or fluid mixture, and can be given by:

In equation (5), The density difference D p can be represented by a function g p of the densities of each fluid (p t , p 2 ) and the Reynolds number (Re), and can be given by the following equation:

Dp = g p (p 1 , p 2 ,Re ≡ κ Re ( l ). (10)

In equation (10), κ can be a constant value, a variable that is computed by a model, or another type of value. The Reynolds number (Re) describes a ratio of inertial forces to viscous forces in a fluid or fluid mixture, and can be given by:

[0067] As an example, values for constants a 1 , a 2 , a 3 , a, β, ω, γ, κ and f are given below for fluid displacement of two miscible fluids in a 2D channel with a width W=0.1 m. The constants have been incorporated into the expressions for D d , Ό μ , and D p . The example values are given for the ranges 0.1 < Pe < 600, 100 < Re < 600, and 0.5 < Sc < 1000. Other values and expressions can be used in other cases.

[0068] The example dispersion D d is given by:

¾ = 8^Ϊ 2· (12) for which ω = 1/(8 x 192) « 0.00065. The example viscosity difference ΰ μ is given by:

Sc μ 2 \ for which γ = 1/(8 x 192) « 0.00065. The example density difference D p is given by: for which κ = 1/(32 x 192) « 0.00016.

[0069] A one-dimensional fluid flow model for miscible fluids can account for a fluid displacement process that is dominated by dispersion when the Peclet number is large, and includes contributions from the viscosity difference and density difference representing the penetration of the fluid. The contribution of the viscosity difference ΰ μ to convective mixing and diffusive mixing is qualitatively captured by the sign of (μ 2 — ½)/( ½ + μ 2 ) m equation (5). Instability can result when a more viscous fluid is displaced by a less viscous one, as the less viscous fluid has the greater mobility. Thus, a less viscous fluid displacing a more viscous one (i.e., μ 2 > μι) can create a larger length of the mixing zone. Conversely, a more viscous fluid displacing a less viscous one (i.e., μ 1 > μ 2 ) can create a shorter length of the mixing zone. The contribution of density difference to convective mixing and diffusive mixing is qualitatively captured by the sign of (p t — p 2 )/(Pi + P 2 ) m equation (5). When a heavier fluid displaces a light one (i.e., p x > p 2 ), the heavier fluid can generate larger momentum to drive the fluid movement so as to create a larger mixing zone. Thus, the model can capture certain situations in which the moving front of the Fluid 1 extends further with a larger length of mixing zone 530.

[0070] FIGS. 6A, 6B, 6C, and 6D show example computed results for miscible fluid flow in a channel using a one-dimensional model and using a two-dimensional model. FIGS. 6A-6D show comparisons between the example one-dimensional model described with respect to FIG. 5 and a two-dimensional model. The one-dimensional model includes the example equations (l)-(l 1) to calculate fluid flow properties. The two-dimensional model solves the full Navier-Stokes equations in two spatial dimensions. The two-dimensional model was simulated using COMSOL Multiphysics version 4.3b, which is a commercially-available computational fluid dynamics (CFD) software module available from Comsol, Inc.

[0071] FIGS. 6A, 6B, 6C, and 6D each show the concentration c on the y-axis versus the distance from the inlet on the x-axis. The calculations from the one-dimensional model are shown as curves 602a, 604a, 606a, and 608a in FIGS. 6A, 6B, 6C, and 6D respectively. The calculations from the two-dimensional model are shown as curves 602b, 604b, 606b, and 608b in FIGS. 6A, 6B, 6C, and 6D respectively. The calculations are shown at a time t = 300 s. The calculations for FIG. 6A use values of U = 1.0 x 10 ~3 m/s, p 1 = p 2 = 1000 kg/m 3 , μ 1 = μ 2 = 1.0 x 10 "3 Pa s, and D m = 1.0 x 10 "5 m 2 /s. The calculations for FIG. 6B use values of U = 2.0 x 10 "3 m/s, p 1 = p 2 = 1000 kg/m 3 , μ χ = μ 2 = 1.0 x 10 ~3 Pa s, and D m = 1.0 x 10 ~6 m 2 /s. The calculations for FIG. 6C use values of U = 1.0 X 10 "3 m/s, Pl = p 2 = 1000 kg/m 3 , μ 1 = 0.3 X 10 "3 Pa s, μ 2 = 0.7 X 10 "3 Pa s, and D m = 1.0 x 10 ~6 m 2 /s. The calculations for FIG. 6D use values of U = 1.0 x

10 "3 m/s, pi = 400 kg/m 3 , p 2 = 600 kg/m 3 , μ 1 = μ 2 = 1.0 x 10 "3 Pa s, and D m = 1.0 x 10 "6 m 2 /s.

[0072] The data shown in FIGS. 6A-6D provide an example of the accuracy of calculations in the example one-dimensional model for miscible fluid displacement compared against a two-dimensional model. FIGS. 6A-6D show that the one-dimensional effective diffusion coefficient model can describe miscible fluid interaction, particularly with regard to the length of the mixing zone. Similarly accurate results are obtained for situations with fluids with different properties, such as different fluid densities or different fluid viscosities.

[0073] FIG. 7 shows an example schematic diagram 700 of immiscible fluid displacement in a fluid channel 702. FIG. 7 depicts a Fluid 3 (710) displacing another Fluid 4 (720) in a fluid channel 702 (e.g., a wellbore or another type of fluid channel). In this example, Fluid 3 and Fluid 4 are immiscible fluids (e.g. oil and water) that form an inhomogeneous composite fluid in the mixing zone 703. The fluids have distinct physical properties. For example, Fluid 3 can be described by a viscosity μ 3 and a density p 3 and Fluid 4 by a viscosity 4 and a density p 4 , where μ 3 ≠ μ 4 or p 3 ≠ p 4 . The region between the bulk Fluid 3 and the bulk Fluid 4 where the two fluids interact and mix can be described by mixing zone 730. The mixing zone 730 is the region where some proportion of both Fluid 3 and Fluid 4 is present. In some cases, the mixing zone 730 can be described by a characteristic length.

[0074] Example equations (15)-(24) describe immiscible fluid displacement through an overall mass conservation equation and a modified convection-diffusion equation. In the following example model equations, u represents the cross-section averaged fluid velocity, and the scalar variable c represents the local volume concentration of the injected fluid as the cross-section averaged fluid concentration. The two fluids are assumed to be fully immiscible subject to a constant surface tension σ, and the fluid-fluid interface is assumed to have a capillary thickness ε.

p = (p 3 - p 4 )c + p 4 (15)

dP 9 r (16) ø = 2c - 1 (17)

[0075] Equation (15) describes the overall fluid density p in terms of the cross-section averaged fluid density c. Equation (16) is an equation for mass continuity. Equation (17) rescales the concentration c to a value of φ such that— 1 < φ < 1. Equation (18) is an example convection-diffusion equation that describes the displacement of Fluid 3 into Fluid 4 in terms of an effective immiscible diffusion constant D e i and a retarding convective factor λ.

[0076] The effective immiscible diffusive constant D e i can be described by:

In equation (19), W represents the width of the channel. The viscosity difference ΰ μ and density difference D p can be defined for Fluid 3 and Fluid 4 analogous to equations (13) and (14):

"' ^ (' - JSTS:} (20) " ^ "H 1 -^) (21)

[0077] The surface diffusivity in equation (19) is represented by D s and given by:

D s = - °^ . (22)

In equation (22), ζ represents the energy of mixing and y m represents the interface mobility. In equation (19), D d represents the dispersion. The dispersion D d can be represented by a function h d of the Capillary number Ca:

D d = h d (Ca)≡ ξ Ca. (23)

In equation (23), ξ can be a constant value, a variable that is computed by a model, or another type of value. The Capillary number Ca is described by: Ca = ^ ¾, (24)

σ

where U is the average velocity of the injected Fluid 3, and σ is the surface tension at the interface.

[0078] As an example, an expression for D d is given below:

D d = 6.5 x 10 "5 Ca (25)

Other parameters such as ΰ μ and D p can be optimized via comparison with corresponding scenarios in two-dimensional simulations. For example, ΰ μ and D p can be set to zero in immiscible fluid displacement scenarios for which Re > 10000.

[0079] Some example one-dimensional models for immiscible fluid flow can account for enhancement of the fluid displacement by surface diffusive mixing and convection. The length of the mixing zone and axial front of the fluid- fluid interface can depend on the competition between the magnitude of Capillary number Ca, the fluid viscosity μ and density p, and the interface mobility y m . The fluid viscosity and the surface tension can control the diffusive process for the mixing zone length, while the surface tension, capillary thickness, and mobility can govern the fluid- fluid interface front. Specifically, the fluid displacement process can be dominated by the convection when the surface tension number is large, and can be corrected by the contributions from the viscosity difference and density difference representing the penetration of the fluid. The contribution of viscosity difference to the axial front and length of the mixing zone is qualitatively captured by the sign of (μ 4 — μ 3 )/(μ 3 + μ 4 ) in equation (19). Instability can result when a more viscous fluid is displaced by a less viscous one, as the less viscous fluid has the greater mobility. Thus, a less viscous fluid displacing a more viscous one (i.e., μ 4 > μ 3 ) can create a larger length of the mixing zone. Conversely, a more viscous fluid displacing a less viscous one can create a shorter length of the mixing zone. The contribution of density difference to convective mixing and diffusive mixing is qualitatively captured by the sign of (p 3 — p 4 )/(p 3 + p 4 ) in equation (19). When a heavier fluid displaces a light one (i.e., p 3 > p 4 ), the heavier fluid can generate larger momentum to drive the fluid movement so as to create a larger mixing zone length. Thus, the model captures the moving front of the Fluid 3 extending further and the length of mixing zone being larger.

[0080] FIGS. 8A and 8B show example computed results for immiscible fluid flow in a channel using a one-dimensional model and using a two-dimensional model. FIG. 8A and FIG. 8B show comparisons between the example one-dimensional model described with respect to FIG. 7 and an example two-dimensional model. The one-dimensional model includes the example equations (15)-(24) to calculate fluid flow properties. The two- dimensional model solves the full Navier-Stokes equations in two spatial dimensions. The two-dimensional model was simulated using COMSOL Multiphysics version 4.3b, which is a commercially-available computational fluid dynamics (CFD) software module available from Comsol, Inc.

[0081] FIG. 8A is a plot 800 showing example computed results 802a and 802b for air displacement by injected water in a channel. In FIG. 8A, the y-axis is the volume fraction of the water, and the x-axis is the distance along the channel from the point of injection. The calculations using the one-dimensional model are shown as curve 802a, and the calculations using the two-dimensional model are shown as curve 802b. The calculations are shown at a time t = 1.0 s. The calculations use values of U = 0.1 m/s, γ = 1.0 x 10 ~3 m 4 /(N · s), and ε = 0.01 m.

[0082] FIG. 8B is a plot 810 showing example computed results 812a and 812b for motor oil displacement by injected water in a channel. In FIG. 8B, the y-axis is the volume fraction of the water, and the x-axis is the distance along the channel from the point of injection. The calculations using the one-dimensional model are shown as curve 812a, and the calculations using the two-dimensional model are shown as curve 812b. The calculations are shown at a time t = 2.0 s. The calculations use values of U = 0.1 m/s, γ = 1.0 x 10 ~3 m 4 /(N · s), and ε = 0.01 m.

[0083] The data shown in FIGS. 8A and 8B provide an example of the accuracy of calculations in an example one-dimensional immiscible fluid displacement model compared against a two-dimensional model. The plots show that the one-dimensional effective diffusion coefficient model can represent immiscible fluid interaction, particularly with regard to the length of the mixing zone and the front of the displacing fluid. Similarly accurate results are obtained for situations with fluids with different properties, such as different fluid densities or different fluid viscosities.

[0084] Some embodiments of subject matter and operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Some embodiments of subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on computer storage medium for execution by, or to control the operation of, data processing apparatus. A computer storage medium can be, or can be included in, a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. Moreover, while a computer storage medium is not a propagated signal, a computer storage medium can be a source or destination of computer program instructions encoded in an artificially generated propagated signal. The computer storage medium can also be, or be included in, one or more separate physical components or media (e.g., multiple CDs, disks, or other storage devices).

[0085] The term "data processing apparatus" encompasses all kinds of apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, a system on a chip, or multiple ones, or combinations, of the foregoing. The apparatus can include special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). The apparatus can also include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of them. The apparatus and execution environment can realize various different computing model infrastructures, such as web services, distributed computing and grid computing infrastructures.

[0086] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages. A computer program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.

[0087] Some of the processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC

(application specific integrated circuit).

[0088] Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. A computer includes a processor for performing actions in accordance with instructions and one or more memory devices for storing instructions and data. A computer may also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices (e.g., EPROM, EEPROM, flash memory devices, and others), magnetic disks (e.g., internal hard disks, removable disks, and others), magneto optical disks , and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.

[0089] To provide for interaction with a user, operations can be implemented on a computer having a display device (e.g., a monitor, or another type of display device) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse, a trackball, a tablet, a touch sensitive screen, or another type of pointing device) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input. In addition, a computer can interact with a user by sending documents to and receiving documents from a device that is used by the user; for example, by sending web pages to a web browser on a user's client device in response to requests received from the web browser.

[0090] A computer system may include a single computing device, or multiple computers that operate in proximity or generally remote from each other and typically interact through a communication network. Examples of communication networks include a local area network ("LAN") and a wide area network ("WAN"), an inter-network (e.g., the Internet), a network comprising a satellite link, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks). A relationship of client and server may arise by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

[0091] While this specification contains many details, these should not be construed as limitations on the scope of what may be claimed, but rather as descriptions of features specific to particular examples. Certain features that are described in this specification in the context of separate implementations can also be combined. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0092] A number of examples have been described. Nevertheless, it will be understood that various modifications can be made. Accordingly, other implementations are within the scope of the following claims.