Skip to main content
Proceedings. Mathematical, Physical, and Engineering Sciences logoLink to Proceedings. Mathematical, Physical, and Engineering Sciences
. 2015 Apr 8;471(2176):20140564. doi: 10.1098/rspa.2014.0564

Homogenization of two fluid flow in porous media

K R Daly 1,, T Roose 1
PMCID: PMC4991259  PMID: 27547073

Abstract

The macroscopic behaviour of air and water in porous media is often approximated using Richards' equation for the fluid saturation and pressure. This equation is parametrized by the hydraulic conductivity and water release curve. In this paper, we use homogenization to derive a general model for saturation and pressure in porous media based on an underlying periodic porous structure. Under an appropriate set of assumptions, i.e. constant gas pressure, this model is shown to reduce to the simpler form of Richards' equation. The starting point for this derivation is the Cahn–Hilliard phase field equation coupled with Stokes equations for fluid flow. This approach allows us, for the first time, to rigorously derive the water release curve and hydraulic conductivities through a series of cell problems. The method captures the hysteresis in the water release curve and ties the macroscopic properties of the porous media with the underlying geometrical and material properties.

Keywords: porous media, Richards' equation, homogenization

1. Introduction

The macroscopic flow of multiple fluid phases in porous media, for example soil, is often described by Richards' equation [13]. This equation describes the local saturation under the influence of saturation and pressure gradients and is parametrized by the water release curve and the saturation-dependent hydraulic conductivity, both are measured experimentally [4]. Richards' equation offers challenges in terms of both parametrization [46] and the numerical solution [7,8].

Mathematically it has been shown, using the method of homogenization [9,10], that single phase flow in porous media can be approximated by Darcy's Law [11]. This equation can be derived from Stokes equations for single phase flow in the pore space and is parametrized by the hydraulic conductivity [3,11,12]. Such techniques have been applied in single porosity materials [3,11,13,14], dual porosity materials [1517] and vuggy porous structures [1822]. However, the homogenization process in partially saturated porous media is less well defined and relies on assumed knowledge of the interface location (ch. 5 in [3]). Knowledge of the air–water interface is often hard to obtain. Studies using X-ray computed tomography have been carried out [23]. However, these are computationally intensive and require scans to be carried out across the whole range of saturation. To overcome the need for repeated scanning, various researchers have suggested different empirical or approximate formula to describe the water release curve [2,3,2426]. However, the water release curve exhibits multi-branched hysteresis loops [6] and needs to be parametrized with experimental measurements that can take months to gather even for a single branch of the hysteresis curve [5].

In order to derive the water release curve and saturation-dependent hydraulic conductivity, the dynamic interaction of the two fluid phases must be considered. One way to capture the physics of the two fluids is to use the Cahn–Hilliard phase field model coupled with Stokes equations [2729]. The Cahn–Hilliard model can be derived through a free energy minimization [30,31] and has widely been applied to study moving contact lines and bubbles in a two fluid system [32]. This model overcomes the difficulties of a sharp interface by using the assumption that the interface between the two phases is of finite thickness which is assumed to be small in comparison with the geometry considered. By considering the limit when the interface thickness approaches zero the phase field model can be shown to reduce to standard free–boundary problems [3234]. Homogenization of the Cahn–Hilliard model in porous media has previously only been studied for the case in which the interface thickness is comparable with the characteristic pore size [35,36]. This results in an effective Cahn–Hilliard equation where the interface mobility is derived through a set of cell problems.

In this paper, we consider the case of two immiscible fluids separated by an interface of finite width. This width is assumed small relative to the pore size and, hence, may be considered the smallest length scale in the problem. We use the method of homogenization to derive a coupled set of equations which describe the macroscopic flow properties of these fluids in partially saturated porous media. These equations, which are based on fundamental physical assumptions, are shown to reduce to Richards' equation in an appropriate parameter regime, i.e. the gas pressure is assumed constant. We assume that, to leading order, the interface positions and, hence, the water release curve are determined by capillary forces. The hydraulic conductivity is then determined by studying the perturbation due to a weak pressure gradient. The result is that the water release curve and the saturation-dependent hydraulic conductivity are determined through a series of cell problems which capture the porous geometry and the effects of the pressure gradients.

To capture the physics associated with two phase flow in porous media, the correct behaviour of the contact angle between the solid and the two fluid phases must be included in the Cahn–Hilliard formulation. The contact angle is one of the many factors associated with the hysteresis observed in the water release curve [37]. There have been numerous studies on the effect of the contact angle in the Cahn–Hilliard formulation [3840]. Here, we make use of the more recent boundary conditions which are derived geometrically [40].

This paper is arranged as follows: in §2, we derive the Cahn–Hilliard fluid model using a free energy minimization and apply the method of homogenization to derive the two fluid model. The cell problems, which result from the calculations, allow the hydraulic conductivity and water release curves to be calculated based entirely on the underlying geometry. In §3, we study the solution properties of the cell problems and consider the limit when the interface thickness approaches zero. In §4, we solve the cell problems for the example case of air and water flowing in soil. Finally, in §5, we discuss our results and draw conclusions.

2. Derivation of homogenized equations

(a). Deriving the two fluid Cahn–Hilliard equation

We consider the interaction of two single component fluids, for example air and water, in a porous geometry as illustrated in figure 1. Throughout this derivation we use ~ to denote that ⋅ is a dimensional quantity. A list of the dimensional quantities used in this derivation is given in table 1. We consider a porous domain Ω comprising a solid matrix S and a fluid part Bϵ with boundary Bϵ. We assume that Bϵ is connected and that Bϵ is smooth. The geometry of the porous structure is of typical size L~x and comprises a series of regularly repeating units of size (0,L~y)3, where L~y/L~x=ϵ1.

Figure 1.

Figure 1.

Schematic of porous domain (left) with length scales L~y, the scale of one periodic unit cell, and L~x, the macroscopic length scale. The box (right) shows a zoomed in view of one periodic unit cell of the fluid domain, Ω, the boundary of the porous structure B and the two different fluids ϕ=0 and ϕ=1 with interface width λ~. (Online version in colour.)

Table 1.

Dimensional variables.

symbol units description
L~x, L~y m macroscopic and microscopic length scales
λ~ m fluid–fluid interface thickness
η~(0), η~(1), η~ Pa s viscosity of phase 0, phase 1 and the combined phase
ρ~(0), ρ~(1) kg m−3 density of phase 0 and phase 1
γ~ N m−1 surface tension at fluid–fluid interface.
F~b, F~s, F~ N m bulk, surface and total free energies
u~(0), u~(1), u~ m s−1 velocity of phase 0, phase 1 and the combined phase
ζ~ kg m−3 s−1 fluid–fluid drag coefficient
p~ kg m−1 s−2 combined fluid pressure
σ~ kg m−1 s−2 combined stress tensor
R~ N m s−1 Rayleighian
μ~ kg m−1 s−2 capillary pressure
t~ s time coordinate
x~ m space coordinate

To model the interaction between two fluids we use the Cahn–Hilliard model [2729]. We define the phase field ϕ, a dimensionless variable that takes the value ϕ=1 in fluid 1 and ϕ=0 in fluid 0. At the interface between the two fluids ϕ changes smoothly from ϕ=0 to ϕ=1 over a distance λ~ which we refer to as the interface thickness. We define the viscosity and density of fluid j as η~(j) and ρ~(j), respectively, for j={0,1}. We consider the case ρ~(1)ρ~(0) corresponding to, for example, air and water. However, we note that this is not a limitation of the model, it is instead used to simplify the notation and algebra used in the remainder of the paper.

To derive the equations that describe the interaction between these two fluids, we write an appropriate fluid free energy which we will then minimize [2731]. Specifically we write the bulk and surface free energies of the fluid as

