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

Diffusion in Spatially Varying Porous Media

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

기본 정보

저자
  1. Maria Bruna
  2. S. Jonathan Chapman
DOI
10.1137/141001834
저널
SIAM Journal on Applied Mathematics
발행년도
2015
발행기관
Society for Industrial and Applied Mathematics
피인용수
64
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1137/141001834
토픽
Composite Material Mechanics
OpenAlex ID
W1689287891

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
porous media, effective diffusion coefficient, homogenization, membrane, water filtration
판단 근거
다공성 매질 내에서의 확산 현상을 수학적으로 모델링하고 유효 확산 계수를 산출하는 연구로, 코오롱인더스트리의 수소연료전지용 중공사막(5) 및 방수통기용 멤브레인(18)의 기공 구조 설계 및 물질 전달 성능 예측에 응용 가능합니다.
R&D 활용 포인트
중공사막이나 다공성 멤브레인의 미세 구조(기공률, 기공 분포) 변화에 따른 수증기 및 가스 투과 성능을 예측하는 수치 모델링 및 설계 최적화에 활용할 수 있습니다.
평가 입력
본문 83,315자 중 30,032자 발췌

초록

The problem of diffusion in a porous medium with a spatially varying porosity\nis considered. The particular microstructure analyzed comprises a collection of\nimpenetrable spheres, though the methods developed are general. Two different\napproaches for calculating the effective diffusion coefficient as a function of\nthe microstructure are presented. The first is a deterministic approach based\non the method of multiple scales; the second is a stochastic approach for small\nvolume fraction of spheres based on matched asymptotic expansions. We compare\nthe two approaches, and we show good agreement between them in a number of\nexample configurations.\n

본문 83,315자

