원시데이터 수집 시스템
선정목록으로

Homogenization of two fluid flow in porous media

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (18) VENT(방수통기 부품)

기본 정보

저자
  1. K. R. Daly — Faculty of Engineering and Environment, University of Southampton, Southampton SO17 1BJ, UK
  2. Tiina Roose — Faculty of Engineering and Environment, University of Southampton, Southampton SO17 1BJ, UK
DOI
10.1098/rspa.2014.0564
저널
Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences
발행년도
2015
발행기관
Royal Society
피인용수
37
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1098/rspa.2014.0564
토픽
Composite Material Mechanics
OpenAlex ID
W2111227503

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
porous media, two fluid flow, homogenization, water release curve, hydraulic conductivity
판단 근거
다공성 매질 내 두 액체(공기 및 물)의 흐름을 수학적으로 모델링하는 연구로, 코오롱인더스트리의 수소연료전지용 중공사막(5)이나 방수통기용 멤브레인(18)의 기공 구조 내 유체 거동 및 투과 성능을 예측하는 분석 모델로 응용 가능합니다.
R&D 활용 포인트
PEMFC용 중공사막이나 VENT 부품의 미세 기공 구조 설계 시, 실험 없이도 유체의 투과성 및 수분 제어 성능을 예측할 수 있는 수치 해석 모델로 활용 가능함.
평가 입력
본문 96,727자 중 30,032자 발췌

초록

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.

본문 96,727자

