Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DYNAMICALLY DETERMINING A ROCK WETTABILITY ALTERATION
Document Type and Number:
WIPO Patent Application WO/2019/067359
Kind Code:
A1
Abstract:
Techniques for determining a rock wettability alteration include circulating a first brine fluid into a test cell that includes a rock sample and a hydrocarbon fluid disposed on a surface of the rock sample, the first brine fluid having a property at a first value; contacting the rock sample and the hydrocarbon fluid with the first brine fluid; measuring a first contact angle between the rock sample and the hydrocarbon fluid in contact with the first brine fluid; at least partially displacing the first brine fluid with a second brine fluid in the test cell, the second brine fluid having the property at a second value; contacting the rock sample and the hydrocarbon fluid with the second brine fluid; measuring a second contact angle between the rock sample and the hydrocarbon fluid in contact with the second brine fluid; and determining a wettability alteration of the rock sample based on at least one of the measured first or second contact angles.

Inventors:
GMIRA AHMED (SA)
ALGEER MOHAMMED (SA)
Application Number:
PCT/US2018/052434
Publication Date:
April 04, 2019
Filing Date:
September 24, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SAUDI ARABIAN OIL CO (SA)
ARAMCO SERVICES CO (US)
International Classes:
G01N13/02; G01N33/24; G01N33/28
Other References:
HASSAN MAHANI ET AL: "Kinetics of the Low Salinity Waterflooding Effect Studied in a Model System", SPE ENHANCED OIL RECOVERY CONFERENCE, 2 July 2013 (2013-07-02), XP055528871, DOI: 10.2118/165255-MS
ALSHAKHS MOHAMMED J ET AL: "Understanding the role of brine ionic composition on oil recovery by assessment of wettability from colloidal forces", ADVANCES IN COLLOID AND INTERFACE SCIENCE, ELSEVIER, NL, vol. 233, 20 August 2015 (2015-08-20), pages 126 - 138, XP029611762, ISSN: 0001-8686, DOI: 10.1016/J.CIS.2015.08.004
Attorney, Agent or Firm:
BRUCE, Carl E. et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A method for determining a rock wettability alteration, comprising: circulating a first brine fluid into a test cell that comprises a rock sample and a hydrocarbon fluid disposed on a surface of the rock sample, the first brine fluid having a property at a first value;

contacting the rock sample and the hydrocarbon fluid with the first brine fluid; measuring a first contact angle between the rock sample and the hydrocarbon fluid in contact with the first brine fluid;

at least partially displacing the first brine fluid with a second brine fluid in the test cell, the second brine fluid having the property at a second value;

contacting the rock sample and the hydrocarbon fluid with the second brine fluid; measuring a second contact angle between the rock sample and the hydrocarbon fluid in contact with the second brine fluid; and

determining a wettability alteration of the rock sample based on at least one of the measured first or second contact angles.

2. The method of claim 1, wherein determining the wettability alteration of the rock sample based on at least one of the measured first or second contact angles comprises determining the wettability of the rock sample based on the measured first contact angle and the measured second contact angle.

3. The method of claim 2, wherein determining the wettability alteration of the rock sample based on the measured first contact angle and the measured second contact angle comprises determining the wettability alteration of the rock sample based on a difference between the measured first contact angle and the measured second contact angle.

4. The method of claim 1 , further comprising, while displacing the first brine fluid with the second brine fluid, circulating an output flow from the test cell, the output flow comprising one or both of the first brine fluid and the second brine fluid.

5. The method of claim 4, further comprising measuring a value of the property of the output flow while circulating the output flow from the test cell.

6. The method of claim 5, further comprising comparing the measured value of the property of the output flow with the second value of the property of the second brine fluid.

7. The method of claim 6, further comprising stopping the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the second value of the property of the second brine fluid.

8. The method of claim 1, wherein the property is conductivity.

9. The method of claim 1, wherein the hydrocarbon fluid comprises oil.

10. The method of claim 1, wherein the first and second values are different.

11. The method of claim 1, further comprising:

at least partially displacing the second brine fluid with a third brine fluid in the test cell, the third brine fluid having the property at a third value;

contacting the rock sample and the hydrocarbon fluid with the third brine fluid; measuring a third contact angle between the rock sample and the hydrocarbon fluid in contact with the third brine fluid; and

determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle.

12. The method of claim 11, wherein determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle comprises determining the wettability of the rock sample based on the measured first contact angle, the measured second contact angle, and the measured third contact angle.