F~b=Bϵ[αγ~(λ~1f(ϕ)+λ~2|~ϕ|2)]dx~andF~s=Bϵαγ~h(ϕ)dx~, 2.1

where f(ϕ)=ϕ2(1−ϕ)2, γ~ is the surface tension and α=62 scales the free energy such that γ~ is the total excess free energy. It can be shown [40] that h(ϕ) satisfies h(ϕ)=2cos(θ)f(ϕ), where θ is the contact angle between the fluid–fluid interface and the surface of the porous matrix which is assumed constant and h′(ϕ) is the variational derivative δh/δϕ. The fluid free energy consists of two terms: the bulk free energy which has minima at ϕ=0 and ϕ=1 and the interface energy which acts to minimize the total fluid volume over which ϕ is changing. We now proceed as in [30,31] and derive the momentum equations describing the fluid motion by minimizing the Rayleighian

R~=F~t~+Bϵ[12ζ~(u~(0)u~(1))2+(σ~p~ρ~x~3g~)~u~]dx~, 2.2

where F~=F~b+F~s is the total fluid free energy, u~(0) and u~(1) are the fluid velocities of fluid 0 and 1, respectively, u~=ϕu~(1)+(1ϕ)u~(0) is the combined velocity, ζ~ is the drag coefficient between the two fluids, σ~=η~[(~u~)+(~u~)T] is the combined stress tensor, g~ is the acceleration due to gravity and η~(ϕ) is the phase-dependent viscosity which takes the values η~(0)=η~(0) and η~(1)=η~(1) in fluid 0 and fluid 1, respectively. Similarly, ρ~(ϕ) is the phase-dependent density which takes the values ρ~(0)=ρ~(0) and ρ~(1)=ρ~(1) in fluid 0 and fluid 1, respectively. Finally, p~ is a Lagrange multiplier, effectively a combined or reduced fluid pressure, used to enforce incompressibility of the overall mixture. Assuming conservation of mass for each fluid, we also have

ϕt~=~(ϕu~(1))and(1ϕ)t~=~[(1ϕ)u~(0)]. 2.3

Differentiating equation (2.1) with respect to time, using equation (2.3), and assuming the fluid velocity vanishes on the porous structure boundary, we find

R~=Bϵ12ζ~(u~(0)u~(1))2+(σ~p~ρ~x~3g~)~u~dx~+Bϵϕu~(1)~{γ~α[λ~1f(ϕ)λ~~2ϕ]}dx~+Bϵ[αγ~(n^λ~~ϕ+h(ϕ))]ϕt~dx~, 2.4

where n^ is a unit vector normal to the surface of the porous medium. We minimize the Rayleighian with respect to p~, u~(1) and u~(0) and, after some algebra and application of the divergence theorem, obtain the Cahn–Hilliard–Stokes system of equations

ϕt~+~(ϕu~)=~{[ϕ2(1ϕ)2ζ~]~μ~},x~Bϵ, 2.5a
~σ~ϕ~μ~~p~=ρ~g~e^3,x~Bϵ, 2.5b
ζ~(u~(0)u~(1))=(1ϕ)ϕ~μ~,x~Bϵ, 2.5c
μ~=α(λ~1f(ϕ)λ~~2ϕ),x~Bϵ, 2.5d
and~u~=0,x~Bϵ, 2.5e

combined with the no slip condition on the surface of the porous matrix

u~=0,x~Bϵ, 2.5f

the contact angle boundary condition derived from (2.4)

n^λ~~ϕ=h(ϕ),x~Bϵ 2.5g

and a zero flux condition to ensure the total volume of each phase is conserved

n^{[ϕ2(1ϕ)2ζ~]~μ~}=0,x~Bϵ. 2.5h

Here μ~ is the capillary pressure which is defined in equation (2.5d) and e^3 is a unit vector in the direction x~3. We shall discuss the relationship between the capillary pressure and the specific fluid pressures in §2c. The additional condition, equation (2.5h), ensures the conservation of mass of each fluid on the boundary of the porous structure. Equations (2.5) combined with the initial condition ϕ(x~,0)=ϕ¯(x~) describe the two fluid behaviour in the porous structure.

(b). Non-dimensional equations

We non-dimensionalize equations (2.5) by first scaling space with the microscopic length scale L~y such that x~=L~yy and =L~y~. Using this scaling we define the unit cell Y =(0,1)3 composed of a fluid part B with boundary B. We introduce the non-dimensional velocity u=[u]1u~, pressure p=[p]1p~, capillary pressure μ=[μ]1μ~ and time t=[t]1t~, where

[u]=ρ(1)g~L~y24η~(1),[p]=[u]η~(1)L~x,[μ]=αγ~L~y,[t]=L~y[u]. 2.6

We also introduce the dimensionless capillary number (Ca), Peclet number (Pe), Cahn number (λ) and scaled gravitational force (g):

Ca=L~xL~yη(1)[u]αγ~,Pe=L~yL~xζ~[u]αγ~,λ=λ~L~y,g=4ρ~(1)ρ~(0)ρ~(1), 2.7

where we have used ρ~(0)/ρ~(1)O(ϵ), physically this is equivalent to neglecting the influence of gravity on the phase ϕ=0. Finally, we define the phase-dependent viscosity

η(ϕ)=η~(0)η~(1)+η~(1)η~(0)η~(1)ϕ. 2.8

We note that the definition of the Peclet number, which relates the diffusive motion of the interface to the advection by the fluid, is not, strictly speaking, a conventional Peclet number. However, as this is widely used in the literature we have chosen to keep this terminology [40,36]. Using these equations the scaled and dimensionless Cahn–Hilliard–Stokes equations are

ϕt+uϕ=1ϵPeMμ,yB, 2.9a
σ1ϵp1ϵCaϕμ=ϕge^3yB, 2.9b
u=0yB, 2.9c
andμ=λ1f(ϕ)λ2ϕ,yB, 2.9d

where σ=η[(u)+(u)T] and M=ϕ2(1−ϕ)2. We solve these equations subject to the boundary conditions

u=0,yB, 2.9e
n^λϕ=h(ϕ),yB, 2.9f
andn^Mμ=0,yB 2.9g

and the initial condition ϕ(y,0)=ϕ¯(y). Equations (2.9) form a complete non-dimensional description of the two fluid motion in the porous material. These will form the starting point of the homogenization procedure. We have scaled equations (2.9) such that CaO(1) and PeO(1) and the only small parameters in the final equations are ϵ and λ, i.e. the interface is narrow and we are considering a porous geometry with well-defined micro and macro scales. The result of the scaling given in equations (2.6) is that a unit change in μ drives a fluid velocity of order ϵ−1. This velocity corresponds to the movement of the fluid–fluid interface which decays rapidly to zero. Hence, the first non-zero contribution to the scaled velocity is order 1.

We are considering a problem with two different small parameters ϵ, the ratio of the microscopic and macroscopic length scales, and λ, the ratio of the interface thickness to the microscopic length scale, see figure 1. Before we proceed it is useful to discus the role of these two parameters. The first of these, ϵ, is standard in the homogenization literature [9] and will form the basis of the asymptotic expansion we will use in §2c to derive the averaged equations. The second small parameter λ is the non-dimensional interface thickness which must be small with respect to the minimum radius of curvature of the porous structure. We shall show in §3 that, in the limit λ→0, this model reduces to existing models where the fluid–fluid interface location is known (ch. 5 in [3]).

(c). Homogenizing the Cahn–Hilliard fluid equation