본문 펼치기
##### rspa.royalsocietypublishing.org ## Research Cite this article: Daly KR, Roose T. 2015 Homogenization of two fluid flow in porous media. _Proc.R.Soc.A_ 471 : 20140564. http://dx.doi.org/10.1098/rspa.2014.0564 Received: 23 July 2014 Accepted: 29 January 2015 Subject Areas: Environmental engineering, applied mathematics, mathematical modelling Keywords: porous media, Richards’ equation, homogenization Author for correspondence: K. R. Daly [e-mail: krd103@soton.ac.uk](mailto:krd103@soton.ac.uk) # flow in porous media #### K. R. Daly and T. Roose Faculty of Engineering and Environment, University of Southampton, Southampton SO17 1BJ, UK 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. ### 1. Introduction The macroscopic flow of multiple fluid phases in porous media, for example soil, is often described by Richards’ equation [1–3]. 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 [4–6] and the numerical solution [7,8]. Mathematically it has been shown, using the method of homogenization [9,10], that single phase flow in 2015 The Authors. Published by the Royal Society under the terms of the <u>[Creative Commons Attribution License http://creativecommons.org/licenses/](http://creativecommons.org/licenses/by/4.0/)</u> [by/4.0/,](http://creativecommons.org/licenses/by/4.0/) which permits unrestricted use, provided the original author and source are credited 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 [15–17] and vuggy porous structures [18–22]. 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,24–26]. 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 [27–29]. 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 [32–34]. 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 [38–40]. 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 ~~2~~ ~~3~~ _~_ _Lx_ _~_ _Ly_ fluid 0 ( _f_ = 0) fluid 1 ( _f_ = 1) <sup>_~_</sup> l Figure 1. Schematic of porous domain (left) with length scales <sup>˜</sup> _Ly_, the scale of one periodic unit cell, and <sup>˜</sup> _Lx_, 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 _λ_ <sup>˜</sup> . (Online version in colour.) Table 1. Dimensional variables. ~~symbol~~ ~~units~~ ~~description~~ ˜ _Lx_, ˜ _Ly_ m macroscopic and microscopic length scales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _λ_ ˜ m fluid–fluid interface thickness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _η_ ˜ <sup>(0)</sup>, _η_ ˜ <sup>(1)</sup>, _η_ ˜ Pa s viscosity of phase 0, phase 1 and the combined phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _ρ_ ˜ <sup>(0)</sup>, _ρ_ ˜ <sup>(1)</sup> kg m <sup>−3</sup> density of phase 0 and phase 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _γ_ ˜ N m <sup>−1</sup> surface tension at fluid–fluid interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _F_ ˜ _b_, ˜ _Fs_, ˜ _F_ N m bulk, surface and total free energies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _u_ ˜ <sup>(0)</sup>, ˜ _u_ <sup>(1)</sup>, ˜ _u_ m s <sup>−1</sup> velocity of phase 0, phase 1 and the combined phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _ζ_ ˜ kg m <sup>−3</sup> s <sup>−1</sup> fluid–fluid drag coefficient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _p_ ˜ kg m <sup>−1</sup> s <sup>−2</sup> combined fluid pressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _σ_ ˜ kg m <sup>−1</sup> s <sup>−2</sup> combined stress tensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _R_ ˜ N m s <sup>−1</sup> Rayleighian . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _μ_ ˜ kg m <sup>−1</sup> s <sup>−2</sup> capillary pressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _t_ ˜ s time coordinate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _x_ ˜ m space coordinate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ### 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 <sup>_ϵ_</sup> with boundary _∂_ B <sup>_ϵ_</sup> . We assume that B <sup>_ϵ_</sup> is connected and that _∂_ B <sup>_ϵ_</sup> is smooth. The geometry of the porous structure is of typical size _L_ <sup>˜</sup> _x_ and comprises a series of regularly repeating units of size (0, _L_ <sup>˜</sup> _y_ ) <sup>3</sup>, where _L_ <sup>˜</sup> _y/L_ <sup>˜</sup> _x_ = _ϵ_ ≪ 1. To model the interaction between two fluids we use the Cahn–Hilliard model [27–29]. 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 of fluid _j_ as _η_ ˜ <sup>(</sup> <sup>_j_</sup> <sup>)</sup> and _ρ_ ˜ <sup>(</sup> <sup>_j_</sup> <sup>)</sup>, respectively, for _j_ = {0, 1}. We consider the case _ρ_ ˜ <sup>(1)</sup> ≫˜ _ρ_ <sup>(0)</sup> 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 [27–31]. Specifically we write the bulk and surface free energies of the fluid as ~~4~~ _λ_ ˜ <sup>−1</sup> _f_ ( _φ_ ) + �� _λ_ ˜ 2 <sup>| ˜V</sup> <sup>_φ_</sup> <sup>|2</sup> d _x_ ˜ and _F_ ˜ _s_ = _α_ ˜ _γ_ _∂_ B <sup>_ϵ_</sup> <sup>_α_</sup> <sup>˜</sup> <sup>_γ h_</sup> <sup>(</sup> <sup>_φ_</sup> <sup>) d</sup> <sup>_x_</sup> <sup>˜,</sup> (2.1) _F_ ˜ _b_ = B <sup>_ϵ_</sup> √ where _f_ ( _φ_ ) = _φ_ <sup>2</sup> (1 − _φ_ ) <sup>2</sup>, _γ_ ˜ is the surface tension and _α_ = 6 √ where _f_ ( _φ_ ) = _φ_ <sup>2</sup> (1 − _φ_ ) <sup>2</sup>, _γ_ ˜ is the surface tension and _α_ = 6 2 scales the free energy such that _γ_ ˜ is √ ~~�~~ the total excess free energy. It can be shown [40] that _h_ ( _φ_ ) satisfies _h_ <sup>′</sup> ( _φ_ ) = 2 cos( _θ_ ) _f_ ( _φ_ ), where _θ_ 2 scales the free energy such that _γ_ ˜ is √ ~~�~~ the total excess free energy. It can be shown [40] that _h_ ( _φ_ ) satisfies _h_ <sup>′</sup> ( _φ_ ) = 2 cos( _θ_ ) _f_ ( _φ_ ), where _θ_ is the contact angle between the fluid–fluid interface and the surface of the porous matrix which is assumed constant and _h_ <sup>′</sup> ( _φ_ ) 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_ ˜ = <sup>_∂F_</sup> <sup>˜</sup> _∂t_ <sup>˜</sup> + B <sup>_ϵ_</sup> - <u>1</u> _ζ_ ˜ ( _u_ ˜ <sup>(0)</sup> −˜ _u_ <sup>(1)</sup> ) <sup>2</sup> + ( _σ_ ˜ −˜ _p_ −˜ _ρ_ _x_ ˜ 3 ˜ _g_ ) ˜V · _u_ ˜ 2 d _x_ ˜, (2.2) where _F_ <sup>˜</sup> = _F_ <sup>˜</sup> _b_ + _F_ <sup>˜</sup> _s_ is the total fluid free energy, _u_ ˜ <sup>(0)</sup> and _u_ ˜ <sup>(1)</sup> are the fluid velocities of fluid 0 and 1, respectively, _u_ ˜ = _φ_ ˜ _u_ <sup>(1)</sup> + (1 − _φ_ ) _u_ ˜ <sup>(0)</sup> is the combined velocity, _ζ_ <sup>˜</sup> is the drag coefficient between the two fluids, _σ_ ˜ = _η_ ˜[(V <sup>˜</sup> _u_ ˜ ) + (V <sup>˜</sup> _u_ ˜ ) <sup>T</sup> ] is the combined stress tensor, _g_ ˜ is the acceleration due to gravity and _η_ ˜( _φ_ ) is the phase-dependent viscosity which takes the values _η_ ˜(0) = _η_ ˜ <sup>(0)</sup> and _η_ ˜(1) = _η_ ˜ <sup>(1)</sup> in fluid 0 and fluid 1, respectively. Similarly, _ρ_ ˜( _φ_ ) is the phase-dependent density which takes the values _ρ_ ˜(0) = _ρ_ ˜ <sup>(0)</sup> and _ρ_ ˜(1) = _ρ_ ˜ <sup>(1)</sup> 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_ <sup>˜</sup> _∂_ <u>(1 −</u> _φ_ <u>)</u> = −V <sup>˜</sup> - ( _φ_ ˜ _u_ <sup>(1)</sup> ) and _∂t_ <sup>˜</sup> = −V <sup>˜</sup> - [(1 − _φ_ ) _u_ ˜ <sup>(0)</sup> ]. (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 B <sup>_ϵ_</sup> <sup>_φ_</sup> <sup>˜</sup> <sup>_u_</sup> <sup>(1) ·</sup> <sup>V˜</sup> <sup>{ ˜</sup> <sup>_γ α_</sup> <sup>[ ˜</sup> <sup>_λ_</sup> <sup>−1</sup> <sup>_f_</sup> <sup>′(</sup> <sup>_φ_</sup> <sup>) −˜</sup> <sup>_λ_</sup> <sup>˜∇2</sup> <sup>_φ_</sup> <sup>]} d</sup> <sup>_x_</sup> <sup>˜</sup> _R_ ˜ = B <sup>_ϵ_</sup> _∂_ B <sup>_ϵ_</sup> <sup>[</sup> <sup>_α_</sup> <sup>˜</sup> <sup>_γ_</sup> <sup>(</sup> <sup>_n_</sup> <sup>ˆ</sup> <sup>·</sup> <sup>_λ_</sup> <sup>˜V ˜</sup> <sup>_φ_</sup> <sup>+</sup> <sup>_h_</sup> <sup>′(</sup> <sup>_φ_</sup> <sup>))]</sup> <sup>_∂φ_</sup> _∂t_ <sup>˜</sup> <u>1</u> _ζ_ ˜ ( _u_ ˜ <sup>(0)</sup> −˜ _u_ <sup>(1)</sup> ) <sup>2</sup> + ( _σ_ ˜ −˜ _p_ −˜ _ρ_ _x_ ˜ 3 ˜ _g_ ) ˜V · _u_ ˜ d _x_ ˜ + 2 + d _x_ ˜, (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_ ˜ <sup>(1)</sup> and _u_ ˜ <sup>(0)</sup> and, after some algebra and application of the divergence theorem, obtain the Cahn–Hilliard–Stokes system of equations _∂φ_ _∂t_ <sup>˜</sup> + V <sup>˜</sup> - ( _φ_ ˜ _u_ ) = V <sup>˜</sup> �� _φ_ <sup>2</sup> <u>(1 −</u> _φ_ <u>)</u> <sup>2</sup> V˜ _μ_ ˜ _ζ_ ˜ , _x_ ˜ ∈ B <sup>_ϵ_</sup>, (2.5 _a_ ) V˜ - _σ_ ˜ - _φ_ ˜V _μ_ ˜ −˜V _p_ ˜ = _ρ_ ˜ ˜ _g_ _e_ ˆ3, _x_ ˜ ∈ B <sup>_ϵ_</sup>, (2.5 _b_ ) _ζ_ ˜ ( _u_ ˜ <sup>(0)</sup> −˜ _u_ <sup>(1)</sup> ) = (1 − _φ_ ) _φ_ ˜V _μ_ ˜, _x_ ˜ ∈ B <sup>_ϵ_</sup>, (2.5 _c_ ) _μ_ ˜ = _α_ ( _λ_ <sup>˜−1</sup> _f_ <sup>′</sup> ( _φ_ ) − _λ_ <sup>˜</sup> ∇ <sup>˜</sup> <sup>2</sup> _φ_ ), _x_ ˜ ∈ B <sup>_ϵ_</sup>, (2.5 _d_ ) combined with the no slip condition on the surface of the porous matrix _u_ ˜ = 0, _x_ ˜ ∈ _∂_ B <sup>_ϵ_</sup>, (2.5 _f_ ) the contact angle boundary condition derived from (2.4) _n_ ˆ - _λ_ <sup>˜</sup> V <sup>˜</sup> _φ_ = − _h_ <sup>′</sup> ( _φ_ ), _x_ ˜ ∈ _∂_ B <sup>_ϵ_</sup> (2.5 _g_ ) and a zero flux condition to ensure the total volume of each phase is conserved ~~5~~ _n_ ˆ �� _φ_ <sup>2</sup> <u>(1 −</u> _φ_ <u>)</u> <sup>2</sup> _ζ_ ˜ - V˜ ˜ _μ_ = 0, _x_ ˜ ∈ _∂_ B <sup>_ϵ_</sup> . (2.5 _h_ ) Here _μ_ ˜ is the capillary pressure which is defined in equation (2.5 _d_ ) 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 §2 _c_ . The additional condition, equation (2.5 _h_ ), 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) = _φ_ <sup>¯</sup> ( _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_ <sup>˜</sup> _y_ such that _x_ ˜ = _L_ <sup>˜</sup> _y_ _y_ and V = _L_ <sup>˜</sup> _y_ V <sup>˜</sup> . Using this scaling we define the unit cell _Y_ = (0, 1) <sup>3</sup> composed of a fluid part B with boundary _∂_ B. We introduce the non-dimensional velocity _u_ = [ _u_ ] <sup>−1</sup> _u_ ˜, pressure _p_ = [ _p_ ] <sup>−1</sup> _p_ ˜, capillary pressure _μ_ = [ _μ_ ] <sup>−1</sup> _μ_ ˜ and time _t_ = [ _t_ ] <sup>−1</sup> _t_ <sup>˜</sup>, where , [ _μ_ ] = <sup>_α_</sup> <sup>˜</sup> <sup>_γ_</sup> _L_ ˜ _y_ _<u>L</u>_ ˜ _<u>y</u>_ [ _u_ ] <sup>.</sup> (2.6) [ _u_ ] = _ρ_ <sup>(1)</sup> _g_ ˜ _L_ <sup>˜</sup> <sup>2</sup> _<u>y</u>_ <sup>(1)</sup> _g_ ˜ _L_ <sup>˜</sup> <sup>2</sup> _<u>y</u>_ [ _p_ ] = <sup><u>[</u></sup> <sup>_<u>u</u>_</sup> <sup><u>] ˜</u></sup> <sup>_η_</sup> <sup>(1)</sup> 4 _η_ ˜ <sup>(1)</sup> <sup>,</sup> _L_ ˜ _x_ _L_ ˜ _x_ , [ _t_ ] = We also introduce the dimensionless capillary number ( _Ca_ ), Peclet number ( _Pe_ ), Cahn number ( _λ_ ) and scaled gravitational force ( _g_ ): _λ_ ˜ _L_ ˜ _y_ , _g_ = 4 <sup>_ρ_</sup> <sup>˜(1)</sup> <sup>−˜</sup> <sup>_ρ_</sup> <sup>(0)</sup>, (2.7) _ρ_ ˜ <sup>(1)</sup> _<u>L</u>_ ˜ _<u>yL</u>_ ˜ _<u>xζ</u>_ ˜ <u>[</u> _<u>u</u>_ <u>]</u> , _λ_ = _α_ ˜ _γ_ _Ca_ = _<u>L</u>_ ˜ _<u>x</u>_ _L_ ˜ _y_ _η_ <sup>(1)</sup> <u>[</u> _<u>u</u>_ <u>]</u> , _Pe_ = _α_ ˜ _γ_ where we have used _ρ_ ˜ <sup>(0)</sup> _/ρ_ ˜ <sup>(1)</sup> ∼ _O_ ( _ϵ_ ), physically this is equivalent to neglecting the influence of gravity on the phase _φ_ = 0. Finally, we define the phase-dependent viscosity _η_ <sup>_η_</sup> ˜ <sup>˜(0)(1)</sup> <sup>+</sup> <sup>_η_</sup> <sup>˜(1)</sup> _η_ ˜ <sup>−˜(1)</sup> <sup>_η_</sup> <sup>(0)</sup> _η_ ( _φ_ ) = _η_ <sup>_η_</sup> ˜ <sup>˜(0)(1)</sup> _φ_ . (2.8) _η_ ˜ <sup>−˜(1)</sup> <sup>_η_</sup> <sup>(0)</sup> 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 [36,40]. Using these equations the scaled and dimensionless Cahn–Hilliard–Stokes equations are _∂φ_ <u>1</u> _∂t_ <sup>+</sup> <sup>_u_</sup> <sup>· V</sup> <sup>_φ_</sup> <sup>=</sup> _ϵPe_ <sup>V ·</sup> <sup>_M_</sup> <sup>V</sup> <sup>_μ_</sup> <sup>,</sup> _y_ ∈ B, (2.9 _a_ ) V · _σ_ - <sup><u>1</u></sup> _ϵ_ <sup>V</sup> <sup>_p_</sup> <sup>−</sup> _ϵ Ca_ <u>1</u> <sup>_φ_</sup> <sup>V</sup> <sup>_μ_</sup> <sup>=</sup> <sup>_φg_</sup> <sup>_e_</sup> <sup>ˆ3</sup> _y_ ∈ B, (2.9 _b_ ) ∇· _u_ = 0 _y_ ∈ B, (2.9 _c_ ) where _σ_ = _η_ [(∇ _u_ ) + (∇ _u_ ) <sup>T</sup> ] and _M_ = _φ_ <sup>2</sup> (1 − _φ_ ) <sup>2</sup> . We solve these equations subject to the boundary conditions _u_ = 0, _y_ ∈ _∂_ B, (2.9 _e_ ) _n_ ˆ - _λ_ V _φ_ = − _h_ <sup>′</sup> ( _φ_ ), _y_ ∈ _∂_ B, (2.9 _f_ ) and _n_ ˆ - _M_ V _μ_ = 0, _y_ ∈ _∂_ B (2.9 _g_ ) and the initial condition _φ_ ( _y_, 0) = _φ_ <sup>¯</sup> ( _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 _Ca_ ∼ _O_ (1) and _Pe_ ∼ _O_ (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 _ϵ_ <sup>−1</sup> . 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 §2 _c_ 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_ <sup>˜</sup> _x_ and describe the movement of these two fluids averaged over the length scale _L_ <sup>˜</sup> _y_, where _L_ <sup>˜</sup> _y/L_ <sup>˜</sup> _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_ <sup>˜</sup> _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 V = V _y_ + _ϵ_ V _x_, where V _x_ denotes the gradient operator on the macroscopic length scale and V _y_ denotes the gradient operator on the microscopic length scale. We also consider a set of different time scales _τ_ −1 = _ϵ_ <sup>−1</sup> _t_, _τ_ 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_ <sup>˜</sup> _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 ~~6~~ order _λ_ such that _λ_ ∇ <sup>2</sup> _φ_ balances _λ_ <sup>−1</sup> _f_ <sup>′</sup> ( _φ_ ). Hence, we expand the velocity, pressure and phase only in powers of _ϵ_, _u_ = _u_ 0 + _ϵ_ _u_ 1 + _O_ ( _ϵ_ <sup>2</sup> ), _p_ = _p_ 0 + _ϵp_ 1 + _O_ ( _ϵ_ <sup>2</sup> ), _φ_ = _φ_ 0 + _ϵφ_ 1 + _ϵ_ <sup>2</sup> _φ_ 2 + _O_ ( _ϵ_ <sup>3</sup> ). (2.10) We also expand the stress tensor, _σ_ = _σ_ 0 _y_ + _O_ ( _ϵ_ ), and the mobility _M_ = _M_ 0 + _ϵM_ 1 + _O_ ( _ϵ_ <sup>2</sup> ), where _σ_ 0 _y_ = (V _y_ _u_ 0) + (V _y_ _u_ 0) <sup>T</sup>, (2.11 _a_ ) ~~7~~ _M_ 0 = _M_ ( _φ_ 0) = _φ_ 0 <sup>2</sup> _δM_ 0 <sup>2(1 −</sup> <sup>_φ_</sup> <sup>0)2,</sup> (2.11 _b_ ) and _M_ 1 = _δφ_ ���� _φ_ = _φ_ 0 _φ_ 1 = 2 _φ_ 0(1 − _φ_ 0)(1 − 2 _φ_ 0) _φ_ 1 (2.11 _c_ ) and _μ_ = _μ_ 0 + _ϵμ_ 1 + _O_ ( _ϵ_ <sup>2</sup> ), where and _μ_ 0 = _λ_ <sup>−1</sup> _f_ <sup>′</sup> ( _φ_ 0) − _λ_ ∇ _y_ <sup>2</sup> <sup>_φ_</sup> <sup>0</sup> (2.11 _d_ ) _μ_ 1 = _λ_ <sup>−1</sup> _f_ <sup>′′</sup> ( _φ_ 0) _φ_ 1 − _λ_ (∇ _y_ <sup>2</sup> <sup>_φ_</sup> <sup>1</sup> <sup>+ V</sup> <sup>_y_</sup> <sup>· V</sup> <sup>_xφ_</sup> <sup>0</sup> <sup>+ V</sup> <sup>_x_</sup> <sup>· V</sup> <sup>_yφ_</sup> <sup>0).</sup> (2.11 _e_ ) We now substitute (2.10) and (2.11) into (2.9) and solve for ascending powers of _ϵ_ . (i) _O_ ( _ϵ_ <sup>−1</sup> ) problem Substituting equations (2.11) into (2.9) and collecting terms of order _ϵ_ <sup>−1</sup> we obtain _∂τ_ −1 _φ_ 0 − _Pe_ <sup>−1</sup> V _y_ - _M_ 0V _yμ_ 0 = 0, _y_ ∈ B, (2.12 _a_ ) and V _yp_ 0 + _Ca_ <sup>−1</sup> _φ_ 0V _yμ_ 0 = 0, _y_ ∈ B, (2.12 _b_ ) with the boundary conditions _n_ ˆ - _λ_ V _yφ_ 0 = − _h_ <sup>′</sup> ( _φ_ 0), _y_ ∈ _∂_ B, (2.12 _c_ ) and _n_ ˆ - _M_ 0V _yμ_ 0 = 0, _y_ ∈ _∂_ B, (2.12 _d_ ) the initial condition _φ_ 0( _x_, _y_, 0) = _φ_ <sup>¯</sup> ( _y_ ) and _p_ 0, _μ_ 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 _p_ 0 which are constant in _y_, hence, ∥B∥ _μ_ 0 = B <sup>_μ_</sup> <sup>0 d</sup> <sup>_y_</sup> <sup>,</sup> <sup>where</sup> <sup>∥B∥=</sup> B <sup>d</sup> <sup>_y_</sup> <sup>.</sup> <sup>We</sup> equations (2.12) describe the location of the fluid–fluid interface and are satisfied at steady state - for any _μ_ 0 and _p_ 0 which are constant in _y_, hence, ∥B∥ _μ_ 0 = B <sup>_μ_</sup> <sup>0 d</sup> <sup>_y_</sup> <sup>,</sup> <sup>where</sup> <sup>∥B∥=</sup> B <sup>d</sup> <sup>_y_</sup> <sup>.</sup> <sup>We</sup> note in passing that, at steady state, _φ_ 0 is a function of both _x_ and _y_ which we write as _φ_ 0 = _S_ ( _x_ ) + _φ_ 0 <sup>(</sup> <sup>_m_</sup> <sup>)</sup> ( _y_ ) where _φ_ 0 <sup>(</sup> <sup>_m_</sup> <sup>)</sup> is the modulated part of _φ_ 0 with zero average. Hence, the saturation is defined as B <sup>_μ_</sup> <sup>0 d</sup> <sup>_y_</sup> <sup>,</sup> <sup>where</sup> <sup>∥B∥=</sup> 0 <sup>(</sup> <sup>_m_</sup> <sup>)</sup> ( _y_ ) where _φ_ 0 <sup>(</sup> <sup>_m_</sup> <sup>)</sup> <u>1</u> _S_ = ∥B∥ B _φ_ 0 d _y_, (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_ ) = _p_ 0( _x_ ) + _Ca_ <sup>−1</sup> _φ_ 0( _y_ ) _μ_ 0( _x_ ), we can rewrite equation (2.12 _b_ ) as Following the method outlined in [32] we integrate equation (2.14) over a cylinder of height 2 _hλ_, 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_ ˆ _φ_ 0 _ps_ | _φ_ 0=1 −ˆ _n_ _φ_ 0 _ps_ | _φ_ 0=0 = _n_ ˆ _φ_ 0 _Ca_ <sup>−1</sup> _μ_ 0. (2.15) Here _n_ ˆ _φ_ 0 is a unit vector normal to the fluid–fluid interface. Hence we can write ~~8~~ _p_ 0( _x_ ) = _p_ <sup>(0)</sup> _s_ <sup>(0)</sup> _s_ <sup>(</sup> <sup>_x_</sup> <sup>) +</sup> <sup>_φ_</sup> 0 <sup>(</sup> <sup>_p_</sup> <sup>(1)</sup> _s_ <sup>(1)</sup> _s_ <sup>(</sup> <sup>_x_</sup> <sup>) −</sup> <sup>_p_</sup> <sup>(0)</sup> _s_ <sup>(0)</sup> _s_ <sup>(</sup> <sup>_x_</sup> <sup>) −</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_μ_</sup> 0 <sup>(</sup> <sup>_x_</sup> <sup>)),</sup> (2.16) where _ps_ <sup>(</sup> <sup>_j_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_j_</sup> <sup>)</sup> <sup>is the specific pressure in the</sup> <sup>_j_</sup> <sup>th fluid and, using equation (2.15), we find</sup> <sup>_p_</sup> 0 <sup>=</sup> <sup>_p_</sup> <sup>(0)</sup> _s_ where _ps_ <sup>(</sup> <sup>_j_</sup> <sup>)</sup> <sup>is the specific pressure in the</sup> <sup>_j_</sup> <sup>th fluid and, using equation (2.15), we find</sup> <sup>_p_</sup> 0 <sup>=</sup> <sup>_p_</sup> <sup>(0)</sup> _s_ <sup>, i.e.</sup> _p_ 0 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, _φ_ <sup>¯</sup> . For now we shall assume that we know _φ_ <sup>¯</sup> and, hence, _μ_ 0( _S_ ) can be determined and will revisit this point in §4. (ii) _O_ ( _ϵ_ <sup>0</sup> ) problem To proceed we collect terms of _O_ ( _ϵ_ <sup>0</sup> ) from the expansion of equation (2.9). First we consider the expansion of equation (2.9 _a_ ) and the corresponding boundary condition (2.9 _g_ ): _∂τ_ −1 _φ_ 1 + _∂τ_ 0 _φ_ 0 + _u_ 0 · V _yφ_ 0 - _Pe_ <sup>−1</sup> [V _y_ - _M_ 0V _yμ_ 1 + V _y_ - _M_ 0V _xμ_ 0 + V _y_ - _M_ 1V _yμ_ 0] = 0, _y_ ∈ B, (2.17 _a_ ) and _n_ ˆ - _M_ 1V _yμ_ 0 + _n_ ˆ - _M_ 0V _yμ_ 1 + _n_ ˆ - _M_ 0V _xμ_ 0 = 0, _y_ ∈ _∂_ B. (2.17 _b_ ) Before we proceed we note that _μ_ 0 ∼ _μ_ 0( _x_ ) such that V _yμ_ 0 = 0 and the terms involving _M_ 1 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.17 _a_ ) to exist, we require B ( _∂τ_ −1 _φ_ 1 + _∂τ_ 0 _φ_ 0) d _y_ = 0. (2.18) This is an equation for the� _τ_ −1 dependence of _φ_ 1 if we denote the volume average over the unit cell as ⟨·⟩= B <sup>· d</sup> <sup>_y_</sup> <sup>and integrate in</sup> <sup>_τ_</sup> <sup>−1</sup> <sup>between 0 and</sup> <sup>_T_</sup> <sup>−1</sup> <sup>we obtain</sup> ⟨ _φ_ 1( _T_ −1, _τ_ 0, _. . ._ )⟩−⟨ _φ_ 1(0, _τ_ 0, _. . ._ )⟩= _T_ −1 _∂τ_ 0 ⟨ _φ_ 0( _T_ −1, _τ_ 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 _u_ 0, _p_ 1, _φ_ 1 and _μ_ 1: _u_ 0 · V _yφ_ 0 − _Pe_ <sup>−1</sup> [V _y_ - _M_ 0V _yμ_ 1 + V _y_ - _M_ 0V _xμ_ 0] = 0, _y_ ∈ B, (2.20 _a_ ) V _y_ - _σ_ 0 _y_ - V _yp_ 1 − V _xp_ 0 − _Ca_ <sup>−1</sup> [ _φ_ 0V _yμ_ 1 + _φ_ 0V _xμ_ 0] = _φ_ 0 _g_ _e_ ˆ3, _y_ ∈ B, (2.20 _b_ ) and V _y_ - _u_ 0 = 0, _y_ ∈ B, (2.20 _c_ ) with boundary conditions _u_ 0 = 0, _y_ ∈ _∂_ B, (2.20 _d_ ) and _n_ ˆ - _M_ 0V _yμ_ 1 + _n_ ˆ - _M_ 0V _xμ_ 0 = 0, _y_ ∈ _∂_ B, (2.20 _e_ ) the correction to the phase can be found using the following equation for _φ_ 1, and ~~9~~ _n_ ˆ - _λ_ V _yφ_ 1 + _n_ ˆ - _λ_ V _xφ_ 0 + _h_ <sup>′′</sup> ( _φ_ 0) _φ_ 1 = 0, _y_ ∈ _∂_ B, (2.20 _g_ ) and are _u_ 0, _p_ 1, _μ_ 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 _u_ 0, _p_ 1, _φ_ 1 and _μ_ 1 and depend on _x_, _y_ and _S_ . Specifically _μ_ 0 is a function of saturation and, hence, _x_, _p_ 0 is a function of _x_ only and _φ_ 0 is a function of _y_ and _S_ . In order to find _u_ 0, _p_ 1, _φ_ 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 <sup>(</sup> <sup>_m_</sup> <sup>)</sup> ( _y_ ) the terms of the form V _x_ - V _yφ_ 0 = 0. We write the solution in the form - _N_ _k_ =1 - _N_ _k_ =1 _k_ <sup>_p∂xk_</sup> <sup>_p_</sup> <sup>0 +</sup> <sup>_κ_</sup> <sup>_gg_</sup> <sup>,</sup> _μ_ 1 = _k_ <sup>_p∂xk_</sup> <sup>_p_</sup> <sup>0 +</sup> <sup>_χ_</sup> <sup>_gg_</sup> <sup>,</sup> _χk_ <sup>_μ_</sup> _k_ <sup>_μ∂xk_</sup> <sup>_μ_</sup> <sup>0 +</sup> <sup>_χ_</sup> _k_ <sup>_p_</sup> ⎫ ⎪⎪⎪⎪⎪⎪⎬ ⎪⎪⎪⎪⎪⎪⎭ _u_ 0 = and _p_ 1 = _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_∂xk_</sup> <sup>_μ_</sup> <sup>0 +</sup> <sup>_κ_</sup> _k_ <sup>_p_</sup> _k_ <sup>_μ∂xk_</sup> <sup>_μ_</sup> <sup>0 +</sup> <sup>_ω_</sup> _k_ <sup>_p_</sup> (2.21) - _N_ _k_ =1 - _N_ _k_ =1 _ωk_ <sup>_μ_</sup> _k_ <sup>_p∂xk_</sup> <sup>_p_</sup> <sup>0 +</sup> <sup>_ωgg_</sup> <sup>,</sup> _φ_ 1 = _k_ <sup>_p∂xk_</sup> <sup>_p_</sup> <sup>0 +</sup> <sup>_ψ_</sup> <sup>_gg_</sup> <sup>,</sup> _ψk_ <sup>_μ_</sup> _k_ <sup>_μ∂xk_</sup> <sup>_μ_</sup> <sup>0 +</sup> <sup>_ψ_</sup> _k_ <sup>_p_</sup> where _χk_ <sup>_j_</sup> _k_ <sup>_j_</sup> <sup>,</sup> <sup>_κ_</sup> <sup>_j_</sup> _k_ <sup>_j_</sup> _k_ <sup>,</sup> <sup>_ω_</sup> _k_ <sup>_j_</sup> _k_ <sup>_j_</sup> <sup>and</sup> <sup>_ψ_</sup> _k_ <sup>_j_</sup> where _χk_ <sup>_j_</sup> <sup>,</sup> <sup>_κ_</sup> <sup>_j_</sup> _k_ <sup>,</sup> <sup>_ω_</sup> _k_ <sup>_j_</sup> <sup>and</sup> <sup>_ψ_</sup> _k_ <sup>_j_</sup> <sup>for</sup> <sup>_j_</sup> <sup>= {</sup> <sup>_μ_</sup> <sup>,</sup> <sup>_p_</sup> <sup>,</sup> <sup>_g_</sup> <sup>}</sup> <sup>are</sup> <sup>assumed</sup> <sup>periodic</sup> <sup>with</sup> <sup>period</sup> <sup>1.</sup> <sup>We</sup> <sup>note</sup> <sup>that</sup> <sup>the</sup> velocity written in the form of equation (2.21) is effectively a generalized Darcy’s law. The functions _χk_ <sup>_μ_</sup> <sup>,</sup> <sup>_κ_</sup> <sup>_μ_</sup> _k_ <sup>,</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> <sup>and</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> <sup>satisfy the cell problem originating from V</sup> <sup>_xμ_</sup> <sup>0</sup> _k_ <sup>_μ_</sup> <sup>,</sup> <sup>_κ_</sup> <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>,</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>and</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>satisfy the cell problem originating from V</sup> <sup>_xμ_</sup> <sup>0</sup> _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>· V</sup> <sup>_yφ_</sup> <sup>0 −</sup> <sup>_Pe_</sup> <sup>−1[V</sup> <sup>_y_</sup> <sup>·</sup> <sup>_M_</sup> <sup>0V</sup> <sup>_yχ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>+ V</sup> <sup>_y_</sup> <sup>·</sup> <sup>_M_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>] = 0,</sup> _y_ ∈ B, (2.22 _a_ ) V _y_ - _σk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>V</sup> <sup>_yω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_φ_</sup> <sup>0V</sup> <sup>_yχ_</sup> _k_ <sup>_μ_</sup> <sup>_χ_</sup> _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_φ_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>,</sup> V _y_ - _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B, (2.22 _b_ ) _κ_ <sup>_μ_</sup> _k_ _χk_ <sup>_μ_</sup> <sup>_μ_</sup> _k_ <sup>= 0,</sup> _n_ ˆ - _M_ 0V _yχk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>_λ_</sup> <sup>∇</sup> _y_ <sup>2</sup> _k_ <sup>_μ_</sup> <sup>+</sup> <sup>_n_</sup> <sup>ˆ</sup> <sup>·</sup> <sup>_M_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>= 0,</sup> _y_ ∈ _∂_ B, (2.22 _c_ ) _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_λ_</sup> <sup>−1</sup> <sup>_f_</sup> <sup>′′(</sup> <sup>_φ_</sup> <sup>0)</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> _y_ <sup>2</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>,</sup> _y_ ∈ B, (2.22 _d_ ) and _n_ ˆ - _λ_ V _yψk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>= −</sup> <sup>_h_</sup> <sup>′′(</sup> <sup>_φ_</sup> <sup>0)</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>,</sup> _y_ ∈ _∂_ B, (2.22 _e_ ) _k_ <sup>_p_</sup> <sup>,</sup> <sup>_ω_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>and</sup> <sup>_ψ_</sup> _k_ <sup>_p_</sup> where _σk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_η_</sup> <sup>[(V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>) + (V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_μ_</sup> _k_ <sup>)</sup> <sup>_μ_</sup> _k_ <sup>)T].</sup> <sup>The</sup> <sup>functions</sup> <sup>_χ_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>,</sup> <sup>_κ_</sup> _k_ <sup>_p_</sup> where _σk_ <sup>_μ_</sup> <sup>=</sup> <sup>_η_</sup> <sup>[(V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_μ_</sup> _k_ <sup>) + (V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_μ_</sup> _k_ <sup>)T].</sup> <sup>The</sup> <sup>functions</sup> <sup>_χ_</sup> _k_ <sup>_p_</sup> <sup>,</sup> <sup>_κ_</sup> _k_ <sup>_p_</sup> <sup>,</sup> <sup>_ω_</sup> _k_ <sup>_p_</sup> <sup>and</sup> <sup>_ψ_</sup> _k_ <sup>_p_</sup> <sup>satisfy</sup> <sup>the</sup> <sup>cell</sup> <sup>problem</sup> originating from V _xp_ 0 _κ_ <sup>_p_</sup> _k_ <sup>_p_</sup> _k_ <sup>· V</sup> <sup>_yφ_</sup> <sup>0 −</sup> <sup>_Pe_</sup> <sup>−1V</sup> <sup>_y_</sup> <sup>·</sup> <sup>_M_</sup> <sup>0V</sup> <sup>_yχ_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>= 0,</sup> _y_ ∈ B, (2.23 _a_ ) V _y_ - _σk_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>−</sup> <sup>V</sup> <sup>_yω_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>−</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_φ_</sup> <sup>0V</sup> <sup>_yχ_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>= ˆ</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>,</sup> V _y_ - _κ_ <sup>_p_</sup> _k_ <sup>_p_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B, (2.23 _b_ ) _κ_ <sup>_p_</sup> _k_ _χk_ <sup>_p_</sup> <sup>_p_</sup> _k_ <sup>= 0,</sup> _n_ ˆ - _M_ 0V _yχk_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>−</sup> <sup>_λ_</sup> <sup>∇</sup> _y_ <sup>2</sup> _k_ <sup>_p_</sup> <sup>= 0,</sup> _y_ ∈ _∂_ B, (2.23 _c_ ) _k_ <sup>_p_</sup> <sup>=</sup> <sup>_λ_</sup> <sup>−1</sup> <sup>_f_</sup> <sup>′′(</sup> <sup>_φ_</sup> <sup>0)</sup> <sup>_ψ_</sup> _k_ <sup>_p_</sup> _y_ <sup>2</sup> <sup>_ψ_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>,</sup> _y_ ∈ B, (2.23 _d_ ) and _n_ ˆ - _λ_ V _yψk_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>= −</sup> <sup>_h_</sup> <sup>′′(</sup> <sup>_φ_</sup> <sup>0)</sup> <sup>_ψ_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>,</sup> _y_ ∈ _∂_ B, (2.23 _e_ ) where _σk_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>=</sup> <sup>_η_</sup> <sup>[(V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_p_</sup> _k_ <sup>)</sup> <sup>_p_</sup> _k_ <sup>) + (V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_p_</sup> _k_ where _σk_ <sup>_p_</sup> <sup>=</sup> <sup>_η_</sup> <sup>[(V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_p_</sup> _k_ <sup>) + (V</sup> <sup>_y_</sup> <sup>_κ_</sup> <sup>_p_</sup> _k_ <sup>)T].</sup> <sup>The</sup> <sup>remaining</sup> <sup>functions</sup> <sup>_χ_</sup> <sup>_g_</sup> <sup>,</sup> <sup>_κ_</sup> <sup>_g_</sup> <sup>,</sup> <sup>_ωg_</sup> <sup>and</sup> <sup>_ψ_</sup> <sup>_g_</sup> <sup>satisfy</sup> <sup>the</sup> <sup>cell</sup> problem originating from _g_ : _κ_ <sup>_g_</sup> - V _yφ_ 0 − _Pe_ <sup>−1</sup> V _y_ - _M_ 0V _yχ_ <sup>_g_</sup> = 0, _y_ ∈ B, (2.24 _a_ ) V _y_ - _σ_ <sup>_g_</sup> - V _yω_ <sup>_g_</sup> - _Ca_ <sup>−1</sup> _φ_ 0V _yχ_ <sup>_g_</sup> = _φ_ 0 _e_ ˆ3, V _y_ - _κ_ <sup>_g_</sup> = 0, _y_ ∈ B, (2.24 _b_ ) _κ_ <sup>_g_</sup> = 0, _n_ ˆ - _M_ 0V _yχ_ <sup>_g_</sup> = 0, _y_ ∈ _∂_ B, (2.24 _c_ ) _χ_ <sup>_g_</sup> = _λ_ <sup>−1</sup> _f_ <sup>′′</sup> ( _φ_ 0) _ψ_ <sup>_g_</sup> - _λ_ ∇ _y_ <sup>2</sup> <sup>_ψ_</sup> <sup>_g_</sup> <sup>,</sup> _y_ ∈ B, (2.24 _d_ ) and _n_ ˆ - _λ_ V _yψ_ <sup>_g_</sup> = − _h_ <sup>′′</sup> ( _φ_ 0) _ψ_ <sup>_g_</sup>, _y_ ∈ _∂_ B, (2.24 _e_ ) where _σ_ <sup>_g_</sup> = _η_ [(V _y_ _κ_ <sup>_g_</sup> ) + (V _y_ _κ_ <sup>_g_</sup> ) <sup>T</sup> ]. (iii) _O_ ( _ϵ_ <sup>1</sup> ) 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 + _u_ 1 · V _yφ_ 0 + _u_ 0 · V _yφ_ 1 + _u_ 0 · V _xφ_ 0 - _Pe_ <sup>−1</sup> [V _y_ - _M_ 0(V _yμ_ 2 + V _xμ_ 1) + V _y_ - _M_ 1(V _yμ_ 1 + V _xμ_ 0) + V _x_ - _M_ 0(V _yμ_ 1 + V _xμ_ 0) + V _x_ - _M_ 1V _yμ_ 0 + V _y_ - _M_ 2V _yμ_ 0] = 0, _y_ ∈ B, (2.25 _a_ ) and V _y_ - _u_ 1 + V _x_ - _u_ 0 = 0, _y_ ∈ B, (2.25 _b_ ) with the relevant boundary conditions _u_ 1 = 0, _y_ ∈ _∂_ B, (2.25 _c_ ) and _n_ ˆ - _M_ 0(V _yμ_ 2 + V _xμ_ 1) + _n_ ˆ - _M_ 1(V _xμ_ 0 + V _yμ_ 1) + _n_ ˆ - _M_ 2V _yμ_ 0 = 0, _y_ ∈ _∂_ B, (2.25 _d_ ) where _φ_ 2 and _μ_ 2 are periodic with period 1. As in the _O_ ( _ϵ_ <sup>0</sup> ) case the final terms in equation (2.25 _a_ ) which contain multiples of V _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.25 _a_ ), applying the divergence theorem, and using equations (2.25 _b_ ), (2.25 _c_ ), (2.25 _d_ ) with equations (2.20 _c_ ) and (2.20 _d_ ) we find, after some algebra, ~~10~~ ∥B∥ <sup>_∂S_</sup> _∂τ_ 1 - V _x_ - [ _a_ ( _S_ ) _K_ ( _S_ )V _xS_ - _b_ ( _S_ )V _xp_ 0 − _bg_ ( _S_ ) _e_ ˆ3 _g_ ] = 0. (2.26) Similarly, we integrate equation (2.25 _b_ ) over B and, using the divergence theorem, obtain V _x_ - [ _a_ ( _S_ ) _K_ <sup>¯</sup> ( _S_ )V _xS_ - _b_ <sup>¯</sup> ( _S_ )V _xp_ 0 − _b_ <sup>¯</sup> _g_ ( _S_ ) _e_ ˆ3 _g_ ] = 0, (2.27) where the saturation-dependent parameters in equation (2.26) are _a_ ( _S_ ) = − <sup>_δμ_</sup> <sup><u>0</u></sup> _δS_ ⎫ ⎪⎪⎬ B ( _φ_ 0 _κ_ <sup>_μ_</sup> _k_ <sup>⊗ˆ</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>) d</sup> <sup>_y_</sup> <sup>+</sup> <sup>_O_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>),</sup> <sup><u>0</u></sup> _K_ ( _S_ ) = _δS_ <sup>,</sup> (2.28) B and _b_ ( _S_ ) = B ( _φ_ 0 _κ_ <sup>_p_</sup> _k_ <sup>⊗ˆ</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>) d</sup> <sup>_y_</sup> <sup>+</sup> <sup>_O_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>),</sup> _bg_ ( _S_ ) = ( _φ_ 0 _κ_ <sup>_p_</sup> _k_ ⎪⎪⎭ ( _φ_ 0 _κ_ <sup>_g_</sup> ⊗ˆ _e_ 3) d _y_ + _O_ ( _λ_ ). We have simplified equations (2.28) by taking the limit� _λ_ → 0. Hence, as _M_ 0 is only non-zero in a region of width _λ_, B <sup>_M_</sup> <sup>0 d</sup> <sup>_y_</sup> <sup>∼</sup> <sup>_λ_</sup> <sup>→</sup> <sup>0. The parameters in equation (2.27) are</sup> - _λ_ → 0. Hence, as _M_ B <sup>_M_</sup> <sup>0 d</sup> <sup>_y_</sup> <sup>∼</sup> <sup>_λ_</sup> <sup>→</sup> <sup>0. The parameters in equation (2.27) are</sup> B B _K_ ¯ ( _S_ ) = B _κ_ <sup>_μ_</sup> _k_ <sup>⊗ˆ</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>d</sup> <sup>_y_</sup> <sup>,</sup> _b_ ¯( _S_ ) = _κ_ <sup>_p_</sup> _k_ <sup>⊗ˆ</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>d</sup> <sup>_y_</sup> <sup>,</sup> _b_ ¯ _g_ ( _S_ ) = _κ_ <sup>_g_</sup> ⊗ˆ _e_ 3 d _y_ . (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_ <sup>¯</sup> ( _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_ <sup>¯</sup> ( _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 ∥B∥ <sup>_∂S_</sup> _∂τ_ 1 - V _x_ - { _a_ ( _S_ ) _K_ ( _S_ )V _xS_ + _bg_ ( _S_ ) _e_ ˆ3 _g_ } = 0. (2.30) Equation (2.30) is the saturation form of Richards’ equation which is valid assuming _K_ <sup>¯</sup> ( _S_ ) ≪ _b_ <sup>¯</sup> ( _S_ ) 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, _κ_ <sup>_μ_</sup> _k_ <sup>,</sup> <sup>_κ_</sup> _k_ <sup>_p_</sup> <sup>and</sup> <sup>_κ_</sup> <sup>_gδμ_</sup> <sup>0</sup> <sup>_/δS_</sup> <sup>must be found</sup> <sup>_μ_</sup> _k_ <sup>,</sup> <sup>_κ_</sup> _k_ <sup>_p_</sup> equations (2.26) and (2.27) in terms of _μ_ 0. The functions _φ_ 0, _κ_ <sup>_μ_</sup> _k_ <sup>,</sup> <sup>_κ_</sup> _k_ <sup>_p_</sup> <sup>and</sup> <sup>_κ_</sup> <sup>_gδμ_</sup> <sup>0</sup> <sup>_/δS_</sup> <sup>must be found</sup> 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. ~~11~~ ### 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 [32–34]. 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.11 _d_ ), 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.11 _d_ ) in radial coordinates we obtain _∂φ_ _∂r_ _λ_ <sup>2</sup> _∂_ <sup>2</sup> _φ_ _∂_ <sup>2</sup> _φ_ _∂r_ <sup>2</sup> <sup>+</sup> <sup>_<u>N</u>_</sup> <sup>−</sup> _r_ <sup><u>1</u></sup> _r_ - _f_ <sup>′</sup> ( _φ_ ) = _λ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 _r_ ∼ _rb_ . 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 _φ_ <sup>(</sup> <sup>_o_</sup> <sup>−)</sup> for _r < rb_ and _φ_ <sup>(</sup> <sup>_o_</sup> <sup>+)</sup> for _r > rb_ . The solution in the inner region is denoted _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> . Neglecting terms _O_ ( _λ_ ) we find _f_ <sup>′</sup> ( _φ_ <sup>(</sup> <sup>_o_</sup> <sup>−)</sup> ) = _f_ <sup>′</sup> ( _φ_ <sup>(</sup> <sup>_o_</sup> <sup>+)</sup> ) = 0. For the inner region we rescale _ρ_ = _λ_ <sup>−1</sup> ( _r_ - _rb_ ) to obtain _∂_ <sup>2</sup> _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>2</sup> _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + <sup>_λ_</sup> <sup><u>(</u></sup> <sup>_<u>N</u>_</sup> <sup>−</sup> <sup><u>1)</u></sup> _∂ρ_ <sup>2</sup> _rb_ - _λρ_ _∂φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> - _f_ <sup>′</sup> ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) = _λC_, (3.2) _∂ρ_ _rb_ - _λρ_ with the boundary conditions _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> → _φ_ <sup>(</sup> <sup>_o_</sup> <sup>−)</sup> as _ρ_ →−∞ and _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> → _φ_ <sup>(</sup> <sup>_o_</sup> <sup>+)</sup> as _ρ_ →∞. We expand _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _φ_ 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+</sup> <sup>_λφ_</sup> 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+</sup> <sup>_O_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>2) and substitute into equation (3.2) to obtain the planar interface solution</sup> 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+</sup> <sup>_λφ_</sup> 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+</sup> <sup>_O_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>2) and substitute into equation (3.2) to obtain the planar interface solution</sup> at leading order, i.e. _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> 0 <sup>satisfies</sup> _∂_ <sup>2</sup> _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <u>0</u> _f_ <sup>′</sup> ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) 0 (3 3) with _φ_ 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>→</sup> <sup>_φ_</sup> <sup>(</sup> <sup>_o_</sup> <sup>−)</sup> <sup>as</sup> <sup>_ρ_</sup> <sup>→−∞</sup> <sup>and</sup> <sup>_φ_</sup> 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>→</sup> <sup>_φ_</sup> <sup>(</sup> <sup>_o_</sup> <sup>+)</sup> <sup>as</sup> <sup>_ρ_</sup> <sup>→∞. Solving for</sup> <sup>_φ_</sup> 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>we find</sup> ~~12~~ _φ_ 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>=</sup> <sup><u>1</u></sup> 2 - - _ρ_ 1 + tanh ~~√~~ 2 �� . (3.4) Expanding to order _λ_ we obtain _∂_ <sup>2</sup> _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <u>1</u> 0 <sup>(</sup> <sup>_i_</sup> <sup>))</sup> <sup>_φ_</sup> 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>=</sup> <sup>_C_</sup> <sup>−</sup> <sup><u>(</u></sup> <sup>_<u>N</u>_</sup> <sup>−</sup> <sup><u>1)</u></sup> _rb_ _∂φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∂ρ_ <u>0</u> <sup>,</sup> (3.5) _∂ρ_ <sup>2</sup> <u>1</u> - _f_ <sup>′′</sup> ( _φ_ 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>→</sup> <sup>_φ_</sup> 1 <sup>(</sup> <sup>_o_</sup> <sup>±)</sup> for _ρ_ →±∞. Equation (3.5) is a linear equation of the form _Lφ_ 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> with _φ_ 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> with _φ_ 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>→</sup> <sup>_φ_</sup> 1 <sup>(</sup> <sup>_o_</sup> <sup>±)</sup> for _ρ_ →±∞. Equation (3.5) is a linear equation of the form _Lφ_ 1 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>=</sup> <sup>_S_</sup> <sup>.</sup> <sup>In</sup> <sup>order</sup> that a solution exists we require that ⟨ _ψ_, _S_ ⟩= 0 for _ψ_ ∈ ker( _L_ <sup>†</sup> ), where the superscript † denotes the adjoint. In this case _L_ is self adjoint and its kernel is spanned by the function _∂φ_ 0 <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_/∂ρ_</sup> <sup>. Therefore,</sup> after some algebra, we find √ √ _μ_ 0 = <u>2(</u> _<u>N</u>_ - <u>1)</u> + _O_ ( _λ_ <sup>2</sup> ). (3.6) 6 _rb_ 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_ = _S_ ∥B∥ for low saturation and _V_ = (1 − _S_ )∥B∥ for saturation close to 1 hence �1 _/_ 3 . (3.7) _rb_ = <u>3</u> _<u>V</u>_ 2 + 3 sin _θ_ - sin <sup>3</sup> _θ_ 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 _M_ 0 = 0 and equations (2.22) simplify to the Stokes problem V _y_ - _σk_ <sup>_μ_</sup> V _y_ - _σk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>V</sup> <sup>_yω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>V</sup> <sup>_yω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>= 0,</sup> V _y_ - _κ_ <sup>_μ_</sup> _k_ _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>,</sup> V _y_ - _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B1, (3.8 _b_ ) <sup>_μ_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B0, (3.8 _a_ ) and _κ_ <sup>_μ_</sup> _k_ <sup>= 0</sup> _y_ ∈ _∂_ B, (3.8 _c_ ) 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_ <sup>_μ_</sup> <sup>and</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> <sup>are undefined. Equations (3.8) require a pair of boundary conditions at the</sup> interface between B0 and B1. To determine these conditions we rescale space with the interface thickness, V _y_ = _λ_ <sup>−1</sup> V _z_, to obtain _λ_ <sup>−1</sup> _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>· V</sup> <sup>_zφ_</sup> <sup>0 −</sup> <sup>_Pe_</sup> <sup>−1[</sup> <sup>_λ_</sup> <sup>−2V</sup> <sup>_z_</sup> <sup>·</sup> <sup>_M_</sup> <sup>0V</sup> <sup>_zχ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>+</sup> <sup>_λ_</sup> <sup>−1V</sup> <sup>_z_</sup> <sup>·</sup> <sup>_M_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>] = 0,</sup> _z_ ∈ B, (3.9 _a_ ) V _y_ - _σk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>_λ_</sup> <sup>−1V</sup> <sup>_zω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>_λ_</sup> <sup>−1</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_φ_</sup> <sup>0V</sup> <sup>_zχ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_φ_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>,</sup> _λ_ <sup>−1</sup> V _z_ - _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>= 0,</sup> _z_ ∈ B, (3.9 _b_ ) <sup>_μ_</sup> _k_ <sup>= 0,</sup> _n_ ˆ _λ_ <sup>−1</sup> - _M_ 0V _zχk_ <sup>_μ_</sup> _κ_ <sup>_μ_</sup> _k_ _χk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−∇</sup> _z_ <sup>2</sup> _k_ <sup>_μ_</sup> <sup>+</sup> <sup>_n_</sup> <sup>ˆ</sup> <sup>·</sup> <sup>_M_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>= 0,</sup> _z_ ∈ _∂_ B, (3.9 _c_ ) _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_λ_</sup> <sup>−1(</sup> <sup>_f_</sup> <sup>′′(</sup> <sup>_φ_</sup> <sup>0)</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> _z_ <sup>2</sup> <sup>_ψ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>),</sup> _z_ ∈ B, (3.9 _d_ ) We find a balance by scaling _ωk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_λ_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>and</sup> <sup>_χ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_χ_</sup> <sup>¯</sup> _k_ <sup>_μ_</sup> ~~13~~ We find a balance by scaling _ωk_ <sup>_μ_</sup> <sup>=</sup> <sup>_λ_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> <sup>and</sup> <sup>_χ_</sup> _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_χ_</sup> <sup>¯</sup> _k_ <sup>_μλ_</sup> <sup>. In order to obtain the appropriate interface</sup> conditions, we integrate equation (3.9 _b_ ) over a cylinder of volume _V_ and height 2 _hλ_, where _h_ ≫ 1, centred about the interface. Applying the divergence theorem and taking the limit _λ_ → 0 we obtain the condition _n_ ˆ _φ_ 0 - [ _σk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>_Iω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>]|</sup> <sup>_φ_</sup> <sup>0=1 −ˆ</sup> <sup>_n_</sup> <sup>_φ_</sup> <sup>0</sup> <sup>· [</sup> <sup>_σ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>_Iω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>]|</sup> <sup>_φ_</sup> <sup>0=0 =</sup> <sup>_n_</sup> <sup>ˆ</sup> <sup>_φ_</sup> <sup>0</sup> <sup>_χ_</sup> <sup>¯</sup> _k_ <sup>_μ_</sup> (3.10) _k_ <sup>_μ_</sup> <sup>,</sup> 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.9 _a_ ) over _V_ to obtain _κ_ <sup>_μ_</sup> _k_ _k_ <sup>_μ_</sup> <sup>+ V</sup> <sup>_z_</sup> <sup>·</sup> <sup>_M_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>] d</sup> <sup>_z_</sup> <sup>= 0.</sup> (3.11) _V_ <sup>_μ_</sup> _k_ <sup>· V</sup> <sup>_zφ_</sup> <sup>0 −</sup> <sup>_Pe_</sup> <sup>−1[V</sup> <sup>_z_</sup> <sup>·</sup> <sup>_M_</sup> <sup>0V</sup> <sup>_z_</sup> <sup>¯</sup> <sup>_χ_</sup> _k_ <sup>_μ_</sup> We denote the end facets of the cylinder _S_ 0 in the region _φ_ 0 = 0 and _S_ 1 in the region _φ_ 0 = 1 and the cylinder side surface _�S_ . Applying the divergence theorem, using equation (3.9 _b_ ) and _M_ 0(1) = _M_ 0(0) = 0 gives us the condition _n_ ˆ - _κ_ <sup>_μ_</sup> _k_ <sup>d</sup> <sup>_z_</sup> <sup>−</sup> <sup>_Pe_</sup> <sup>−1</sup> _n_ ˆ - _κ_ <sup>_μ_</sup> _k_ _n_ ˆ - ( _M_ 0V _z_ ¯ _χk_ <sup>_μ_</sup> <sup>+</sup> <sup>_M_</sup> <sup>0</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>) d</sup> <sup>_z_</sup> <sup>= 0,</sup> (3.12) _�S_ _S_ 1 where we have used continuity of velocity to simplify the integrals. Finally, observing that variation in _χ_ <sup>_μ_</sup> _k_ <sup>tangential to the boundary is small and may be neglected at this order we obtain</sup> the boundary condition _n_ ˆ _φ_ 0 - _κ_ <sup>_μ_</sup> _k_ <sup>|</sup> <sup>_φ_</sup> <sup>0=1 = 0.</sup> (3.13) Hence, if we define the fluid–fluid interface as _∂_ B _I_ we obtain the cell problem in the limit _λ_ → 0 V _y_ - _σk_ <sup>_μ_</sup> V _y_ - _σk_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>V</sup> <sup>_y_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>V</sup> <sup>_y_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>= 0,</sup> V _y_ - _κ_ <sup>_μ_</sup> _k_ _k_ <sup>_μ_</sup> <sup>=</sup> <sup>_Ca_</sup> <sup>−1</sup> <sup>_e_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>,</sup> V _y_ - _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B1 (3.14 _b_ ) <sup>_μ_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B0, (3.14 _a_ ) _κ_ <sup>_μ_</sup> _k_ <sup>= 0,</sup> _y_ ∈ _∂_ B, (3.14 _c_ ) _n_ ˆ _φ_ 0 - [ _σk_ <sup>_μ_</sup> _σk_ <sup>_μ_</sup> <sup>−</sup> <sup>_I_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>]|</sup> <sup>_φ_</sup> <sup>0=1 −ˆ</sup> <sup>_n_</sup> <sup>_φ_</sup> <sup>0</sup> <sup>· [</sup> <sup>_σ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>−</sup> <sup>_I_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>]|</sup> <sup>_φ_</sup> <sup>0=0 =</sup> <sup>_n_</sup> <sup>ˆ</sup> <sup>_φ_</sup> <sup>0</sup> <sup>_χ_</sup> <sup>¯</sup> _k_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> <sup>,</sup> _y_ ∈ _∂_ B _I_, (3.14 _d_ ) _τ_ ˆ _q_ - _κ_ <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>|</sup> <sup>_φ_</sup> <sup>0=0 =</sup> <sup>_τ_</sup> <sup>ˆ</sup> <sup>_q_</sup> <sup>·</sup> <sup>_κ_</sup> <sup>_μ_</sup> _k_ <sup>_μ_</sup> _k_ <sup>|</sup> <sup>_φ_</sup> <sup>0=1,</sup> _y_ ∈ _∂_ B _I_ (3.14 _e_ ) and _n_ ˆ _φ_ 0 - _κ_ <sup>_μ_</sup> _k_ <sup>|</sup> <sup>_φ_</sup> <sup>0=1 = 0,</sup> _y_ ∈ _∂_ B _I_, (3.14 _f_ ) where _τ_ ˆ _q_ for _q_ = {1, 2} is a unit vector tangent to the interface _∂_ B _I_ . Similarly, we find that _κ_ <sup>_g_</sup> = _Ca_ _κ_ <sup>_μ_</sup> 3 <sup>,</sup> <sup>_ωg_</sup> <sup>=</sup> <sup>_Caω_</sup> 3 <sup>_μ_</sup> <sup>and</sup> <sup>_χ_</sup> <sup>_g_</sup> <sup>=</sup> <sup>_Caχ_</sup> 3 <sup>_μ_</sup> <sup>and</sup> <sup>we</sup> <sup>obtain</sup> <sup>the</sup> <sup>cell</sup> <sup>problem</sup> <sup>for</sup> <sup>the</sup> <sup>pressure</sup> <sup>driven</sup> velocity field V _y_ - _σk_ <sup>_p_</sup> V _y_ - _σk_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>−</sup> <sup>V</sup> <sup>_y_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>−</sup> <sup>V</sup> <sup>_y_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>= ˆ</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>,</sup> V _y_ - _κ_ <sup>_p_</sup> _k_ _k_ <sup>_p_</sup> <sup>= ˆ</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>,</sup> V _y_ - _κ_ <sup>_p_</sup> _k_ <sup>_p_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B0, (3.15 _a_ ) <sup>_p_</sup> _k_ <sup>= 0,</sup> _y_ ∈ B1, (3.15 _b_ ) _κ_ <sup>_p_</sup> _k_ <sup>= 0,</sup> _y_ ∈ _∂_ B, (3.15 _c_ ) _n_ ˆ _φ_ 0 - [ _σk_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>−</sup> <sup>_I_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>]|</sup> <sup>_φ_</sup> <sup>0=1 −ˆ</sup> <sup>_n_</sup> <sup>_φ_</sup> <sup>0</sup> <sup>· [</sup> <sup>_σ_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>−</sup> <sup>_I_</sup> <sup>¯</sup> <sup>_ω_</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>]|</sup> <sup>_φ_</sup> <sup>0=0 =</sup> <sup>_n_</sup> <sup>ˆ</sup> <sup>_φ_</sup> <sup>0</sup> <sup>_χ_</sup> <sup>¯</sup> _k_ <sup>_p_</sup> _k_ <sup>_p_</sup> <sup>,</sup> _y_ ∈ _∂_ B _I_, (3.15 _d_ ) and _τ_ ˆ _q_ - _κ_ <sup>_p_</sup> _k_ <sup>_p_</sup> _k_ <sup>|</sup> <sup>_φ_</sup> <sup>0=0 =</sup> <sup>_τ_</sup> <sup>ˆ</sup> <sup>_q_</sup> <sup>·</sup> <sup>_κ_</sup> <sup>_p_</sup> _k_ <sup>_p_</sup> _k_ <sup>|</sup> <sup>_φ_</sup> <sup>0=1,</sup> _n_ ˆ _φ_ 0 - _κ_ <sup>_p_</sup> _k_ <sup>_p_</sup> _k_ <sup>|</sup> <sup>_φ_</sup> <sup>0=1 = 0,</sup> _y_ ∈ _∂_ B _I_ . (3.15 _e_ ) 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 ( _a_ ) ( _b_ ) ( _c_ ) ( _d_ ) 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.) 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 twodimensional 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 <sup>◦</sup> [43]. Hence, we consider contact angles of 70 <sup>◦</sup>, 90 <sup>◦</sup> and 110 <sup>◦</sup> as this range of angles provides a clear picture of how the capillary pressure varies near 90 <sup>◦</sup> . We then consider a simplified three-dimensional geometry with 90 <sup>◦</sup> 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 2 _a_ 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%. The water release curve which results from this process is shown in figure 3 for contact angles of 70 <sup>◦</sup>, 90 <sup>◦</sup> and 110 <sup>◦</sup> . 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, ~~14~~ 0.020 0.015 0.010 0.005 0 –0.005 –0.010 –0.015 –0.020 70° contact angle 90° contact angle 110° contact angle wetting curve drying curve ~~15~~ 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 saturation 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 saturation 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 saturation Figure3. Waterreleasecurvefor70 <sup>◦</sup>,90 <sup>◦</sup> and110 <sup>◦</sup> contactangle,showingthewettinganddryingcurvesforthethreedifferent contactangles.Eachsubplotshowsthreeregionswhichareseparatedbytheblackdottedlines:R1(theleftmostregion)andR3 (therightmostregion)inwhichthebubblesolutionisvalidandR2(themiddleregion)whichexhibitshysteresisandisstrongly geometry dependent. (Online version in colour.) calculated using equations (2.12) are shown for the 90 <sup>◦</sup> 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. 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 <sup>◦</sup> 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 2 _a_ . 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 2 _b_ . 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 2 _c_ . This solution remains valid until the air film becomes too thin and the solution collapses to the air bubble solution shown in figure 2 _d_ . 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 _η_ ˜ <sup>(0)</sup> = 20 × 10 <sup>−6</sup> Pa s and _η_ ˜ <sup>(1)</sup> = 10 <sup>−3</sup> Pa s corresponding to the viscosity of air and water, respectively. For simplicity, we take _Ca_ = _Pe_ = 1 and _θ_ = 90 <sup>◦</sup> . 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_ <sup>¯</sup> ( _S_ ) and _b_ <sup>¯</sup> ( _S_ ), are shown in figure 5. 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 4 _a_, 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 4 _b_, 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 4 _c_ . This is observed when the air trapped between a pair of particles expands so much that ~~16~~ wetting curve drying curve 0 0.2 0.4 0.6 0.8 1.0 saturation ( _a_ ) ( _b_ ) ( _c_ ) ( _d_ ) ( _e_ ) _x_ _y_ _z_ 0.015 0.010 0.005 0 –0.005 –0.010 –0.015 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%saturationand( _e_ )5%saturation.Theblackdottedlinesonthewaterreleasecurve(right-handsideimage) 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.) _b_ ( _S_ ) <u>× 10</u> <sup>–3</sup> _b_ ( _S_ ) <u>× 10</u> <sup>–3</sup> _K_ ( _S_ ) <u>× 10</u> <sup>–3</sup> _K_ ( _S_ ) <u>× 10</u> <sup>–3</sup> <u>× 10</u> <sup>–3</sup> 0.020 1.2 <u>× 10</u> <sup>–3</sup> 0.015 0.010 0.005 0 0.020 0.015 0.010 0.005 0 0.020 0.015 0.010 0.005 <u>× 10</u> <sup>–3</sup> 1.2 1.0 0.8 0.6 0.4 0.2 0 1.2 1.0 0.8 0.6 0.4 0.2 0 <u>× 10</u> <sup>–3</sup> 1.2 1.0 0.8 0.6 0.4 0.2 0 1.2 1.0 0.8 0.6 0.4 0.2 0 <u>× 10</u> <sup>–3</sup> <u>× 10</u> <sup>–3</sup> <u>× 10</u> <sup>–3</sup> <u>× 10</u> <sup>–3</sup> 1.2 1.0 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1.0 _S_ wetting curve drying curve 1.0 0.8 0.6 0.4 0.2 0 1.2 1.0 0.8 0.6 0.4 0.2 0 1.2 1.0 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1.0 _S_ 0 0.2 0.4 0.6 0.8 1.0 _S_ 1.2 1.0 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1.0 _S_ Figure 5. Effective diffusivity as a function of saturation for wetting and drying curves. Note the function _b_ <sup>¯</sup> ( _S_ ) uses a different scale to _b_ ( _S_ ), _K_ ( _S_ ) and _K_ <sup>¯</sup> ( _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.) to decrease, the solution changes again to the one shown in figure 4 _d_ 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_ <sup>¯</sup> ( _S_ ) are zero for _S_ = 0 and increase 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 4 _a_ 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 4 _b_, _c_ with discontinuities visible in the diffusivity curves. These are most visible in the _K_ ( _S_ ) and _K_ <sup>¯</sup> ( _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 4 _c_ . 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_ <sup>¯</sup> ( _S_ ) and _K_ ( _S_ ) decrease monotonically from this point to 0 at _S_ = 0. The function _b_ <sup>¯</sup> ( _S_ ) increases monotonically from this point to reach the phase 0 diffusivity at _S_ = 0. The value of _b_ <sup>¯</sup> ( _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_ <sup>¯</sup> ( _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 ~~17~~ 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 <sup>◦</sup> . Similarly, the solutions pictured for the three-dimensional case, see figure 4, are equally valid if the solution is rotated by 90 <sup>◦</sup> 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. Data accessibility. The corresponding author may be contacted for the Comsol implementation of the computational method described in this work. 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. 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. 2. Marle C. 1981 _Multiphase flow in porous media_ . Paris, France: Éditions technip. 3. Hornung U. 1996 _Homogenization and porous media_ . New York, NY: Springer. 4. Miyazaki T. 2006 _Water flow in soils_ . London, UK: CRC Press, Taylor and Francis. 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, ~~18~~ 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)](http://dx.doi.org/doi:10.1139/t05-071) 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)](http://dx.doi.org/doi:10.1137/100782887) 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. 9. Pavliotis GA, Stuart AM. 2000 _Multiscale_ _methods_ _averaging_ _and_ _homogenization_ . New York: Springer. 10. Cioranescu D, Donato P. 2000 _Introduction_ _to_ _homogenization._ Oxford, UK: Oxford University Press. 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. 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. 13. Ene HI, Poliserverski. D. 1987 _Thermal_ _flow_ _in_ _porous_ _media_ . Norwell, MA: Kluwer Academic Publishers. 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. 15. Arbogast T, Douglas Jr J, 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)](http://dx.doi.org/doi:10.1137/0521046) 16. Panfilov M. 2000 _Macroscale models of flow through highly hetrogeneous porous media_ . Dordrecht, The Netherlands: Kluwer Academic Publishers. 17. Lewandowska J, Szymkiewicz A, Burzy´nski 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)](http://dx.doi.org/doi:10.1016/j.advwatres.2003.12.004) 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)](http://dx.doi.org/doi:10.1016/0020-7225%0x2875%0x2990054-3) 19. Beavers GS, Joseph DD. 1967 Boundary conditions at a naturally permeable wall. _J. Fluid Mech_ 30 [, 197–207. (doi:10.1017/S0022112067001375)](http://dx.doi.org/doi:10.1017/S0022112067001375) 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)](http://dx.doi.org/doi:10.1007/s10596-006-9024-8) 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/](http://dx.doi.org/doi:10.1007/s10596-007-9043-0) [s10596-007-9043-0)](http://dx.doi.org/doi:10.1007/s10596-007-9043-0) 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)](http://dx.doi.org/doi:10.1098/rspa.2013.0383) 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)](http://dx.doi.org/doi:10.1002/2014WR016020) 24. Leverett MC. 1939 Flow of oil-water mixtures through unconsolidated sands. _Trans._ _AIME_ 132 [, 149–171. (doi:10.2118/939149-G)](http://dx.doi.org/doi:10.2118/939149-G) 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)](http://dx.doi.org/doi:10.1007/s10596-011-9266-y) 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.](http://dx.doi.org/doi:10.2136/sssaj1980.03615995004400050002x) [03615995004400050002x)](http://dx.doi.org/doi:10.2136/sssaj1980.03615995004400050002x) 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)](http://dx.doi.org/doi:10.1063/1.1744102) 28. Cahn JW. 1959 Free energy of a nonuniform system. II. Thermodynamic basis. _J. Chem. Phys._ 30 [, 1121–1124. (doi:10.1063/1.1730145)](http://dx.doi.org/doi:10.1063/1.1730145) 29. Cahn JW, Hilliard JE. 1959 Free energy of a nonuniform system. iii. Nucleation in a twocomponent incompressible fluid. _J. Chem. Phys._ 31 [, 688–699. (doi:10.1063/1.1730447)](http://dx.doi.org/doi:10.1063/1.1730447) 30. Tanaka H. 1997 Viscoelastic model of phase separation. _Phys.Rev._ _E_ 56, 4451. [(doi:10.1103/PhysRevE.56.4451)](http://dx.doi.org/doi:10.1103/PhysRevE.56.4451) 31. Roose T, Fowler AC. 2008 Network development in biological gels: role in lymphatic vessel ~~19~~ 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)](http://dx.doi.org/doi:10.1146/annurev.fluid.30.1.139) 33. Caginalp G. 1989 Stefan and hele-shaw type models as asymptotic limits of the phase-field equations. _Phys. Rev. A_ 39, 5887–5896. 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)](http://dx.doi.org/doi:10.1137/S0036139995282918) 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)](http://dx.doi.org/doi:10.1098/rspa.2012.0020) 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)](http://arxiv.org/abs/1210.6391) 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)](http://dx.doi.org/doi:10.1016/j.compgeo.2008.08.001) 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)](http://dx.doi.org/doi:10.1006/jcph.1999.6332) 39. Jacqmin D. 2000 Contact-line dynamics of a diffuse fluid interface. _J._ _Fluid_ _Mech._ 402, 57–88. [(doi:10.1017/S0022112099006874)](http://dx.doi.org/doi:10.1017/S0022112099006874) 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)](http://dx.doi.org/doi:10.1103/PhysRevE.75.046708) 41. Banks HT, Cioranescu D, Miller RE. 1996 Asymptotic study of lattice structures with damping. _Portugaliae Math.,_ 53, 209–228. 42. King AC, Billingham J, Otto SR. 2003 _Differential_ _equations:_ _linear,_ _nonlinear,_ _ordinary,_ _partial_ . Cambridge, UK: Cambridge University Press. 43. Moradi AB, Carminati A, Lamparter A, Woche SK, Bachmann J, Vetterlein D, Vogel HJ, Oswald SE. 2012 Is the rhizosphere temporarily water repellent. _Vadose_ _Zone_ _J._ 11 . [(doi:10.2136/vzj2011.0120)](http://dx.doi.org/doi:10.2136/vzj2011.0120) ~~20~~

