Here's a slide-ready algorithm for applying Buckley-Leverett in practice:
Slide Title: Buckley-Leverett Algorithm for Waterflood
Planning
Slide 1: Objective
Predict water front movement and breakthrough time to optimize:
Injection rates
Infill well placement
Water management strategy
Slide 2: Required Inputs
Category
Rock properties
Fluid properties
Initial conditions
Operational
Relative
permeability
Parameters
Porosity ϕ\phiϕ, Area AAA, Length LLL
Oil viscosity μo\mu_oμo, Water viscosity μw\mu_wμw
Initial water saturation SwiS_{wi}Swi, Residual oil saturation
SorS_{or}Sor
Total injection rate qqq
krw(Sw)k_{rw}(S_w)krw(Sw), kro(Sw)k_{ro}(S_w)kro(Sw)
curves
Slide 3: Step 1 – Compute Fractional Flow
fw(Sw)f_w(S_w)fw(Sw)
For each water saturation SwS_wSw:
fw(Sw)=11+kro(Sw)krw(Sw)⋅μwμof_w(S_w) = \frac{1}{1 +
\frac{k_{ro}(S_w)}{k_{rw}(S_w)} \cdot \frac{\mu_w}{\mu_o}}fw(Sw)=1+krw(Sw)kro
(Sw)⋅μoμw1
Generate fwf_wfw vs. SwS_wSw curve
This shows how much of total flow is water at each saturation
Slide 4: Step 2 – Compute Derivative
dfwdSw\frac{df_w}{dS_w}dSwdfw
Calculate numerical derivative of fw(Sw)f_w(S_w)fw(Sw)
This slope determines how fast each saturation moves:
Velocity(Sw)=qAϕ⋅dfwdSw\text{Velocity}(S_w) = \frac{q}{A \phi} \cdot
\frac{df_w}{dS_w}Velocity(Sw)=Aϕq⋅dSwdfw
Slide 5: Step 3 – Find Frontal Saturation SwfS_{wf}Swf
(Welge Tangent)
Draw tangent from (Swi,fw(Swi))(S_{wi}, f_w(S_{wi}))(Swi,fw(Swi)) to the
fw(Sw)f_w(S_w)fw(Sw) curve
Point of tangency = frontal saturation SwfS_{wf}Swf
This defines the shock front (sharp water front)
Slide 6: Step 4 – Calculate Breakthrough Time
tBTt_{BT}tBT
tBT=AϕLq⋅(dfwdSw)Swf−1t_{BT} = \frac{A \phi L}{q} \cdot \left( \frac{df_w}{dS_w}
\right)_{S_{wf}}^{-1}tBT=qAϕL⋅(dSwdfw)Swf−1
Output: When water reaches the producer well
Slide 7: Step 5 – Build Saturation Profile
Sw(x,t)S_w(x,t)Sw(x,t)
For any time ttt and position xxx:
x(Sw,t)=qtAϕ⋅dfwdSwx(S_w, t) = \frac{q t}{A \phi} \cdot \frac{df_w}{dS_w}x(Sw
,t)=Aϕqt⋅dSwdfw
Plot SwS_wSw vs. xxx to visualize water front position
Identify unswept oil zones for infill drilling
Slide 8: Step 6 – Calculate Recovery Factor
Before breakthrough:
Np(t)=ϕA∫0xf(Sw−Swi) dxN_p(t) = \phi A \int_0^{x_f} (S_w - S_{wi}) \, dxNp
(t)=ϕA∫0xf(Sw−Swi)dx
After breakthrough:
Np(t)=∫0tq⋅(1−fw(t′)) dt′N_p(t) = \int_0^t q \cdot (1 - f_w(t')) \, dt'Np(t)=∫0tq⋅(1−fw(t′))dt′
Output: Cumulative oil recovered vs. time
Slide 9: Key Outputs for Decision Making
Output
Use
tBTt_{BT}tBT
Plan water handling, schedule infill drilling
SwfS_{wf}Swf
Understand front strength and sweep efficiency
Sw(x,t)S_w(x,t)Sw(x,t) Locate bypassed oil for infill wells
Recovery curve
Evaluate waterflood performance
fwf_wfw at producer Optimize injection rate to control water cut
Slide 10: Practical Implementation
Tools: Python, MATLAB, Excel VBA, or reservoir simulator
Sample Python workflow:
1.
2.
3.
4.
5.
Input relative permeability data
Compute fw(Sw)f_w(S_w)fw(Sw) and dfw/dSwdf_w/dS_wdfw/dSw
Find SwfS_{wf}Swf using Welge tangent
Calculate tBTt_{BT}tBT and saturation profiles
Generate recovery curves
This fits a 10-slide presentation on implementing Buckley-Leverett for waterflood
planning. Want me to create a Python code file that executes this algorithm?
Great question — let me clarify Slide 3 with more detail on where SwS_wSw comes
from and how to compute fwf_wfw:
Slide 3 (Revised): Step 1 – Compute Fractional Flow
fw(Sw)f_w(S_w)fw(Sw)
Where does SwS_wSw come from?
SwS_wSw (water saturation) is not measured directly for this calculation — you
create it as a range of values:
Source
Initial water saturation
SwiS_{wi}Swi
Range of SwS_wSw values
Residual oil saturation
SorS_{or}Sor
How to get it
From well logs, core analysis, or reservoir initial
conditions
Create a table from SwiS_{wi}Swi to 1−Sor1 S_{or}1−Sor (e.g., 0.2 to 0.8)
From core analysis or lab waterflood experiments
Example:
text
S_w = [0.20, 0.25, 0.30, 0.35, 0.40, 0.45, 0.50, 0.55, 0.60, 0.65, 0.70, 0.75, 0.80]
You create this array in Excel, Python, or MATLAB — it's just a list of saturation
values to test.
Where do krwk_{rw}krw and krok_{ro}kro come
from?
These are relative permeability curves from:
Source
Core analysis lab
tests
Literature
correlations
History matching
Description
Crushing core plugs and measuring krw(Sw)k_{rw}(S_w)krw(Sw),
kro(Sw)k_{ro}(S_w)kro(Sw)
Use standard curves for similar rock types (e.g., Stone, Corey
correlations)
Calibrate to match actual field production data
Example data table:
SwS_wSw krwk_{rw}krw krok_{ro}kro
0.20
0.00
1.00
0.30
0.01
0.85
0.40
0.05
0.65
0.50
0.15
0.45
0.60
0.30
0.25
0.70
0.50
0.10
0.80
0.75
0.00
Now compute fwf_wfw for each row:
For each SwS_wSw value:
fw=11+krokrw⋅μwμof_w = \frac{1}{1 + \frac{k_{ro}}{k_{rw}} \cdot
\frac{\mu_w}{\mu_o}}fw=1+krwkro⋅μoμw1
Example calculation (for Sw=0.50S_w = 0.50Sw=0.50):
Given:
krw=0.15k_{rw} = 0.15krw=0.15
kro=0.45k_{ro} = 0.45kro=0.45
μw=1\mu_w = 1μw=1 cP
μo=5\mu_o = 5μo=5 cP
fw=11+0.450.15⋅15=11+3⋅0.2=11.6=0.625f_w = \frac{1}{1 + \frac{0.45}{0.15} \cdot
\frac{1}{5}} = \frac{1}{1 + 3 \cdot 0.2} = \frac{1}{1.6} = 0.625fw=1+0.150.45⋅511
=1+3⋅0.21=1.61=0.625
Final output of Step 1:
SwS_wSw fwf_wfw
0.20
0.00
0.30
0.05
0.40
0.18
0.50
0.625
0.60
0.71
0.70
0.83
SwS_wSw fwf_wfw
0.80
0.94
Plot fwf_wfw vs. SwS_wSw → this is your fractional flow curve used in all subsequent
steps.
Summary: Where does everything come from?
Parameter
SwiS_{wi}Swi
SorS_{or}Sor
SwS_wSw range
krw,krok_{rw}, k_{ro}krw
,kro
μo,μw\mu_o, \mu_wμo,μw
ϕ,A,L,q\phi, A, L, qϕ,A,L,q
Source
Well logs, initial reservoir conditions
Core analysis, lab waterflood tests
You create it (from SwiS_{wi}Swi to 1−Sor1S_{or}1−Sor)
Lab core tests or correlations
PVT lab analysis
Reservoir engineering data, well reports
Want me to create a complete Python script that:
1.
2.
3.
4.
Generates sample krw/krok_{rw}/k_{ro}krw/kro data
Computes fw(Sw)f_w(S_w)fw(Sw)
Plots the fractional flow curve
Completes all Buckley-Leverett steps?
Excellent question — let me explain the real-world significance of the Buckley-Leverett
fractional flow curve and how it connects to water front position in a real reservoir.
Key Reality Check: What Does fw(Sw)f_w(S_w)fw(Sw)
Tell You in Practice?
The Core Relationship
The fractional flow curve links saturation to velocity:
Velocity of a saturation Sw=qAϕ⋅dfwdSw\text{Velocity of a saturation } S_w =
\frac{q}{A \phi} \cdot \frac{df_w}{dS_w}Velocity of a saturation Sw=Aϕq⋅dSwdfw
This means:
Saturation SwS_wSw
Slope dfwdSw\frac{df_w}{dS_w}dSw
dfw
Speed
Low SwS_wSw (near
SwiS_{wi}Swi)
Small slope
Moves slowly
Frontal SwfS_{wf}Swf
Maximum slope
Moves fastest
(the front)
High SwS_wSw (near
producer)
Small slope again
Moves slowly
Your Specific Question: "If SwS_wSw at one well
reaches some value, can we know how far the water
front is?"
Yes — this is exactly what Buckley-Leverett lets you do.
Here's how it works in reality:
Scenario:
You have an injection well (water injected) and a production well (oil produced)
Distance between them: L=500L = 500L=500 meters
After 2 years, you measure at the producer: Sw=0.55S_w = 0.55Sw=0.55 and
water cut = 40%
What you can calculate:
Step 1: From your fw(Sw)f_w(S_w)fw(Sw) curve, find dfwdSw\frac{df_w}{dS_w}dSw
dfw at Sw=0.55S_w = 0.55Sw=0.55
Step 2: Use the frontal advance equation to find where this saturation is:
x(Sw=0.55,t=2 years)=q⋅tAϕ⋅(dfwdSw)Sw=0.55x(S_w=0.55, t=2\text{ years}) = \frac{q
\cdot t}{A \phi} \cdot \left( \frac{df_w}{dS_w} \right)_{S_w=0.55}x(Sw
=0.55,t=2 years)=Aϕq⋅t⋅(dSwdfw)Sw=0.55
Step 3: Compare xxx to LLL:
If x=400x = 400x=400 m and L=500L = 500L=500 m → water front is 100 m
away from producer
If x=500x = 500x=500 m → water just broke through
If x>500x > 500x>500 m → water has already passed the producer (high water
cut)
Practical Significance in 4 Key Areas
1. Predict Water Breakthrough Before It Happens
You know
Injection rate qqq
Current SwS_wSw profile
dfwdSw\frac{df_w}{dS_w}dSwdfw at
SwfS_{wf}Swf
You can predict
When water will reach producer
How many months/years until
breakthrough
Exact breakthrough time
tBTt_{BT}tBT
Real impact: Prepare water separation equipment, plan infill wells before water floods
the area.
2. Locate Bypassed Oil for Infill Drilling
If you measure SwS_wSw at monitoring wells:
Well Measured SwS_wSw
Interpretation
Action
Well 0.25 (near
Not swept yet → oil still there Drill infill here
A
SwiS_{wi}Swi)
Well
Partially swept → some oil
Consider conversion to
0.60
B
left
injector
Well
Fully water-flooded → mostly
0.85
Avoid drilling here
C
water
Buckley-Leverett tells you: The water front is where SwS_wSw jumps from ~0.25 to
~0.55 (the shock front). Oil is behind the front (low SwS_wSw), water is at/ahead of the
front.
3. Optimize Injection Rate to Control Water Cut
From the equation:
Front velocity∝qAϕ\text{Front velocity} \propto \frac{q}{A \phi}Front velocity∝Aϕq
If you increase
Result
qqq
Front moves faster → earlier breakthrough → higher water cut
Inject faster
sooner
Front moves slower → delayed breakthrough → more oil before
Inject slower
water floods
Real decision: Should you inject at 5,000 bbl/day or 10,000 bbl/day? Buckley-Leverett
quantifies the trade-off between production rate and water breakthrough timing.
4. Understand Sweep Efficiency
The shape of the fw(Sw)f_w(S_w)fw(Sw) curve tells you:
Curve shape
Steep slope (high
dfwdSw\frac{df_w}{dS_w}dSwdfw)
Shallow slope
S-shaped with inflection
Meaning
Sharp front, good
displacement
Diffuse front, water
bypasses oil
Typical case with
shock front
Recovery
High recovery
Low recovery
Moderate-to-good
recovery
Mobility ratio effect:
If water is much less viscous than oil → good displacement → steep curve
If water is much more mobile (low viscosity) → viscous fingering → poor sweep
→ shallow curve
Real-World Example: Field Application
Field data:
Initial water saturation: Swi=0.25S_{wi} = 0.25Swi=0.25
After 3 years at producer: water cut = 30% → fw=0.30f_w = 0.30fw=0.30
From fractional flow curve: fw=0.30f_w = 0.30fw=0.30 corresponds to
Sw=0.45S_w = 0.45Sw=0.45
Derivative at this point: dfwdSw=1.8\frac{df_w}{dS_w} = 1.8dSwdfw=1.8
Calculation:
x=q⋅tAϕ⋅1.8x = \frac{q \cdot t}{A \phi} \cdot 1.8x=Aϕq⋅t⋅1.8
If q⋅tAϕ=200\frac{q \cdot t}{A \phi} = 200Aϕq⋅t=200 m:
x=200⋅1.8=360 metersx = 200 \cdot 1.8 = 360 \text{ meters}x=200⋅1.8=360 meters
Conclusion: The Sw=0.45S_w = 0.45Sw=0.45 saturation is at 360 m. If the producer is
at 500 m, the front is still 140 m away — you have time before breakthrough.
Summary: What Buckley-Leverett Gives You in Reality
Question
Answer from Buckley-Leverett
When will water reach the Calculate tBTt_{BT}tBT from
producer?
dfwdSw\frac{df_w}{dS_w}dSwdfw at SwfS_{wf}Swf
Where is the water front Use x=qtAϕ⋅dfwdSwx = \frac{q t}{A \phi} \cdot
now?
\frac{df_w}{dS_w}x=Aϕqt⋅dSwdfw
How much oil is left
Integrate (Sw−Swi)(S_w - S_{wi})(Sw−Swi) over unswept
behind the front?
zone
Should I drill an infill
Check if SwS_wSw is still near SwiS_{wi}Swi (unswept)
well here?
What happens if I double
Front moves twice as fast → breakthrough in half the time
injection rate?
Bottom line: The fw(Sw)f_w(S_w)fw(Sw) curve is your translation tool — it converts
what you measure (saturation or water cut at a well) into where the water front is and
when it will arrive, which directly drives drilling and injection decisions.