13. The method of claim 11, further comprising, while displacing the second brine fluid with the third brine fluid, circulating the output flow from the test cell, the output flow comprising one or both of the second brine fluid and the third brine fluid.

14. The method of claim 13, further comprising measuring a value of the property of the output flow while circulating the output flow from the test cell.

15. The method of claim 14, further comprising comparing the measured value of the property of the output flow with the third value of the property of the third brine fluid.

16. The method of claim 15, further comprising stopping the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the third value of the property of the third brine fluid.

17. A system, comprising:

a test cell configured to enclose a rock sample and a hydrocarbon fluid disposed on a surface of the rock sample;

a first brine fluid tank configured to hold a volume of a first brine fluid, the first brine fluid having a property at a first value;

a second brine fluid tank configured to hold a volume of a second brine fluid, the second brine fluid having the property at the second value;

at least one pump fluidly coupled to the test cell and the first and second brine fluid tanks; and

a control system communicably coupled to the pump and configured to perform operations comprising:

controlling the at least one pump to circulate the first brine fluid into the test cell to contact the rock sample and the hydrocarbon fluid with the first brine fluid;

measuring a first contact angle between the rock sample and the hydrocarbon fluid in contact with the first brine fluid;

controlling the at least one pump to circulate the second brine fluid into the test cell to displace at least a portion of the first brine fluid in the test cell and contact the rock sample and the hydrocarbon fluid with the second brine fluid;

measuring a second contact angle between the rock sample and the hydrocarbon fluid in contact with the second brine fluid; and

determining a wettability alteration of the rock sample based on at least one of the measured first contact angle or the measured second contact angle.

18. The system of claim 17, wherein the operation of determining the wettability alteration of the rock sample based on at least one of the measured first contact angle or the measured second contact angle comprises determining the wettability of the rock sample based on the measured first contact angle and the measured second contact angle.

19. The system of claim 18, wherein the operation of determining the wettability alteration of the rock sample based on the measured first contact angle and the measured second contact angle comprises determining the wettability of the rock sample based on a difference between the measured first contact angle and the measured second contact angle.

20. The system of claim 17, further comprising, while displacing the first brine fluid with the second brine fluid, controlling at least one of the at least one pump or at least one valve to circulate an output flow from the test cell, the output flow comprising one or both of the first brine fluid and the second brine fluid.

21. The system of claim 20, wherein the control system is configured to perform operations further comprising measuring a value of the property of the output flow while circulating the output flow from the test cell.

22. The system of claim 21, wherein the control system is configured to perform operations further comprising comparing the measured value of the property of the output flow with the second value of the property of the second brine fluid.

23. The system of claim 22, wherein the control system is configured to perform operations further comprising controlling at least one of the at least one pump of the at least one valve to stop the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the second value of the property of the second brine fluid.

24. The system of claim 17, wherein the property is conductivity.

25. The system of claim 17, wherein the hydrocarbon fluid comprises oil.

26. The system of claim 17, wherein the first and second values are different.

27. The system of claim 17, further comprising a third brine fluid tank configured to hold a volume of a third brine fluid, the third brine fluid having the property at the third value.

28. The system of claim 27, wherein the control system is configured to perform operations further comprising:

controlling the at least one pump to circulate the third brine fluid into the test cell to displace at least a portion of the second brine fluid in the test cell and contact the rock sample and the hydrocarbon fluid with the third brine fluid;

measuring a third contact angle between the rock sample and the hydrocarbon fluid in contact with the third brine fluid; and

determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle.

29. The system of claim 28, wherein the operation of determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle comprises determining the wettability of the rock sample based on the measured first contact angle, the measured second contact angle, and the measured third contact angle.

30. The system of claim 28, wherein the control system is configured to perform operations further comprising, while displacing the second brine fluid with the third brine fluid, controlling at least one of the at least one pump or the at least one valve fluidly coupled to the test cell to circulate the output flow from the test cell, the output flow comprising one or both of the second brine fluid and the third brine fluid.

31. The system of claim 30, wherein the control system is configured to perform operations further comprising measuring a value of the property of the output flow while circulating the output flow from the test cell.

32. The system of claim 31, wherein the control system is configured to perform operations further comprising comparing the measured value of the property of the output flow with the third value of the property of the third brine fluid.