We consider the geometry illustrated in figure 1. This geometry consists of a solid structure surrounded by pore space which contains two fluids. Our aim is to derive a set of macroscopic equations which are applicable on the length scale L~x and describe the movement of these two fluids averaged over the length scale L~y, where L~y/L~x=ϵ1. Due to the separation in length scales, and the periodicity of the geometry, the behaviour of the two fluids is, to first approximation, assumed periodic on the pore scale. Using this assumption and considering the solution to equations (2.9) in successive powers of ϵ we will derive a set of equations which describe the slow variation of these periodic solutions on the lengthscale L~x.

We define two different spatial coordinate systems; x denotes position on the macroscopic length scale and y denotes position on the microscopic length scale. The key assumption used in the following homogenization procedure is that these two length scales may be treated as independent [9]. Hence, we expand =y+ϵx, where x denotes the gradient operator on the macroscopic length scale and y denotes the gradient operator on the microscopic length scale. We also consider a set of different time scales τ−1=ϵ−1t, τ0=t and τ1=ϵt. These time scales correspond to the fast equilibration of the fluid–fluid interface, the medium time scale movement of the fluid–fluid interface on the scale L~y and the slow variation in saturation due to applied pressure gradients, respectively.

Intuitively it may seem natural, as a first approximation, to neglect terms of order in λ and write λ in terms of ϵ before expanding as in, for example, [41]. However, if we do this, then the leading order solution is ϕ=const and multiple phases cannot co-exist. This is because the terms of order λ multiply the highest derivatives in equation (2.9) resulting in a singular perturbation scheme [42]. In order to accommodate the two phases there must be a region of thickness λ in which the function ϕ changes rapidly. As the interface position can change, it is not straightforward to construct an analytic solution in the interface region and match it to the solution in the regions of constant phase. Therefore, to leading order we must consider terms of order λ such that λ∇2ϕ balances λ−1f′(ϕ). Hence, we expand the velocity, pressure and phase only in powers of ϵ,

u=u0+ϵu1+O(ϵ2),p=p0+ϵp1+O(ϵ2),ϕ=ϕ0+ϵϕ1+ϵ2ϕ2+O(ϵ3). 2.10

We also expand the stress tensor, σ=σ0y+O(ϵ), and the mobility M=M0+ϵM1+O(ϵ2), where

σ0y=(yu0)+(yu0)T, 2.11a
M0=M(ϕ0)=ϕ02(1ϕ0)2, 2.11b
andM1=(δMδϕ|ϕ=ϕ0)ϕ1=2ϕ0(1ϕ0)(12ϕ0)ϕ1 2.11c

and μ=μ0+ϵμ1+O(ϵ2), where

μ0=λ1f(ϕ0)λy2ϕ0 2.11d

and

μ1=λ1f(ϕ0)ϕ1λ(y2ϕ1+yxϕ0+xyϕ0). 2.11e

We now substitute (2.10) and (2.11) into (2.9) and solve for ascending powers of ϵ.

(i). O(ϵ−1) problem

Substituting equations (2.11) into (2.9) and collecting terms of order ϵ−1 we obtain

τ1ϕ0Pe1yM0yμ0=0,yB, 2.12a

and

yp0+Ca1ϕ0yμ0=0,yB, 2.12b

with the boundary conditions

n^λyϕ0=h(ϕ0),yB, 2.12c

and

n^M0yμ0=0,yB, 2.12d

the initial condition ϕ0(x,y,0)=ϕ¯(y) and p0, μ0 and ϕ0 are periodic with period 1. Physically equations (2.12) describe the location of the fluid–fluid interface and are satisfied at steady state for any μ0 and p0 which are constant in y, hence, Bμ0=Bμ0dy, where B=Bdy. We note in passing that, at steady state, ϕ0 is a function of both x and y which we write as ϕ0=S(x)+ϕ0(m)(y) where ϕ0(m) is the modulated part of ϕ0 with zero average. Hence, the saturation is defined as

S=1BBϕ0dy, 2.13

where S takes value S=1 for a fully saturated region and S=0 for a fully unsaturated region. Therefore, we write μ0μ0[S(x)], where S(x) varies only on the macroscopic scale.

Finally, we observe that, by defining the fluid pressure ps(x,y)=p0(x)+Ca−1ϕ0(y)μ0(x), we can rewrite equation (2.12b) as

ypsCa1μ0yϕ0=0. 2.14

Following the method outlined in [32] we integrate equation (2.14) over a cylinder of height 2hλ, where h≫1 centred about the interface and, after some algebra, obtain the Young–Laplace equation relating the capillary pressure to the pressure drop across the interface:

n^ϕ0ps|ϕ0=1n^ϕ0ps|ϕ0=0=n^ϕ0Ca1μ0. 2.15

Here n^ϕ0 is a unit vector normal to the fluid–fluid interface. Hence we can write

p0(x)=ps(0)(x)+ϕ0(ps(1)(x)ps(0)(x)Ca1μ0(x)), 2.16

where ps(j) is the specific pressure in the jth fluid and, using equation (2.15), we find p0=ps(0), i.e. p0 represents the specific pressure of phase 0.

In order to obtain a macroscopic theory which is valid for all saturation levels we will have to solve equations (2.12) for all possible initial saturation values. In reality this can be achieved using a discrete set of different saturation values and interpolating. It is also clear that the resulting value μ0(S) is dependent not only on the initial saturation, but also on the initial conditions, ϕ¯. For now we shall assume that we know ϕ¯ and, hence, μ0(S) can be determined and will revisit this point in §4.

(ii). O(ϵ0) problem

To proceed we collect terms of O(ϵ0) from the expansion of equation (2.9). First we consider the expansion of equation (2.9a) and the corresponding boundary condition (2.9g):

τ1ϕ1+τ0ϕ0+u0yϕ0Pe1[yM0yμ1+yM0xμ0+yM1yμ0]=0,yB, 2.17a

and

n^M1yμ0+n^M0yμ1+n^M0xμ0=0,yB. 2.17b

Before we proceed we note that μ0μ0(x) such that yμ0=0 and the terms involving M1 in equations (2.17) vanish. We now check for solvability by integrating equations (2.17) over B and applying the divergence theorem. Hence, by the Fredholm alternative [9] for a solution to equations (2.17a) to exist, we require

B(τ1ϕ1+τ0ϕ0)dy=0. 2.18

This is an equation for the τ−1 dependence of ϕ1 if we denote the volume average over the unit cell as =Bdy and integrate in τ−1 between 0 and T−1 we obtain

ϕ1(T1,τ0,)ϕ1(0,τ0,)=T1τ0ϕ0(T1,τ0,), 2.19

where we have taken T−1≫1 such that ϕ0 has been in steady state for a long time. In order that ϕ1 does not grow linearly in time we require that ∂τ0ϕ0=0 and, hence, ϕ0 is independent of τ0 and ϕ1 is independent of τ−1. The result is a set of equations for u0, p1, ϕ1 and μ1:

u0yϕ0Pe1[yM0yμ1+yM0xμ0]=0,yB, 2.20a
yσ0yyp1xp0Ca1[ϕ0yμ1+ϕ0xμ0]=ϕ0ge^3,yB, 2.20b
andyu0=0,yB, 2.20c

with boundary conditions

u0=0,yB, 2.20d

and

n^M0yμ1+n^M0xμ0=0,yB, 2.20e

the correction to the phase can be found using the following equation for ϕ1,

μ1=λ1f(ϕ0)ϕ1λ(y2ϕ1+yxϕ0+xyϕ0),yB, 2.20f

and

n^λyϕ1+n^λxϕ0+h(ϕ0)ϕ1=0,yB, 2.20g

and are u0, p1, μ1 and ϕ1 periodic with period 1. We note, however, that we do not need to explicitly calculate ϕ1 in order to obtain the averaged equations. Equations (2.20) are linear in u0, p1, ϕ1 and μ1 and depend on x, y and S. Specifically μ0 is a function of saturation and, hence, x, p0 is a function of x only and ϕ0 is a function of y and S. In order to find u0, p1, ϕ1 and μ1 we consider the effects of the pressure and saturation gradients in equations (2.20) separately. We note that, as ϕ0=S(x)+ϕ0(m)(y) the terms of the form xyϕ0=0. We write the solution in the form

