InTechOpen uses cookies to offer you the best online experience. By continuing to use our site, you agree to our Privacy Policy.

Mathematics » "Fractal Analysis - Applications in Physics, Engineering and Technology", book edited by Fernando Brambila, ISBN 978-953-51-3192-2, Print ISBN 978-953-51-3191-5, Published: June 14, 2017 under CC BY 3.0 license. © The Author(s).

# Application of Fractional Calculus to Oil Industry

By Benito F. Martínez-Salgado, Rolando Rosas-Sampayo, Anthony Torres-Hernández and Carlos Fuentes
DOI: 10.5772/intechopen.68571

Article top

# Application of Fractional Calculus to Oil Industry

Benito F. Martínez-Salgado1, Rolando Rosas-Sampayo1, Anthony Torres-Hernández1 and Carlos Fuentes2
Show details

## 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. [3]. The main contribution is to consider the link between fractional equations and fractal geometry through the revision of Alexander-Orbach’s conjecture [23], 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 [4] 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+θ), (1)

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 [5] used the concepts of Alexander and Orbach to formulate their fractal diffusion equation:

 ∂p(r,t)∂t=1rdf−1∂∂r[K1r−θrdf−1∂p(r,t)∂r],r>0, K1constant, (2)

with solution.

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

of which one finds a power law

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

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

 P(r,t)≈At−df/dwe−c(r/R)u, (5)

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

 {R=〈r2(t)〉u=dwdw−1. (6)

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

 ∂2/dw∂t2/dwP(r,t)=1rds−1∂∂r(rds−1∂∂rP(r,t)) (7)

where

 ∂2/dw∂t2/dwP(r,t)=1Γ(1−2dw)∂∂t∫0tdτP(r,τ)(t−τ)2/dw,0≤2dw<1. (8)

## 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 dnydxn derivative [22].

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/2xy or 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/2x will 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/2 notation to denote order 12 derivative [22].

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, (9)

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β−α, (10)

which is valid for non-integer α and β [22].

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π. (11)

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, (12)

then

 dndxncosp(x−a)=pncos[p(x−α)+12nπ], (13)

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

 dudxuf(x)=12π∫−∞∞f(α)dα∫−∞∞pucos[p(x−a)+12uπ]dp. (14)

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(x−t)−12f(t)dt=k. (15)

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. (16)

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=0∞cneanx,R(an)>0, (17)

from which he got

 Dνf(x)=∑n=0∞xnanνeanx. (18)

that can be obtained using the extension

 Dνeax=aνeax, (19)

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

 I=∫0∞ua−1e−xudu, a>0, x>0, (20)

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

 D−νx−a=(−1)νΓ(a+ν)Γ(a)x−a−ν, a>0. (21)

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), (22)

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ν=limh→01hν(1−e−han)ν, an>0,(−1)νanν=limh→01hν(1−ehan)ν, an<0. (23)

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

 dνdxνf(x)=limh→0{1hν∑n=0∞[(−1)m(νn)f(x−mh)]},=(−1)νlimh→0{1hν∑n=0∞[(−1)m(νn)f(x+mh)]}. (24)

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=∞c−n+α(∂xn+τf)(x)hn+α, (25)

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

 ∂αf=1Γ(−α)∫kx(x−t)−α−1f(t)dt+∑n=1∞Knx−α−nΓ(−n−α+1), (26)

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) [29] made contributions taking as basis the formula for the nth derivative of the Cauchy integral formula given by

 Dnf(z)=n!2πi∫Cf(ξ)(ξ−z)n+1dξ. (27)

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

 cDx−αf(x)=1Γ(α)∫cx(x−t)α−1f(t)dt, R(α)>0. (28)

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(x−t)α−1f(t)dt, R(α)>0. (29)

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(x−t)α−1f(t)dt, ℜ(α)>0. (30)

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(x−h)]h. (31)

First generalizing for a nth integer derivative we get

 Dnf(x)=limh→0∑j=0n[(−1)j(nj)f(x−jh)]hn,n∈ℕ,   and   f∈Cn[a,b], a

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

 Daqf(x)=limN→∞hN−q[∑j=0N(−1)j(−nj)f(x−jhN)],q∈R, (33)