33. The system of claim 32, wherein the control system is configured to perform operations further comprising controlling at least one of the at least one pump of the at least one valve to stop the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the third value of the property of the third brine fluid.

Description:
DYNAMICALLY DETERMINING A ROCK WETTABILITY

ALTERATION

CLAIM OF PRIORITY

[0001] This application claims priority to U.S. Provisional Patent Application

No. 62/563,739, filed on September 27, 2017, and entitled "DYNAMICALLY DETERMINING A ROCK WETTABILITY ALTERATION," and U.S. Patent Application No. 16/026,800, filed on July 3, 2018, and entitled "DYNAMICALLY DETERMINING A ROCK WETTABILITY ALTERATION", the entire contents of which are incorporated by reference herein.

TECHNICAL FIELD

[0002] The present disclosure relates to apparatus, systems, and methods for dynamically determining a rock wettability alteration.

BACKGROUND

[0003] Waterflooding with brine or seawater composition floods is often used for secondary recovery processes in hydrocarbon-bearing reservoirs. In some instances, waterflooding may alter a carbonate wettability of the rock formation in the reservoir, thereby affecting hydrocarbon production with the waterflood.

SUMMARY

[0004] In an example implementation, a method for determining a rock wettability alteration includes circulating a first brine fluid into a test cell that includes a rock sample and a hydrocarbon fluid disposed on a surface of the rock sample, the first brine fluid having a property at a first value; contacting the rock sample and the hydrocarbon fluid with the first brine fluid; measuring a first contact angle between the rock sample and the hydrocarbon fluid in contact with the first brine fluid; at least partially displacing the first brine fluid with a second brine fluid in the test cell, the second brine fluid having the property at a second value; contacting the rock sample and the hydrocarbon fluid with the second brine fluid; measuring a second contact angle between the rock sample and the hydrocarbon fluid in contact with the second brine fluid; and determining a wettability alteration of the rock sample based on at least one of the measured first or second contact angles.

l [0005] In an aspect combinable with the general implementation, determining the wettability alteration of the rock sample based on at least one of the measured first or second contact angles includes determining the wettability of the rock sample based on the measured first contact angle and the measured second contact angle.

[0006] In another aspect combinable with any of the previous aspects, determining the wettability alteration of the rock sample based on the measured first contact angle and the measured second contact angle includes determining the wettability alteration of the rock sample based on a difference between the measured first contact angle and the measured second contact angle.

[0007] Another aspect combinable with any of the previous aspects further includes, while displacing the first brine fluid with the second brine fluid, circulating an output flow from the test cell, the output flow including one or both of the first brine fluid and the second brine fluid.

[0008] Another aspect combinable with any of the previous aspects further includes measuring a value of the property of the output flow while circulating the output flow from the test cell.

[0009] Another aspect combinable with any of the previous aspects further includes comparing the measured value of the property of the output flow with the second value of the property of the second brine fluid.

[0010] Another aspect combinable with any of the previous aspects further includes stopping the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the second value of the property of the second brine fluid.

[0011] In another aspect combinable with any of the previous aspects, the property is conductivity.

[0012] In another aspect combinable with any of the previous aspects, the hydrocarbon fluid includes oil.

[0013] In another aspect combinable with any of the previous aspects, the first and second values are different.

[0014] Another aspect combinable with any of the previous aspects further includes at least partially displacing the second brine fluid with a third brine fluid in the test cell, the third brine fluid having the property at a third value; contacting the rock sample and the hydrocarbon fluid with the third brine fluid; measuring a third contact angle between the rock sample and the hydrocarbon fluid in contact with the third brine fluid; and determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle.

[0015] In another aspect combinable with any of the previous aspects, determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle includes determining the wettability of the rock sample based on the measured first contact angle, the measured second contact angle, and the measured third contact angle.

[0016] Another aspect combinable with any of the previous aspects further includes, while displacing the second brine fluid with the third brine fluid, circulating the output flow from the test cell, the output flow including one or both of the second brine fluid and the third brine fluid.

[0017] Another aspect combinable with any of the previous aspects further includes measuring a value of the property of the output flow while circulating the output flow from the test cell.

[0018] Another aspect combinable with any of the previous aspects further includes comparing the measured value of the property of the output flow with the third value of the property of the third brine fluid.

[0019] Another aspect combinable with any of the previous aspects further includes stopping the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the third value of the property of the third brine fluid.

