Open access peer-reviewed chapter

# Application of Fractional Calculus to Oil Industry

By Benito F. Martínez-Salgado, Rolando Rosas-Sampayo, Anthony Torres-Hernández and Carlos Fuentes

Submitted: November 11th 2016Reviewed: March 15th 2017Published: June 14th 2017

DOI: 10.5772/intechopen.68571

## Abstract

In this chapter, we present a discussion about the practical application of the fractal properties of the medium in the mathematical model through the use of fractional partial derivatives. We present one of the known models for the flow in saturated media and its generalization in fractional order derivatives. In the middle section, we present one of the main arguments that motivate the use of fractional derivatives in the porous media models, this is the Professor Nigmatullin’s work. The final part describes the process for obtaining the coupled system of three equations for the monophase flow with triple porosity and triple permeability, briefly mentioning the method used for the first solutions of the system.

### Keywords

• fractional calculus
• fractional derivatives
• anomalous diffusion
• porous media
• fractal dimension

## 1. Introduction

The objects of nature rarely have a classical geometric form; in the particular case of oil reservoirs, the ground where the wells are found has been considered with Euclidean geometry; this is not sufficient in many cases to give good approximations in the mathematical models. Since its forms are closer to the fractal geometry, the knowledge of this can be useful to develop models that allow us to better manage the wells. This work presents an approach in fractional derivatives for the triple porosity and triple permeability monophasic saturated model, based on the one proposed by Camacho et al. [1, 2] and generalized partially by Fuentes et al. . The main contribution is to consider the link between fractional equations and fractal geometry through the revision of Alexander-Orbach’s conjecture , taken to the particular case.

## 2. Background of the approach of models of diffusion on fractal media

Fractional calculus was originated as a way to generalize classic calculus; however, it is more difficult to find a direct physical interpretation than in the classical version. When we consider an oil well as a fractal, it is important to choose which of its properties can be useful for elaborating a mathematical model [20, 21, 26, 27].

Alexander and Orbach  calculated the “spectral dimension (fracton)”; this parameter is associated to volume and fractal connectivity by being considered as an elastic fractal net of particles connected by harmonic strings. Thus, we consider the particle movement over this fractal and we find a relation of root mean square of an r aleatory walker dependent of time over the fractal, which is in accordance to the following relation:

r2(t)t2/(2+θ),E1

where r is in euclidean space. Alexander and Orbach defined ds=2df2+θas the spectral dimension or fracton, where dw=2+θis the dimension of the walk, θ gives us the dependence of the diffusion constant over the distance and df is the effective dimension [24, 25].

O’Shaughnessy and Procaccia  used the concepts of Alexander and Orbach to formulate their fractal diffusion equation:

p(r,t)t=1rdf1r[K1rθrdf1p(r,t)r],r>0, K1constant,E2

with solution.

P(r,t)=2+θdfΓ(df/(2+θ))[1(2+θ)2K1t]df/(2+θ)exp[r2+θ(2+θ)2K1t],E3

of which one finds a power law

r2(t)=Γ[df+22+θ]Γ[df2+θ][(2+θ)2K1t]2/(2+θ)=r2(1)r2/(2+θ).E4

Metzler et al.  started with the characterization of an anomalous diffusion process 1. Here, they consider dw=θ+2as the anomalous diffusion exponent, they are referencing the work of Havlin and Ben-Avraham  to calculate diffusion with a media (1). They obtain an “approach exponential”:

P(r,t)Atdf/dwec(r/R)u,E5

valid in the asyntotic range r/R1, and t → ∞ with R and r defined by