where the binomial coefficient is

 (qj)=q(q−1)(q−2)⋯(q−j+1)j!, (34)

also showing that

 (−1)j(qj)=(j−q−1j)=Γ(j−q)Γ(−q)Γ(j+1). (35)

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

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

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 [22].

## 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 αC value with R(α)>0 defines the left and right Riemann-Liouville integrals by

 (aRLIxαf)(x)=1Γ(α)∫axf(t)(x−t)1−αdt, (x>a), (37)
 (xRLIbαf)(x)=1Γ(α)∫xbf(t)(t−x)1−αdt, (x

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, (39)
 (xRLDbαf)(x)=(−ddx)n((bRLIxn−αf)(x)),x

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

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

 (aRLDx0f)(x)=(xRLDb0f)(x)=f(x),ifα=0, (41)
 (aRLDxnf)(x)=f(n)(x),(xRLDbnf)(x)=(−1)nf(n)(x). (42)

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), (43)
 (xRLIbα(xRLIbβf))(x)=(xRLIbα+βf)(x). (44)

For the derivatives, we have

 (aRLDxα(aRLDxβf))(x)=(aRLDxα+βf)(x)−∑j=1m(aRLDxβ−jf)(a)(x−a)−j−αΓ(1−j−α). (45)

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

 (aRLDxβ(aRLIxαf))(x)=aRLIxα−βf(x), (46)
 (xRLDbβ(xRLIbαf))(x)=xRLIbα−βf(x). (47)

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−α(n−j)(a)Γ(α−j+1)(x−α)α−j, (48)

where R(α)>0,n=R(α)+1 and 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 [11] 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(x−t)α−n+1=(aRLIxn−αDny)(x), (49)
 (xCDbαy)(x)=(−1)nΓ(n−α)∫xby(n)dt(t−x)α−n+1=(−1)n(xRLIbn−αDny)(x), (50)

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

 (aCDxαy)(x)=1Γ(1−α)∫axy′dt(x−t)α=(aRLIx1−αDy)(x), (51)
 (xCDbαy)(x)=−1Γ(n−α)∫xby′dt(t−x)α=−(xRLIb1−αDy)(x). (52)

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

 (aCDxαy)(x)=(aRLDxα[y(t)−∑k=0n−1y(k)(a)k!(t−a)k])(x), (53)
 (xCDbαy)(x)=(xRLDbα[y(t)−∑k=0n−1y(k)(b)k!(b−t)k])(x). (54)

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

 (aCDxαy)(x)=(aRLDxα[y(t)−y(a)])(x), (55)
 (xCDbαy)(x)=(xRLDbα[y(t)−y(b)])(x). (56)

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α(t−a)k)(x)=0, (xCDbα(b−t)k)(x)=0, (57)

in particular,

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

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

 (aCDxαeλt)(x)≠λαeλt, forα∈R. (59)

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

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

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

 (aRLIxα(aCDxαy))(x)=y(x)−∑k=0n−1y(k)(a)k!(x−a)k, (61)
 (xRLIbα(xCDbαy))(x)=y(x)−∑k=0n−1(−1)ky(k)(b)k!(b−x)k. (62)

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

 (aRLIxα(aCDxαy))(x)=y(x)−y(a), (63)
 (xRLIbα(xCDbαy))(x)=y(x)−y(b). (64)

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=0n−1sα−k−1(Dky)(0). (65)

When 0<α1, then

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

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

 (CDxαy)(x)=1Γ(n−α)∫−∞xy(n)(t)dt(x−t)α−n+1, (67)
 (xCDαy)(x)=(−1)nΓ(n−α)∫x∞y(n)(t)dt(t−x)α−n+1, (68)

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 [24]; 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 [12] 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τ. (69)

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)), (70)
 〈KT,ν(t)〉=∫−1/21/2KT,ν(tξ−x)(2ξ)−xdx=B(ν)Γ(ν)(tT)ν−1, (71)
 B(ν)=∫−1/21/2qν(z+xlnξ)dx. (72)

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 [30].

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. [17]):

 ∂(ρθ)∂t+∇⋅p(ρq)=ρϒ,  q=−1μk(p)(∇p−ρg∇D), (73)

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−ρg∇D)]+ρϒ. (74)

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) (75)

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

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