[0020] In another general implementation, a system includes a test cell configured to enclose a rock sample and a hydrocarbon fluid disposed on a surface of the rock sample; a first brine fluid tank configured to hold a volume of a first brine fluid, the first brine fluid having a property at a first value; a second brine fluid tank configured to hold a volume of a second brine fluid, the second brine fluid having the property at the second value; at least one pump fluidly coupled to the test cell and the first and second brine fluid tanks; and a control system communicably coupled to the pump. The control system is configured to perform operations including controlling the at least one pump to circulate the first brine fluid into the test cell to contact the rock sample and the hydrocarbon fluid with the first brine fluid; measuring a first contact angle between the rock sample and the hydrocarbon fluid in contact with the first brine fluid; controlling the at least one pump to circulate the second brine fluid into the test cell to displace at least a portion of the first brine fluid in the test cell and contact the rock sample and the hydrocarbon fluid with the second brine fluid; measuring a second contact angle between the rock sample and the hydrocarbon fluid in contact with the second brine fluid; and determining a wettability alteration of the rock sample based on at least one of the measured first contact angle or the measured second contact angle.

[0021] In an aspect combinable with the general implementation, the operation of determining the wettability alteration of the rock sample based on at least one of the measured first contact angle or the measured second contact angle includes determining the wettability of the rock sample based on the measured first contact angle and the measured second contact angle.

[0022] In another aspect combinable with any of the previous aspects, the operation of determining the wettability alteration of the rock sample based on the measured first contact angle and the measured second contact angle includes determining the wettability of the rock sample based on a difference between the measured first contact angle and the measured second contact angle.

[0023] Another aspect combinable with any of the previous aspects further includes, while displacing the first brine fluid with the second brine fluid, controlling at least one of the at least one pump or at least one valve to circulate an output flow from the test cell, the output flow including one or both of the first brine fluid and the second brine fluid.

[0024] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including measuring a value of the property of the output flow while circulating the output flow from the test cell.

[0025] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including comparing the measured value of the property of the output flow with the second value of the property of the second brine fluid.

[0026] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including controlling at least one of the at least one pump of the at least one valve to stop the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the second value of the property of the second brine fluid.

[0027] In another aspect combinable with any of the previous aspects, the property is conductivity.

[0028] In another aspect combinable with any of the previous aspects, the hydrocarbon fluid includes oil.

[0029] In another aspect combinable with any of the previous aspects, the first and second values are different.

[0030] Another aspect combinable with any of the previous aspects further includes a third brine fluid tank configured to hold a volume of a third brine fluid, the third brine fluid having the property at the third value.

[0031] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including controlling the at least one pump to circulate the third brine fluid into the test cell to displace at least a portion of the second brine fluid in the test cell and contact the rock sample and the hydrocarbon fluid with the third brine fluid; measuring a third contact angle between the rock sample and the hydrocarbon fluid in contact with the third brine fluid; and determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle.

[0032] In another aspect combinable with any of the previous aspects, the operation of determining the wettability alteration of the rock sample based on at least one of the measured first contact angle, the measured second contact angle, or the measured third contact angle includes determining the wettability of the rock sample based on the measured first contact angle, the measured second contact angle, and the measured third contact angle.

[0033] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including, while displacing the second brine fluid with the third brine fluid, controlling at least one of the at least one pump or the at least one valve fluidly coupled to the test cell to circulate the output flow from the test cell, the output flow including one or both of the second brine fluid and the third brine fluid. [0034] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including measuring a value of the property of the output flow while circulating the output flow from the test cell.

[0035] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including comparing the measured value of the property of the output flow with the third value of the property of the third brine fluid.

[0036] In another aspect combinable with any of the previous aspects, the control system is configured to perform operations further including controlling at least one of the at least one pump of the at least one valve to stop the circulation of the output flow from the test cell when the measured value of the property of the output flow matches the third value of the property of the third brine fluid.