u0=k=1Nκkμxkμ0+κkpxkp0+κgg,μ1=k=1Nχkμxkμ0+χkpxkp0+χgg,andp1=k=1Nωkμxkμ0+ωkpxkp0+ωgg,ϕ1=k=1Nψkμxkμ0+ψkpxkp0+ψgg,} 2.21

where χkj, κkj, ωkj and ψkj for j={μ,p,g} are assumed periodic with period 1. We note that the velocity written in the form of equation (2.21) is effectively a generalized Darcy's law. The functions χkμ, κkμ, ωkμ and ψkμ satisfy the cell problem originating from xμ0

κkμyϕ0Pe1[yM0yχkμ+yM0e^k]=0,yB, 2.22a
yσkμyωkμCa1ϕ0yχkμ=Ca1ϕ0e^k,yκkμ=0,yB, 2.22b
κkμ=0,n^M0yχkμ+n^M0e^k=0,yB, 2.22c
χkμ=λ1f(ϕ0)ψkμλy2ψkμ,yB, 2.22d
andn^λyψkμ=h(ϕ0)ψkμ,yB, 2.22e

where σkμ=η[(yκkμ)+(yκkμ)T]. The functions χkp, κkp, ωkp and ψkp satisfy the cell problem originating from xp0

κkpyϕ0Pe1yM0yχkp=0,yB, 2.23a
yσkpyωkpCa1ϕ0yχkp=e^k,yκkp=0,yB, 2.23b
κkp=0,n^M0yχkp=0,yB, 2.23c
χkp=λ1f(ϕ0)ψkpλy2ψkp,yB, 2.23d
andn^λyψkp=h(ϕ0)ψkp,yB, 2.23e

where σkp=η[(yκkp)+(yκkp)T]. The remaining functions χg, κg, ωg and ψg satisfy the cell problem originating from g:

κgyϕ0Pe1yM0yχg=0,yB, 2.24a
yσgyωgCa1ϕ0yχg=ϕ0e^3,yκg=0,yB, 2.24b
κg=0,n^M0yχg=0,yB, 2.24c
χg=λ1f(ϕ0)ψgλy2ψg,yB, 2.24d
andn^λyψg=h(ϕ0)ψg,yB, 2.24e

where σg=η[(yκg)+(yκg)T].

(iii). O(ϵ1) problem

We now expand the phase equation and the incompressibility condition to O(ϵ) and use the results of the previous expansions to write

τ1ϕ2+τ0ϕ1+τ1ϕ0+u1yϕ0+u0yϕ1+u0xϕ0Pe1[yM0(yμ2+xμ1)+yM1(yμ1+xμ0)+xM0(yμ1+xμ0)+xM1yμ0+yM2yμ0]=0,yB, 2.25a

and

yu1+xu0=0,yB, 2.25b

with the relevant boundary conditions

u1=0,yB, 2.25c

and

n^M0(yμ2+xμ1)+n^M1(xμ0+yμ1)+n^M2yμ0=0,yB, 2.25d

where ϕ2 and μ2 are periodic with period 1. As in the O(ϵ0) case the final terms in equation (2.25a) which contain multiples of yμ0 vanish as μ0μ0(x). Considering the solvability condition for equations (2.25), as in §2c(ii), we require that ϕ1 and ϕ2 do not grow linearly with time on any scale. Hence, the total fluid volume is conserved. Integrating equation (2.25a), applying the divergence theorem, and using equations (2.25b), (2.25c), (2.25d) with equations (2.20c) and (2.20d) we find, after some algebra,

BSτ1x[a(S)K(S)xSb(S)xp0bg(S)e^3g]=0. 2.26

Similarly, we integrate equation (2.25b) over B and, using the divergence theorem, obtain

x[a(S)K¯(S)xSb¯(S)xp0b¯g(S)e^3g]=0, 2.27

where the saturation-dependent parameters in equation (2.26) are

a(S)=δμ0δS,K(S)=B(ϕ0κkμe^k)dy+O(λ),andb(S)=B(ϕ0κkpe^k)dy+O(λ),bg(S)=B(ϕ0κge^3)dy+O(λ).} 2.28

We have simplified equations (2.28) by taking the limit λ→0. Hence, as M0 is only non-zero in a region of width λ, BM0dyλ0. The parameters in equation (2.27) are

K¯(S)=Bκkμe^kdy,b¯(S)=Bκkpe^kdy,b¯g(S)=Bκge^3dy. 2.29

Equations (2.26) and (2.27), with (2.28) and (2.29), form a pair of coupled equations for the macroscopic saturation and pressure. These are parametrized by the cell problems, equations (2.22), (2.23) and (2.24), which must be solved for a range of saturation.

We note that if ϕ0=1 everywhere, corresponding to full saturation, then b(S)=b¯(S) is the hydraulic conductivity of phase 1 and equations (2.26) and (2.27) become degenerate. Hence, we obtain Darcy's law for single phase flow. Similarly if ϕ0=0 everywhere then b(S)=0 and b¯(S) is the hydraulic conductivity of phase 0. Again, we obtain Darcy's law for single phase flow. By applying the assumptions used in deriving Richards' equation, i.e. that the pressure of phase 0 is constant in Ω we can write

BSτ1x{a(S)K(S)xS+bg(S)e^3g}=0. 2.30

Equation (2.30) is the saturation form of Richards' equation which is valid assuming K¯(S)b¯(S) and b¯g(S)b¯(S) such that equation (2.27) is approximately satisfied for constant pressure. We note that we could also have derived the mixed form of Richards' equation simply by leaving equations (2.26) and (2.27) in terms of μ0. The functions ϕ0, κkμ, κkp and κgδμ0/δS must be found for all saturation values. In reality it is enough to compute them for a subset of values and interpolate between them. The function μ0 is the scaled capillary pressure which is a function of geometry, contact angle and is history dependent. We investigate these effects using two and three dimensional examples in §4.

3. Analysis of homogenized equations

Equations (2.26) and (2.27) are valid across the whole range of saturation values. However, before we study the numerical solution of these equations we use matched asymptotics [42] to consider the limit of the Cahn–Hilliard–Stokes model when λ→0. It has been previously shown that, in this limit, the model reduces to standard free boundary problems for two fluid flow [3234]. Here, in §3a, we use matched asymptotics to consider the limit of high and low saturation. Then, in §3b, we use these techniques to reduce the cell problems to those derived for fixed interfaces [3,22].

(a). High and low saturation limit

Physically the high and low saturation limits correspond to the case where either the water or the air collects in the sampled geometry to form bubbles which are attached to the soil aggregate surface through capillary pressure. These bubble solutions are found by considering a single droplet of fluid attached to the porous structure. These droplets are assumed to be sufficiently small such that the surface to which they are attached may be considered planar, i.e. the radius of curvature of the droplet is much smaller than the radius of curvature of the porous structure. We start by following the method presented in [34] and considering a steady state radially symmetric solution to equations (2.11d), for μ0=C and C is a constant, in the absence of the porous structure. The solution is then patched onto the porous structure such that the contact angle which the droplet makes with the surface is correct and, hence, equations (2.12) are solved. Rewriting equation (2.11d) in radial coordinates we obtain

λ2{2ϕr2+N1rϕr}f(ϕ)=λC, 3.1