in consequence

 ∂(ρθ)∂t=C(p)∂p∂t, (77)

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, (78)

each of the porous media contains solids and voids so that

 VM=VMS+VMV (79)
 VF=VFS+VFV (80)
 VG=VGS+VGV. (81)

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

 VT=VTS+VTV,VTS=VMS+VFS+VGS,VTV=VMV+VFV+VGV. (82)

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. (83)

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. (84)

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

 ϕ=νMϕM+νFϕF+νGϕG (85)

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/VF and vuggy media θG=VGW/VG. It follows that

 θ=νMθM+νFθF+νGθG (86)

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+νGqG (87)

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. (88)

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

 qi=−1μki(pi)(∇pi−ρg∇D),i=M,F,G (89)

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ϒG (90)

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

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

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

 Φ(p)=∫−∞pk(u)du (93)

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

 νMϒM=ϒMF+ϒMG (94)
 νFϒF=−ϒMF+ϒFG (95)
 υGϒG=−ϒMG−ϒFG (96)

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−ρg∇D)]+ρνM(ϒMF+ϒMG) (97)
 ∂(ρθF)∂t=∇⋅p[ρμkF(pF)(∇pF−ρg∇D)]−ρνF(ϒMF+ϒFG) (98)
 ∂(ρθG)∂t=∇⋅p[ρμkG(pG)(∇pG−ρg∇D)]−ρνG(ϒMG+ϒFG). (99)

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

 ϒMF=aMF(pF−pM), (100)
 ϒMG=aMG(pG−pM), (101)
 ϒFG=aFG(pG−pF), (102)

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. (103)

Darcy’s law for each porous media takes the form

 qi=−1μki(∇pi−ρg∇D),i=M,F,G. (104)

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

 ∂(ρϕM)∂t=∇⋅p[ρμkM(∇pM−ρg∇D)]+ρνM(ϒMF+ϒMG), (105)
 ∂(ρϕF)∂t=∇⋅p[ρμkF(∇pF−ρg∇D)]−ρνF(ϒMF−ϒFG), (106)
 ∂(ρϕG)∂t=∇⋅p[ρμkG(∇pG−ρg∇D)]−ρνG(ϒMF+ϒFG). (107)

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

 ϕMcM∂pM∂t=kMμΔpM+1νM(ϒMF+ϒMG),cM=1ϕM∂ϕM∂pM, (108)
 ϕFcF∂pF∂t=kFμΔpF−1νF(ϒMF−ϒFG),cF=1ϕF∂ϕF∂pF, (109)
 ϕGcG∂pG∂t=kGμΔpG−1νG(ϒMF−ϒFG),cG=1ϕG∂ϕG∂pG (110)

### 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ϕG (111)
 ϕ=ϕm+ϕf+ϕg (112)

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

 qm=νMqM,qf=νFqF,qg=νGqG (113)
 q=qm+qf+qg (114)

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

 km=νMkM,kf=νFkF,kg=νGkG (115)

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:

 ϕmcm∂pm∂t=kmμΔpm+(ϒmf+ϒmg),cm=1ϕm∂ϕm∂pm, (116)
 ϕfcf∂pf∂t=kfμΔpf−(ϒmf−ϒfg),cf=1ϕf∂ϕf∂pf, (117)
 ϕgcg∂pg∂t=kgμΔpg−(ϒmg+ϒmg),cg=1ϕg∂ϕg∂pg (118)

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:

 ϕmcm∂pm∂t=kmμΔpm+amf(pf−pm)+amg(pg−pm), (119)
 ϕfcf∂pf∂t=kfμΔpf−amf(pf−pm)+afg(pg−pf), (120)
 ϕgcg∂pg∂t=kgμΔpg−amg(pg−pm)−afg(pg−pf), (121)

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

 ϕmcm∂pm∂t=kmμ1r∂∂r(r∂pm∂r)+amf(pf−pm)+amg(pg−pm), (122)
 ϕfcf∂pf∂t=kfμ1r∂∂r(r∂pf∂r)−amf(pf−pm)+afg(pg−pf), (123)
 ϕgcg∂pg∂t=kgμ1r∂∂r(r∂pg∂r)−amg(pg−pm)−afg(pg−pf) (124)