[0037] Implementations according to the present disclosure may include one or more of the following features. For example, implementations of a contact angle measurement system may enable a realistic measurement of carbonates wettability alteration caused by salinity gradients and various determining parameters (for example, crude oil composition, reservoir pressure and temperature). Further, implementations of a contact angle measurement system may provide efficient measurements of a contact angle between crude oil and a carbonates rock surface while varying brine salinities in- situ, thereby increasing an efficiency of experimental time management and decreasing a need for solvents used for crude oil cleaning. Implementations may better depict the wettability process in real reservoirs and eliminate uncertainty associated with multiple separate experimental tests used in conventional test systems. As another example, implementations of a contact angle measurement system may utilize a single test with a single rock surface while using multiple brine fluids (replaceable) in the test cell prior to the measurement, which are controlled by brine parameters such as salinity, conductivity, both, or other parameters. Further, implementations of a contact angle measurement system may provide a realistic emulation of salinity replacement in tertiary recovery, eliminate uncertainty due to multiple separate test runs, maximize experiment time management, and minimize solvents used for test cell and rock surface cleaning. As another example, implementations of a contact angle measurement system may provide depict an in-situ reservoir injected fluid sequence to better assess an impact of all enhanced oil recovery technologies that are dependent on wettability alteration as a mechanism to enhance oil recovery.

[0038] The details of one or more implementations of the subject matter described in this disclosure are set forth in the accompanying drawings and the description. Other features, aspects, and advantages of the subject matter will become apparent from the description, the drawings, and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

[0039] FIG. 1 is a schematic illustration of an example implementation of a contact angle measurement system according to the present disclosure.

[0040] FIGS. 2A-2B show schematic illustrations of different contact angles between beads of hydrocarbon fluids on a rock surface.

[0041] FIG. 3 is a flowchart that illustrates an example method for measuring a contact angle between a bead of hydrocarbon and a rock surface according to the present disclosure.

[0042] FIG. 4 is a schematic illustration of an example controller for a contact angle measurement system according to the present disclosure.

DETAILED DESCRIPTION

[0043] The present disclosure describes implementations of systems and method for determining rock wettability. In some aspects, such implementations include an in- situ dynamic measurement method to determine a salinity gradient effect on a contact angle between a hydrocarbon fluid (for example, crude oil) and a rock sample (for example, carbonates rock). Example implementations include a test cell that is used for contact angle measurements (for example, at standard conditions, high temperature/high pressure conditions, or both). In some aspects, in-situ brine liquids may be circulated to the test cell to assess an impact of salinity gradient on oil recovery. In some aspects, the circulation of multiple brines (for example, serially) may be controlled by measuring a parameter of the brines (for example, conductivity) and using the measurement to control brine replacements inside the test cell. In some aspects, such implementations may enable a realistic measurement of carbonates wettability alteration caused by salinity gradient and various determining parameters (for example, crude oil composition, reservoir pressure and temperature, and other parameters). [0044] FIG. 1 is a schematic illustration of an example implementation of a contact angle measurement system 100 ("system 100"). As shown, the system 100 includes a test cell 105 that encloses a rock sample 110 onto which a hydrocarbon fluid sample 102 is disposed (for example, on a surface of the rock sample 110). In some aspects, the rock sample 110 is or comprises a carbonates rock sample. In some aspects, the hydrocarbon fluid sample 102 is a crude oil sample (or other hydrocarbon liquid sample).

[0045] The test cell 105, in some aspects, may be a contact angle goniometer that is operable (for example, through imaging devices and a microprocessor based software system) to measure a static contact angle, as well as advancing and receding contact angles, between the hydrocarbon fluid sample 102 and the rock sample 110. In some aspects, the test cell 105 (for example, DSA100, KRUSS Gmbh or IFT-10, Corelab), as a contact angle goniometer, may also measure surface tension between the hydrocarbon fluid sample 102 and a brine liquid 107.

[0046] Turning briefly to FIGS. 2A-2B, these figures show schematic illustrations of different contact angles between beads of hydrocarbon fluid samples 102 on the rock sample 110. For example, in these figures, the symbol, Θ, represents a static contact angle between the hydrocarbon fluid sample 102 and the rock sample 110 surrounded by a brine liquid 117. The static contact angle, generally, is a measurement of where a liquid-vapor interface meets a solid surface; here, the liquid-vapor is the hydrocarbon fluid sample 102 while the solid surface is the rock sample 110. In some aspects, the contact angle quantifies the "wettability" of the solid surface according to the Young equation that relates interfacial energies (between solid-vapor, solid-liquid, liquid-vapor) to the static contact angle.