where N is the number of dimensions considered, i.e. N=2 for 2D or N=3 for 3D. We consider the case of a bubble of dimensionless radius rb, where λ≪rb. We solve equation (3.1) using the method of matched asymptotics [42]. We define two outer regions, r<rb and r>rb and an inner region rrb. In order to obtain the full solution we are required to solve equation (3.1) in each region and match the solutions. However, as we are only interested in obtaining the value of the constant C in terms of radius, it is enough to consider only the leading order solution and the first order correction in the inner region.

We denote the solutions in the outer regions ϕ(o−) for r<rb and ϕ(o+) for r>rb. The solution in the inner region is denoted ϕ(i). Neglecting terms O(λ) we find f′(ϕ(o−))=f′(ϕ(o+))=0. For the inner region we rescale ρ−1(rrb) to obtain

2ϕ(i)ρ2+λ(N1)rbλρϕ(i)ρf(ϕ(i))=λC, 3.2

with the boundary conditions ϕ(i)ϕ(o−) as ρ and ϕ(i)ϕ(o+) as ρ. We expand ϕ(i)=ϕ0(i)+λϕ1(i)+O(λ2) and substitute into equation (3.2) to obtain the planar interface solution at leading order, i.e. ϕ0(i) satisfies

2ϕ0(i)ρ2f(ϕ0(i))=0, 3.3

with ϕ0(i)ϕ(o) as ρ and ϕ0(i)ϕ(o+) as ρ. Solving for ϕ0(i) we find

ϕ0(i)=12[1+tanh(ρ2)]. 3.4

Expanding to order λ we obtain

2ϕ1(i)ρ2f(ϕ0(i))ϕ1(i)=C(N1)rbϕ0(i)ρ, 3.5

with ϕ1(i)ϕ1(o±) for ρ±. Equation (3.5) is a linear equation of the form Lϕ1(i)=S. In order that a solution exists we require that 〈ψ,S〉=0 for ψker(L), where the superscript † denotes the adjoint. In this case L is self adjoint and its kernel is spanned by the function ϕ0(i)/ρ. Therefore, after some algebra, we find

μ0=2(N1)6rb+O(λ2). 3.6

The partial bubble solution, where the fluid droplet is attached to a planar surface with contact angle θ, can be derived using simple geometric arguments. The droplet is assumed to be a partial sphere of volume V=SB for low saturation and V=(1S)B for saturation close to 1 hence

rb=[3V2+3sinθsin3θ]1/3. 3.7

We will make use of the bubble solution as the limit of high and low saturation in §4.

(b). Comparison with existing models

We now compare our model with the existing two fluid homogenized models which are, for example, presented in ch. 5 in [3]. In these models the interface location is assumed to be known and the interface width is zero. The fluid velocity at the interface is assumed to be continuous in the directions tangential to the interface and zero in the direction normal to it. Finally, these equations are closed by assuming an unknown capillary pressure across the interface. These models can be homogenized using standard methods presented in, for example, [9]. The resulting cell problems can then be used to determine the macroscopic flow properties. In order to compare the equations we have derived to these models we consider the limit of (2.22), (2.23) and (2.24), as λ→0.

We consider cell problem (2.22) in detail as the same procedure can be applied easily to the cell problems (2.23) and (2.24). Far from the interface M0=0 and equations (2.22) simplify to the Stokes problem

yσkμyωkμ=0,yκkμ=0,yB0, 3.8a
yσkμyωkμ=Ca1e^k,yκkμ=0,yB1, 3.8b
andκkμ=0yB, 3.8c

where B1 is the region in which ϕ0=1 and B0 is the region in which ϕ0=0. We note that at this point χkμ and ψkμ are undefined. Equations (3.8) require a pair of boundary conditions at the interface between B0 and B1. To determine these conditions we rescale space with the interface thickness, y−1z, to obtain

λ1κkμzϕ0Pe1[λ2zM0zχkμ+λ1zM0e^k]=0,zB, 3.9a
yσkμλ1zωkμλ1Ca1ϕ0zχkμ=Ca1ϕ0e^k,λ1zκkμ=0,zB, 3.9b
κkμ=0,n^λ1M0zχkμ+n^M0e^k=0,zB, 3.9c
χkμ=λ1(f(ϕ0)ψkμz2ψkμ),zB, 3.9d
andn^zψkμ=g(ϕ0)ψkμ,zB. 3.9e

We find a balance by scaling ωkμ=λω¯kμ and χkμ=χ¯kμλ. In order to obtain the appropriate interface conditions, we integrate equation (3.9b) over a cylinder of volume V and height 2hλ, where h≫1, centred about the interface. Applying the divergence theorem and taking the limit λ→0 we obtain the condition

n^ϕ0[σkμIωkμ]|ϕ0=1n^ϕ0[σkμIωkμ]|ϕ0=0=n^ϕ0χ¯kμ, 3.10

where we recall n^ϕ0 is a unit vector normal to the fluid–fluid interface and I is the identity matrix. Similarly, we integrate equation (3.9a) over V to obtain

Vκkμzϕ0Pe1[zM0zχ¯kμ+zM0e^k]dz=0. 3.11

We denote the end facets of the cylinder S0 in the region ϕ0=0 and S1 in the region ϕ0=1 and the cylinder side surface ΔS. Applying the divergence theorem, using equation (3.9b) and M0(1)=M0(0)=0 gives us the condition

S1n^κkμdzPe1ΔSn^(M0zχ¯kμ+M0e^k)dz=0, 3.12

where we have used continuity of velocity to simplify the integrals. Finally, observing that variation in χkμ tangential to the boundary is small and may be neglected at this order we obtain the boundary condition

n^ϕ0κkμ|ϕ0=1=0. 3.13

Hence, if we define the fluid–fluid interface as BI we obtain the cell problem in the limit λ→0

yσkμyω¯kμ=0,yκkμ=0,yB0, 3.14a
yσkμyω¯kμ=Ca1e^k,yκkμ=0,yB1 3.14b
κkμ=0,yB, 3.14c
n^ϕ0[σkμIω¯kμ]|ϕ0=1n^ϕ0[σkμIω¯kμ]|ϕ0=0=n^ϕ0χ¯kμ,yBI, 3.14d
τ^qκkμ|ϕ0=0=τ^qκkμ|ϕ0=1,yBI 3.14e
andn^ϕ0κkμ|ϕ0=1=0,yBI, 3.14f

where τ^q for q={1,2} is a unit vector tangent to the interface BI. Similarly, we find that κg=Caκ3μ, ωg=Caω3μ and χg=Caχ3μ and we obtain the cell problem for the pressure driven velocity field

yσkpyω¯kp=e^k,yκkp=0,yB0, 3.15a
yσkpyω¯kp=e^k,yκkp=0,yB1, 3.15b
κkp=0,yB, 3.15c
n^ϕ0[σkpIω¯kp]|ϕ0=1n^ϕ0[σkpIω¯kp]|ϕ0=0=n^ϕ0χ¯kp,yBI, 3.15d
andτ^qκkp|ϕ0=0=τ^qκkp|ϕ0=1,n^ϕ0κkp|ϕ0=1=0,yBI. 3.15e

Equations (3.14) and (3.15) correspond to the cell problems derived for a fixed interface in [22]. They can also be derived directly from the microscale equations for a fixed interface presented, for example, in ch. 5 in [3]. Hence, we see that taking the limits with respect to λ and ϵ commute for a fixed interface location.

4. Example

In this section we solve the cell problems (2.12), (2.22) and (2.23) to obtain the macroscopic parameters used in equations (2.26) and (2.27). As shown in §3, in the limit λ→0, the solution to the cell problem (2.24) is proportional to the solution to (2.22), hence we do not consider the solution to this cell problem explicitly. We consider, as an example, the flow of air and water in soil.