섹션 본문 73문단 · 36,808자

(제목 없음)

1The 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.

Introduction

2The macroscopic flow of multiple fluid phases in porous media, for example soil, is often described by Richards' equation [1][2][3]. 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 [4][5][6] and the numerical solution [7,8].

3Mathematically it has been shown, using the method of homogenization [9,10] 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 [15][16][17] and vuggy porous structures [18][19][20][21][22]. 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,[24][25][26]. 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].

4In 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 [27][28][29]. 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 [32][33][34]. 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.

5In 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.

6To 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 [38][39][40]. Here, we make use of the more recent boundary conditions which are derived geometrically [40].

7This 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.

Derivation of homogenized equations (a) Deriving the two fluid Cahn-Hilliard equation

8We 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 sizeL x and comprises a series of regularly repeating units of size (0,L y ) 3 , whereL y /L x = 1. To model the interaction between two fluids we use the Cahn-Hilliard model [27][28][29]. 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

9of 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.

10To derive the equations that describe the interaction between these two fluids, we write an appropriate fluid free energy which we will then minimize [27][28][29][30][31]. Specifically we write the bulk and surface free energies of the fluid as 2 ,γ is the surface tension and α = 6 √ 2 scales the free energy such thatγ is the total excess free energy. It can be shown [40]