[0047] In the case of the wettability of hydrocarbon-bearing rocks, such as carbonates rocks, wettability indicates a preference for the rock to be in contact with a particular fluid (for example, hydrocarbon such as oil) over another particular fluid (for example, water, such as brine). Thus, the more preferred fluid would displace, on the rock surface, the less preferred fluid according to the wettability of the rock. Fluids that are not, or are little, preferred, form beads on the rock surface, while preferred fluids flatten, or spread, out on the rock surface. Rock formations are often referred to as "oil- wet" (meaning they have a preference for oil) or "water-wet" (meaning they have a preference for water). FIG. 2A shows an example of a "water- wet" rock sample 110, in that the hydrocarbon fluid sample 102 has beaded on the rock surface in the presence of the brine fluid 1 17. Here, the contact angle, Θ, is negligible (almost zero). FIG. 2B shows an example of a more "oil-wet" rock sample 110 as compared to FIG. 2A, in that the hydrocarbon fluid sample 102 has spread out on the rock surface in the presence of the brine fluid 117. Here, the contact angle, Θ, is larger. Fully "oil-wet" surfaces may have the hydrocarbon fluid sample 102 as nearly flat on the surface of the rock sample 110.

[0048] The wettability of a rock formation, in some aspects, may help determine an effectiveness of secondary or tertiary production processes, such as waterflooding. For example, waterflooding, generally, refers to the process of injecting water (or water- based liquid such as brine) into a reservoir to increase reservoir pressure and thereby increase hydrocarbon production. Thus, the wettability of a reservoir formation - whether such formation is water-wet or oil-wet - and how waterflooding can effect such wettability, as determined through contact angle measurement, may affect a choice or operation of stimulation.

[0049] Turning back to FIG. 1 , the system 100 includes a hydrocarbon fluid sample tank 115 that is fluidly coupled to the test cell 105 though a valve 140b (for example, modulating or shut-off). Although shown as a single tank 115, there may be multiple different tanks 115 fluidly coupled to the test cell 105 through a single or multiple valves 140b. Each tank 1 15 may enclose a similar or different type of hydrocarbon fluid sample 102 (for example, crude oil of different weights).

[0050] As illustrated, the system 100 also includes a brine fluid tank 120 that is fluidly coupled to the test cell 105 (through or not through a valve, not shown). Although shown as a single tank 120, there may be multiple different tanks 120 fluidly coupled to the test cell 105 through a single or multiple valves. Each tank 120 may enclose a similar or different type of brine 117 (for example, each having a different salinity, different conductivity, or other property).

[0051] One or more pumps 125 is also fluidly connected to the tanks 115 and

120 and operable to circulate the hydrocarbon fluid sample 102, the brine fluid 117, or both, from the respective tanks 115 and 120. As illustrated, the pump 125 is fluidly connected to the tank (or tanks) 1 15 through valve (for example, modulating or shut- off) 140c, while the pump 125 is also fluidly connected to the tank (or tanks) 120 through valve (for example, modulating or shut-off) 140d. [0052] As illustrated in FIG. 1 , the system 100 also includes a drain valve 140a

(for example, modulating or shut-off) that is fluidly coupled to an outlet of the test cell 105 and to an outlet tank 130 that receives an outlet flow of the brine fluid 117 in the test cell 105. A sensor 135 is positioned in the outlet tank 130 to measure one or more properties (or parameters), such as conductivity, or salinity of the brine fluid 117 that is circulated through the outlet valve 140a to the tank 130.

[0053] As shown, system 100 also includes a control system 145 (for example, microprocessor based, electromechanical, pneumatic, or other form of control system). As shown, the control system 145 is communicably coupled to send commands to, and receive information from, the pump (or pumps) 125. For example, the control system 145 may send commands to the pump(s) 125 to start or stop, or slow down or speed up, or both. The pump(s) 125 may send feedback to the control system 145, such as speed, flow rate, frequency, or a combination. In some aspects, the control system 145 may include or be controllably coupled to a variable frequency drive connected to the pump motor.

[0054] As shown, the control system 145 is also communicably coupled to send commands to, and receive information from, the valves 140a-140d. For example, the control system 145 may send commands to the valves 140a-140d to open fully or close fully, modulate toward open or modulate toward close. The valves 140a-140d may send feedback to the control system 145, such as status (open or close), percent open, or a combination.

[0055] As shown, the control system 145 is also communicably coupled to send commands to, and receive information from, the test cell 105. For example, the control system 145 may send commands to the test cell 105, such as, to measure a contact angle between the hydrocarbon fluid sample 102 and the rock sample 110. The test cell 105 may send feedback to the control system 145, such as the measured contact angle.