We recall μ0 is the leading order capillary pressure which we derive for a simplified two-dimensional example. The advantage to studying a simplified two-dimensional geometry is that it allows us to easily relate the calculated properties of the capillary pressure to the geometrical features. However, in this case we are interested only in the capillary pressure as the air and water phases can each easily form a plug for a large range of saturation resulting in zero hydraulic conductivity. In order to understand how contact angle affects the capillary pressure, we do this for a range of contact angles. The air–water contact angle with soil has been measured to be approximately 90° [43]. Hence, we consider contact angles of 70°, 90° and 110° as this range of angles provides a clear picture of how the capillary pressure varies near 90°. We then consider a simplified three-dimensional geometry with 90° contact angle and obtain the capillary pressure and hydraulic conductivities.

We note that the solution to the equations (2.12) is dependent on the initial condition. Therefore, the interface location and the capillary pressure are history dependent. In order to accommodate this, we calculate the capillary pressure curves for increasing saturation. We start from the water bubble solution and integrate equations (2.12) to steady state. The saturation is then increased by weakly perturbing the solution and equations (2.12) are solved again using the perturbed solution as the initial condition. By slowly increasing the saturation till the air bubble solution is reached the whole capillary pressure curve can be calculated. The equations are implemented in comsol multiphysics 4.3 using a combination of coefficient form PDEs and computational fluid dynamics modules. The equations are solved using a direct PARDISO method on a single 16 core node of the Iridis 4 supercomputing cluster at the University of Southampton. For both the two-dimensional and the three-dimensional case, the total simulation time is less than 20 h.

(a). Two-dimensional soil

We derive water release curves, which show capillary pressure as a function of saturation, for the geometry shown in figure 2a for a range of different contact angles using the following method. We start by considering an initial partial air bubble attached to the soil. The size of the initial bubble is chosen to give 5% saturation. Equations (2.12) are solved to find the steady-state interface profile and, hence, value of μ0 corresponding to 5% saturation. The saturation is then increased by 1% and the process is repeated until 95% saturation is reached. The drying curve is captured by reversing the process and decreasing the saturation to 5%.

Figure 2.

Figure 2.

Interface position for increasing saturation: dark region is fluid 0 and light region is fluid 1. The geometry shown is periodic in the x and y directions with a shaded region representing a soil particle in the centre of the cell: (a) 95% saturation, (b) 55% saturation (c) 40% saturation and (d) 5% saturation. (Online version in colour.)

The water release curve which results from this process is shown in figure 3 for contact angles of 70°, 90° and 110°. These curves are used to parametrize equations (2.26) and (2.27) through the parameter (2.28) and are valid on a timescale much slower than τ−1. The bubble solution, equation (3.6), is used for <5% or >95% saturation. The corresponding interface profiles as calculated using equations (2.12) are shown for the 90° contact angle in figure 2. It can be seen that at high and low saturation the water release curve follows the 1/rb dependence that we would expect for a partial bubble solution.

Figure 3.

Figure 3.

Water release curve for 70°, 90° and 110° contact angle, showing the wetting and drying curves for the three different contact angles. Each subplot shows three regions which are separated by the black dotted lines: R1 (the left most region) and R3 (the right most region) in which the bubble solution is valid and R2 (the middle region) which exhibits hysteresis and is strongly geometry dependent. (Online version in colour.)

In the geometry-dependent part of the water release curve, there are several discontinuities, shown with a dashed line. These jumps correspond to the saturation values at which the interface changes topology. As an example we follow the drying curve for the 90° contact angle in figure 3. At high saturation S>0.75, the interface forms a half bubble on the surface of the porous structure, see figure 2a. As the saturation is decreased below S=0.75 the volume of water contained in the bubble becomes to large to fit in the pore and the topology of the solution changes to the one shown in figure 2b. This solution remains valid for 0.75>S>0.43. For S<0.43 the solution topology changes again giving rise to the one shown in figure 2c. This solution remains valid until the air film becomes too thin and the solution collapses to the air bubble solution shown in figure 2d. In our simulations, we have taken this point to be S=0.95.

Increasing the contact angle away from normal incidence acts to increase the capillary pressure whilst maintaining the same set of topological solutions. The overall shape of the water release curve is unaffected by these changes.

(b). Three-dimensional soil

For the three-dimensional case, the same algorithm is used as in the two-dimensional case to determine the water release curve. Once the steady-state interface location has been derived, the cell problems given in equations (2.22) and (2.23) are solved to obtain the hydraulic conductivities. We use η~(0)=20×106Pas and η~(1)=103Pas corresponding to the viscosity of air and water, respectively. For simplicity, we take Ca=Pe=1 and θ=90°.

The water release curve is calculated as in the two-dimensional case. Starting from the bubble solution at 95% saturation we find five topologically different solutions; these are shown in figure 4. The corresponding water release curve is also shown in figure 4 and the diffusivity curves, K(S), b(S), K¯(S) and b¯(S), are shown in figure 5.

Figure 4.

Figure 4.

Interface position for decreasing saturation and the corresponding water release curve. The geometry shown is periodic in the x, y and z directions with a soil particle in the centre of the cell: (a) 95% saturation, (b) 75% saturation, (c) 55% saturation, (d) 35 % saturation and (e) 5 % saturation. The black dotted lines on the water release curve (right-hand side image) show 5% and 95% saturation, respectively. These correspond to the point at which the bubble solution is valid; this point is discussed further in the main text. (Online version in colour.)

Figure 5.

Figure 5.

Effective diffusivity as a function of saturation for wetting and drying curves. Note the function b¯(S) uses a different scale to b(S), K(S) and K¯(S). The functions are calculated by solving equations (2.22) and (2.23) for 0.05<S<0.95 in steps of 0.01 and for S=0 and S=1. The values for 0<S<0.95 and 0.95<S<1 are calculated through interpolation. The black dotted lines show S=0.05 and S=0.95. (Online version in colour.)

As in the two-dimensional case, we see discontinuities in the water release curve where the interface location jumps between topologically different solutions. Following the drying curve we see that the bubble solution, figure 4a, is valid for a small range of saturation values S>0.91 before the droplet spans the gap between adjacent soil particles. At this point the solution topology changes to the one shown in figure 4b, which is valid for 0.91>S>0.68. In contrast to the two-dimensional case, an additional topological state is observed for 0.68>S>0.53, shown in figure 4c. This is observed when the air trapped between a pair of particles expands so much that it interacts with the air trapped between an adjacent pair of particles. As the saturation continues to decrease, the solution changes again to the one shown in figure 4d for 0.53>S>0.05 before collapsing to the bubble solution at low saturation S<0.05.

The corresponding diffusivity curves, neglecting terms of order λ, are plotted in figure 5 for the wetting and drying cycle. The functions b(S), K(S) and K¯(S) are zero for S=0 and increase to give the saturated hydraulic conductivity of the ϕ=1 phase at S=1. The function b¯(S) moves from the hydraulic conductivity of the ϕ=0 phase at S=0 to the hydraulic conductivity of the ϕ=1 phase at S=1.

As with the water release curve, the diffusivities are discontinuous corresponding to the solution switching between topologically different solutions. We note that the diffusivities are non-zero, providing that there is a connected flow pathway for either phase. To illustrate this, we follow the drying curves for all four diffusivities. At full saturation S=1 we obtain simply the diffusivity of phase 1 in all directions and all four diffusivity values are identical. Decreasing the saturation, we observe the half bubble solution figure 4a and the diffusivity in the x direction begins to differ from the solution in the y and z directions. Decreasing further we move through the solution shown in figure 4b,c with discontinuities visible in the diffusivity curves. These are most visible in the K(S) and K¯(S) curves; however, they are present in all four curves. In all four cases, the diffusivity increases as the lower viscosity phase, phase 0, acts to lubricate the flow of the higher viscosity phase, phase 1. At S=0.53 the solution changes to the one shown in figure 4c. At this point, neither phase 0 nor phase 1 is connected in the x direction and the diffusivity values all drop to zero in this direction. The corresponding values of b(S), K¯(S) and K(S) decrease monotonically from this point to 0 at S=0. The function b¯(S) increases monotonically from this point to reach the phase 0 diffusivity at S=0.