{R=r2(t)u=dwdw1.E6

Thus, it is possible to obtain the solution of the fractional derivative diffusion equation:

2/dwt2/dwP(r,t)=1rds1r(rds1rP(r,t))E7

where

2/dwt2/dwP(r,t)=1Γ(12dw)t0tdτP(r,τ)(tτ)2/dw,02dw<1.E8

## 3. Brief history of fractional calculus

In mathematics, one way to obtain new concept is to generalize by extending one definition or context for values not previously considered. For example, it is possible to generalize the power concept of xn, for natural n values such as the concept of x, n times, to negative integers n, as the product of 1x, n times, then to n rational values such as xpq, if n=pq, with positive p and q. In each step, the generalization modifies the concept a little, but it keeps the previous one as a particular case. This process can continue all the way to a complex n. In the same way as generalizations in differential and integral calculus have been made, in this case the generalization goes toward the n order of the dnydxnderivative .

Leibniz: In a letter dated September 30, 1695, L’Hôpital, he has been inquired about the meaning of dnydxn, if n=12, in response he wrote: “You can see by that, sir, that one can express by an infinite series a quantity such as d1/2xyor d1:2xy. Although infinite series and geometry are distant relations, infinite series admits only the use of exponents that are positive and negative integers, and does not, as yet, know the use of fractional exponents.” Later in the same letter, Leibniz continues: “Thus, it follows that d1/2xwill be equal to xdx:x. This is an apparent paradox from which, one day, useful consequences will be drawn.”

In his correspondence with Johan Bernoulli, Leibniz mentioned to him general order derivatives. In 1697, he established that differential calculus can be used to achieve these generalizations and used the d1/2notation to denote order 12derivative .

Euler: In 1730, Euler proposed derivatives as rate between functions and variables that can be expressed algebraically; the solution with this approach when the orders are not integers is the use of interpolations.

The (fractional) non-integer order derivative motivated Euler to introduce the Gamma function. Euler knew that he needed to generalize (or, as he said, interpolate), the 12n=n!product for non-integer n. He proposed an integral:

k=1nn=01(logx)ndx,E9

and used it to partially solve the Leibniz paradox. He also gave the basic fractional derivative (with modern notation Γ(n+1)=n!):

dαxβdxα=Γ(β+1)Γ(βα+1)xβα,E10

which is valid for non-integer α and β .

Laplace and Lacroix: Laplace also defined his fractional derivative via an integral. In 1819, Lacroix, applying the (10) formula and the Legendre symbol for Gamma function, was able to calculate the derivative with y = x and n=12. He was also the first to use the term “fractional derivative.” He thus achieved

d1/2ydx1/2=2xπ.E11

Fourier: Joseph Fourier (1822), in his famous book “The Analytical Theory of Heat” making use of this expression of a function and an interpretation of the sines and cosines derivatives gave his definition of a fractional derivative:

f(x)=12πf(α)dαcosp(xα)dp,E12

then

dndxncosp(xa)=pncos[p(xα)+12nπ],E13

for an integer n. Formally replacing n with an arbitrary u, he obtained the generalization:

dudxuf(x)=12πf(α)dαpucos[p(xa)+12uπ]dp.E14

Fourier thus establishes that the u number can be regarded as any quantity, positive or negative [8, 22].

Abel: In 1823, N. H. Abel published the solution of a problem presented by Hyugens in 1673: The tautochrone problem. Abel gave his solution in the form of an integral equation that is considered the first application of fractional calculus. The integral he worked with is

0x(xt)12f(t)dt=k.E15

This integral is, except for the 1/Γ(12)factor, a fractional integral of 1/2 order, Abel wrote the left part as π[d12dx12]f(x), thus he worked with both sides of the equation as

πf(x)=d12dx12k.E16

The first integral equation in history had been solved. Two facts may be observed: the regard for the sum of the orders, and that unlike in classical calculus, the derivative of a constant is not zero [8, 22].

Liouville: In 1832, Liouville made the first great study of fractional calculus. In his work, he considered (d1/2dx1/2)e2x. The first formula he obtained was the derivative of a function:

f(x)=n=0cneanx,R(an)>0,E17

from which he got

Dνf(x)=n=0xnanνeanx.E18

that can be obtained using the extension

Dνeax=aνeax,E19

for an arbitrary number ν. A second definition was achieved by Liouville from the defined integral:

I=0ua1exudu,a>0,x>0,E20

of which, after a change of variable and a suitable rewriting is obtained

Dνxa=(1)νΓ(a+ν)Γ(a)xaν,a>0.E21

Liouville also tackled the tautochrone problem and proposed differential equations of arbitrary order.

In 1832, he wrote about a generalization of Leibnitz’s rule about the nth derivative of a product:

Dνf(x)g(x)=n=0(νn)Dnf(x)Dνng(x),E22

where Dn is the ordinary n order differential operator, Dνn fractional operator, and (νn)the generalized binomial coefficient, expressed in terms of the Gamma function, Γ(ν+1)n!Γ(νn+1).

Liouville expanded the coefficients in Eq. (18) as

anν=limh01hν(1ehan)ν,an>0,(1)νanν=limh01hν(1ehan)ν,an<0.E23

And inserted those equations in Eq. (18) to get

dνdxνf(x)=limh0{1hνn=0[(1)m(νn)f(xmh)]},=(1)νlimh0{1hνn=0[(1)m(νn)f(x+mh)]}.E24

These formulas would be retaken by Grünwald in 1867.

Riemann: Riemann developed his Fractional Calculus theory when he was preparing his Ph.D. thesis, but his oeuvre was published posthumously around 1892. He searched for a generalization of Taylor’s series, in which he defined the n-th differential coefficient of a f(x) function as the hn coefficient in the f(x + h) expansion with integer powers of h. Thus, he generalizes this definition to non-integer powers and demands that

f(x+h)=n=n=cn+α(xn+τf)(x)hn+α,E25

be valid for nN,aR. The cn+αfactor is determined by the β(αf)=β+αfcondition, and he found that it was 1Γ(n+α+1). Riemann then derived Eq. (25) expression for negative α:

αf=1Γ(α)kx(xt)α1f(t)dt+n=1KnxαnΓ(nα+1),E26

where k, Kn are finite constants. Then, he extended the result to non-negative α.

Sonin and Letnikov: The Russian mathematicians N.Ya. Sonin (1868) and A.V. Letnikov (1868–1872)  made contributions taking as basis the formula for the nth derivative of the Cauchy integral formula given by

Dnf(z)=n!2πiCf(ξ)(ξz)n+1dξ.E27

They worked using the contour integral method, with the contribution of Laurent (1884), they achieved the definition:

cDxαf(x)=1Γ(α)cx(xt)α1f(t)dt,R(α)>0.E28

For an integration to an arbitrary order, when x > c has the Riemann definition, but without a complementary definition, when c = 0 we get the shape known as Riemann-Liouville fractional integral:

0Dxαf(x)=1Γ(α)0x(xt)α1f(t)dt,R(α)>0.E29

Assigning c values in Eq. (19), we get different integrals of fractional order, which will be fundamental to define fractional derivatives.

If c = −∞, we get

Dxαf(x)=1Γ(α)x(xt)α1f(t)dt,(α)>0.E30

Using integration properties, more definitions will be given.

Grünwald: Another contribution is that of Grünwald (1867) and Letnikov (1868). This extension of the classical derivative to fractional order is important because it lets us apply it in numerical approximations. They started with the definition of derivative as a limit given by Cauchy (1823):

dfdx=limh[f(x)f(xh)]h.E31

First generalizing for a nth integer derivative we get

Dnf(x)=limh0j=0n[(1)j(nj)f(xjh)]hn,n,andfCn[a,b],a<x<b.E32

Grünwald generalizes Eq. (32) for an arbitrary q value, expressing it as

Daqf(x)=limNhNq[j=0N(1)j(nj)f(xjhN)],qR,E33

where the binomial coefficient is

(qj)=q(q1)(q2)(qj+1)j!,E34

also showing that

(1)j(qj)=(jq1j)=Γ(jq)Γ(q)Γ(j+1).E35

and with those previous results, it is possible to establish this important property for αRand nN

dndxnDaαf(x)=Dan+αf(x).E36

In the twentieth and twenty-first centuries, more definitions will rise, but they will be given in terms within the Riemann-Liouville fractional integral and will be part of the Modern Fractional Calculus Theory, in all their fundamental definitions .

## 4. Fractional calculus

We will now present the assorted definitions and notations of fractional derivatives that will be used throughout this work. It is worth pointing out that this is necessary because such notation is currently standardized [18, 19].

### 4.1. Riemann-Liouville fractional derivative

The Riemann-Liouville derivative is the basis to define most fractional derivatives; it generalizes the Cauchy’s formula for derivatives of high order. For an f function defined in a [a, b] interval, a αCvalue with R(α)>0defines the left and right Riemann-Liouville integrals by

(aRLIxαf)(x)=1Γ(α)axf(t)(xt)1αdt,(x>a),E37
(xRLIbαf)(x)=1Γ(α)xbf(t)(tx)1αdt,(x<b).E38

Following Riemann’s notion of defining fractional derivatives as the integer order derivative of an fractional integral, we have the left and right derivative proposal as follows:

(aRLDxαf)(x)=(ddx)n((aRLIxnαf)(x)),x>a,E39
(xRLDbαf)(x)=(ddx)n((bRLIxnαf)(x)),x<b,E40

with n=R(α), i.e., n=R(α)+1.

As shown in Refs. , these operators generalize the usual derivation. In other words, when αN0, then

(aRLDx0f)(x)=(xRLDb0f)(x)=f(x),ifα=0,E41
(aRLDxnf)(x)=f(n)(x),(xRLDbnf)(x)=(1)nf(n)(x).E42

It is also possible to prove that the semigroup propriety about the order of integral operators (i.e., for αC(R(α>0)),βC(R(β)>0)) is achieved:

(aRLIxα(aRLIxβf))(x)=(aRLIxα+βf)(x),E43
(xRLIbα(xRLIbβf))(x)=(xRLIbα+βf)(x).E44

For the derivatives, we have

(aRLDxα(aRLDxβf))(x)=(aRLDxα+βf)(x)j=1m(aRLDxβjf)(a)(xa)jαΓ(1jα).E45

For f(x)Lp(1p), the following relationships are valid:

(aRLDxβ(aRLIxαf))(x)=aRLIxαβf(x),E46
(xRLDbβ(xRLIbαf))(x)=xRLIbαβf(x).E47

If α = β, we have the identity operator and the operators turn out to be inverted. On the other hand, if the order of the operators is inverted, it will have

(aRLIxβ(aRLDxαf))(x)=f(x)j=1nfnα(nj)(a)Γ(αj+1)(xα)αj,E48

where R(α)>0,n=R(α)+1and fnα(x)=(aRLIxnαf)(x)in analogy for the right derivative.

All these properties can be used in the phenomena modeling and its solution; such models have shown to improve usual approaches. However, when using equations with Riemann-Liouville type fractional derivatives, the initial conditions cannot be interpreted physically; a clear example is that the derivative Riemann-Liouville of a constant is not zero, contrary to the impression that the derivatives gives a notion about the change that the function experiences when advancing in the time or to modify its position. This was the motivation for another definition that is better coupled with physical interpretations; this is the derivative of Caputo type.

### 4.2. Caputo fractional derivative

Michele Caputo  published a book in which he introduced a new derivative, which had been independently discovered by Gerasimov (1948). This derivative is quite important, because it allows for understanding initial conditions, and is used to model fractional time. In some texts, it is known as the Gerasimov-Caputo derivative.

Let [a, b] be a finite interval of the real line R, for αC(R(α)0). The left and right Caputo derivatives are defined as

(aCDxαy)(x)=1Γ(nα)axy(n)dt(xt)αn+1=(aRLIxnαDny)(x),E49
(xCDbαy)(x)=(1)nΓ(nα)xby(n)dt(tx)αn+1=(1)n(xRLIbnαDny)(x),E50

where D=ddxand n=R(α), i.e., n=R(α)+1for αN0and n=αfor αN0. And if 0<R(α)<1

(aCDxαy)(x)=1Γ(1α)axydt(xt)α=(aRLIx1αDy)(x),E51
(xCDbαy)(x)=1Γ(nα)xbydt(tx)α=(xRLIb1αDy)(x).E52

The connection between Caputo and Riemann derivatives is given by the relations

(aCDxαy)(x)=(aRLDxα[y(t)k=0n1y(k)(a)k!(ta)k])(x),E53
(xCDbαy)(x)=(xRLDbα[y(t)k=0n1y(k)(b)k!(bt)k])(x).E54

In particular, if 0<R(α)<1, Eqs. (53) and (54) relation take the following shapes:

(aCDxαy)(x)=(aRLDxα[y(t)y(a)])(x),E55
(xCDbαy)(x)=(xRLDbα[y(t)y(b)])(x).E56

For α = n, then the Caputo derivatives match classical derivatives except for the sign of the right derivative.

However, for k=0,1,,n1, we have

(aCDxα(ta)k)(x)=0,(xCDbα(bt)k)(x)=0,E57

in particular,

(aCDxα1)(x)=0,(xCDbα1)(x)=0.E58

On the other hand, if R(α)>0and λ > 0, then

(aCDxαeλt)(x)λαeλt,forαR.E59

The Caputo derivatives behave like inverted operators for the left Riemann-Liouville fractional integrals aRLIxαand xRLIbα, if R(α)>0and y(x)C[a,b]

(aCDxα(aRLIxαy))(x)=y(x),(xCDbα(xRLIbαy))(x)=y(x).E60

On the other hand, if R(α)>0and n=R(α), then for good conditions for y(x)

(aRLIxα(aCDxαy))(x)=y(x)k=0n1y(k)(a)k!(xa)k,E61
(xRLIbα(xCDbαy))(x)=y(x)k=0n1(1)ky(k)(b)k!(bx)k.E62

In particular if, 0<R(α)1, then

(aRLIxα(aCDxαy))(x)=y(x)y(a),E63
(xRLIbα(xCDbαy))(x)=y(x)y(b).E64

In his early articles and several after that, Caputo used a Laplace transformed of the Caputo fractional derivative, which is given by

(L{0CDxαy})(s)=sα(Ly)(s)k=0n1sαk1(Dky)(0).E65

When 0<α1, then

(L{0CDxαy})(s)=sα(Ly)(s)sα1y(0).E66

These derivatives can be defined over the whole real axis resulting in the expressions:

(CDxαy)(x)=1Γ(nα)xy(n)(t)dt(xt)αn+1,E67
(xCDαy)(x)=(1)nΓ(nα)xy(n)(t)dt(tx)αn+1,E68

with xR.

## 5. Fractal geometry and fractional calculus

The phenomenon of anomalous diffusion is mathematically modeled by a fractional partial differential equation. The parameters of this equation are uniquely determined by the fractal dimension of the underlying object.

There are some results that show the relationship between fractals and fractional operators ; two of the most important that motivated the particular study of the equations to determine the pressure deficit in oil wells are highlighted below.

### 5.1. Cantor’s Bars and fractional integral

In 1992, Nigmatullin  presents one of the most distinguished contributions to the search of the concrete relationship between the fractal dimension of a porous medium and the order of the fractional derivative to model a phenomena through such a medium; in this, he achieves the evolution of a physical system of a Cantor set type.

In his research, Nigmatullin proposes a relationship between the fractal dimension of a Cantor type set and the order of a fractional integral of the Riemann-Liouville type. The systems he considers are named phenomena with “memory.” The use of fractional derivatives given by assuming a transference function J(t) in relationship to a rectifiable function f(t) through the convolution operator with a distribution K*(t) establishes that

J(t)=K(t)*f(t)=0tK(tτ)f(τ)dτ.E69

Where the distribution to apply (see Refs. [13, 14]) is a so-called “Cantor’s Bars” KT,ν(t), supported in the [0, T] interval, with a fractal dimension ν=ln(2)/ln(1/ξ), with ξ[0,1/2]being the compression factor, normalized in L1.

Through the result of distribution values, he establishes the relation:

J(t)=KT,ν(t)*f(t)=B(ν)Tν0RLDxν[f(t)]=B(ν)TνΓ(ν)(tν1*f(t)),E70
KT,ν(t)=1/21/2KT,ν(tξx)(2ξ)xdx=B(ν)Γ(ν)(tT)ν1,E71
B(ν)=1/21/2qν(z+xlnξ)dx.E72

Thus, assuming a porous medium with a ν fractal dimension, we establish a fractional derivative of −ν order.

The initial results were strongly questioned by different authors, including Roman Rutman (see Refs. [15, 16]), who asserts that the relation is so artificial. However, recent works suggest that Nigmatullin’s statements are not far from reality, but it is necessary to reduce the set of functions and that of fractals for which the necessary convergence is fulfilled.

## 6. Fractional calculus for modeling oil pressure

In this section, the Equation Continuity which follows from the law of conservation of mass is established. Darcy’s law is used to relate fluid motion to pressure and gravitational gradients. The combination of the Continuity Equation and Darcy’s Law leads to a heat-conducting differential equation in mathematical physics describing the transfer of the fluid. We obtain a system formed by three partial differential equations, one for each fluid. This multiphase system must be solved considering the relevant boundary and initial conditions .

In the particular case of naturally fractured reservoirs (see Refs. [1, 2]), usually it is possible to discern three porosity types: matrix, fracture, and vugs; with this conception, it is accepted that the three porosities have associated a solid phase, and with this both Continuity Equation and Darcy’s law can be expressed for each fluid in each geometrical media. If we only consider oil (monophasic) in a isotropic and saturated media, we can obtain a three equations system; for this, we begin with standard continuity equation and standard Darcy’s law, respectively (see Ref. ):

(ρθ)t+p(ρq)=ρϒ,q=1μk(p)(pρgD),E73

where θ is the volumetric content of fluid; q=(q1,q2,q3)is the Darcy flux, with its spatial components (x, y, z), t is the time; ρ is the density of the fluid; μ is the dynamic viscosity of the fluid; g gravitational acceleration; ϒis a source term and represents a volume provided per volume unit of porous media in the time unity; p is the pressure; D is the depth as a function of spatial coordinates, usually identified to the vertical coordinate z; k is the permeability tensor of the partially saturated porous media and it depends on the pressure. The relations θ(p) and k(p) are the fluid-dynamics characteristics of the media.

General fluid transfer equation results combining the formulas in Eq. (73):

(ρθ)t=p[ρμk(p)(pρgD)]+ρϒ.E74

This differential equation contains two dependent variables, namely the humidity content and fluid pressure, but they are related. For this reason, the saturation S(p) is defined so that

θ(p)=ϕ(p)S(p)E75

where ϕ is the total porosity of the medium, and the specific capacity defined by

C(p)=d(ρϕS)dp=ϕSdρdp+ρSdϕdp+ρϕdSdp,E76

in consequence

(ρθ)t=C(p)pt,E77

The porous media is considered to be formed by three porous media: the matrix, fractured media, and vuggy media. The total volume of the porous media (VT) is equal to the sum of the total volume of the matrix (Vm), of the total volume of the fractured medium (VF) and of the total volume of the vuggy media (VG). In other words

VT=VM+VF+VG,E78

each of the porous media contains solids and voids so that

VM=VMS+VMVE79
VF=VFS+VFVE80
VG=VGS+VGV.E81

The porous medium as everything contains solids and voids, with the following relations:

VT=VTS+VTV,VTS=VMS+VFS+VGS,VTV=VMV+VFV+VGV.E82

The volume fraction occupied by the matrix is defined as (νM), the volume fraction occupied by the fractured media as νF, and the fraction that occupies the vuggy media as (νG) relative to the total volume of the porous medium given by

νM=VMVT,νf=VFVT,νG=VGVT,νM+νF+νG=1.E83

The porosity of the porous media (ϕ), in matrix (ϕM), fracture media (ϕF) and vuggy media (ϕG) are defined by

ϕ=VTVVT,ϕM=VMVVM,ϕF=VFVVF,ϕG=VGVVG.E84

From the above equations, we deduce the relation between the porosities:

ϕ=νMϕM+νFϕF+νGϕGE85

When the empty space contains fluid partially, the total volumetric content of the fluid (θ) as the total fluid volume (VTW) with respect to the total volume of the porous medium is (VT):θ=VTW/VT. In an analogous way, the volumetric content of fluid in the matrix is defined θM=VMW/VM, in the fractured media θF=VFW/VFand vuggy media θG=VGW/VG. It follows that

θ=νMθM+νFθF+νGθGE86

which is reduced to Eq. (85) when the porous medium is fully saturated with fluid. It is satisfied: 0<θ<ϕ,0<θM<ϕM,0<θF<ϕF,0<θG<ϕG. The relation between the total volumetric flow of the fluid per unit area in the porous medium (q), the volumetric flow per unit area in the matrix (qM), the volumetric flow per unit area in the fractured medium qF, and the volumetric flow per unit area in the vuggy media (qG) is analogous to Eq. (86), namely

q=νMqM+νFqF+νGqGE87

The continuity equations for the matrix, the fractured medium, and the vuggy media considering Eq. (86) acquire the form

(ρθi)t+p(ρqi)=ρϒi,i=M,F,G.E88

Darcy’s law for the matrix, the fractured medium, and the vuggy media, takes the form

qi=1μki(pi)(piρgD),i=M,F,GE89

The equation of continuity of the porous medium, Eq. (73), is deduced from the sum of Eq. (88) previously multiplied by νm,νF,νG, respectively, if the source terms are related by

ϒ=νMϒM+νFϒF+νGϒGE90

from Eqs. (87) and (89), the following relationships are deduced:

k(p)=νMkM(pM)+νFkF(pF)+νGkG(pG)E91
Φ(p)=νMΦM(pM)+νFΦF(pM)+νGΦG(pG)E92

where Φ represents the potential of Kirchoff which is generically defined as

Φ(p)=pk(u)duE93

If there is no fluid gain or loss in the porous medium, then ϒ = 0 and in consequence:

νMϒM=ϒMF+ϒMGE94
νFϒF=ϒMF+ϒFGE95
υGϒG=ϒMGϒFGE96

where ϒMF is the input of fluid that receives the matrix from the fractured medium, ϒMG is the fluid input that receives the matrix of the vuggy media, and ϒFG is the contribution of fluid that receives the fractured medium from the vuggy media.

The system of differential equations is defined as follows:

(ρθM)t=p[ρμkM(pM)(pMρgD)]+ρνM(ϒMF+ϒMG)E97
(ρθF)t=p[ρμkF(pF)(pFρgD)]ρνF(ϒMF+ϒFG)E98
(ρθG)t=p[ρμkG(pG)(pGρgD)]ρνG(ϒMG+ϒFG).E99

The contributions of fluid in each porous medium are modeled with the following relations:

ϒMF=aMF(pFpM),E100
ϒMG=aMG(pGpM),E101
ϒFG=aFG(pGpF),E102

where aMF, aMG, and aFG are transfer coefficients at each interface, which may depend on the pressures on the adjacent media.

### 6.2. Monophasic flow saturated in triadic media

In the case of the monophasic flow saturated in triadic means, the continuity equations in each porous medium can be written as follows:

(ρϕi)t+p(ρqi)=ρϒi,i=M,F,G.E103

Darcy’s law for each porous media takes the form

qi=1μki(piρgD),i=M,F,G.E104

The substitution of Darcy’s law in the continuity equation leads to the following equations:

(ρϕM)t=p[ρμkM(pMρgD)]+ρνM(ϒMF+ϒMG),E105
(ρϕF)t=p[ρμkF(pFρgD)]ρνF(ϒMFϒFG),E106
(ρϕG)t=p[ρμkG(pGρgD)]ρνG(ϒMF+ϒFG).E107

When the fluid is considered at constant density and viscosity and the means of constant permeability, with D = z, we have

ϕMcMpMt=kMμΔpM+1νM(ϒMF+ϒMG),cM=1ϕMϕMpM,E108
ϕFcFpFt=kFμΔpF1νF(ϒMFϒFG),cF=1ϕFϕFpF,E109
ϕGcGpGt=kGμΔpG1νG(ϒMFϒFG),cG=1ϕGϕGpGE110

### 6.3. Triple porosity and triple permeability model

The porosity of each medium has been defined as the volume of the space occupied by the medium. However, the porosity can be defined as the volume of empty space in each medium with respect to the volume of the total space occupied by the porous medium as a whole. These new porosities will be denoted with subscripts in lowercase letters and clearly have

ϕm=νMϕM,ϕf=νFϕF,ϕg=νGϕGE111
ϕ=ϕm+ϕf+ϕgE112

In an analogous way, the corresponding Darcy´s flow can be defined in each medium:

qm=νMqM,qf=νFqF,qg=νGqGE113
q=qm+qf+qgE114

Eq. (113) implies that the permeability of the Darcy’s law in each medium is defined as

km=νMkM,kf=νFkF,kg=νGkGE115

The nest system by Eqs. (108)(110), by congruently changing the subscripts in uppercase by lowercase in the pressures, in terms of compressibility, is written as follows:

ϕmcmpmt=kmμΔpm+(ϒmf+ϒmg),cm=1ϕmϕmpm,E116
ϕfcfpft=kfμΔpf(ϒmfϒfg),cf=1ϕfϕfpf,E117
ϕgcgpgt=kgμΔpg(ϒmg+ϒmg),cg=1ϕgϕgpgE118

with pmpM,pfpM,pgpG,ϒmfϒMF,ϒmgϒMG,ϒfgϒFG,cmcM,cfcF,cgcG.

The substitution of Eqs. (116)(118) in Eqs. (100)(102) leads to the system of differential equations that finalize the pressure in the matrix, fractured media, and vuggy media:

ϕmcmpmt=kmμΔpm+amf(pfpm)+amg(pgpm),E119
ϕfcfpft=kfμΔpfamf(pfpm)+afg(pgpf),E120
ϕgcgpgt=kgμΔpgamg(pgpm)afg(pgpf),E121

in which this system constitutes a triple porosity and triple permeability model. In polar coordinates, the system reduces to

ϕmcmpmt=kmμ1rr(rpmr)+amf(pfpm)+amg(pgpm),E122
ϕfcfpft=kfμ1rr(rpfr)amf(pfpm)+afg(pgpf),E123
ϕgcgpgt=kgμ1rr(rpgr)amg(pgpm)afg(pgpf)E124

### 6.4. Dimensionless variables

Now we will give a process of dimensionlessness to better manage the variables. This is a technique commonly used to make the parameters or variables in an equation having no units, bring to a range the possible values of a variable or constant in order that its value is known, and in this way, more manipulable.

The system of Eqs. (122)(124) takes the following form after making the changes mentioned in the previous paragraph:

(1ωfωv)pDmtD=(1κfκv)1rDrD(rDpDmrD)+λmf(pDfpDm)+λmv(pDvpDm)E125
ωfpDftD=κf1rDrD(rDpDfrD)λmf(pDfpDm)+λfv(pDvpDf)E126
ωvpDvtD=κv1rDrD(rDpDvrD)λmv(pDvpDm)λfv(pDvpDf)E127

where

ωf=ϕfcfϕmcm+ϕfcf+ϕvcv,ωg=ϕvcvϕmcm+ϕfcf+ϕvcv,rD=rrwE128
κf=kfkm+kf+kv,κg=kvkm+kf+kvE129
λmf=amfμrw2km+kf+kv,λmv=amvμrw2km+kf+kv,λfv=afvμrw2km+kf+kvE130
pDj=2πh(km+kf+kv)(pipj)Q0B0μ,tD=t(km+kf+kv)μrw2(ϕmcm+ϕfcf+ϕvcv)E131

Eqs. (128)(131) represent dimensionless variables so they have no units. The boundary conditions to which the previous model is subjected are

limrD1rD(1κfκv)pDmrD+rDκvpDvrD=1E132
pw(t)=pDm(rD,t)|rD=1=pDf(rD,t)|rD=1=pDv(rD,t)|rD=1=1E133

Substituting derivatives pDitDby Caputo fractional derivativesαipDjtDαiwith 0<αi1, and rD(rDpDjrD)by Riemann-Liouville complementary derivative, i. e., with infinite limit of integration, (also called Weyl derivative) γirDγi(rDβipDjrDβi), with 1<γi+βi2, i=1,2,3; j=v,f,m; αi,βi,γirational numbers.

The choice of the derivatives, Caputo and Riemann-Liouville (Weyl), obeys the nature of the problem and the ease with which they can be manipulated.

The monophase flow model with triple porosity and triple permeability is expressed as follows: For the matrix

(1ωfωv)α1pmtα1=(1κfκv)1rγ1rγ1(rβ1pmrβ1)+λmf(pfpm)+λmv(pvpm),E134

for fracture media

ωfα2pftα2=κf1rγ2rγ2(rβ2pfrβ2)λmf(pfpm)+λfv(pvpf),E135

for vuggs

ωvα3pvtα3=κv1rγ3rγ3(rβ3pvrβ3)λmv(pvpm)λfv(pvpf).E136

We reduce this system by applying semigroup properties with respect to the order of the Weyl derivative, assuming: 0<αi1and 1<αi+βi2. Let ω=1ωfωv;κ=1κfκv, putting pm = p; pf = f; pv = u; r = x; ηi=γi+βi. Then, the previous system can be expressed as

α1ptα1=κω(γ11xη11pxη11+η1pxη1)+λmfω(fp)+λmvω(up),E137
α2ftα2=κωf(γ21xη21fxη21+η2fxη2)λmfωf(fp)+λfvωf(uf),E138
α3utα3=κωv(γ31xη31uxη31+η3uxη3)λmvωv(up)+λfvωv(uf).E139

The above approach can be solved by numerical methods as finite differences along with a predictor-corrector, such as Daftardar-Gejji works, for example in  and compared with previous ones, such as that presented by Camacho et al. [18, 28], the approximations are significantly improved. However, there is still work to be completed; the optimal solution method has not been found and the best way to determine the appropriate order, so far numerical methods, has been used to estimate the order that best approximates measurements.

The application of the fractional calculation can be very useful for the modeling of anomalous diffusion phenomena in which the fractal structure better reflects the real conditions of the medium, as it is the case of the reservoirs in which because of its very nature it is difficult to find a structure Euclidian.

## More

© 2017 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## How to cite and reference

### Cite this chapter Copy to clipboard

Benito F. Martínez-Salgado, Rolando Rosas-Sampayo, Anthony Torres-Hernández and Carlos Fuentes (June 14th 2017). Application of Fractional Calculus to Oil Industry, Fractal Analysis - Applications in Physics, Engineering and Technology, Fernando Brambila, IntechOpen, DOI: 10.5772/intechopen.68571. Available from:

### Related Content

Next chapter

#### Fractals in Antennas and Metamaterials Applications

By Wojciech Jan Krzysztofik

First chapter

#### Fractal Analysis of Cardiovascular Signals Empowering the Bioengineering Knowledge

By Ricardo L. Armentano, Walter Legnani and Leandro J. Cymberknop

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

View all Books