[0056] As shown, the control system 145 is also communicably coupled to receive information from the sensor 135. For example, the control system 145 may receive feedback from the sensor 135 in the form of a measured property or parameter of the brine fluid in the tank 130, such as salinity, conductivity, both, or other property.

[0057] FIG. 3 is a flowchart that illustrates an example method 300 for measuring a contact angle between the hydrocarbon fluid sample 102 and the rock sample 110 with the system 100. In some aspects, by determining one or more contact angles between the hydrocarbon fluid sample 102 and the rock sample 110 in the presence of two or more different brine fluids 1 17, a wettability alteration of the rock sample 110 may be more accurately and easily determined in a single test set up with the test cell 105. Method 300 may begin at step 302, which includes circulating a brine fluid into the test cell to fill the cell and contact rock sample surface. For example, the control system 145 may close valves 140b and 140c, open valve 140d, and operate the pump 125 to circulate the brine fluid 1 17 into the test cell 105. In some aspects, the brine fluid may be a first of several brine fluids.

[0058] Method 300 may continue at step 304, which includes circulating a hydrocarbon fluid sample to a rock sample in a test cell. For example, as shown in FIG. 1, the control system 145 may close valve 140d, open valves 140b and 140c, and operate the pump 125 to circulate a sample of the hydrocarbon fluid (for example, crude oil) into the test cell 105 to be disposed on a surface of the rock sample 1 10.

[0059] Method 300 may continue at step 306, which includes measuring a contact angle between the hydrocarbon fluid sample and a surface of the rock sample in presence of the brine fluid (for example, the first brine fluid). For example, the test cell 105 (for example, as a contact angle goniometer) may measure a contact angle between the hydrocarbon fluid sample 102 disposed on the rock sample 1 10 and the surface of the sample 1 10 onto which the hydrocarbon fluid sample 102 is disposed.

[0060] Method 300 may continue at step 308, which includes displacing the brine fluid in the test cell with another brine fluid (for example, a second brine fluid) having at least one property with a different value that the displaced brine fluid. For example, once the contact angle has been measured in step 306, a different brine fluid may be tested so as to allow measurement of another contact angle in the presence of the additional brine fluid. For example, the control system 145 may open valve 140a and allow the brine fluid 1 17 in the test cell 105 to begin to drain into the output tank 130. Simultaneously, or soon thereafter, the control system 145 may operate the pump 125 to circulate a different brine fluid 117 (different than what was circulated in step 304) into the test cell 105. Thus, an initial volume of brine fluid may be displaced with another volume of brine fluid.

[0061] Method 300 may continue with step 310, which includes controlling the displacement of the initial brine fluid 1 17 with another brine fluid 1 17 (for example, by the control system 145) according to a measured property of the brine fluid 117 being displaced (and circulated out of the test cell 105). For example, the sensor 135 may measure values for a particular property of the displaced brine fluid 1 17, such as, for example, conductivity, salinity, or another property. Such measured values may be sent to the control system 145 from the sensor 135. The control system 145 may compare the measured values to a known (or measured) value of the same property of the displacing brine fluid 117.

[0062] Method 300 may continue at step 312, which includes a determination of whether the measured property (for example, conductivity) of the displaced brine fluid matches the known or measured same property of the displacing brine fluid. For instance, when the measured value of the property of the displaced brine fluid 117 matches (or substantially matches, within 1%) the known value of the property of the displacing brine fluid 117, the control system 145 may close the valve 140a (to stop the outflow of the displaced brine fluid 1 17) and stop the flow of the displacing brine fluid 117 from the tank 120 to the test cell 105. Thus, if the determination in step 312 is no, then method 300 continues at step 308, where additional brine fluid is displaced from the test cell with the other brine fluid. If the determination is yes, then method 300 continues to step 314.

[0063] Step 314 includes measuring a contact angle between the hydrocarbon fluid sample and a surface of the rock sample in presence of the other brine fluid. For example, once the measured value of the property of the displaced brine fluid 117 matches (or substantially matches, within 1%) the known value of the property of the displacing brine fluid 1 17, thereby ensuring that the hydrocarbon fluid sample 102 disposed on the rock sample 1 10 is in contact with the displacing brine fluid 117. The contact angle between the hydrocarbon fluid sample 102 and the rock sample 1 10 (in fluid contact with the displacing brine fluid 1 17) may then be measured.

[0064] Method 300 may continue at step 316, which includes determining a wettability alteration of rock sample based on one or more (or both, or more than two) of the measured contact angles. Thus, in some aspects, the different brines may effectively alter the wettability of the rock sample in the test cell.