The value of b¯(S) is much larger than the other diffusivity curves and in the region 0.05<S<0.95 will dominate the behaviour of the flow. In the high and low saturation regimes, this will not be the case as a(S) grows rapidly will act to amplify the role of K(S) and K¯(S). Hence, in the intermediate saturation region, the final equations (2.26) and (2.27) could be simplified to neglect K¯(S) and b¯g(S) such that equation (2.30) becomes valid under the constant pressure assumption.

5. Discussion

In this paper we have used the method of homogenization to derive, for the first time, a set of macroscopic equations for coupled saturation and pressure-driven fluid flow based entirely on the underlying geometry. The presence of multiple phases is described by the Cahn–Hilliard equation and fluid flow is governed by Stokes equations. The final equations are parametrized by the water release curve and four different diffusivity curves. These curves are captured by solving a series of different cell problems over a range of different saturation values. We have shown that these cell problems, and the resulting macroscopic equations, reduce to standard, simplified homogenizaiton models where the fluid–fluid interface is assumed to be known.

We have used several key assumptions in developing our model. The first is that the porous medium may be considered as a periodic structure. This approximation may be valid for man-made porous structures. However, for natural ones, such as soil, this is clearly only an approximation with the structure being quasi-periodic at best. This assumption has been tested for the case of two fluid flow in imaged soil geometries [23], for the case in which the air–water interface is obtained directly via imaging. In this case, the cell problems were solved on geometries of increasing size and the hydraulic properties were seen to converge. It is expected that the same will apply in this case and, hence, quasi-periodicity is enough for the model to remain valid. Secondly, based on the scaling used in equations (2.9) we require that the capillary forces dominate flow such that there is a separation in time scales between the movement of the fluid–fluid interface and the fluid velocity. This assumption is valid for sufficiently small pores as the fluid velocity shrinks with pore radius whilst the capillary pressure grows. Thirdly, we have modelled the interface between the two fluids using the Cahn–Hilliard equation in which the interface width is assumed non-zero. We have shown that, as the interface width tends to zero, the cell problems derived in §2a converge to those traditionally used for two fluid flow (ch. 5 in [3], [22]). For this approximation to be valid we have implicitly assumed that the interface width used in the numerical calculations is significantly less than the smallest geometrical feature observed. This assumption neglects the effects of small-scale surface roughness which could induce contact angle hysteresis. These effects could, in principle, be included through an effective contact angle-dependent on the small-scale surface geometry.

Using these assumptions we have been able to capture the main features of two fluid flow and, for a given periodic geometry, predict the water release and diffusivity curves. There are three distinct regions observed in these curves, the low- and high-concentration regimes, in which we find an approximate analytic solution for the water release curve, and an intermediate region, in which the water release curve becomes geometry dependent. In this intermediate region the water release curve is discontinuous due to the topologically different solutions obtained at different saturation. Even in simple cases such as those considered in §4 the simulations we have done show that the macroscopic features are strongly related to the geometry studied.

The resulting complexity and discontinuities in both the water release curve and the diffusivity requires some attention. The solutions obtained in §4 are based around a chosen initial condition. However, it is clear that, even for the two-dimensional case, the solutions pictured are not the only possible ones. A different initial condition would have resulted in a different solution structure. For example, the solution shown in figure 2 would be equally valid if the images were simply rotated by 90°. Similarly, the solutions pictured for the three-dimensional case, see figure 4, are equally valid if the solution is rotated by 90° about any of the three coordinate axis. Hence, in general, we expect that the calculated solution will be a combination of topologically different states and that the observed properties of the two fluids will be an average of all possible states.

The water release and diffusivity curves obtained for the sample geometries exhibit hysteresis. This hysteresis is entirely due to the non-linear behaviour of the fluid–fluid interface, i.e. for a given saturation there are multiple stationary solutions. For increasing saturation a different solution is obtained to decreasing saturation. In principle, other sources of hysteresis such as contact angle hysteresis could be included in the model. However, excluding these does not prevent the model from capturing the main observable effects of the two fluid–fluid interaction in a porous geometry.

Finally, we note that the ability to directly predict the water release curves directly from a porous geometry, for example soil, enables a much more precise set of macroscopic equations to be derived without the need for time consuming measurements. While we have demonstrated this method in using parameters appropriate to the flow of air and water in soil, it is applicable to a variety of two fluid systems. In the context of soil, this method, combined with image-based modelling, can be used as a tool to study the effects of different microscopic soil properties on the macroscopic behaviour. This in turn will directly feed back into how soil structure may be optimized in order to maximize flow and transport properties.

Acknowledgements

The authors acknowledge the use of the IRIDIS High Performance Computing Facility, and associated support services at the University of Southampton, in the completion of this work. The authors would also like to thank Prof. J. Yeomans FRS for helpful discussions relating to this work.

Data accessibility

The corresponding author may be contacted for the Comsol implementation of the computational method described in this work.

Author contributions

K.R.D. co-authored the mathematical derivation, conducted all the numerical simulations and wrote the manuscript. T.R. designed the study, co-authored the mathematical derivation of the equations/theory and co-drafted the manuscript. All authors gave final approval for publication.

Funding statement

K.R.D. is funded by BBSRC BB/J000868/1 and T.R. was funded by the Royal Society University Research Fellowship.

Conflict of interests

The authors have no conflict of interests to declare.