11where θ 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 RayleighianR

12whereF =F b +F s is the total fluid free energy,ũ (0) andũ (1) are the fluid velocities of fluid 0 and 1, respectively,ũ = φũ (1)

13is the combined velocity,ζ is the drag coefficient between the two fluids,σ =η[(Ṽũ) + (Ṽũ) 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 = −Ṽ · (φũ (1) ) and

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

15wheren is a unit vector normal to the surface of the porous medium. We minimize the Rayleighian with respect top,ũ (1) andũ (0) and, after some algebra and application of the divergence theorem, obtain the Cahn-Hilliard-Stokes system of equations

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

17Hereμ is the capillary pressure which is defined in equation (2.5d) andê 3 is a unit vector in the directionx 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

18We non-dimensionalize equations (2.5) by first scaling space with the microscopic length scaleL y such thatx =L y y and V =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

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

20where 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

21We 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 [36,40]. Using these equations the scaled and dimensionless Cahn-Hilliard-Stokes equations are ∂φ ∂t where σ = η[(∇u) + (∇u) T ] and M = φ 2 (1 − φ) 2 . We solve these equations subject to the boundary conditions

22and 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 Ca ∼ O(1) and Pe ∼ O (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.

23We 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

24We 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 scaleL x and describe the movement of these two fluids averaged over the length scaleL y , whereL 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 lengthscaleL x .

25We 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 V = V y + V x , where V x denotes the gradient operator on the macroscopic length scale and V y denotes the gradient operator on the microscopic length scale. We also consider a set of different time scales τ −1 = −1 t, τ 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 scaleL y and the slow variation in saturation due to applied pressure gradients, respectively.

26Intuitively 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 λ −1 f (φ). Hence, we expand the velocity, pressure and phase only in powers of ,

27(2.10)

28We also expand the stress tensor, σ = σ 0y + O( ), and the mobility

29and

30and

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

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

33with the boundary conditionsn

34the initial condition φ 0 (x, y, 0) =φ(y) and p 0 , μ 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 p 0 which are constant in y, hence, B μ 0 = B μ 0 dy, where B = B dy. We note in passing that, at steady state, φ 0 is a function of both x and y which we write as

350 is the modulated part of φ 0 with zero average. Hence, the saturation is defined as

36where 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 p s (x, y) = p 0 (x) + Ca −1 φ 0 (y)μ 0 (x), we can rewrite equation (2.12b) as 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:

37Heren φ 0 is a unit vector normal to the fluid-fluid interface. Hence we can write

38s is the specific pressure in the jth fluid and, using equation (2.15), we find p 0 = p (0) s , i.e. p 0 represents the specific pressure of phase 0.

39In 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

40To 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):

41(2.17b) Before we proceed we note that μ 0 ∼ μ 0 (x) such that V y μ 0 = 0 and the terms involving M 1 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

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

43where 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 u 0 , p 1 , φ 1 and μ 1 : the correction to the phase can be found using the following equation for φ 1 , andn · λV y φ 1 +n · λV x φ 0 + h (φ 0 )φ 1 = 0, y ∈ ∂B, (2.20g) and are u 0 , p 1 , μ 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 u 0 , p 1 , φ 1 and μ 1 and depend on x, y and S. Specifically μ 0 is a function of saturation and, hence, x, p 0 is a function of x only and φ 0 is a function of y and S. In order to find u 0 , p 1 , φ 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) + φ (m) 0 (y) the terms of the form V x · V y φ 0 = 0. We write the solution in the form