### 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)∂pDm∂tD=(1−κf−κv)1rD∂∂rD(rD∂pDm∂rD)+λmf(pDf−pDm)+λmv(pDv−pDm) (125)
 ωf∂pDf∂tD=κf1rD∂∂rD(rD∂pDf∂rD)−λmf(pDf−pDm)+λfv(pDv−pDf) (126)
 ωv∂pDv∂tD=κv1rD∂∂rD(rD∂pDv∂rD)−λmv(pDv−pDm)−λfv(pDv−pDf) (127)

where

 ωf=ϕfcfϕmcm+ϕfcf+ϕvcv,ωg=ϕvcvϕmcm+ϕfcf+ϕvcv,rD=rrw (128)
 κf=kfkm+kf+kv,κg=kvkm+kf+kv (129)
 λmf=amfμrw2km+kf+kv,λmv=amvμrw2km+kf+kv,λfv=afvμrw2km+kf+kv (130)
 pDj=2πh(km+kf+kv)(pi−pj)Q0B0μ,tD=t(km+kf+kv)μrw2(ϕmcm+ϕfcf+ϕvcv) (131)

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

 limrD→1rD(1−κf−κv)∂pDm∂rD+rDκv∂pDv∂rD=−1 (132)
 pw(t)=pDm(rD,t)|rD=1=pDf(rD,t)|rD=1=pDv(rD,t)|rD=1=−1 (133)

Substituting derivatives pDitD by Caputo fractional derivativesαipDjtDαi with 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,γi rational 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)∂α1pm∂tα1=(1−κf−κv)1r∂γ1∂rγ1(r∂β1pm∂rβ1)+λmf(pf−pm)+λmv(pv−pm), (134)

for fracture media

 ωf∂α2pf∂tα2=κf1r∂γ2∂rγ2(r∂β2pf∂rβ2)−λmf(pf−pm)+λfv(pv−pf), (135)

for vuggs

 ωv∂α3pv∂tα3=κv1r∂γ3∂rγ3(r∂β3pv∂rβ3)−λmv(pv−pm)−λfv(pv−pf). (136)

We reduce this system by applying semigroup properties with respect to the order of the Weyl derivative, assuming: 0<αi1 and 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

 ∂α1p∂tα1=κω(−γ11x∂η1−1p∂xη1−1+∂η1p∂xη1)+λmfω(f−p)+λmvω(u−p), (137)
 ∂α2f∂tα2=κωf(−γ21x∂η2−1f∂xη2−1+∂η2f∂xη2)−λmfωf(f−p)+λfvωf(u−f), (138)
 ∂α3u∂tα3=κωv(−γ31x∂η3−1u∂xη3−1+∂η3u∂xη3)−λmvωv(u−p)+λfvωv(u−f). (139)

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 [19] 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.

## References