References

  • 1.Richards LA. 1931. Capillary conduction of liquids through porous mediums. J. Appl. Phys. 1, 318–333. [Google Scholar]
  • 2.Marle C. 1981. Multiphase flow in porous media. Paris, France: Éditions technip. [Google Scholar]
  • 3.Hornung U. 1996. Homogenization and porous media. New York, NY: Springer. [Google Scholar]
  • 4.Miyazaki T. 2006. Water flow in soils. London, UK: CRC Press, Taylor and Francis. [Google Scholar]
  • 5.Madsen HB, Jensen CR, Boysten T. 1986. A comparison of the terhmocouple psychrometer and the pressure plate methods for determination of soil water characteristic curves. J. Soil Sci. 37, 357–362. (doi:10.1111/j.1365-2389.1986.tb00368.x) [Google Scholar]
  • 6.Pham HQ, Fredlund DG, Lee Barbour S. 2005. A study of hysteresis models for soil-water characteristic curves. Can. Geotech. J. 42, 1548–1568. (doi:10.1139/t05-071) [Google Scholar]
  • 7.Berninger H, Kornhuber R, Sander O. 2011. Fast and robust numerical solution of the richards equation in homogeneous soil. SIAM J. Numer. Anal. 49, 2576–2597. (doi:10.1137/100782887) [Google Scholar]
  • 8.Pour MA, Shoshtari MM, Adib A. 2011. Numerical solution of richards equation by using of finite volume method. World Appl. Sci. J. 14, 1838–1842. [Google Scholar]
  • 9.Pavliotis GA, Stuart AM. 2000. Multiscale methods averaging and homogenization. New York: Springer. [Google Scholar]
  • 10.Cioranescu D, Donato P. 2000. Introduction to homogenization. Oxford, UK: Oxford University Press. [Google Scholar]
  • 11.Keller JB. 1980. Darcy's law for flow in porous media and the two-space method. In: Nonlinear Partial Differential Equations in Engineering and Applied Science (eds RL Sternberg, AJ Kalinowski, JS Papadakis), vol. 54, pp. 429–443. New York, NY: Dekker. [Google Scholar]
  • 12.Tartar L. 1980. Appendix of Nonhomogeneous media and vibration theory. In Incompressible fluid flow in a porous medium-convergence of the homogenization process. Lecture Notes in Physics 127 New York, NY: Springer-Verlag. [Google Scholar]
  • 13.Ene HI, Poliserverski D. 1987. Thermal flow in porous media. Norwell, MA: Kluwer Academic Publishers. [Google Scholar]
  • 14.Lipton R, Avellandeda A. 1989. A Darcy law for slow viscous flow past a stationary array of bubbles. Proc. Roy. Soc. Edinburgh 2, 203–222. [Google Scholar]
  • 15.Arbogast T, Douglas J, Jr, Hornung U. 1990. Derivation of the double porosity model of single phase flow via homogenization theory. SIAM J. Math. Anal. 21, 823–836. (doi:10.1137/0521046) [Google Scholar]
  • 16.Panfilov M. 2000. Macroscale models of flow through highly hetrogeneous porous media. Dordrecht, The Netherlands: Kluwer Academic Publishers. [Google Scholar]
  • 17.Lewandowska J, Szymkiewicz A, Burzyński K, Vauclin M. 2004. Modeling of unsaturated water flow in double-porosity soils by the homogenization approach. Adv. Water Resour. 27, 283–296. (doi:10.1016/j.advwatres.2003.12.004) [Google Scholar]
  • 18.Levy T, Sanchez-Palencia E. 1975. On boundary conditions for fluid flow in porous media. Int. J. Eng. Sci. 13, 923–940. (doi:10.1016/0020-7225(75)90054-3) [Google Scholar]
  • 19.Beavers GS, Joseph DD. 1967. Boundary conditions at a naturally permeable wall. J. Fluid Mech 30, 197–207. (doi:10.1017/S0022112067001375) [Google Scholar]
  • 20.Arbogast T, Lehr HL. 2006. Homogenization of a Darcy–stokes system modeling vuggy porous media. Comput. Geosci. 10, 291–302. (doi:10.1007/s10596-006-9024-8) [Google Scholar]
  • 21.Arbogast T, Brunson DS. 2007. A computational method for approximating a Darcy–Stokes system governing a vuggy porous medium. Comput. Geosci. 11, 207–218. (doi:10.1007/s10596-007-9043-0) [Google Scholar]
  • 22.Daly KR, Roose T. 2013. Multiscale modelling of hydraulic conductivity in vuggy porous media. Proc. R. Soc. A 470, 20130383 (doi:10.1098/rspa.2013.0383) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Tracy SR, Daly KR, Sturrock CJ, Crout NMJ, Mooney SJ, Roose T. In press Three-dimensional quantification of soil hydraulic properties using X-ray computed tomography and image based modelling. Water Resources Res. (doi:10.1002/2014WR016020) [Google Scholar]
  • 24.Leverett MC. 1939. Flow of oil-water mixtures through unconsolidated sands. Trans. AIME 132, 149–171. (doi:10.2118/939149-G) [Google Scholar]
  • 25.Salimi H, Bruining J. 2012. Upscaling of fractured oil reservoirs using homogenization including non-equilibrium capillary pressure and relative permeability. Comput. Geosci. 16, 367–389. (doi:10.1007/s10596-011-9266-y) [Google Scholar]
  • 26.Van Genuchten MTh. 1980. A closed-form equation for predicting the hydraulic conductivity of unsaturated soils. Soil Sci. Soc. Am. J. 44, 892–898. (doi:10.2136/sssaj1980.03615995004400050002x) [Google Scholar]
  • 27.Cahn JW, Hilliard JE. 1958. Free energy of a nonuniform system. I. Interfacial free energy. J. Chem. Phys. 28, 258–267. (doi:10.1063/1.1744102) [Google Scholar]
  • 28.Cahn JW. 1959. Free energy of a nonuniform system. II. Thermodynamic basis. J. Chem. Phys. 30, 1121–1124. (doi:10.1063/1.1730145) [Google Scholar]
  • 29.Cahn JW, Hilliard JE. 1959. Free energy of a nonuniform system. iii. Nucleation in a two-component incompressible fluid. J. Chem. Phys. 31, 688–699. (doi:10.1063/1.1730447) [Google Scholar]
  • 30.Tanaka H. 1997. Viscoelastic model of phase separation. Phys.Rev. E 56, 4451 (doi:10.1103/PhysRevE.56.4451) [DOI] [PubMed] [Google Scholar]
  • 31.Roose T, Fowler AC. 2008. Network development in biological gels: role in lymphatic vessel development. Bull. Math. Biol. 70, 1772–1789. (doi:10.1007/s11538-008-9324-3) [DOI] [PubMed] [Google Scholar]
  • 32.Anderson DM, McFadden GB, Wheeler AA. 1998. Diffuse-interface methods in fluid mechanics. Annu. Rev. Fluid Mech. 30, 139–165. (doi:10.1146/annurev.fluid.30.1.139) [Google Scholar]
  • 33.Caginalp G. 1989. Stefan and hele-shaw type models as asymptotic limits of the phase-field equations. Phys. Rev. A 39, 5887–5896. [DOI] [PubMed] [Google Scholar]
  • 34.Ward MJ. 1996. Metastable bubble solutions for the Allen-Cahn equation with mass conservation. SIAM J. Appl. Math. 56, 1247–1279. (doi:10.1137/S0036139995282918) [Google Scholar]
  • 35.Schmuck M, Pradas M, Pavliotis GA, Kalliadasis S. 2012. Upscaled phase-field models for interfacial dynamics in strongly heterogeneous domains. Proc. R. Soc. A 468, 3705–3724. (doi:10.1098/rspa.2012.0020) [Google Scholar]
  • 36.Schmuck M, Pavliotis GA, Kalliadasis S.2012. Derivation of effective macroscopic Stokes–Cahn–Hilliard equations for periodic immiscible flows in porous media. Preprint (http://arxiv.org/abs/1210.6391. ) [DOI] [PubMed]
  • 37.Nuth M, Laloui L. 2008. Advances in modellin ghysteretic water retention curve in deformable soils. Comput. Geotech. 35, 835–844. (doi:10.1016/j.compgeo.2008.08.001) [Google Scholar]
  • 38.Jacqmin D. 1999. Calculation of two-phase navier–stokes flows using phase-field modeling. J. Comput. Phys. 155, 96–127. (doi:10.1006/jcph.1999.6332) [Google Scholar]
  • 39.Jacqmin D. 2000. Contact-line dynamics of a diffuse fluid interface. J. Fluid Mech. 402, 57–88. (doi:10.1017/S0022112099006874) [Google Scholar]
  • 40.Ding H, Spelt PDM. 2007. Wetting condition in diffuse interface simulations of contact line motion. Phys. Rev. E 75, 046708 (doi:10.1103/PhysRevE.75.046708) [DOI] [PubMed] [Google Scholar]
  • 41.Banks HT, Cioranescu D, Miller RE. 1996. Asymptotic study of lattice structures with damping. Portugaliae Math., 53, 209–228. [Google Scholar]
  • 42.King AC, Billingham J, Otto SR. 2003. Differential equations: linear, nonlinear, ordinary, partial. Cambridge, UK: Cambridge University Press. [Google Scholar]
  • 43.Moradi AB, Carminati A, Lamparter A, Woche SK, Bachmann J, Vetterlein D, Vogel H-J, Oswald SE. 2012. Is the rhizosphere temporarily water repellent. Vadose Zone J. 11 (doi:10.2136/vzj2011.0120) [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The corresponding author may be contacted for the Comsol implementation of the computational method described in this work.


Articles from Proceedings. Mathematical, Physical, and Engineering Sciences / The Royal Society are provided here courtesy of The Royal Society

RESOURCES