44where χ

45The remaining functions χ g , κ g , ω g and ψ g satisfy the cell problem originating from g:

46(2.24b) κ g = 0,n · M 0 V y χ g = 0, y ∈ ∂B, (2.24c)

24d)

47andn · λV y ψ g = −h (φ 0 )ψ g , y ∈ ∂B,

(iii) O( 1 ) problem

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

49with the relevant boundary conditions

50where φ 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 V 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, 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 , κ p k 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.

Analysis of homogenized equations

51Equations (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 [32][33][34]. 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

52Physically 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

53where 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 r b , where λ r b . We solve equation (3.1) using the method of matched asymptotics [42]. We define two outer regions, r < r b and r > r b and an inner region r ∼ r b . 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 < r b and φ (o+) for r > r b . 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 (r − r b ) to obtain

54Expanding to order λ we obtain

55for ρ → ±∞. Equation (3.5) is a linear equation of the form Lφ

56In 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 ∂φ (i) 0 /∂ρ. Therefore, after some algebra, we find

57The 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 = S B for low saturation and V = (1 − S) B for saturation close to 1 hence

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

(b) Comparison with existing models

59We 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 M 0 = 0 and equations (2.22) simplify to the Stokes problem

60where B 1 is the region in which φ 0 = 1 and B 0 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 B 0 and B 1 . To determine these conditions we rescale space with the interface thickness, V y = λ −1 V z , to obtain 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 twodimensional 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.

61We 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

62We 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%.

63The water release curve which results from this process is shown in figure 3 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

64For 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 × 10 −6 Pa s andη (1) = 10 −3 Pa s corresponding to the viscosity of air and water, respectively. For simplicity, we take Ca = Pe = 1 and θ = 90 • .

65The 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) andb(S), are shown in figure 5.