[0065] Method 300 may continue at step 318, which includes a determination of whether another brine fluid (for example, a third brine fluid, a fourth brine fluid, and so on) is to be tested. For example, if multiple (for example, more than two) brine fluids 117 are to be tested, then method 300 may continue back at step 308. Otherwise, method 300 may end.

[0066] FIG. 4 is a schematic illustration of an example controller 400 (or control system) for a contact angle measurement system. For example, the controller 400 can be used for the operations described previously, for example as or as part of a control system that performs one or more steps of method 300 described in FIG. 3. For example, the controller 400 may be communicably coupled with, or as a part of, the control system 145 shown in FIG. 1.

[0067] The controller 400 is intended to include various forms of digital computers, such as printed circuit boards (PCB), processors, or digital circuitry. Additionally the system can include portable storage media, such as, Universal Serial Bus (USB) flash drives. For example, the USB flash drives may store operating systems and other applications. The USB flash drives can include input/output components, such as a wireless transmitter or USB connector that may be inserted into a USB port of another computing device.

[0068] The controller 400 includes a processor 410, a memory 420, a storage device 430, and an input/output device 440. Each of the components 410, 420, 430, and 440 are interconnected using a system bus 450. The processor 410 is capable of processing instructions for execution within the controller 400. The processor may be designed using any of a number of architectures. For example, the processor 410 may be a CISC (Complex Instruction Set Computers) processor, a RISC (Reduced Instruction Set Computer) processor, or a MISC (Minimal Instruction Set Computer) processor.

[0069] In one implementation, the processor 410 is a single-threaded processor.

In another implementation, the processor 410 is a multi -threaded processor. The processor 410 is capable of processing instructions stored in the memory 420 or on the storage device 430 to display graphical information for a user interface on the input/output device 440.

[0070] The memory 420 stores information within the controller 400. In one implementation, the memory 420 is a computer-readable medium. In one implementation, the memory 420 is a volatile memory unit. In another implementation, the memory 420 is a non-volatile memory unit.

[0071] The storage device 430 is capable of providing mass storage for the controller 400. In one implementation, the storage device 430 is a computer-readable medium. In various different implementations, the storage device 430 may be a floppy disk device, a hard disk device, an optical disk device, or a tape device.

[0072] The input/output device 440 provides input/output operations for the controller 400. In one implementation, the input/output device 440 includes a keyboard and/or pointing device. In another implementation, the input/output device 440 includes a display unit for displaying graphical user interfaces.

[0073] The features described can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. The apparatus can be implemented in a computer program product tangibly embodied in an information carrier, for example, in a machine-readable storage device for execution by a programmable processor; and method steps can be performed by a programmable processor executing a program of instructions to perform functions of the described implementations by operating on input data and generating output. The described features can be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. A computer program is a set of instructions that can be used, directly or indirectly, in a computer to perform a certain activity or bring about a certain result. A computer program can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0074] Suitable processors for the execution of a program of instructions include, by way of example, both general and special purpose microprocessors, and the sole processor or one of multiple processors of any kind of computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memories for storing instructions and data. Generally, a computer will also include, or be operatively coupled to communicate with, one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).

[0075] To provide for interaction with a user, the features can be implemented on a computer having a display device such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor for displaying information to the user and a keyboard and a pointing device such as a mouse or a trackball by which the user can provide input to the computer. Additionally, such activities can be implemented via touchscreen flat- panel displays and other appropriate mechanisms.

[0076] The features can be implemented in a control system that includes a back- end component, such as a data server, or that includes a middleware component, such as an application server or an Internet server, or that includes a front-end component, such as a client computer having a graphical user interface or an Internet browser, or any combination of them. The components of the system can be connected by any form or medium of digital data communication such as a communication network. Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), peer-to-peer networks (having ad-hoc or static members), grid computing infrastructures, and the Internet.

[0077] While this specification contains many specific implementation 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 implementations. Certain features that are described in this specification in the context of separate implementations can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination. Moreover, although features may be described as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.

[0078] Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the implementations described should not be understood as requiring such separation in all implementations, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0079] A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the disclosure. For example, example operations, methods, or processes described herein may include more steps or fewer steps than those described. Further, the steps in such example operations, methods, or processes may be performed in different successions than that described or illustrated in the figures. Accordingly, other implementations are within the scope of the following claims.