1 - Camacho-Velázquez R, Vásquez-Cruz MA, Castrejón-Aivar R, Arana-Ortiz V. Pressure transient and decline curve behaviors in naturally fractured vuggy carbonate reservoirs. SPE Reservoir Evaluation & Engineering. 2005;8(02):95-112
2 - Camacho-Velázquez R, Fuentes-Cruz G, Vásquez-Cruz MA. Decline-curve analysis of fractured reservoirs with fractal geometry. SPE Reservoir Evaluation & Engineering. 2008;11(03):606-619
3 - Carlos Fuentes-Ruíz et al. Reservoirs as a fractal reactor: A model with triple porosity and triple permeability of the fractured media (matrix-vug-fracture). Fondo sectorial conacyt-sener-hidrocarburos s0018-2011-11, Universidad Autónoma de Querétaro
4 - Alexander S, Orbach R. Density of states on fractals: fractons”. Le Journal de Physique Lettres. 1982;43(17):625-631
5 - O’Shaughnessy B, Procaccia I. Analytical solutions for diffusion on fractal objects. Physical Review Letters. 1985;54(5):455
6 - Metzler R, Glöckle WG, Nonnenmacher TF. Fractional model equation for anomalous diffusion. Physica A: Statistical Mechanics and its Applications. 1994;211(1):13-24
7 - Havlin S, Ben-Avraham D. Diffusion in disordered media. Advances in Physics. 1987;36(6):695-798
8 - Samko SG, Kilbas AA, Marichev OI. Fractional Integrals and Derivatives: Theory and Applications. Singapore: Gordon and Breach Science Publishers; 1993
9 - Oldham KB, Spanier J. The Fractional Calculus. Theory and Applications of Differentiation and Integration to Arbitrary Order. Vol. 111. Elsevier Science; 1974
10 - Podlubny I. Fractional Differential Equations. An Introduction to Fractional Derivatives, Fractional Differential Equations, Some Methods of Their Solution and Some of Their Applications, volume 198 of Mathematics in Science and Engineering. Academic Press; 1999
11 - Caputo M. Elasticità e dissipazione. Zanichelli Publisher; 1969
12 - Nigmatullin RR. Fractional integral and its physical interpretation. Theoretical and Mathematical Physics. 1992;90(3):242-251
13 - Nigmatullin RR, Méhauté AL. Is there geometrical/physical meaning of the fractional integral with complex exponent? Journal of Non-Crystalline Solids. 2005;351(33-36):2888-2899
14 - Méhauté AL, Nigmatullin RR, Nivanen L. Flèches du temps et géométrie fractale. Hermes. 1998. 151-176, 287-302
15 - Rutman RS. On physical interpretations of fractional integration and differentiation. Theoretical and Mathematical Physics. 1995;105(3):1509-1519
16 - Blackledge JM, Evans AK, Turner MJ. Fractal Geometry: Mathematical Methods, Algorithms, Applications. Great Britain: Elsevier; 2002
17 - Bear J. Dynamics of Fluids in Porous Media. New York: Dover; 1988. 119-129
18 - Baleanu D, Diethewlm K, Scalas E, Trujillo JJ. Fractional calculus: Models and numerical methods, volume 3 of series on complexity, nonlinearity and chaos. Singapore: World Scientific. 2012. 123-140
19 - Daftardar-Gejji V. Fractional Calculus: Theory and Applications. New Delhi: Narosa Publishing House; 2014
20 - Hilfer R. Applications of fractional calculus in physics. Singapore: World Scientific. 2000. 1-86
21 - Meerschaert M. Mathematical Modeling. 4th ed. Boston: Academic Press; 2013
22 - Miller KS, Ross B. An Introduction to the Fractional Calculus and Fractional Differential Equations, volume 111 of Mathematics in Science and Engineering. New York: Wiley-Interscience; 1993
23 - Klages R, Radons G, Sokolov IM. Anomalous Transport: Foundations and applications. Germany: John Wiley & Sons; 2008
24 - Meerschaert MM, Sikorskii A. Stochastic models for fractional calculus, volume 43 of De Gruyter studies in mathematics. Germany: Walter de Gruyter. 2012
25 - Ibe OC. Elements of Random Walk and Diffusion Processes. New Jersey: John Wiley & Sons, 2013
26 - Hardy HH, Beier RA. Fractals in reservoir engineering. Singapore: World Scientific; 1994
27 - Herrmann R. Fractional calculus: An introduction for physicists. Singapore: World Scientific; 2011
28 - Diethelm K, Ford NJ, Freed AD, Luchko Y. Algorithms for the fractional calculus: A selection of numerical methods. Computer Methods in Applied Mechanics and Engineering. 2005;194(6-8):743-773
29 - Letnikov AV. Theory of differentiation of fractional order (in Russian). Matematicheskii Sbornik 1868;3:1-68
30 - Peaceman DW. Fundamentals of Numerical Reservoir Simulation. New York, NY: Elsevier Scientific Publishing Co.; 1977