66As 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 from the hydraulic conductivity of the φ = 0 phase at S = 0 to the hydraulic conductivity of the φ = 1 phase at S = 1.

67As 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) andK(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. The value ofb(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) andK(S). Hence, in the intermediate saturation region, the final equations (2.26) and (2.27) could be simplified to neglect K(S) andb g (S) such that equation (2.30) becomes valid under the constant pressure assumption.

Discussion

68In 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.

69We 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 airwater 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.

70The 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.

71The 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.

72Finally, 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.

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

참고문헌 46건

  1. Darcy’s Law for Flow in Porous Media and the Two-Space Method Routledge eBooks · Informa · 2017 10.1201/9780203745465-27
  2. An Introduction to Homogenization Oxford University Press eBooks · Oxford University Press · 1999 10.1093/oso/9780198565543.001.0001
  3. Homogenization and Porous Media Interdisciplinary applied mathematics · Springer Nature · 1997 10.1007/978-1-4612-1920-0
  4. Multiscale Methods: Averaging and Homogenization 2008
  5. Free Energy of a Nonuniform System. II. Thermodynamic Basis The Journal of Chemical Physics · American Institute of Physics · 1959 10.1063/1.1730145
  6. Derivation of the Double Porosity Model of Single Phase Flow via Homogenization Theory SIAM Journal on Mathematical Analysis · Society for Industrial and Applied Mathematics · 1990 10.1137/0521046
  7. Flow of Oil-water Mixtures through Unconsolidated Sands Transactions of the AIME · Society of Petroleum Engineers · 1939 10.2118/939149-g
  8. A computational method for approximating a Darcy–Stokes system governing a vuggy porous medium Computational Geosciences · Springer Science+Business Media · 2007 10.1007/s10596-007-9043-0
  9. Calculation of Two-Phase Navier–Stokes Flows Using Phase-Field Modeling Journal of Computational Physics · Elsevier BV · 1999 10.1006/jcph.1999.6332
  10. Advances in modelling hysteretic water retention curve in deformable soils Computers and Geotechnics · Elsevier BV · 2008 10.1016/j.compgeo.2008.08.001
  11. Stefan and Hele-Shaw type models as asymptotic limits of the phase-field equations Physical review. A, General physics · American Institute of Physics · 1989 10.1103/physreva.39.5887
  12. A study of hysteresis models for soil-water characteristic curves Canadian Geotechnical Journal · NRC Research Press · 2005 10.1139/t05-071
  13. Viscoelastic model of phase separation Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1997 10.1103/physreve.56.4451
  14. CAPILLARY CONDUCTION OF LIQUIDS THROUGH POROUS MEDIUMS Physics · American Institute of Physics · 1931 10.1063/1.1745010
  15. Free Energy of a Nonuniform System. I. Interfacial Free Energy The Journal of Chemical Physics · American Institute of Physics · 1958 10.1063/1.1744102
  16. Fast and Robust Numerical Solution of the Richards Equation in Homogeneous Soil SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 2011 10.1137/100782887
  17. Free Energy of a Nonuniform System. III. Nucleation in a Two-Component Incompressible Fluid The Journal of Chemical Physics · American Institute of Physics · 1959 10.1063/1.1730447
  18. Wetting condition in diffuse interface simulations of contact line motion Physical Review E · American Physical Society · 2007 10.1103/physreve.75.046708
  19. Viscoelastic model of phase separation in colloidal suspensions and emulsions Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1999 10.1103/physreve.59.6842
  20. Running phase analysis—A method for cycle searching in long series Computers & Geosciences · Elsevier BV · 1990 10.1016/0098-3004(90)90069-6
  21. Three‐dimensional quantification of soil hydraulic properties using X‐ray Computed Tomography and image‐based modeling Water Resources Research · Wiley · 2015 10.1002/2014wr016020
  22. New Stochastic Mode Reduction Strategy for Dissipative Systems Physical Review Letters · American Physical Society · 2013 10.1103/physrevlett.110.244101
  23. Contact-line dynamics of a diffuse fluid interface Journal of Fluid Mechanics · Cambridge University Press · 2000 10.1017/s0022112099006874
  24. Boundary conditions at a naturally permeable wall Journal of Fluid Mechanics · Cambridge University Press · 1967 10.1017/s0022112067001375
  25. Modeling of unsaturated water flow in double-porosity soils by the homogenization approach Advances in Water Resources · Elsevier BV · 2004 10.1016/j.advwatres.2003.12.004
  26. A comparison of the thermocouple psychrometer and the pressure plate methods for determination of soil water characteristic curves Journal of Soil Science · Wiley · 1986 10.1111/j.1365-2389.1986.tb00368.x
  27. Homogenization of a Darcy–Stokes system modeling vuggy porous media Computational Geosciences · Springer Science+Business Media · 2006 10.1007/s10596-006-9024-8
  28. Metastable Bubble Solutions for the Allen-Cahn Equation with Mass Conservation SIAM Journal on Applied Mathematics · Society for Industrial and Applied Mathematics · 1996 10.1137/s0036139995282918
  29. Multiscale modelling of hydraulic conductivity in vuggy porous media Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2013 10.1098/rspa.2013.0383
  30. On boundary conditions for fluid flow in porous media International Journal of Engineering Science · Elsevier BV · 1975 10.1016/0020-7225(75)90054-3
  31. Is the Rhizosphere Temporarily Water Repellent? Vadose Zone Journal · Soil Science Society of America · 2012 10.2136/vzj2011.0120
  32. Upscaling of fractured oil reservoirs using homogenization including non-equilibrium capillary pressure and relative permeability Computational Geosciences · Springer Science+Business Media · 2011 10.1007/s10596-011-9266-y
  33. Network Development in Biological Gels: Role in Lymphatic Vessel Development Bulletin of Mathematical Biology · Springer Science+Business Media · 2008 10.1007/s11538-008-9324-3
  34. DIFFUSE-INTERFACE METHODS IN FLUID MECHANICS Annual Review of Fluid Mechanics · Annual Reviews · 1998 10.1146/annurev.fluid.30.1.139
  35. A Closed‐form Equation for Predicting the Hydraulic Conductivity of Unsaturated Soils Soil Science Society of America Journal · Wiley · 1980 10.2136/sssaj1980.03615995004400050002x
  36. Upscaled phase-field models for interfacial dynamics in strongly heterogeneous domains Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2012 10.1098/rspa.2012.0020
  37. Multiphase Flow In Porous Media Annual Review of Fluid Mechanics · Annual Reviews · 1988 10.1146/annurev.fluid.20.1.35
  38. Numerical Solution of Richards Equation by Using of Finite Volume Method 2011
  39. Thermal Flows in Porous Media Springer eBooks · Springer Nature · 1987 10.1007/978-94-009-3717-8
  40. Water flow in soils 1993
  41. Thermal flow in porous media 1987
  42. Multiphase Flow in Porous Media Springer eBooks · Springer Nature · 1995 10.1007/978-94-017-2372-5
  43. Derivation of effective macroscopic Stokes–Cahn–Hilliard equations for periodic immiscible flows in porous media Nonlinearity · IOP Publishing · 2013 10.1088/0951-7715/26/12/3259
  44. Darcy's Law for Flow in Porous Media and the Two-Space Method, 1980 10.21236/ada095629
  45. Differential Equations 2003 10.1017/cbo9780511755293
  46. Macroscale Models of Flow Through Highly Heterogeneous Porous Media Theory and applications of transport in porous media · Springer International Publishing · 2000 10.1007/978-94-015-9582-7