본문 펼치기
DIFFUSION IN SPATIALLY VARYING POROUS MEDIA MARIA BRUNA <sup>†‡</sup> AND S. JONATHAN CHAPMAN <sup>†</sup> Abstract. The problem of diffusion in a porous medium with a spatially varying porosity is considered. The particular microstructure analyzed comprises a collection of impenetrable spheres, though the methods developed are general. Two different approaches for calculating the effective diffusion coefficient as a function of the microstructure are presented. The first is a deterministic approach based on the method of multiple scales; the second is a stochastic approach for small volume fraction of spheres based on matched asymptotic expansions. We compare the two approaches, and we show good agreement between them in a number of example configurations. Key words. diffusion, porous media, hard spheres, multiple scales, variable porosity. AMS subject classifications. 35B27, 35Q84, 60J70, 82C31 1. Introduction. The macroscopic transport of solutes in porous media depends critically on microscopic features such as the structure of the porous matrix and the nature of the interactions between the solid and liquid phases. On the other hand, the complexity of the microscopic problem means that in practice it is often desirable to obtain a macroscopic effective-medium equation from which the macroscopic transport can be obtained directly. This idea of upscaling is ubiquitous in many sciences. In particular, diffusive transport in heterogeneous media occurs in hydrogeology (aquifers, groundwater [13, 14]), contaminant transport (water filtration with membranes), lithium-ion batteries [7], and biological applications such as porous biofilms [12] and intracellular transport [22]. Efforts to find the form of the macroscopic equation and estimate the effective properties of the medium date back at least to the 19th century, when Maxwell gives an approximate expression for the effective conductivity of a heterogeneous medium comprising small (i.e. well-separated) spheres of one material distributed in another [21, p.403]. Since then a great variety of approaches have been developed to obtain such upscaled equations [9]. A usual starting point is to suppose that the solute undergoes a simple diffusion process in the void or fluid phase Ωv of the porous medium Ωso that the evolution of the concentration of particles C(x, t) is described by ∂C ∂t <sup>= ∇· (D0∇C),</sup> x ∈ Ωv, (1.1a) 0 = n · (D0∇C), x ∈ ∂Ωv, (1.1b) where ∂Ωv is the solid-fluid interface and n is the outward unit normal to Ωv. The fraction of space available to the diffusing species is the porosity Ψ = |Ωv|/|Ω|. If the solid phase is denoted by Ωs (the complement of Ωv) then the volume fraction of solid is Φ = 1 − Ψ. When the microstructure is fine we would like to be able to use an effective transport equation such as ∂c ∂t <sup>= ∇· [De∇c],</sup> x ∈ Ω ≡ Ωv ∪ Ωs, (1.2) †Mathematical Institute, University of Oxford, Radcliffe Observatory Quarter, Woodstock Road, Oxford OX2 6GG, United Kingdom (bruna@maths.ox.ac.uk, chapman@maths.ox.ac.uk). ‡Department of Computer Science, University of Oxford, Parks Road, Oxford OX1 3QD, United Kingdom. This author’s work was supported by a Junior Research Fellowship of St John’s College, Oxford, and by the EPSRC Cross-Discipline Interface Programme (grant number EP/I017909/1). 1 2 M. BRUNA AND S. J. CHAPMAN where De is an effective diffusion coefficient, which will depend both on D0 and the geometry of Ωv. Here c is the homogenized solute concentration (whose definition will be made precise in the next section). Note that c is defined throughout the material, whereas C is defined only in the fluid region. In general, the homogenization procedure will depend on both the porous medium structure and the transport processes within the medium. A large number of homogenization techniques have been developed over the years [9]. These can be divided into two very broad categories, deterministic and stochastic techniques. Deterministic techniques include techniques such as volume averaging [34], multiple scales [29] and the generalized Taylor–Aris–Brenner method of moments [3]. Here the averaging relies on the separation of scales between the microstructure and the macroscopic material, and is a local spatial average. Many techniques, included the method of multiple scales and the generalized Taylor–Aris–Brenner method of moments, assume some periodicity in the microstructure. In this case, the microscopic lengthscale measures variations within a period cell and the macroscopic lengthscale measures variations within the macroscopic region of interest. More specifically, the method of multiple scales constructs a family of problems involving the ratio δ between these two lengthscales and uses asymptotic expansions in δ to study systematically the convergence as δ → 0 to a limit problem. Since δ is assumed to be small, the resulting family of problems contains rapidly oscillating (periodic) coefficients. Thanks to its systematic nature, this method has formed the basis of a whole field in mathematics known as mathematical homogenisation [1]. In terms of the example above, deterministic approaches upscale from (1.1) to (1.2) by assuming a particular given geometry of the solid matrix Ωs from which the effective coefficient De can be computed. For example, it is common to consider either very simple periodic structures [such as the array of spheres depicted in Figure 1.1(a)] or to consider a disordered unit cell representative of the material as a whole, which is then extended periodically [31]. In the case of a periodic array of spherical inclusions, De can be computed exactly using Rayleigh’s multipole method [26], leading to an infinite system of algebraic equations. More complex microscopic structures can be dealt with via multiple scales (see for example [27]) or volume averaging [34]. Although these two methods are based on different underlying principles, they result in the same averaged equations [11]. These equations contain effective parameters (such as De) which depend on the microscale and are evaluated using the solution of a cell problem in the periodic unit cell (in multiple scales) or the solution of a closure problem in a representative elementary volume (in volume averaging). For a review of the application of the method of volume averaging in ordered and disordered porous media we refer the reader to [25]. The assumption of periodicity can be seen as artificial or too idealistic when modelling real heterogeneous media. As a result, an obvious progression came in the form of homogenization techniques for random media, in an attempt to reflect the uncertainty caused by the high degree of heterogeneity as well as the lack of experimental data [10]. In its simplest setting, this can be seen as replacing the periodicity assumption in the multiple scales method by stochastic periodicity (or statistical homogeneity) [19, 23]. In particular, this means that the problem now contains random coefficients rather than periodic ones, and the homogenization consists of taking an averaging window of size δ large enough so that ergodicity holds, that is, that a spatial average is equivalent to an ensemble average. A rigorous derivation of the limit problem as δ → 0 is quite challenging in general, but has been done in specific cases DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 3 such as steady heat conduction [19, 23] or, in a discrete setting, in a random conductance model for a network of resistors [16]. In natural porous media such as soils and aquifers, the problem to be upscaled is usually more challenging than the cases above, as often one must consider the coupled problems for groundwater flow and solute transport. Stochastic approaches developed in the context of hydrology include the works of Cushman [8], Dagan [10], and Gelhar [15]. A common starting point is to take the hydraulic conductivity to be a random field, for example assuming it has a lognormal probability density function [10] (p. 164). In particular, this implies that the Stokes velocity and the solute concentration are random fields as well. The classical approach is to linearize both the flow and the transport equations and to then take ensemble averages of the resulting problem [9]. In terms of the particular problem (1.1), a natural stochastic approach is to suppose that the microstructure is random and statistically homogeneous, with the effective properties arising by taking an ensemble average over different realizations of the microstructure [31]. For example, one could assume that the solid matrix Ωs is composed of spherical inclusions uniformly distributed in Ωwith a non-overlapping constraint [see Figure 1.1(b) for one sample of such configuration]. However, it is usually very difficult to estimate the effective properties from such a description, since doing so requires an infinite set of statistical correlation functions, which are generally never known [31]. Brown [4] provided a series form of the effective constant De (for dielectric constants rather than diffusivities, but the problem is analogous) and showed that the first correction term to D0 depends only on the solid volume fraction Φ, but that all other terms require knowledge of the statistical distribution of the solid matrix. Thus the best estimate one can obtain knowing only Φ and D0 is equivalent to Maxwell’s formula, namely De = D0/(1+Φ/2). <sup>∗</sup> As a result, subsequent work by Hashin and Shtrikman [17] focused on using variational methods to obtain lower and upper bounds on De as a function of Φ, independent of the statistics of the medium. Prager [24] developed a method to introduce two- and three-particle correlation functions into such bounds. A specific application of these variational principles in the case of a porous medium formed by uniformly distributed spheres without non-overlapping constraints was used by Weissberg [33], who obtained the upper bound De ≤ D0/(1 − <sup>1</sup> 2 <sup>ln(1 −</sup> <sup>Φ)).†</sup> It is not completely clear which of these approaches is preferable in any given situation, or how they compare to each other. As pointed out in [20], enforced periodic structures can have an important influence on the homogenized model in low-porosity systems. On the other hand, the variational approaches used by Brown [4] or Weissberg [33] are very general and do not require any constraints on scale or periodicity. They would be applicable also for so-called non-homogenizable media, in which there is no clear separation of scales between micro and macrostructures. One situation in which all the approaches discussed above need to be rethought is that in which there is macroscopic inhomogeneity in the material as well as microscopic inhomogeneity. Such a situation would arise in a material in which there is a nonuniform porosity on the macroscale. It might be thought that since the porosity is varying slowly it is locally constant, and the standard formulae can be used albeit ∗The effective diffusivity reported was in fact D˜ e = De(1 - Φ) in the current notation. Thus, the expression reported in [33] for example is D <sup>˜</sup> e/D0 = (1 − Φ)/(1 + Φ/2). The two definitions result in the same macroscopic equation for homogeneous media, but not when the volume fraction varies on the macroscale, as we will see later. †Again, this expression is reported as a volume averaged diffusivity, D˜ e = De(1 − Φ) in [33]. 4 M. BRUNA AND S. J. CHAPMAN (a) (b) Fig. 1.1. Two examples of porous media. (a) Periodic structure (with spherical inclusions on a square lattice). (b) One sample from a random structure, with spherical inclusions uniformly distributed and with non-overlapping constraints. Both media correspond to a solid volume fraction of Φ = 20%. with a cell problem (and hence diffusivity) which varies on the slow scale. However, we will see that this is not the case. Despite its acknowledged importance in many physical systems (for example, in the design of membranes for water filtration, in groundwater flow systems [13], and in Portland cement [28]), non-uniform porosity has rarely been accounted for in models and the effect on diffusion is not well understood. One exception is [32], which uses the method of volume averaging in systems with gradients in porosity. Worryingly, though, they find that the effective diffusivity, the porosity, and its gradient are highly dependent upon the location of the centroid of the representative elementary volume. In this paper we derive the effective transport equation for diffusion in a porous medium with gradients in porosity. We consider two types of porous media, namely an ordered medium with quasi-periodic inclusions and a disordered medium composed of randomly (but not uniformly) distributed inclusions. The homogenization procedures for each of these media are fundamentally different. Thus, the purpose of the paper is twofold: first, to study how macroscopic changes in the microstructure affect the homogenized equation and, second, to compare the two different approaches used to model diffusion in porous media. We consider a simple diffusion process in the void or liquid phase, where the solute has a constant diffusion coefficient D0. The solid phase is composed of spherical and non-overlapping inclusions, which are impenetrable by the solute (that is, the diffusion coefficient is zero in the solid phase). For most of this paper we consider a fixed solid matrix (although we later remove this assumption in the stochastic approach to consider moving obstructions). We obtain the effective diffusion coefficient as a function of the microstructure of the medium, and in particular the porosity. We find that a non-uniform porosity on the macroscale results in an advection term in the homogenized equation, as found by [32]. This term accounts for the biasing of the motion of solute particles towards regions of high porosity. We also show that our two approaches, although very different, can be reconciled to give the same macroscopic equation in the limit of small solid volume fraction. The article is organized as follows. In §2 we consider a deterministic approach and we apply the method of multiple scales to derive the effective transport equation in ordered porous media. We show how the method can be adapted to non-uniform porosity and non-periodic structures, providing they are locally periodic. We then DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 5 consider the same problem for stochastic porous media (disordered and non-periodic) in §3, and derive an equivalent effective equation from the Fokker–Planck description of the microstructure. In §4 we present two numerical studies comparing the two approaches, both with each other and with the exact solution of the corresponding microscopic problems. Finally, in §5, we present our conclusions. 2. An ordered porous medium. We rescale length and time so that the rescaled domain has volume one, |Ω| = 1 and the molecular diffusion coefficient is D0 = 1. <sup>‡</sup> We also rescale concentration so that Ωv <sup>Cdx</sup> <sup>=</sup> <sup>1.</sup> <sup>For</sup> <sup>simplicity</sup> <sup>we</sup> <sup>as-</sup> D0 = 1. <sup>‡</sup> We also rescale concentration so that sume that Ω= [−1/2, 1/2] <sup>d</sup>, where the dimension�Ωdvmay <sup>Cdx</sup> be <sup>=</sup> 2 <sup>1.</sup> or <sup>For</sup> 3. <sup>simplicity</sup> We suppose <sup>we</sup> that <sup>as-</sup> the solid phase consists of Ns spherical and non-overlapping obstacles with radii ǫi and centers ri for i = 1, . . . Ns. We suppose that the radius is a slowly varying function of position given by ǫ(x), so that we may write ǫi = ǫ(ri). Thus Ωs = ∪i <sup>N</sup> =1 <sup>s</sup> <sup>Bǫ(r</sup> i <sup>)(ri),</sup> of position given by ǫ(x), so that we may write ǫi = ǫ(ri). Thus Ωs = ∪i <sup>N</sup> =1 <sup>s</sup> <sup>Bǫ(r</sup> i <sup>)(ri),</sup> where Bǫ(r) is the d-dimensional ball of radius ǫ centered at r. We begin by supposing that the centers ri lie on a regular square lattice with period δ ≪ 1, as depicted in Figure 2.1. Then (1.1) reduces to ∂C ∂t <sup>= ∇2C,</sup> x ∈ Ωv, (2.1a) n · ∇C = 0, on ∥x − ri∥ = ǫ(ri), 1 ≤ i ≤ Ns, (2.1b) with Ns = δ <sup>−d</sup> . The local porosity is then ψ(x) = 1 - δ <sup>−d</sup> |Bǫ(x)|. The global porosity is the average of the local porosities and is determined by the volume of all Ns obstructions, namely Ψ = <sup>1</sup> Ns Ns i=1 ψ(ri) = 1 − Ns i=1 |Bǫ(ri)|. 2.1. Asymptotic homogenization via the method of multiple scales. We use the method of multiple scales to derive an averaged (or homogenized) model for the concentration C, valid over many obstacles, in the limit δ ≪ 1. We retain x as the macroscale variable, measuring distance on the scale of the whole sample, and introduce y = x/δ as the microscale variable, which measures distance over the scale of the obstacle separation. As is usual in the method of multiple scales we treat these two variables as independent. The extra freedom this gives is removed by enforcing that the solution is exactly periodic in y; small variations from one unit cell to the next are thereby captured through the macroscale variable x. After introducing these two scales and using the chain rule spatial derivatives in (2.1) transform according to (2.2) ∇−→∇x + <sup>1</sup> δ <sup>∇y.</sup> We introduce ε(x) = ǫ(x)/δ as the the obstacle radius relative to the dimension of the unit cell. As stated above, a crucial assumption we make is that this varies slowly, that is, it depends on x but not on y. We denote the unit cell by y ∈ ω ≡ [−1/2, 1/2] <sup>d</sup> and the solid phase by y ∈ ωs(x) = Bε(x)(0), with the fluid phase then given by y ∈ ωv(x) = ω \ ωs(x) (see right-hand side of Figure 2.1). ‡We abuse the notation by using the same symbols Ωand D0 as in the dimensional problem (1.1). 6 M. BRUNA AND S. J. CHAPMAN x ∈ Ω y ∈ ω ε(x) 1 δ ∼ L = 1 1 Fig. 2.1. Illustration of the problem geometry in two dimensions. Left: macroscale domain Ω, with obstacles of radius ǫ(x) placed in a periodic array. Right: microscale domain ω, unit cell with an obstacle of radius ε(x) = ǫ(x)/δ. The expression (2.2) allows us to transform (2.1a) according to the multiple-scales approximation. What is not clear is how we should write (2.1b) in multiple-scales form, given that the radius of the obstacle depends on x, so that the unit normal depends on x as well as y. At first sight it would seem that geometry dictates that and (2.1b) should be written - 1δ <sup>∇y + ∇x</sup> (2.3) n = ny ≡− <sup>y</sup> ∥y∥ C · ny = 0 for y ∈ ∂ωv(x). (2.4) However, this is incorrect as it neglects the variation of n with x. The systematic way to derive the multiple-scales equivalent of (2.1b) is to introduce the function χ(x, y) = ε(x) −∥y∥, (2.5) for which the fluid–solid interface is the level set χ(x, y) = 0. Note that this idea can be extended to more complicated interfaces in a straightforward manner. The normal is in the direction ∇χ, which we can now readily put in multiple-scales form using (2.2): n ∝∇xχ + <sup>1</sup> δ <sup>1</sup> δ <sup>∇yχ = ∇xε(x) −</sup> <sup>1</sup> δ δ y ∥y∥ <sup>.</sup> (2.6) This expression for the normal in multiple-scales form is far from obvious, and is a crucial part in extending the theory in [27] to macroscopically varying cell geometries. There are two contributions to the interface normal in (2.6); the first is due to the DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 7 slow variation of the obstacle radius, and the second is the unit radial vector in the microscale. Thus writing (2.1) in multiple-scales form gives δ <sup>2 ∂C</sup> ∂t <sup>2</sup> y <sup>C + δ∇x · ∇yC + δ∇y · ∇xC + δ2∇</sup> x <sup>2</sup> <sup>∂C</sup> ∂t <sup>= ∇2</sup> y x <sup>2</sup> <sup>C</sup> y ∈ ωv(x), (2.7a) ∇yC · ny = −δ∇xC · ny − δ∇yC · ∇xε(x) − δ <sup>2</sup> ∇xC · ∇xε(x) y ∈ ∂ωv(x), (2.7b) where ny (given in (2.3)) is the unit normal vector into the obstacle in the microscale variable. Our aim is to derive the equation for the averaged macroscopic concentration c(x, t) over a representative volume located at position x. With our periodic microstructure we may define this as c(x, t) = <sup>1</sup> |ω| ω C(x, y, t) dy = <sup>1</sup> |ω| ωv(x) C(x, y, t) dy, (2.8) since C ≡ 0 in the solid phase. In the context of volume averaging, the unit cell ω is the representative elementary volume (REV), and is located at the centre of each of the obstacles. The average c is referred to as volumetric or superficial average. It is related to the intrinsic average 1 c¯(x, t) = |ωv(x)| through the porosity ψ(x): ωv(x) C(x, y, t) dy, (2.9) c(x, t) = ψ(x)¯c(x, t) where . (2.10) ψ(x) = <sup>|ωv(x)|</sup> |ω| With a spherical obstruction in the centre of each cell, the porosity is ψ(x) = 1 − |Bε(x)|. The concentration c is normalized in the whole space, whereas ¯c is normalized in the available space. Following the standard multiple-scales method, we now seek a solution to (2.7) in the limit of small δ of the form C = C(x, y, t) which is periodic in y, while treating x and y as independent. Expanding in powers of δ as C(x, y, t) = C <sup>(0)</sup> (x, y, t) + δC <sup>(1)</sup> (x, y, t) + δ <sup>2</sup> C <sup>(2)</sup> (x, y, t) + · · · we find the leading-order equations require that C <sup>(0)</sup> is independent of y. At first order in δ we find y <sup>2</sup> <sup>C(1)</sup> <sup>= 0</sup> y ∈ ωv(x), (2.11a) ∇y <sup>2</sup> (2.11b) ∇yC <sup>(1)</sup> - ny = −∇xC <sup>(0)</sup> - ny y ∈ ∂ωv(x), C <sup>(1)</sup> periodic in y. (2.11c) The solution of (2.11) can be written as C <sup>(1)</sup> (x, y, t) = −∇xC <sup>(0)</sup> (x, t) · Γ(x, y), (2.12) where Γ(x, y) is a d-vectorial function, whose components Γi satisfy the following cell problem: ∇y <sup>2</sup> y <sup>2</sup> <sup>Γi</sup> <sup>= 0</sup> y ∈ ωv(x), (2.13a) ∇yΓi · ny = ny,i y ∈ ∂ωv(x), (2.13b) Γi periodic in y, (2.13c) 8 M. BRUNA AND S. J. CHAPMAN where ny,i is the ith component of the unit vector ny. We note that Γ varies with the macroscale variable x because of the variation of ωv with x. Proceeding to second order in the expansion of (2.7) leads to the following problem for C <sup>(2)</sup> : ∂C <sup>(0)</sup> ∂t = ∇x · �∇yC <sup>(1)</sup> + ∇xC <sup>(0)�</sup> + ∇y · y ∈ ωv(x), (2.14a) �∇yC <sup>(2)</sup> + ∇xC <sup>(1)�</sup> ∇yC <sup>(2)</sup> - ny = −∇xC <sup>(1)</sup> - ny − (∇yC <sup>(1)</sup> + ∇xC <sup>(0)</sup> ) · ∇xε(x) y ∈ ∂ωv(x), (2.14b) C <sup>(2)</sup> periodic in y. (2.14c) Integrating (2.14a) over ωv(x) using the divergence theorem, (2.14b) and periodic boundary conditions on C <sup>(1)</sup> and C <sup>(2)</sup> yields ψ(x) <sup>∂C(0)</sup> = ∂t ω ωv(x) ∇x · ∂ωv (x) �∇yC <sup>(1)</sup> + ∇xC <sup>(0)�</sup> dy ) �∇yC <sup>(1)</sup> + ∇xC <sup>(0)�</sup> (2.15) - ∇xε(x) dSy. Now using the transport theorem to switch the order of integration with respect to y and differentiation with respect to x in the term on the right-hand side gives ψ(x) <sup>∂C(0)</sup> ∂t = ∇x · ωv(x) �∇yC <sup>(1)</sup> + ∇xC <sup>(0)�</sup> dy. (2.16) Let JΓ(x, y) be the Jacobian matrix of Γ given by (JΓ)ij = ∂Γi/∂yj. Then using (2.12) we may write (2.17) ∇yC <sup>(1)</sup> = −JΓ <sup>T</sup> <sup>(x, y)∇xC(0).</sup> Combining (2.16) and (2.17) we arrive at the following equation for the leading-order intrinsic average c¯ = C <sup>(0)</sup> (x, t): ψ(x) <sup>∂</sup> ∂t <sup>c¯</sup> <sup>= ∇x · [ψ(x)De(x)∇xc¯],</sup> (2.18a) where the effective diffusion tensor is given by 1 De(x) = Id − ψ(x) ωv(x) JΓ <sup>T</sup> <sup>(x, y) dy,</sup> (2.18b) where Id is the identity matrix of dimension d. The resulting model (2.18) is equivalent to that derived by [32] using a volume averaging approach. <sup>§</sup> We see that if ψ is independent of x then it may be cancelled on both sides of (2.18a) giving the usual homogenized result from multiple scales. However, when the radius of the obstacles varies with x the effect is felt not only through De (due to a cell problem that depends on x) but also through the fact that ψ on the right-hand side appears inside the x-derivative. §See their equations (16) and (17); in our notation, εγ = ψ(x), ⟨cAγ ⟩γ = c¯(x, t) and Deff = De(x). However, we note that their cell problem (14) includes formally higher-order terms and hence is not exactly equal to our cell problem (2.13). DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 9 2.1.1. Comparison between averages: superficial versus intrinsic. The homogenized model (2.18) for the intrinsic average c¯ is not yet an effective diffusion equation because of the porosity ψ multiplying the left-hand side of (2.18a). Hence it is incorrect to refer to ψ(x)De(x) in (2.18a) as an effective diffusion coefficient. However, if we rewrite it in terms of the volume average c = ψc¯ we find c �De(x)∇xc − <sup>De(x</sup> ψ <sup>)∇</sup> (x <sup>x</sup> ) <sup>ψ(x)</sup> . (2.19) = ∇x · �� ψ - c ∂c ∂t <sup>= ∇x ·</sup> ψDe∇x Thus, we see that, when written in terms of c, the equation turns into a classical advection–diffusion equation, with De(x) the effective diffusion coefficient. The advection term v = De(x)∇xψ(x)/ψ(x) arises when the porosity is non-uniform. We see that solutes diffuse with a bias towards regions of increased porosity. In the case of uniform porosity ψ(x) ≡ Ψ, the intrinsic average c¯ is simply a scaled version of the volumetric average c and their respective equations (2.19) and (2.18a) both reduce to a diffusion equation with constant diffusion coefficient De as in (1.2). However, when the porosity is non-uniform the equations are different, and it is important to be clear which average of C we are dealing with. 2.1.2. The diffusion tensor. To evaluate the diffusion tensor De(x) in (2.18b), we must solve the cell problem (2.13). So far we have not used that the obstacle in each cell is spherical, and in principle we could solve the cell problem (numerically) for any obstacle shape. However, having a spherical obstacle greatly simplifies the procedure. This is because, by symmetry, we find that De is a multiple of the identity tensor, so that we have a single scalar diffusion coefficient. We solve the cell problem (2.13) using COMSOL Multiphysics and evaluate the integrals in (2.18b) numerically. We repeat for various 0 ≤ ε < 0.5 and plot the resulting De in Figure 2.2(a) as a function of the solid volume fraction φ(x) = πε <sup>d</sup> (x). The three-dimensional counterpart is shown in Figure 2.2(b). (a) 1 0.8 0.6 De 0.4 0.2 0 0 0.2 0.4 0.6 0.8 1 φ (b) 1 0.9 De 0.8 0.7 0 0.1 0.2 0.3 0.4 0.5 0.6 φ Fig. 2.2. Effective diffusion versus volume fraction φ. Shown are the simulation results of De in (2.18b) (data points), Rayleigh’s multipole method values (solid lines) and asymptotic result D <sup>ˆ</sup> e (3.7a) (dash lines). (a) d = 2: Square lattice [square data points and (2.20a)] and hexagonal lattice (circle data points and (2.20b)); asymptotic value D <sup>ˆ</sup> e ∼ 1 − φ. (b) d = 3: Cubic lattice (square data points and (2.20c)) and asymptotic value D <sup>ˆ</sup> e ∼ 1 − φ/2. We next show with an example how, still using spherical obstacles, the microscopic arrangement of the obstacles can alter the effective diffusion coefficient, that is, two structures with the same porosity may have different De. Specifically, we consider the hexagonal packing configuration in two dimensions. The periodic cell for such a configuration is ω = [−1/2, 1/2] × [−√3/2, √3/2] with one disk at the centre and 3/2, √ √ a configuration is ω = [−1/2, 1/2] × [−√3/2, √3/2] with one disk at the centre and a quarter of a disk at each corner (see Figure 2.3). We solve this new cell problem 10 M. BRUNA AND S. J. CHAPMAN ε = 0.2 ε = 0.4 ε = 0.5 Fig. 2.3. Periodic cell ωv(x) of the hexagonal configuration in two dimensions for different values of the obstacles’ radius ε. The third cell corresponds to close hexagonal packing. and evaluate the effective diffusion as a function of φ using (2.18b). The resulting effective diffusion tensor is again a multiple of the identity; we plot the scalar De as a function of solid volume fraction φ in Figure 2.2(a). We find that, for the same value of φ, there are differences in the effective diffusion coefficient in a square or hexagonal configuration, which become important for φ above 50%. As mentioned in the introduction, the exact values of De(φ) in ordered lattices can be computed using Rayleigh’s multipole method, in the form of an infinite system of algebraic equations involving image multipoles and lattice sums [26]. By truncating the infinite system, Rayleigh obtained a closed-form approximation for a square lattice (S) and cubic lattice (C). The corresponding result for a two-dimensional hexagonal lattice (H) was derived in [18] as: , (φ < 0.8) (2.20b) 1 e <sup>S(φ) =</sup> 1 − φ 1 e <sup>H</sup> <sup>(φ) =</sup> 1 − φ 1 e <sup>C</sup> <sup>(φ) =</sup> 1 − φ 2φ 1 − - 1 + φ − 0.3058φ <sup>4</sup> 3φ 1 − - 2 + φ − 0.3914φ <sup>10/3</sup> , (φ < 0.7) (2.20a) De <sup>S</sup> De <sup>H</sup> 2φ 1 − - 1 + φ − 0.07542φ <sup>6</sup> , (φ < 0.25) (2.20c) De <sup>C</sup> The values in parenthesis indicate the maximum volume fraction for which the closed forms are valid [18]. <sup>¶</sup> These formulae are also plotted in Figure 2.2, and show good agreement with the multiple-scales result. 2.2. Extension to non-periodic structures. Until now we have considered porous media with a simple regular structure, with the centers of the obstacles lying on a regular lattice, and accounted for macroscopic gradients in porosity by allowing the radius of the obstacles to vary slowly with position. In this section we consider an alternative way in which the porosity may vary: we suppose that the obstacles are all the same size, but that the number density of obstacles varies with position. This means that the obstacles can no longer be arranged on a regular periodic lattice. However, we suppose that their arrangement is locally a periodic lattice, but that the scale and orientation of the lattice vary slowly with position. To make this precise, we assume that the centers can be mapped to a regular periodic lattice with a map that depends only on the slow scale. Effectively this map defines (slow) curvilinear coor ¶The exact result of the multipole method for various geometries in two and three dimensions is computed in [18] by direct inversion of the matrix, for a growing number of multipoles (with the matrix becoming larger and larger) until the result converges. DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 11 dinates in which the structure is periodic. We use a recently developed generalization of the multiple-scales method that can handle such a microstructure [27]. Thus we suppose there is exists a transformation W : Ω → Ω <sup>′</sup> mapping the centers of the obstacles ri into a regular lattice with periodicity δ, as illustrated in Figure 2.1. We could now apply the method of multiple scales in the transformed domain, averaging over the fast scale, before inverting the transformation to write the homogenized equation back in the original variables. However, since the fast and slow scales are treated as independent, there is no point in transforming the slow scale, only to invert the transformation later. Instead we suppose that the solution C is a function of the slow scale x and the transformed fast scale y = <sup>W(x)</sup>, δ and that these variables are independent. Then, since the microstructure is periodic in y, we assume that C is periodic in y, with period one. We denote the unit cell in y by ω and the obstacle by y ∈ ωs(ri), where ωs(ri) = {y ∈ ω : δy ∈ W(Bǫ(ri)) − W(ri)}. The available volume is then ωv(x) = ω \ ωs(x). Using the chain rule spatial derivatives now transform according to + <sup>1</sup> δ <sup>Fij</sup> ∂ ∂yj ∂ ∂xi ∂ → ∂xi , (2.21) where Fij = ∂Wj/∂xi or F = JW <sup>T</sup> <sup>,</sup> <sup>and</sup> <sup>we</sup> <sup>are</sup> <sup>using</sup> <sup>the</sup> <sup>summation</sup> <sup>convention</sup> <sup>for</sup> repeated indices. The derivation of the homogenized equation is similar to the perfectly periodic case. The result is again an advection–diffusion equation for the concentration c as in (2.19), ∂c c ∂t <sup>= ∇x ·</sup> De(x)∇xc − <sup>De(x</sup> ψ <sup>)∇</sup> (x <sup>x</sup> ) <sup>ψ(x)</sup> with a modified diffusion tensor 1 De(x) = Id − ψ(x) <sup>F</sup> <sup>(x)</sup> �� , (2.22a) F <sup>−1</sup> (x). (2.22b) ωv(x) JΓ <sup>T</sup> <sup>(x, y) dy</sup> The function Γ = Γi now satisfies the following cell problem = 0 y ∈ ωv(x), (2.23a) - (2.23b) y = F <sup>T</sup> F ny · ei y ∈ ∂ωv(x), ∇y · F <sup>T</sup> F ∇yΓi F ∇yΓi · n - - (2.23b) F <sup>T</sup> F ∇yΓi · ny = F <sup>T</sup> F ny · ei y ∈ ∂ωv(x), Γi periodic in y. (2.23c) In general the cell problem (2.23) now depends on the slow scale x not only through ωv(x) but also because F depends on x. 12 M. BRUNA AND S. J. CHAPMAN 2.2.1. Conformal maps. Since the Jacobian matrix F is dependent only on the slow scale x it represents a constant linear transformation on the fast scale. Such a transformation can always be written F = UDV where U and V are real orthonormal matrices and D is a diagonal matrix. In fact, in our application we expect U and V to have positive determinant and therefore be rotations (so that we maintain the right-handedness of the coordinate system). Thus F can be thought of as successive application of a rotation, a stretch along the coordinate axes, and then another rotation. In the particular case in which the stretch is isotropic, so that the entries along the diagonal in D are all equal, then F reduces to an isotropic stretch and a single rotation. In this case we may write F = aR, where a̸ = 0 is a scalar stretch, and R is a rotation matrix. Maps W(x) whose Jacobian F have this property preserve angles, that is they are conformal. Because the stretch is isotropic, spherical obstacles remain spherical under such a transformation, with the new radius of the original sphere centered at x being ε(x) = <sup>1</sup> (2.24) δ <sup>∥W(x + ǫ) −</sup> <sup>W(x)∥</sup> <sup>.</sup> For conformal maps the cell problem simplifies considerably, both because the sphere is mapped to a sphere, but also because F <sup>T</sup> F = a <sup>2</sup> RR <sup>T</sup> = a <sup>2</sup> Id. Thus the cell problem (2.23) reduces to our original cell problem (2.13), with the slow scale felt only through the change in obstacle radius with position via (2.24). In two dimensions, we may generate conformal maps by taking advantage of complex variables. If we write z = x + iy then any holomorphic function W : Ω ⊂ C → C such that W <sup>′</sup> (z)̸ = 0 for z ∈ Ωis a conformal map. An example that we will use in our simulations later is the function 1 z <sup>′</sup> = W (z) = (2.25) 2 − z <sup>,</sup> which is one-to-one and holomorphic except at z = 2. In particular, this defines a conformal map between Ω= [−1/2, 1/2] <sup>2</sup> and W (Ω), with inverse W <sup>−1</sup> (z) = 2 − 1/z. In coordinate form, x <sup>′</sup> = 2 − x y <sup>′</sup> = y (2 − x) <sup>2</sup> + y <sup>2</sup> (2 − x) <sup>2</sup> + y <sup>2 .</sup> In Figure 2.4 we plot the original domain Ωand the domain Ω <sup>′</sup> = W (Ω). We see that in the transformed variables x <sup>′</sup> the centers of the obstacles lie on a regular square lattice, but the radii of the obstacles vary with position, that is, the structure is very similar to the one depicted in Figure 2.1. 3. A random disordered porous medium. In this section we take a very different approach to model the same physical problem. We assume that the solid matrix is still formed of Ns solid immobile non-overlapping spheres or disks of radius ǫ at positions Ri ∈ Ω, but now the Ri are randomly distributed. The non-overlapping (a) y DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 13 (b) y <sup>′</sup> x x <sup>′</sup> Fig. 2.4. Original domain Ω and the mapped domain Ω <sup>′</sup> under the transformation (2.25). Parameters used are: δ = 0.02, ǫ = 0.01. constraint means that the Ri cannot be distributed independently, but we suppose that they are distributed identically, that is, the probability distribution function is invariant with respect to permutations of the particle labels 1, . . ., Ns. We suppose that there are Nm mobile solute particles at positions Xi(t), i = 1, . . . Nm, at time t, which undergo Brownian motion with constant diffusion coefficient D0, which we may set to unity as before through appropriate nondimensionalisation. In contrast to the previous section, we relax the assumption that the solute particles are point particles and allow for them to have a finite size. To keep things simple, we assume the solute particles are also spherical and of radius ǫm ≪ 1 and interact via hard-core elastic collisions with each other as well as with the obstacles. We will use the same approach as in our previous works [5, 6], for which we require that the total particle volume fraction is small so that three-particle interactions and higher form a negligible fraction of state space and can be ignored. In terms of the parameters introduced above, this means that Nsǫ <sup>d</sup> + Nmǫ <sup>d</sup> Each solute particle evolves according to mthe <sup>≪|</sup> overdamped <sup>Ω| = 1.</sup> Langevin stochastic differential equation dXi = √2 dWi, (3.1) where the Wi are Nm independent d-dimensional standard Brownian motions. We suppose that the initial positions Xi(0) are random and identically distributed (that is, the probability distribution is invariant with respect to a permutation of particle labels). 3.1. The Fokker–Planck equation. Let P (⃗x,⃗r, t) be the joint probability density of the Nm + Ns = N particles, where⃗x = (x1, . . ., xNm) and⃗r = (R1, . . ., RNs). We introduce the dN −dimensional position vector⃗ζ = (⃗x,⃗r) with the coordinates of the mobile particles in the first dNm positions, and the obstacle positions in the remaining dNs positions. The probability density evolves according to the Fokker– Planck equation ∂P x <sup>2</sup> <sup>P,</sup> (⃗x,⃗r) ∈ Ωǫ <sup>N</sup> ǫ <sup>N</sup> <sup>.</sup> (3.2a) ∂t <sup>= ∇</sup> x <sup>2</sup> Although this looks like the standard diffusion equation (1.1a) we must remember that (1.1a) is solved in the low-dimensional physical space Ωv ⊂ Ωwhile equation (3.2a) is 14 M. BRUNA AND S. J. CHAPMAN solved in the high-dimensional configuration space Ω <sup>N</sup> ǫ <sup>= ΩN \Bǫ, corresponding to N</sup> copies of the physical domain Ωminus the set of illegal configurations corresponding to particles overlapping, , Bǫ = s.t. ζ ∈ Ω <sup>N</sup> : ∃i̸ = j ∥ζi − ζj∥≤ ǫi + ǫj where ǫi = ǫm for i ≤ Nm and ǫi = ǫ otherwise. It is convenient to introduce ǫsm as the distance between centers at contact between an obstacle particle and a mobile particle, ǫsm = ǫm + ǫ. On the collision surfaces ∂Ω <sup>N</sup> ǫ <sup>N</sup> ǫ <sup>we</sup> <sup>have</sup> <sup>the</sup> <sup>reflecting</sup> <sup>boundary</sup> <sup>condition</sup> 0 =⃗n · ∇⃗xP, (⃗x,⃗r) ∈ ∂Ωǫ <sup>N</sup> <sup>,</sup> (3.2b) where⃗n is the projection of the unit normal on the first dNm coordinates. Since P (⃗x,⃗r, t) is invariant with respect to permutations of the labels in⃗r, the marginal density functions of P corresponding to fixing the position of one obstacle and integrating over the positions of the remaining obstacles are all identical, and given by s(x) = Ω <sup>N</sup> ǫ P (⃗x,⃗r, 0)δ(r1 − x) d⃗xd⃗r. (3.3) This gives the probability of finding an obstacle in a given position, that is, it is the obstacle population density. Since |Bǫ| is the volume of one obstruction, the local volume concentration of obstacles is φ(x) = Ns|Bǫ|s(x) = Φ s(x), (3.4) where, as before, Φ is the average solid volume fraction. In order to compare the Fokker–Planck equation (3.2) to the model we have derived via multiple scales, we need an equation for the marginal solute density p(x, t) defined on the physical domain Ω. As with the obstacles, since the Nm mobile particles are identically distributed, P is invariant to permutations of their labels and we can define the solute population density as p(x, t) = Ω <sup>N</sup> ǫ P (⃗x,⃗r, t)δ(x1 − x) d⃗xd⃗r. (3.5) Then the concentration of mobile particles is cm(x, t) = Nmp(x, t) and the normalized concentration (used in §2) is c = cm/ �Ω <sup>cmdx ≡</sup> <sup>p.</sup> <sup>d</sup> concentration (used in §2) is c = cm/ Ω <sup>cmdx ≡</sup> <sup>p.</sup> The procedure we adopt to derive an equation for p from (3.2) is a systematic asymptotic expansion as Nsǫ <sup>d</sup> + Nmǫ <sup>d</sup> m <sup>→</sup> <sup>0.</sup> <sup>We</sup> <sup>use</sup> <sup>matched</sup> <sup>asymptotic</sup> <sup>expansions</sup> asymptotic expansion as Nsǫ <sup>d</sup> + Nmǫ <sup>d</sup> in configuration space, with an outerm region <sup>→</sup> <sup>0.</sup> <sup>We</sup> in <sup>use</sup> which <sup>matched</sup> particles <sup>asymptotic</sup> are well-separated, <sup>expansions</sup> and an inner region in which two particles are close together. In contrast with other approaches this systematic procedure does not require a closure assumption. The derivation is analogous to that presented in our previous work [5], and we omit the details. In fact, the problem studied here can be regarded as a particular case of the model for two species of diffusing and interacting particles presented in [5] if we formally set the diffusivity of one of the species to zero. Although the derivation should really be modified in this limit, the result is identical to equation (22a) in [5], which, in our notation, reads ∂p ∂t <sup>= ∇x ·</sup> �Dˆ e(x)∇xp − vˆ(x)p�, (3.6a) DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 15 where the diffusion and drift coefficients are Dˆ e(x) = 1 + (Nm − 1) <sup>(d</sup> 2 <sup>−d−11)</sup> d <sup>π</sup> 2 <sup>−d−11)</sup> d <sup>π</sup> <sup>ǫd</sup> m <sup>p(x) −</sup> <sup>Ns</sup> 2π d <sup>ǫ</sup> sm <sup>d</sup> <sup>s(x),</sup> (3.6b) vˆ(x) = −Ns 2(d − 1)π ǫ <sup>d</sup> d <sup>d</sup> sm <sup>∇xs(x),</sup> (3.6c) for d = 2, 3. The effective diffusion coefficient of solute particles has three components: the base molecular diffusion, an enhanced diffusion due to collective motion of finite size solute particles, and reduced diffusion due to excluded-volume interactions with the obstacle particles. The effective advection v(x) is due to the gradient in the distribution of obstacles; it indicates that the particles are advected towards regions with fewer obstacles. Note that there is no system-size expansion in (3.6): the equations are equally valid with small numbers of solute particles or obstacles (for example, the collective term disappears if there is only one solute particle, as it should). 3.2. Model for point particles diffusing in a stochastic porous medium. The two approaches we have taken each have their strengths and weaknesses. The multiple-scales approach can handle arbitrary volume fraction of obstacles, but is limited to locally periodic structures and the diffusion of point particles of solute. The Fokker–Planck approach can handle arbitrary obstacle configurations and finitesize solute particles, but can only be reduced to a low-dimensional effective diffusion equation in the limit of small volume fraction. In order to compare the two approaches later, we set ǫm = 0 in (3.6) to consider point solute particles. The effective diffusion and drift coefficients reduce to Φ φ(x) Dˆ e(x) = 1 − (d − 1) <sup>s(x) = 1 −</sup> (d − 1) <sup>,</sup> (3.7a) vˆ(x) = −Φ∇xs(x) = −∇xφ(x), (3.7b) where Φ = 2(d−d1)π ǫ <sup>d</sup> Ns. We plot D <sup>ˆ</sup> e given by (3.7a) in Figure 2.2 with dashed lines. We observe that it agrees with the multiple-scales value De for small volume fractions φ (we will show this formally in §4.1). We note that, in the cubic obstacle configuration (d = 3), the asymptotic value D <sup>ˆ</sup> e is a good approximation to De(φ) throughout the whole range of valid porosities. For point solute particles, the stationary density p∞(x) takes a very simple form. Substituting (3.7) in (3.6a) and imposing no-flux boundary conditions, we find ∼ 1 − φ(x) = ψ(x), (3.8) �d−1 p∞(x) = κ φ(x) 1 − - (d − 1) where κ is the normalization constant. This corresponds to the uniform measure in the available space, and is consistent with the stationary density found via multiple scales. 3.3. Diffusion through moving obstacles is easier than through fixed obstacles. Before moving on to compare our different approaches, we briefly examine how the effective transport properties of the solute particles change when the obstacles themselves are allowed to diffuse, with molecular diffusion Ds (in our dimensionless setting this represents the ratio of the diffusion coefficient of the obstacles to that of the solute). This would be relevant in biological applications such as the 16 M. BRUNA AND S. J. CHAPMAN diffusion through biological tissues or the cytoplasm, where one is interested in the diffusion of small molecules through an environment containing large macromolecules [22]. These macromolecules constitute the “solid phase”, which is sometimes considered as a porous structure since its dynamics are much slower than the smaller diffusing particles. Using the general model in [5] the coefficients in (3.7) change to 1 Dˆ e(x, t) = 1 − 1 + Ds φ(x, t) (3.9) vˆ(x, t) = − <sup>(d −</sup> <sup>1) + dDs</sup> (d − 1) <sup>,</sup> (d − 1)(1 + Ds) <sup>∇xφ(x, t),</sup> for d = 2, 3. Setting Ds = 0 in (3.9) recovers the expressions in (3.7) as expected. From (3.9) we see that the faster the obstacles move (the larger Ds), the less they impede the diffusion of the point solute particles, with their effect disappearing completely as Ds →∞. On the other hand, the larger Ds is, the larger the coefficient in front of the drift term vˆ(x). This drift does not disappear in the limit, with vˆ = −d∇xφ/(d − 1) as Ds →∞. Of course, since the obstacles are much larger than the solute particles, we would expect that they diffuse more slowly, i.e. that Ds < 1 in any practical situation. 4. Comparison between methods. In this section we compare the macroscopic models for diffusion in a porous medium of variable porosity which we derived via multiple scales in §2 and using the Fokker–Planck approach in §3. As we mentioned above, the Fokker–Planck approach can only be systematically reduced to a low-dimensional effective diffusion equation in the limit of small volume fraction. We observed in Figure 2.2 that the multiple-scales-derived diffusion coefficient seems numerically to asymptote to the Fokker–Planck-derived diffusion coefficient in this limit. In the next section we show that this is indeed the case, by considering the asymptotic solution to the multiple-scales model in the limit of low obstacle volume fraction Φ. We then compare our effective equations with each other and with direct numerical simulations in a variety of test problems. 4.1. Model for an ordered porous medium with low porosity. We consider the model (2.18) in the limit of low volume fraction Φ. This means that the local volume fraction φ(x) is also small (almost everywhere), corresponding to small relative obstacle radius ε(x) ≪ 1. In this limit, the cell problem (2.13) can be solved explicitly. Since x, and hence ε(x), are constants as far as the cell problem (2.13) is concerned, we can look for an asymptotic solution to (2.13) in terms of the small parameter ε(x). Consider, say, the first component of the vector function Γ, which satisfies ∇y <sup>2</sup> y <sup>2</sup> <sup>Γ1</sup> <sup>= 0</sup> y ∈ ωv(x), (4.1a) ∇yΓ1 · y = y1 ∥y∥ = ε(x), (4.1b) Γ1 periodic in y. (4.1c) We use the method of matched asymptotic expansions, supposing that the unit cell ωv(x) can be divided into two regions: an inner region in which ∥y∥∼O(ε), and an outer region in which ∥y∥≫ ε. In the inner region, we set y = ε(x)Y and define γ1(x, Y) = Γ1(x, y) to give ∇Y <sup>2</sup> <sup>γ1</sup> <sup>= 0</sup> (4.2a) ∇Yγ1 · Y = εY1 on ∥Y∥ = 1, (4.2b) DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 17 with a matching condition as ∥Y∥→∞. Expanding γ1(x, Y) = γ1 <sup>(0)</sup> with a matching condition as ∥Y∥→∞. Expanding γ1(x, Y) = γ1 <sup>(0)(x, Y)</sup> <sup>+</sup> εγ <sup>(1)</sup> 1 is simply a con 1 <sup>(x, Y)</sup> <sup>+</sup> <sup>· · ·</sup> <sup>gives</sup> <sup>that</sup> <sup>the</sup> <sup>leading-order</sup> <sup>inner</sup> <sup>solution</sup> <sup>γ(0)</sup> εγ <sup>(1)</sup> 1 is simply a con 1 <sup>(x, Y)</sup> <sup>+</sup> <sup>· · ·</sup> <sup>gives</sup> <sup>that</sup> <sup>the</sup> <sup>leading-order</sup> <sup>inner</sup> <sup>solution</sup> <sup>γ(0)</sup> stant in Y, whence the leading-order outer solution is also constant. At first order in ε we find Y <sup>γ</sup> 1 <sup>(1)</sup> <sup>2</sup> ∇Y <sup>2</sup> 1 <sup>(1)</sup> = 0 (4.3a) 1 ∇Yγ <sup>(1)</sup> 1 on (4.3b) <sup>(1)</sup> - Y = Y1 ∥Y∥ = 1. Using polar (d = 2) or spherical (d = 3) coordinates, we look for a solution to (4.3) of the form γ1 <sup>(1)</sup> = f (x, R) cos θ (d = 2) or γ <sup>(1)</sup> = f (x, R) sin θ cos ϕ (d = 3), where Y1 = R cos θ when d = 2 and Y1 = R sin θ cos ϕ when d = 3. We find that f (x, R) = A(x)R + <sup>[A(x) −</sup> <sup>1]</sup> (4.4) (d − 1)R <sup>d−1,</sup> for an unknown function A(x). Since the leading-order outer solution is constant in y, matching gives A(x) ≡ 0. Thus 1 γ <sup>(1)</sup> 1 <sup>(x, Y) = −</sup> (d − 1) Y1 1 <sup>(x).</sup> (4.5) ∥Y∥ <sup>d</sup> <sup>+ ˆγ(1)</sup> Thus the first non-constant term in the outer expansion is O(ε <sup>d</sup> ). Matching with the outer solution gives that Γ1(x, y) ∼ constant − <sup>εd(x)</sup> (d − 1) y1 ∥y∥ <sup>d</sup> <sup>+ · · ·</sup> <sup>,</sup> (4.6) as ∥y∥→ 0. We can now use this asymptotic behavior to determine the outer solution at this order. However, it is possible to determine the effective diffusion coefficient, which is our primary aim, with the information we already have. Since the integrals we have to evaluate in (2.18b) are all derivatives with respect to some component of y, by integrating with respect to this component first we turn the volume integral over the unit cell ωv(x) into surface integrals over the exterior periodic boundaries and the interior boundary with the solid obstacle. The contributions from the exterior boundaries cancel due to periodicity, while on the interior boundary we can use the asymptotic solution (4.5). The result is ωv(x) Γ <sup>T</sup> <sup>dy =</sup> <sup>2πεd(x)</sup> d JΓ <sup>T</sup> <sup>d(x)</sup> δij . d Thus as ε → 0, De is a scalar multiple of the identity, equal to 1 De(x) ∼ 1 − ψ(x) 2π φ(x) (4.7a) d <sup>εd(x) ∼</sup> <sup>1 −</sup> <sup>2</sup> d <sup>π</sup> <sup>εd(x) = 1 −</sup> (d − 1) <sup>,</sup> since ψ(x) = 1 - φ(x) = 1 - 2(d - 1)πε <sup>d</sup> /d ∼ 1 at leading order. As expected, this result agrees with the asymptotic value (3.7a) obtained with the Fokker–Planck approach. The drift term in the multiple-scales homogenized equation (2.19) is v(x) = De(x)∇xψ(x)/ψ(x). Using (4.7a), we obtain d − 1 − φ (4.7b) v(x) = − <sup>De(x)∇xφ(x)</sup> ∼− 1 − φ(x) (d − 1)(1 − φ) <sup>∇xφ(x) ∼−∇xφ(x).</sup> 18 M. BRUNA AND S. J. CHAPMAN This asymptotic value also agrees with the drift obtained in the reduced Fokker– Planck model; see (3.7b). Finally we comment that the nature of the calculation above makes it clear that the configuration of the inclusions does not affect the diffusion coefficient at this order, since the dominant contribution comes from the solution of the cell problem in the inner region, which has no information about the position of the inclusion(s) in the unit cell. 4.2. Numerical simulations. The aim of this section is to compare the two models for diffusion in porous media against each other as well as against numerical simulations for the full problem and stochastic simulations of the particle system. First, we consider the mean squared displacement of particles diffusing in two homogeneous porous media with the same porosity, namely a deterministic structure with a square lattice of obstacles and a random structure with obstacle configurations drawn from a uniform distribution with non-overlapping constraints. Second, we consider the spreading out of a localized initial concentration of particles in porous media with gradients in porosity. Again we consider locally periodic structures accessible to the multiple-scales analysis and random structures with the same (ensemble) average porosity. All the simulations are made in a two-dimensional unit square domain Ωwith Nm point mobile particles and Ns hard-disk obstacles of constant radius ǫ. When the porous structure is random with probability law s(x), a new configuration of obstacles is generated for every new run. 4.2.1. Effective diffusion coefficient via the mean squared displacement. In this section we compare the diffusion coefficient computed from simulations of the discrete stochastic system to the effective diffusion coefficient obtained in the previous sections, either from multiple scales De (2.18b) if the obstacles are placed in a regular structure, or from the Fokker–Planck description D <sup>ˆ</sup> e (3.7a) if the obstacles are randomly distributed with density s(x). In particular, we consider two porous media with uniform porosity Φ (so that s(x) ≡ 1 so that the drift is v ≡ 0) and the same number Ns of obstacles: (i) a square lattice configuration, and (ii) a random uniform configuration of obstacles with non-overlapping constraints. The numerical value of the diffusion coefficient is obtained from the mean-square displacement, using the relation ⟨r <sup>2</sup> (t)⟩ = 2dDet as t →∞. To evaluate the meansquare displacement, we run M = 1000 runs with Nm = 100 mobile particles, and MN1 m k=1 i i i (t) is the position compute ⟨r <sup>2</sup> (t)⟩ = �M �iN=1m <sup>∥X(k)</sup> (t)−X <sup>(k)</sup> (0)∥ <sup>2</sup> . Here X <sup>(k)</sup> i i <sup>(k)</sup> (0)∥ <sup>2</sup> . Here X <sup>(k)</sup> k=1 k �M i i=1 <sup>∥X(k)</sup> realization at �Nm i i <sup>(k)</sup> (t)−X <sup>(k)</sup> MN1 m k=1 i i i (t) is the position compute ⟨r <sup>2</sup> (t)⟩ = i=1 <sup>∥X(k)</sup> (t)−X <sup>(k)</sup> (0)∥ <sup>2</sup> . Here X <sup>(k)</sup> of the ith particle in the k realization at time t. <sup>∥</sup> �M �Nm Our stochastic simulations are performed integrating Eq. (3.1) using an Euler– Maruyama scheme, with reflective boundary conditions between mobile particles and obstacles (∂Ωs) and periodic boundary conditions on the outer boundary (∂Ω). The reflective boundary conditions between the mobile point particles and the obstacles are implemented similar to as in [5], namely, the distance that a particle has travelled (illegally) inside an obstacle is reflected back into the domain Ωv. To do that, we compute the point on the obstacle boundary where the particle penetrated, and compute a particle–wall elastic collision on that point. The integration timestep ∆t must be chosen carefully so that virtually no collisions are missed. A convergence ∥Since every realization is done with Nm point particles, this is equivalent to averaging over particle trajectories and regenerating the solid matrix every Nm realizations). DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 19 study is shown in the Appendix and based on this, we have used ∆t = 1.2434 · 10 <sup>−6</sup> in the results presented below. We perform experiments with the periodic and random porous media at porosities Φ = 10, 20 and 30%. From Figure 2.2(a), we expect differences between the random and periodic porous media to become apparent from Φ = 20%. The question is whether the discrepancy between De and D <sup>ˆ</sup> e is real (due to the structure) or artificial (due to the nature of the asymptotic approximation in obtaining D <sup>ˆ</sup> e). We plot the mean-square displacement ⟨r <sup>2</sup> (t)⟩ against time in Figure 4.1(a) for the square lattice (solid lines with error bars) and the random structure (dashed lines with crosses and error bars). (The error bars indicate the 95% confidence interval, or ±1.96SD values, of each data point, and are barely discernible.) As expected, ⟨r <sup>2</sup> ⟩ increases linearly with time, with a slope that decreases with Φ. 1.2 1 0.8 0.6 0.4 0.2 10% De sim. 20% Dˆ e th. 30% Dˆ e sim. De th. De sim. ~~<u>1</u>~~ 0 ~~%~~ 20% 30% 0 0.05 0.1 0.15 0.2 0.25 0.3 t (a) 0.9 0.7 (b) 0.25 0.95 0.9 0.85 0.8 0.75 0.7 0 0 0.05 0.1 0.15 0.2 0.25 0.3 t Fig. 4.1. (a) Mean squared displacement ⟨r <sup>2</sup> ⟩ as a function of time t for diffusion of point particles in the presence of obstacles. The obstacles are arranged on a square lattice (error bars) or uniformly distributed (error bars with crosses) and at volume fraction Φ = 10, 20, 30%. The theoretical curves using De (Eq. (2.22b)) and D <sup>ˆ</sup> e (Eq. (3.7a)) are shown with solid lines and dashed lines, respectively. (b) The same data replotted as ⟨r <sup>2</sup> ⟩/(4t), to demonstrate that by the final simulation time the numerical diffusion coefficient has converged. The data points inside the dashed black rectangle are used to compute the numerical value of diffusion. In both plots, the error bars indicate the 95% confidence interval. Parameters used for the simulations are: Nm = 100, M = 1000 (a new obstacle configuration was generated at every new run in the random case), ∆t = 1.2434 · 10 <sup>−6</sup>, ǫ = 0.0126, and Ns = 200, 400, 600 for Φ = 0.1, 0.2, 0.3 respectively. The diffusion coefficient is given by limt→∞⟨r <sup>2</sup> (t)⟩/(4t). To check that we have run the simulation for long enough and rule out any anomalous transient diffusion, in Figure 4.1(b) we plot ⟨r <sup>2</sup> (t)⟩/(4t) [2]. This type of plot highlights any time dependence in the diffusion coefficient [30]. We observe that, for all curves in Figure 4.1(b), the curves have slope 0 after the first t = 0.05 and hence have converged. To evaluate the diffusion coefficient, we average over the last ∆t = 0.05 of each simulation (data points marked with a dashed rectangle in Figure 4.1(b)). From Figure 4.1(b) and the estimated values (data not shown), we note that: (i) For the square lattice case, theory (eq. (2.22b), solid lines) and simulation results (solid error bars) for De agree very well, as expected since De from (2.22b) is exact. (ii) The random media simulation results (error bars with crosses) agree well with the asymptotic value D <sup>ˆ</sup> e (eq. (3.7a), dashed lines) for Φ = 0.1, 0.2 but there is a significant discrepancy for Φ = 0.3. (iii) The difference between the regular and random porous media is within the error bars for Φ = 0.1 but becomes apparent for Φ = 0.2, 0.3. Interestingly, while the multiple-scales effective diffusion coefficient De does a 20 M. BRUNA AND S. J. CHAPMAN better job for the period medium (as we might expect), the Fokker–Planck effective diffusion coefficient D <sup>ˆ</sup> e seems to do a slightly better job for the random medium. This was not at all obvious, since this coefficient is only the leading term in an expansion as Φ → 0 (while the multiple-scales coefficient is valid for all Φ). It seems that, for a given obstacle volume fraction Φ, random porous media may have a slightly lower diffusion coefficient than periodic ones. Because D <sup>ˆ</sup> e is an asymptotic expansion, we can use the order of the next term to estimate the error. The next term in the asymptotic expansion of D <sup>ˆ</sup> e is O (2ǫ) <sup>4</sup> Ns <sup>2, (2ǫ)3Ns</sup> [6], which gives 0.065 and 0.1459 (2ǫ) <sup>4</sup> Ns <sup>2</sup> The s <sup>2, (2ǫ)3Ns</sup> asymptotic expansion of D <sup>ˆ</sup> e is O (2ǫ) <sup>4</sup> Ns <sup>2, (2ǫ)3Ns</sup> [6], which gives 0.065 and 0.1459 for Φ = 0.2 and 0.3 respectively. The discrepancies in Figure 4.1(b) between the - asymptotic values D <sup>ˆ</sup> e and the simulation results for Φ = 0.2 and 0.3 are 0.0103 and 0.0257, respectively. In other words, the effective diffusion D <sup>ˆ</sup> e does better than expected from the asymptotic error bounds. 4.2.2. Diffusion in a gradient of porosity. For our second model comparison, we consider a porous medium with a non-uniform porosity. As before, we consider both a locally periodic array of obstacles of constant radius ǫ, and a random array of obstacles giving the same local porosity. For the locally periodic structure we use the arrangement illustrated in Figure 2.4(a). The obstacles have a fixed radius ǫ = 0.01, and the average volume fraction of obstacle is Φ = Nsπǫ <sup>2</sup> = 0.059. To generate a random periodic medium with the same (ensemble) average local porosity we need to determine the probability density function of obstacle position s(x), which we have seen is related to the volume concentration of obstacles by φ(x) = Φs(x). (4.8) This is easily found once we have determined the variable obstacle radius ε(x) in the mapped multiple-scales domain (shown in Figure 2.4(b)). To determine ε(x), consider one representative cell A(x) centered at x in the original domain Ω. The cell A(x) is mapped to a square of side δ centered at x <sup>′</sup> in Ω <sup>′</sup>, which we denote A <sup>′</sup> (x <sup>′</sup> ). The area of A(x) is then 1 det JW dx <sup>′</sup> ∥x <sup>′</sup> ∥ <sup>4 .</sup> (4.9) A <sup>′</sup> (x <sup>′</sup> ) A <sup>′</sup> (x <sup>′</sup> ) A <sup>′</sup> (x <sup>′</sup> ) det JW <sup>−1dx′</sup> <sup>=</sup> dx <sup>′</sup> = |A(x)| = A(x) dx = Since the volume fraction in the cell is conserved, we have πǫ <sup>2</sup> φ(x) = |A(x = πε(x) <sup>2</sup> . (4.10) δ <sup>2</sup> <sup>(x))2</sup> πǫ <sup>2</sup> δ <sup>2</sup> |A(x)| <sup>=</sup> <sup>π(δε(x))2</sup> Thus knowing |A(x)| through (4.9) allows us to determine both φ(x) (and therefore s(x)), and also ǫ ε(x) = �|A(x)| , (4.11) which we need in order to solve the multiple-scales cell problem (2.13). In Figure 4.2(a) we plot the density s(x) corresponding to the configuration shown in Figure 2.4(a). We see that the maximum local solid volume fraction is about 2.5 times the average solid volume fraction Φ. In Figure 4.2(a) we show one realization of obstacles randomly drawn from the corresponding probability distribution, with a non-overlapping constraint. DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 21 (a) (b) Fig. 4.2. (a) Density of obstacles s(x) corresponding to the configuration in Figure 2.4(a). (b) One realization of obstacles randomly drawn from the corresponding probability distribution, with a non-overlapping constraint. Parameters used are: δ = 0.02, ǫ = 0.01. We suppose that at t = 0 a drop of solute of radius ǫ is placed centered at x0 = (0.0392, 0). We have chosen x0 such that the drop does not intersect with any of the obstacles, that is, ∥x0 − ri∥ - 2ǫ for i = 1, . . ., Ns. Thus the initial condition is C(x, 0) = 1/(πǫ <sup>2</sup> ) for ∥x − x0∥≤ ǫ, and zero otherwise. Of course, this initial condition does not satisfy the requirement of the multiple-scales method that it varies slowly with respect to the obstacle separation; nevertheless we expect that it will quickly spread into a function which does. In Figure 4.3 we illustrate the time evolution of the solute density for four different models. In Figure 4.3(a) we show the (numerically calculated) true solution for the locally periodic distribution of obstacles. In Figure 4.3(c) we show the (numerically calculated) true solution for one realization of the random configuration of obstacles, distributed according to the density function s(x). In Figure 4.3(b) we show the solution of the effective equation (2.18) derived through the multiple-scales method, while in Figure 4.3(d) we show the solution of the (intrinsic version of the) effective equation (3.6) derived through the Fokker–Planck approach. In each case we show the intrinsic average c¯, since this allows direct comparison between the solutions of the effective equations and the solutions of the real problems. <sup>∗∗</sup> We see that, perhaps counterintuitively, the maximum of the solute concentration initially moves to the right, towards the region of low porosity. This is because the localized source spreads out in all directions, but spreads out more in the high porosity region. The increased diffusion in the high-porosity region lowers the concentration more, giving the impression that the solute is moving towards the low-porosity region. At least visually, the two effective models capture the behavior of the true solutions, both for the regular structure and even for a single realization of the random structure. To make the comparison a little easier, we show in Figure 4.4 a slice along the line y = 0 for the true locally periodic solution, the multiple-scales-derived solution, and the Fokker–Planck-derived solution. We see that the agreement is remarkably good. While the intrinsic average c¯ is the natural variable to compare with a particular realization of the microstructure, the volume average c is the natural variable to compare with an ensemble average over a random microstructure (and is also usually the natural variable in an application of the effective equations). While c¯ converges ∗∗For the Fokker–Planck case, we recall that p ≡ c given the normalization condition on c, and hence we identify the intrinsic average as c¯(x, t) = c(x, t)/ψ ≡ p(x, t)/ψ, where ψ(x) = 1 − φ(x). 22 M. BRUNA AND S. J. CHAPMAN (a) (b) (c) (d) Fig. 4.3. The concentration C(x, t) at times t = 0.1, 0.2, 0.3 for (a) a locally periodic distribution of obstacles; and (c) one realization of a random configuration of obstacles, distributed according to the same density function s(x). The intrinsic average c¯(x, t) at the same times from (b) equation (2.18) derived through the multiple-scales method; and (d) the equation (3.6) derived through the Fokker–Planck approach. The position of the initial solute drop is shown as a black disk. c¯ 1.25 t 1.2 1.15 1.1 1.05 1 0.95 0.9 -0.5 0 0.5 x Fig. 4.4. The intrinsic average c¯(x, t) along the line y = 0 at times t = 0.1, 0.2, 0.3, 0.4 computed from the multiple-scales equation (2.18) (blue, full) and from the Fokker–Planck equation (3.6) (red, dot-dashed). The true solution C for a locally periodic distribution of obstacles is shown in black (broken by obstacles). to the uniform measure as time evolves (as in Figure 4.3), the volume average c approaches a non-uniform density which is a multiple of the porosity. We show in Figure 4.5 the evolution of the volume average c for three models. In Figure 4.5(a) we show the solution of the effective equation (2.22) derived through the multiple-scales method, while in Figure 4.5(c) we show the solution of the effective equation (3.6) derived through the Fokker–Planck approach. In Figure 4.5(b) we show average of the true solution over 100 realizations of the randomly distributed obstacles. Again, visually, both models seem to do a good job of approximating the ensemble average. DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 23 (a) (b) (c) Fig. 4.5. The volume average c(x, t) at times t = 0.1, 0.2, 0.3 computed from (a) the effective equation (2.22) derived through the multiple-scales method; (b) the ensemble average of the true solution over 100 realizations of random configurations of obstacles distributed according to the density function s(x); and (c) the effective equation (3.6) derived through the Fokker–Planck approach. The position of the initial solute drop is shown as a black disk. In Figure 4.6 we show the solutions in Figure 4.5 along the strip y = [−3∆/2, 3∆/2] for ∆= 1/21. In Figure 4.6(a) we show the solutions of the multiple-scales-derived and Fokker–Planck-derived effective equations, along with the average over 100 realizations of the true solution for a random distribution of obstacles (as in Figure 4.5). In Figure 4.6(b) we show some of the individual realizations along with the ensemble average, to give an idea of the variance. (a) t c 1.2 1.15 1.1 1.05 1 0.95 c 1.2 <u>(b)</u> 1.15 1.1 1.05 1 0.95 0.9 -0.5 0 0.5 x 0.9 -0.5 0 0.5 x Fig. 4.6. The volume average c(x, t) along the strip y = [−3∆/2, 3∆/2], computed by averaging the solution over bins of width ∆= 1/21 in x and 3∆ in y. (a) Solution at times t = 0.1, 0.2, 0.3, 0.4 computed from the multiple-scales equation (2.18) (blue, full) and the Fokker–Planck equation (3.6) (red, dot-dashed), and an ensemble average over 100 realizations of the true solution for a random distribution of obstacles (black dots). (b) Ensemble average (black dots) at time t = 0.1 along with 10 individual realizations of the true solution (colored), again averaged over bins of width ∆= 1/21 in x and 3∆ in y. 24 M. BRUNA AND S. J. CHAPMAN 5. Discussion. We have investigated the problem of diffusion through a porous medium in which the porosity is non-uniform. Transport through porous media is inherently a multiscale process, with properties determined by individual pores at the microscale while one is usually interested transport over much larger distances. To derive an effective macroscopic model, a common approach is to assume that all heterogeneities lie within the microscale and that, once these are averaged out, we are left with a homogeneous porous medium at the macroscale. It is tempting to suppose that, if the properties such as porosity do vary macroscopically, then all we have to do is carry out this procedure locally at each point (that is, treat the material as though it were uniform with a porosity equal to the local porosity), so that the effective diffusivity becomes a function of macroscopic position. However, in this paper we have seen that this is not the case, and that a more careful analysis is needed. We have considered two different approaches to the upscaling problem, suitable for deterministic and random porous media respectively, and have generalized them to heterogeneous media. The result is a macroscopic advection–diffusion equation, with the advection term accounting for the macroscopic gradients in porosity. First, we have extended the method of multiple scales to account for non-uniform porosity (via a microscopic cell geometry parametrized by the macroscopic variable) and non-periodic structures (providing they are locally periodic, that is, they can be mapped into periodic structures by a transformation depending only on the slow scale). The resulting equation is equivalent at leading order to the one presented in [32] using a volume-averaging approach, although some formally higher-order terms are included in their unit cell problem (which leads them to some worrying conclusions; for example, the effective diffusivity depends on the location of the centroid in the unit cell). The multiple-scales method has the advantage of being a systematic asymptotic expansion (for which higher-order terms could in principle be calculated) which is able to handle any porosity. Its disadvantage is that, even with our extensions, it requires the microstructure to be locally periodic. Our examples have considered spherical obstacles that remained spherical when mapped to a periodic arrangement, which has greatly simplified parts of the presentation. However, the technique is more general. In particular if the diffusion tensor is anisotropic (for example, if the inclusions were ellipsoids instead of spheres) the technique demonstrates systematically that the principal directions of the diffusion tensor would be aligned with the local axes of the ellipsoids. One question that always arises when deriving effective equations with the method of multiple scales is how much of an error is introduced by treating the microstructure as periodic, when in reality it is unstructured. To address this question, we considered a second approach involving diffusion through a random distribution of spherical obstacles. In this case we again used a systematic asymptotic expansion, but this time in the limit of low volume fraction of obstacles. The macroscopic equation turns out to be a particular case of our model for the diffusion of binary mixtures of finitesized particles [5], when the diffusivity of one of the species is set to zero. We compared the macroscopic models described above to each other and also to their microscopic counterparts. For the examples we considered both effective material models performed well, and the differences between the structured and unstructured media were small. For both deterministic and random media, the mean-square displacement ⟨r <sup>2</sup> ⟩ analysis in Figure 4.1 showed that the effective transport mechanism of the solute particle is still normal diffusion, that is, ⟨r <sup>2</sup> ⟩ grows linearly in time, and it is only the DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 25 diffusion coefficient that changes from one (in the microscale) to De in the macroscale. However, depending on the timescale used in such analysis, one can observe transient anomalous diffusion (the transient period can only just be seen in our simulations, see Figure 4.1(b)). In the context of porous media, if the ratio ǫ between pore scale and typical domain length is not sufficiently small, diffusion may occur in a lengthscale shorter than the crossover region between transient anomalous diffusion and normal diffusion [30]. This transient behavior should not be confused with real stationary anomalous diffusion [2]. Appendix. Numerical convergence of mean-square displacement simulations. Using the method described in §4.2.1, we compute the effective diffusion coefficient in porous media with 20% obstacle volume fraction, with obstacles either on a square lattice or uniformly distributed. We use the same parameters as in Figure 4.1 except the timestep ∆t, which we will vary to perform a convergence study. In addition, we use this study to check the number of trajectories (the number of particles Nm times the number of runs M ) required to obtain an accurate mean-square displacement. This is particularly important in the random case, as we need to obtain an accurate mean from the distribution of random media. The mean displacement of a diffusive particle according to (3.1) is h = √2∆t. If the obstacle’s diameter is 2ǫ, then we should use ∆t such that h ≪ 2ǫ. We use a simulation time t = 0.25 (so that each particle has had time to diffuse across almost the whole domain Ω). We choose a mean step h = (2ǫ)/2 <sup>k</sup> for k = 0, 1, . . ., 4, or, equivalently, a timestep ∆t = ǫ <sup>2</sup> /2 <sup>2k−1</sup>, where ǫ = 0.0126. The diffusion coefficients are obtained as the average of the last 10 data points of the time series (after checking it has converged to a stationary value, see dashed area in Figure 4.1(b)). The resulting values for the periodic and random media, denoted by De <sup>(1)</sup> and D <sup>ˆ</sup> e <sup>(1)</sup> respectively, are shown in Table A.1. The standard deviation in both cases is below 0.006 for all k. The mean displacement of a diffusive particle according to (3.1) is h = √ e <sup>(1)</sup> and D <sup>ˆ</sup> e <sup>(1)</sup> Table A.1 Diffusion coefficient in a square lattice with volume fraction Φ = 20% from simulations using ∆t = ǫ <sup>2</sup> /2 <sup>2k−1</sup> . Theoretical predictions De and D <sup>ˆ</sup> e from Eqs. (2.22b) and (3.7a) respectively are also shown. De <sup>(1)</sup> e <sup>(1)</sup> De <sup>(2)</sup> e <sup>(2)</sup> De <sup>(3)</sup> e <sup>(3)</sup> De <sup>(4)</sup> e <sup>(4)</sup> De <sup>(5)</sup> De <sup>(1)</sup> De <sup>(2)</sup> De <sup>(3)</sup> De <sup>(4)</sup> De <sup>(5)</sup> De k = 0 0.984483 0.860079 0.790490 0.833896 0.833425 0.833163 k = 1 0.891180 0.794840 0.833218 0.833427 k = 2 0.818925 0.830819 0.833424 k = 3 0.827845 0.833261 k = 4 0.831907 Dˆ e <sup>(1)</sup> e <sup>(1)</sup> Dˆ e <sup>(2)</sup> e <sup>(2)</sup> Dˆ e <sup>(3)</sup> e <sup>(3)</sup> Dˆ e <sup>(4)</sup> e <sup>(4)</sup> Dˆ e <sup>(5)</sup> Dˆ e <sup>(1)</sup> Dˆ e <sup>(2)</sup> Dˆ e <sup>(3)</sup> Dˆ e <sup>(4)</sup> Dˆ e <sup>(5)</sup> Dˆ e k = 0 0.895929 0.815169 0.779048 0.811383 0.807609 0.8 k = 1 0.835359 0.781305 0.810877 0.807624 k = 2 0.794819 0.809029 0.807675 k = 3 0.805476 0.807759 k = 4 0.810293 The order of convergence of De <sup>(1)</sup> e <sup>(1)</sup> and D <sup>ˆ</sup> e <sup>(1)</sup> The order of convergence of De <sup>(1)</sup> and D <sup>ˆ</sup> e <sup>(1)</sup> as ∆t → 0 is one (in ∆t), as expected from the Euler–Maruyama integration scheme. We can apply repeated Richardson extrapolations De <sup>(i)</sup> and D <sup>ˆ</sup> e <sup>(i)</sup> to improve the accuracy of these numerical results (see Table A.1). By the last extrapolation, De <sup>(5)</sup> appears to have five correct figures, three e <sup>(i)</sup> and D <sup>ˆ</sup> e <sup>(i)</sup> e <sup>(5)</sup> appears to have five correct figures, three 26 M. BRUNA AND S. J. CHAPMAN of which coincide with the theoretical value De. Similarly, D <sup>ˆ</sup> e <sup>(5)</sup> has four correct fig ures, two of which agree with the theoretical value D <sup>ˆ</sup> e. Acknowledgements. The authors thank Dr Martin Robinson for helpful discussions on the implementation of the stochastic algorithms. In particular, we benefited from his software library Aboria (available online at https://github.com/martinjrobins/ Aboria), which includes the neighbourhood search subroutine we have used to speed up the calculation of collisions in the stochastic simulations. REFERENCES [1] A. Bensoussan, J.-L. Lions, and G. Papanicolaou, Asymptotic Analysis for Periodic Struc tures, vol. Volume 5 of Studies in Mathematics and Its Applications, Elsevier, 1978. [2] A. M. Berezhkovskii, L. Dagdug, and S. M. Bezrukov, Discriminating between Anomalous Diffusion and Transient Behavior in Microheterogeneous Environments, Biophys. J., 106 (2014), pp. L09–L11. [3] H. Brenner, Dispersion Resulting from Flow through Spatially Periodic Porous Media, Philos. Tr. R. Soc. S-A, 297 (1980), pp. 81–133. [4] W. F. Brown, Solid Mixture Permittivities, J. Chem. Phys., 23 (1955), p. 1514. [5] M. Bruna and S. J. Chapman, Diffusion of multiple species with excluded-volume effects, J. Chem. Phys., 137 (2012), pp. 204116–204116–16. [6], Excluded-volume effects in the diffusion of hard spheres, Phys. Rev. E, 85 (2012), p. 011103. [7] D. W. Chung, P. R. Shearing, N. P. Brandon, S. J. Harris, and R. E. Garcia, Particle Size Polydispersity in Li-Ion Batteries, J. Electrochem. Soc., 161 (2013), pp. A422–A430. [8] J. H. Cushman, The Physics of Fluids in Hierarchical Porous Media: Angstroms to Miles, Springer, Nov. 1997. [9] J. H. Cushman, L. S. Bennethum, and B. X. Hu, A primer on upscaling tools for porous media, Adv. Water Resour., 25 (2002), pp. 1043–1067. [10] G. Dagan, Flow and Transport in Porous Formations, Springer Berlin Heidelberg, Berlin, Heidelberg, 1989. [11] Y. Davit, C. G. Bell, H. M. Byrne, L. A. C. Chapman, L. S. Kimpton, G. E. Lang, K. H. L. Leonard, J. M. Oliver, N. C. Pearson, R. J. Shipley, S. L. Waters, J. P. Whiteley, B. D. Wood, and M. Quintard, Homogenization via formal multiscale asymptotics and volume averaging: How do the two techniques compare?, Adv. Water Resour., 62, Part B (2013), pp. 178–206. [12] Y. Davit, H. M. Byrne, J. Osborne, J. Pitt-Francis, D. Gavaghan, and M. Quintard, Hydrodynamic dispersion within porous biofilms, Phys. Rev. E, 87 (2013), p. 012718. [13] C. W. Fetter, Applied Hydrogeology, Pearson New International Edition, Pearson Education Limited, 4th ed., 2014. [14] R. A. Freeze and J. A. Cherry, Groundwater, Prentice-Hall, 1979. [15] L. W. Gelhar, Stochastic Subsurface Hydrology, Prentice Hall, 1993. [16] A. Gloria, S. Neukamm, and F. Otto, Quantification of ergodicity in stochastic homoge nization: optimal bounds via spectral gap on Glauber dynamics, Invent. Math., 199 (2015), pp. 455–515. [17] Z. Hashin and S. Shtrikman, A Variational Approach to the Theory of the Effective Magnetic Permeability of Multiphase Materials, J. Appl. Phys., 33 (1962), pp. 3125–3131. [18] H. J´ohannesson and B. Halle, Solvent diffusion in ordered macrofluids: a stochastic simu lation study of the obstruction effect, J. Chem. Phys., 104 (1996), pp. 6807–6817. [19] S. M. Kozlov, The method of averaging and walks in inhomogeneous environments, Russ. Math. Surv., 40 (1985), pp. 73–145. [20] J. Lux, A non-periodic closure scheme for the determination of effective diffusivity in real porous media, Transp. Porous. Med., 82 (2010), pp. 299–315. [21] J. C. Maxwell, A treatise on Electricity and Magnetism, vol. 1, Clarendon Press, Oxford, 2nd ed., 1881. [22] I. L. Novak, P. Kraikivski, and B. M. Slepchenko, Diffusion in Cytoplasm: Effects of Excluded Volume Due to Internal Membranes and Cytoskeletal Structures, Biophys. J., 97 (2009), pp. 758–767. [23] G. C. Papanicolaou and S. R. S. Varadhan, Boundary value problems with rapidly oscillating DIFFUSION IN SPATIALLY VARYING POROUS MEDIA 27 random coefficients, in Colloquia mathematica Societatis J´anos Bolyai, North-Holland, Amsterdam-New York, 1979, pp. 835–873. [24] S. Prager, Diffusion and viscous flow in concentrated suspensions, Physica, 29 (1963), pp. 129– 139. [25] M. Quintard and S. Whitaker, Transport in ordered and disordered porous media: volume averaged equations, closure problems, and comparison with experiment, J. Theor. Biol., 48 (1993), pp. 2537–2564. [26] L. Rayleigh, On the influence of obstacles arranged in rectangular order upon the properties of a medium, Philos. Mag., 34 (1892), pp. 481–502. [27] G. Richardson and S. J. Chapman, Derivation of the Bidomain Equations for a Beating Heart with a General Microstructure, SIAM J. Appl. Math., 71 (2011), pp. 657–675. [28] G. Rimmel´e, V. Barlet-Gou´edard, O. Porcherie, B. Goff´e, and F. Brunet, Heteroge neous porosity distribution in Portland cement exposed to CO2-rich fluids, Cement Concrete Res., 38 (2008), pp. 1038–1048. [29] E. Sanchez-Palencia, Non-Homogeneous Media and Vibration Theory, vol. 127 of Lecture Notes in Physics, Springer Berlin Heidelberg, Berlin, Heidelberg, 1980. [30] M. J. Saxton, Anomalous diffusion due to obstacles: A Monte Carlo study, Biophys. J., 66 (1994), pp. 394–401. [31] S. Torquato, Random Heterogeneous Media: Microstructure and Improved Bounds on Effec tive Properties, Appl. Mech. Rev., 44 (1991), pp. 37–76. [32] F. J. Vald´es-Parada and J. Alvarez-Ram´ırez, A volume averaging approach for asymmetric diffusion in porous media, J. Chem. Phys., 134 (2011), p. 204709. [33] H. L. Weissberg, Effective Diffusion Coefficient in Porous Media, J. Appl. Phys., 34 (1963), pp. 2636–2639. [34] S. Whitaker, The Method of Volume Averaging, vol. 13 of Theory and Applications of Trans port in Porous Media, Springer, 1999.

섹션 본문

섹션 본문이 없습니다.

참고문헌 24건

  1. Trapping by Clusters of Channels, Receptors, and Transporters: Quantitative Description Biophysical Journal · Elsevier BV · 2014 10.1016/j.bpj.2013.12.015
  2. Dispersion resulting from flow through spatially periodic porous media Philosophical Transactions of the Royal Society of London Series A Mathematical and Physical Sciences · Royal Society · 1980 10.1098/rsta.1980.0205
  3. Solid Mixture Permittivities The Journal of Chemical Physics · American Institute of Physics · 1955 10.1063/1.1742339
  4. Diffusion of multiple species with excluded-volume effects The Journal of Chemical Physics · American Institute of Physics · 2012 10.1063/1.4767058
  5. Excluded-volume effects in the diffusion of hard spheres Physical Review E · American Physical Society · 2012 10.1103/physreve.85.011103
  6. Particle Size Polydispersity in Li-Ion Batteries Journal of The Electrochemical Society · Institute of Physics · 2014 10.1149/2.097403jes
  7. A primer on upscaling tools for porous media Advances in Water Resources · Elsevier BV · 2002 10.1016/s0309-1708(02)00047-7
  8. Homogenization via formal multiscale asymptotics and volume averaging: How do the two techniques compare? Advances in Water Resources · Elsevier BV · 2013 10.1016/j.advwatres.2013.09.006
  9. Hydrodynamic dispersion within porous biofilms Physical Review E · American Physical Society · 2013 10.1103/physreve.87.012718
  10. Quantification of ergodicity in stochastic homogenization: optimal bounds via spectral gap on Glauber dynamics Inventiones mathematicae · Springer Science+Business Media · 2014 10.1007/s00222-014-0518-z
  11. A Variational Approach to the Theory of the Effective Magnetic Permeability of Multiphase Materials Journal of Applied Physics · American Institute of Physics · 1962 10.1063/1.1728579
  12. Solvent diffusion in ordered macrofluids: A stochastic simulation study of the obstruction effect The Journal of Chemical Physics · American Institute of Physics · 1996 10.1063/1.471347
  13. The method of averaging and walks in inhomogeneous environments Russian Mathematical Surveys · IOP Publishing · 1985 10.1070/rm1985v040n02abeh003558
  14. A Non-periodic Closure Scheme for the Determination of Effective Diffusivity in Real Porous Media Transport in Porous Media · Springer Science+Business Media · 2009 10.1007/s11242-009-9423-0
  15. Diffusion in Cytoplasm: Effects of Excluded Volume Due to Internal Membranes and Cytoskeletal Structures Biophysical Journal · Elsevier BV · 2009 10.1016/j.bpj.2009.05.036
  16. Diffusion and viscous flow in concentrated suspensions Physica · Elsevier BV · 1963 10.1016/s0031-8914(63)80199-8
  17. Transport in ordered and disordered porous media: volume-averaged equations, closure problems, and comparison with experiment Chemical Engineering Science · Elsevier BV · 1993 10.1016/0009-2509(93)80266-s
  18. LVI. <i>On the influence of obstacles arranged in rectangular order upon the properties of a medium</i> The London Edinburgh and Dublin Philosophical Magazine and Journal of Science · Taylor & Francis · 1892 10.1080/14786449208620364
  19. Derivation of the Bidomain Equations for a Beating Heart with a General Microstructure SIAM Journal on Applied Mathematics · Society for Industrial and Applied Mathematics · 2011 10.1137/090777165
  20. Heterogeneous porosity distribution in Portland cement exposed to CO2-rich fluids Cement and Concrete Research · Elsevier BV · 2008 10.1016/j.cemconres.2008.03.022
  21. Anomalous diffusion due to obstacles: a Monte Carlo study Biophysical Journal · Elsevier BV · 1994 10.1016/s0006-3495(94)80789-1
  22. Random Heterogeneous Media: Microstructure and Improved Bounds on Effective Properties Applied Mechanics Reviews · American Society of Mechanical Engineers · 1991 10.1115/1.3119494
  23. A volume averaging approach for asymmetric diffusion in porous media The Journal of Chemical Physics · American Institute of Physics · 2011 10.1063/1.3594549
  24. Effective Diffusion Coefficient in Porous Media Journal of Applied Physics · American Institute of Physics · 1963 10.1063/1.1729783