선정목록으로
A fast algorithm for semi-analytically solving the homogenization boundary value problem for block locally-isotropic heterogeneous media
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.1812.06680
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1812.06680
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W6929222344
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Direct numerical simulation of diffusion through heterogeneous media can be difficult due to the computational cost of resolving fine-scale heterogeneities. One method to overcome this difficulty is to homogenize the model by replacing the spatially-varying fine-scale diffusivity with an effective diffusivity calculated from the solution of an appropriate boundary value problem. In this paper, we present a new semi-analytical method for solving this boundary value problem and computing the effective diffusivity for pixellated, locally-isotropic, heterogeneous media. We compare our new solution method to a standard finite volume method and show that equivalent accuracy can be achieved in less computational time for several standard test cases. We also demonstrate how the new solution method can be applied to complex heterogeneous geometries represented by a two-dimensional grid of rectangular blocks. These results indicate that our new semi-analytical method has the potential to significantly speed up simulations of diffusion in heterogeneous media.
본문 122,122자
본문 펼치기
### A fast algorithm for semi-analytically solving the homogenization boundary value problem for block locally-isotropic heterogeneous media
Nathan G. March <sup>a,</sup> <sup>_∗_</sup>, Elliot J. Carr <sup>a</sup>, Ian W. Turner <sup>a,b</sup>
_aSchool_ _of_ _Mathematical_ _Sciences,_ _Queensland_ _University_ _of_ _Technology_ _(QUT),_ _Brisbane,_ _Australia._
_bARC_ _Centre_ _of_ _Excellence_ _for_ _Mathematical_ _and_ _Statistical_ _Frontiers_ _(ACEMS),_ _Queensland_ _University_ _of_ _Technology_
_(QUT),_ _Brisbane,_ _Australia._
Abstract
Direct numerical simulation of diffusion through heterogeneous media can be difficult due to the computational cost of resolving fine-scale heterogeneities. One method to overcome this difficulty is to
homogenize the model by replacing the spatially-varying fine-scale diffusivity with an effective diffusivity calculated from the solution of an appropriate boundary value problem. In this paper, we present
a new semi-analytical method for solving this boundary value problem and computing the effective
diffusivity for pixellated, locally-isotropic, heterogeneous media. We compare our new solution method
to a standard finite volume method and show that equivalent accuracy can be achieved in less computational time for several standard test cases. We also demonstrate how the new solution method can
be applied to complex heterogeneous geometries represented by a two-dimensional grid of rectangular
blocks. These results indicate that our new semi-analytical method has the potential to significantly
speed up simulations of diffusion in heterogeneous media.
_Keywords:_ effective diffusivity; homogenization; semi-analytical solution; heterogeneous media;
steady-state diffusion equation
1. Introduction
At the continuum scale, diffusion in heterogeneous media is described by the following equation:
_<u>∂</u>_
_∂t_ <sup>_u_</sup> <sup>(</sup> <sup>x</sup> <sup>_, t_</sup> <sup>) +</sup> <sup>_∇_</sup> <sup>_·_</sup> <sup>(</sup> <sup>_−D_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_∇u_</sup> <sup>(</sup> <sup>x</sup> <sup>_, t_</sup> <sup>)) = 0</sup> <sup>_,_</sup> x _∈_ Ω _,_ (1)
where _D_ ( x ) _>_ 0 is a scalar, spatially-dependent, isotropic diffusivity. When paired with appropriate
initial and boundary conditions, equation (1) is infeasible to solve numerically if the scale at which the
diffusivity _D_ ( x ) changes is small compared to the size of the domain Ω, due to the prohibitively fine
mesh required to capture the fine-scale heterogeneity [1]. One method of overcoming this problem is to
homogenize equation (1) by replacing the spatially-varying diffusivity _D_ ( x ) by an effective diffusivity
tensor D eff, yielding the homogenized equation:
_<u>∂</u>_
_∂t_ <sup>_U_</sup> <sup>(</sup> <sup>x</sup> <sup>_, t_</sup> <sup>) +</sup> <sup>_∇_</sup> <sup>_·_</sup> <sup>(</sup> <sup>_−_</sup> <sup>D</sup> <sup>eff</sup> <sup>_∇U_</sup> <sup>(</sup> <sup>x</sup> <sup>_, t_</sup> <sup>)) = 0</sup> <sup>_,_</sup> x _∈_ Ω _,_ (2)
_∗_ Corresponding author
_Email_ _addresses:_ `nathan.march@hdr.qut.edu.au` (Nathan G. March), `elliot.carr@qut.edu.au` (Elliot J. Carr),
`i.turner@qut.edu.au` (Ian W. Turner)
where _U_ ( x _, t_ ) is a smoothed approximation to _u_ ( x _, t_ ). The initial and boundary conditions for the homogenized equation (2) may take a similar form as the initial and boundary conditions for the fine-scale
equation (1), or they may have to be modified, as is the case in layered geometries [2]. Nevertheless,
the attraction of equation (2) over equation (1) is that D eff is constant across the entire domain Ωor
varies across Ωat a coarse-scale compared to _D_ ( x ). This means a coarser mesh can be used to solve
the homogenized equation (2) leading to more computationally efficient simulations. The efficiency of
solving the homogenized equation, however, is negated to some extent if the overhead of computing the
effective diffusivity is high. For some problems, this may not be a significant issue, as the calculation
of the effective diffusivities can be performed once before the simulation and stored thereafter, however
the computational expense of calculating the effective diffusivities could be significant for other problems, such as those in which the geometry of Ωchanges throughout the simulation. This can occur
in areas such as fracturing in shale gas reservoirs [3] and cell wall collapse in wood drying [4], as each
change in the geometry requires the effective diffusivity to be recomputed. To address this issue, the
aim of this paper is to develop an accurate and efficient method for solving the boundary value problem
required to calculate D eff. While we consider two-dimensional, rectangular domains only in this work,
where x = ( _x, y_ ), the solution strategy at the core of our method can be extended to three-dimensional
and circular domains <sup>1</sup> .
According to [4], for a two-dimensional periodic domain Ωwith unit cell _C_ = [ _x_ 0 _, xn_ ] _×_ [ _y_ 0 _, ym_ ], the
first and second columns of the corresponding effective diffusivity tensor can be computed using the
following formulae:
[ D eff](: _,_ 1) = <sup><u>1</u></sup>
_A_
_y_ 0
_x_ 0
- _xn_
_x_ 0
_x_ 0
- _xn_
_x_ 0
_D_ ( _x, y_ ) _∇_ ( _ψ_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> ( _x, y_ ) + _x_ ) _dx dy,_ (3)
_D_ ( _x, y_ ) _∇_ ( _ψ_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> ( _x, y_ ) + _y_ ) _dx dy,_ (4)
[ D eff](: _,_ 2) = <sup><u>1</u></sup>
_A_
_y_ 0
- _ym_
_y_ 0
_y_ 0
- _ym_
_y_ 0
_x_ 0
where _xn_ _>_ _x_ 0, _ym_ _>_ _y_ 0, _A_ = ( _xn −_ _x_ 0)( _ym −_ _y_ 0), _ξ_ = _x, y_ and _ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> ( _x, y_ ) satisfies the boundary value
problem:
0 = _∇·_ ( _D_ ( _x, y_ ) _∇_ ( _ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> ( _x, y_ ) + _ξ_ )) _,_ _x_ 0 _< x < xn,_ _y_ 0 _< y_ _< ym,_ (5)
_ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> ( _x, y_ ) is periodic with unit cell _C_, (6)
_ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> ( _x, y_ ) _dx dy_ = 0 _._ (7)
_y_ 0 _x_ 0
- _ym_ - _xn_
_ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> ( _x, y_ ) _dx dy_ = 0 _._ (7)
_y_ 0
is
_x_ 0
- _xn_
_x_ 0
We note that the formulae for the effective diffusivity (3)–(4) and the boundary value problem (5)–(6)
are equivalent to other formulations such as those presented in [6] and [7]. For a layered heterogeneous
medium [8], the boundary value problem (5)–(6) has an exact solution yielding an effective diffusivity
consisting of area-weighted arithmetic and harmonic averages of the layer diffusivities in the directions
parallel and perpendicular to the layers, respectively [8]. In general, however, the boundary value
problem cannot be solved analytically and one must turn to numerical schemes such as the finite
volume method [9] or finite element method [10]. Each of these methods require the generation of a
mesh over the unit cell _C_ (see Figure 1(d)) that resolves the fine-scale heterogeneity, which leads to
1As we discuss in later sections of this paper, our semi-analytical method relies on representing the fluxes at the
interfaces between adjacent blocks as unknown functions of space and integrating these functions. In three-dimensional,
rectangular media double integrals would be required and in circular media these integrals would be computed using
polar coordinates [5].
2
(a) Unit cell (b) Pixellated geometry (c) Homogenized geometry
D eff =
(d) Finite volume nodes (e) Semi-analytical abscissas
_D_ 6 _,_ 6 _D_ 6 _,_ 7 _D_ 6 _,_ 8 _D_ 6 _,_ 9
_D_ 7 _,_ 6 _D_ 7 _,_ 7 _D_ 7 _,_ 8 _D_ 7 _,_ 9
_D_ 8 _,_ 6 _D_ 8 _,_ 7 _D_ 8 _,_ 8 _D_ 8 _,_ 9
_D_ 9 _,_ 6 _D_ 9 _,_ 7 _D_ 9 _,_ 8 _D_ 9 _,_ 9
- 0 _._ 4689 _−_ 0 _._ 0194
_−_ 0 _._ 0194 0 _._ 4362
_Ny_ = 4
_Nx_ = 4
Figure 1: Homogenization of a block locally-isotropic pixelated unit cell (a) Unit cell geometry (b) Pixelated geometry
consisting of a 16 by 16 array of blocks (c) Homogenized geometry and example effective diffusivity assuming the dark
grey and light grey blocks have diffusivity 0.1 and 1.0, respectively. (d) and (e) show a zoomed in view of the section
highlighted in red in (b). (d) Nodes required to solve the boundary value problem (5)–(6) using the finite volume method
on a structured grid (see section 4 for details) and (e) Diffusivities and abscissas required for our new semi-analytical
method, where _Di,j_ represents the diffusivity in the ( _i, j_ )th block and _Nx_ and _Ny_ are the number of abscissas used to
compute the integrals of functions of _x_ and _y_, respectively.
a discretization of equations (5)–(6) taking the form of a large linear system that is computationally
expensive to solve. A spectral method for solving equations (5)–(6) was presented in [6], however they
noted that these spectral methods are generally not well-suited to composite media with discontinuous
diffusivities, such as those considered in this work, as errors caused by Gibbs phenomena can lead to
inaccurate effective diffusivities.
In this paper, we develop a new semi-analytical method for solving the boundary value problem
(5)–(6). Our solution method is applicable to a heterogeneous medium taking the form of a rectangular array of blocks of any size, where the diffusivity is positive, isotropic and constant within each
individual block. We note that these geometries are not smooth as the diffusivity can be discontinuous
across the interface between adjacent blocks. While our semi-analytical solution method is restricted
to a block geometry, it can be used to homogenize complex heterogeneous geometries by pixellating
and representing the geometry as a grid of blocks, as demonstrated in Figures 1(a)–(b). To calculate the effective diffusivity, our semi-analytical solution method involves reformulating the boundary
value problem (5)–(6) on the heterogeneous medium into a family of boundary value problems on the
3
homogeneous individual blocks by introducing unknown functions representing the flux at the interfaces between adjacent blocks. This strategy was recently utilised in one spatial dimension [11] and
allowed accurate semi-analytical solutions to be derived for time-dependent multilayer diffusion problems involving a large number of heterogeneities (layers). In this paper, we extend these ideas to the
significantly more challenging problem of steady-state diffusion (5) in two spatial dimensions where
interfaces are no longer points but lines. This is achieved by solving the boundary value problems
on each homogeneous block using standard techniques which yield analytical solution expressions that
depend on integrals involving the unknown interface functions. By applying an appropriate numerical
quadrature rule (see Figure 1(e)) to these integrals and enforcing continuity of the solution across each
interface, we show how the solution can be computed in each block. The net result is a semi-analytical
method for solving the well-established periodic boundary value problem (5)–(6) and hence calculating
the effective diffusivity for a pixelated, locally-isotropic, heterogeneous domain.
Our new semi-analytical solution method has several desirable properties:
- it is able to compute, in less computational time, a solution to the boundary value problem
(5)–(6) to the same level of accuracy as a standard finite volume method (see Table 2 for details)
(the reasons for choosing a finite volume method as our benchmark method are stated in section
4);
- it does not require representing the diffusivities as a function, and therefore it is not affected by
the errors caused by the Gibbs phenomenon arising in standard spectral methods [6];
- it requires quadrature abscissas only on the interfaces and boundaries of the unit cell whereas
standard numerical methods require a mesh across the entire unit cell (see Figure 1(d)–(e)),
leading to a smaller discretized linear system (see sections 3 and 4 for details);
- it can capture complex heterogeneous geometries, as seen in Figure 1 and later in section 5.3;
and
- it is an analytical method, which allows for the integrals defining the effective diffusivity (3)–(4)
to be calculated analytically, whereas standard numerical methods require numerical integration
to compute the effective diffusivity [9].
We stress here for clarity that our new semi-analytical method is not a new approach to homogenize
heterogeneous media but an alternative for solving the boundary value problem (5)–(6) and calculating
the effective diffusivity (3)–(4) [12]. Finally, we note that our method may be considered to be a form
of Trefftz method according to the definition stated in [13], given that the domain Ωis partitioned into
a number of smaller blocks and the solution across Ωis taken as a combination of solutions on these
individual blocks. However, our method differs from Trefftz methods [13] in two key ways. Firstly, our
method is fundamentally an analytical method, as we present a closed form solution to the governing
PDE (5) in each block and can thus evaluate the solution _ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> at any point in the domain Ω, whereas
Trefftz methods are typically considered to be numerical methods [13]. Secondly, Trefftz methods are
typically classed as a type of finite element method [13], which require the weak form of the governing
PDE (5), whereas our semi-analytical method handles the strong form directly.
The remaining sections of this paper are organised as follows. In section 2 we redefine the boundary
value problem (5)–(6) and effective diffusivity (3)–(4) for a block heterogeneous medium. In section 3,
we develop our semi-analytical method for solving the boundary value problem (5)–(6) and computing
the effective diffusivity (3)–(4), describe the implementation of the method and discuss the conditions
required to ensure that it provides an accurate solution. In section 4, we discuss a standard finite volume
4
method for solving the boundary value problem and computing the effective diffusivity. In section 5,
we compare the semi-analytical and finite volume methods in terms of accuracy and efficiency for a
variety of test cases from the literature, apply the semi-analytical method to the homogenization of
complex heterogeneous geometries, demonstrate how our semi-analytical method can be applied to
complicated curved geometries by first pixelating them and discuss extensions of our semi-analytical
method to further increase its efficiency. We conclude the paper in section 6 with a summary of the
key findings of the work.
2. Definition of effective diffusivity
Consider a rectangular heterogeneous domain _C_ = [ _x_ 0 _, xn_ ] _×_ [ _y_ 0 _, ym_ ] consisting of an _m_ by _n_ array of
blocks. Let the ( _i, j_ )th block have domain [ _xj−_ 1 _, xj_ ] _×_ [ _yi−_ 1 _, yi_ ] and scalar diffusivity _Di,j_ with vertical
interfaces between blocks at _x_ = _xj_ ( _j_ = 1 _, . . ., n −_ 1) and horizontal interfaces between blocks at
_y_ = _yi_ ( _i_ = 1 _, . . ., m −_ 1) (see Figure 1(b)). For this domain the first and second columns of the
effective diffusivity D eff are given by:
[ D eff](: _,_ 1) = <sup><u>1</u></sup>
_A_
_i_ =1
_xj−_ 1
_Di,j∇_ ( _ψi,j_ <sup>(</sup> <sup>_x_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>) +</sup> <sup>_x_</sup> <sup>)</sup> <sup>_dx dy,_</sup> (8)
_Di,j∇_ ( _ψi,j_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_yi−_ 1
[ D eff](: _,_ 2) = <sup><u>1</u></sup>
_A_
_m_
_i_ =1
- _m_
_i_ =1
_i_ =1
_n_
_j_ =1
- _n_
_xj−_
- _xj_
_xj−_
- _xj_
_xj−_ 1
_Di,j∇_ ( _ψi,j_ <sup>(</sup> <sup>_y_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>) +</sup> <sup>_y_</sup> <sup>)</sup> <sup>_dx dy,_</sup> (9)
_j_ =1
_n_
_j_ =1
_j_ =1
_yi−_
- _yi_
_yi−_
- _yi_
_yi−_ 1
where _A_ = ( _xn −_ _x_ 0)( _ym −_ _y_ 0) and _ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>satisfies</sup> <sup>the</sup> <sup>following</sup> <sup>PDE</sup> <sup>on</sup> <sup>the</sup> <sup>(</sup> <sup>_i, j_</sup> <sup>)th</sup> <sup>block:</sup>
0 = _∇·_ ( _Di,j∇_ ( _ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>) +</sup> <sup>_ξ_</sup> <sup>))</sup> <sup>_,_</sup> _xj−_ 1 _< x < xj,_ _yi−_ 1 _< y_ _< yi._ (10)
At the interfaces between adjacent blocks both the solution and flux are continuous [8], leading to the
following interface conditions:
_ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, yi_</sup> <sup>) =</sup> <sup>_ψ_</sup> _i_ <sup>(</sup> +1 <sup>_ξ_</sup> <sup>)</sup>
_i_ <sup>(</sup> +1 <sup>_ξ_</sup> <sup>)</sup> _,j_ <sup>(</sup> <sup>_x, yi_</sup> <sup>)</sup> <sup>_,_</sup> (11)
_ψi_ <sup>(</sup> +1 <sup>_ξ_</sup> <sup>)</sup>
_ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_<u>∂</u>_
_∂y_
_i_ <sup>(</sup> +1 <sup>_ξ_</sup> <sup>)</sup> _,j_ <sup>+</sup> <sup>_ξ_</sup>
_y_ = _yi_ <sup>_,_</sup> (12)
_Di,j_
_<u>∂</u>_
_∂y_
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>+</sup> <sup>_ξ_</sup>
_y_ = _yi_ <sup>=</sup> <sup>_D_</sup> _i_ +1 _,j_
for _xj−_ 1 _< x < xj_, _i_ = 1 _, . . ., m −_ 1 and _j_ = 1 _, . . ., n_ and
_ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xj, y_</sup> <sup>) =</sup> <sup>_ψ_</sup> _i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> +1 <sup>(</sup> <sup>_xj, y_</sup> <sup>)</sup> <sup>_,_</sup> (13)
_ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_Di,j_
_<u>∂</u>_
_∂x_
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>+</sup> <sup>_ξ_</sup>
_x_ = _xj_ <sup>=</sup> <sup>_D_</sup> _i,j_ +1
_<u>∂</u>_
_∂x_
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> +1 <sup>+</sup> <sup>_ξ_</sup>
_x_ = _xj_ <sup>_,_</sup> (14)
for _yi−_ 1 _<_ _y_ _<_ _yi_, _i_ = 1 _, . . ., m_ and _j_ = 1 _, . . ., n −_ 1, while periodic conditions hold at the external
boundaries of the domain:
_ψ_ 1 <sup>(</sup> <sup>_ξ_</sup> _,j_ <sup>)</sup>
1 <sup>(</sup> <sup>_ξ_</sup> _,j_ <sup>)(</sup> <sup>_x, y_</sup> <sup>0) =</sup> <sup>_ψ_</sup> _m,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym_</sup> <sup>)</sup> <sup>_,_</sup> (15)
_<u>∂</u>_
_D_ 1 _,j_
_∂y_
_ψ_ 1 <sup>(</sup> <sup>_ξ_</sup> _,j_ <sup>)</sup>
1 <sup>(</sup> <sup>_ξ_</sup> _,j_ <sup>)</sup> <sup>+</sup> <sup>_ξ_</sup>
_ψm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_y_ = _y_ 0 <sup>=</sup> <sup>_D_</sup> _m,j_
_<u>∂</u>_
_∂y_
_m,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>+</sup> <sup>_ξ_</sup>
_y_ = _ym_ <sup>_,_</sup> (16)
for _xj−_ 1 _< x < xj_ and _j_ = 1 _, . . ., n_ and
_ψi,_ <sup>(</sup> <sup>_ξ_</sup> 1 <sup>)</sup>
_i,_ <sup>(</sup> <sup>_ξ_</sup> 1 <sup>)(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_, y_</sup> <sup>) =</sup> <sup>_ψ_</sup> _i,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_<u>∂</u>_
_x_ = _x_ 0 <sup>=</sup> <sup>_D_</sup> _i,n_
_∂x_
5
_i,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xn, y_</sup> <sup>)</sup> <sup>_,_</sup> (17)
_<u>∂</u>_
_Di,_ 1
_∂x_
_ψi,_ <sup>(</sup> <sup>_ξ_</sup> 1 <sup>)</sup>
_ψi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,_ <sup>(</sup> <sup>_ξ_</sup> 1 <sup>)</sup> <sup>+</sup> <sup>_ξ_</sup>
_i,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>+</sup> <sup>_ξ_</sup>
_x_ = _xn_ <sup>_,_</sup> (18)
for _yi−_ 1 _<_ _y_ _<_ _yi_ and _i_ = 1 _, . . ., m._ The boundary value problem (10)–(18) has an infinite number of
solutions [9] as any arbitrary constant may be added to the solution _ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>and</sup> <sup>it</sup> <sup>will</sup> <sup>still</sup> <sup>satisfy</sup> <sup>the</sup>
PDE (10) as well as the boundary conditions (11)–(18). The zero mean condition (7) can be rewritten
in the following form:
_xj−_ 1
- _xj_
_n_
_j_ =1
_yi−_ 1
- _yi_
<u>1</u>
_A_
_m_
_i_ =1
_ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>_dx dy_</sup> <sup>= 0</sup> <sup>_._</sup> (19)
With _ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>known</sup> <sup>for</sup> <sup>_ξ_</sup> <sup>=</sup> <sup>_x_</sup> <sup>and</sup> <sup>_ξ_</sup> <sup>=</sup> <sup>_y_</sup> <sup>,</sup> <sup>the</sup> <sup>effective</sup> <sup>diffusivity,</sup> <sup>D</sup> <sup>eff,</sup> <sup>can</sup> <sup>be</sup> <sup>computed</sup> <sup>from</sup>
equations (8)–(9). Interpretation of the entries of the symmetric positive definite matrix D eff comes
from its diagonalization, D eff = PΛP <sup>_T_</sup> . Here, P _∈_ R <sup>2</sup> <sup>_×_</sup> <sup>2</sup> is an orthonormal matrix whose columns are
unit vectors pointing in the principal directions of diffusion and Λ _∈_ R <sup>2</sup> <sup>_×_</sup> <sup>2</sup> is a diagonal matrix whose
entries represent the apparent diffusivities in these directions [14].
3. Semi-analytical method
_3.1._ _Solution_ _approach_
We now describe our new semi-analytical solution approach for solving the boundary value problem
(10)–(19) which enables the effective diffusivity (8)-(9) to be determined. We first transform equation
(10) into Laplace’s equation via the transformation:
_vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>) +</sup> <sup>_ξ,_</sup> (20)
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>) =</sup> <sup>_ψ_</sup> _i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
for _i_ = 1 _, . . ., m_ and _j_ = 1 _, . . ., n_ . Combining equation (20) with equations (10) yields:
_Di,j_
_∂_ <sup>2</sup> _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂x_ <sup>2</sup>
<sup>2</sup> _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> _<u>i,j</u>_
+ <sup>_∂_</sup> <sup>2</sup> <sup>_v_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂x_ <sup>2</sup> _∂y_ <sup>2</sup>
_<u>i,j</u>_
<sup>2</sup> <sup>_v_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂y_ <sup>2</sup>
= 0 _,_ (21)
for _xj−_ 1 _< x < xj_ and _yi−_ 1 _< y_ _< yi_ and combining equation (20) with equations (11), (13), (15) and
(17) yields the following conditions on the solution _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>at</sup> <sup>the</sup> <sup>interfaces</sup> <sup>and</sup> <sup>boundaries:</sup>
_vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i_ <sup>(</sup> +1 <sup>_ξ_</sup> <sup>)</sup> _,j_ <sup>(</sup> <sup>_x, yi_</sup> <sup>)</sup> <sup>_,_</sup> _i_ = 1 _, . . ., m −_ 1 _,_ _j_ = 1 _, . . ., n,_ (22)
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> +1 <sup>(</sup> <sup>_xj, y_</sup> <sup>)</sup> <sup>_,_</sup> _i_ = 1 _, . . ., m,_ _j_ = 1 _, . . ., n −_ 1 _,_ (23)
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, yi_</sup> <sup>) =</sup> <sup>_v_</sup> _i_ <sup>(</sup> +1 <sup>_ξ_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xj, y_</sup> <sup>) =</sup> <sup>_v_</sup> _i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_vi,_ <sup>(</sup> <sup>_ξ_</sup> 1 <sup>)(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_, y_</sup> <sup>) =</sup>
_vi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xn, y_</sup> <sup>) +</sup> <sup>_x_</sup> <sup>0</sup> <sup>_−_</sup> <sup>_xn,_</sup> if _ξ_ = _x,_
_vi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xn, y_</sup> <sup>)</sup> <sup>_,_</sup> if _ξ_ = _y,_
_i,n_ <sup>(</sup> <sup>_xn, y_</sup> <sup>) +</sup> <sup>_x_</sup> <sup>0</sup> <sup>_−_</sup> <sup>_xn,_</sup> _i_ = 1 _, . . ., m,_ (24)
_i,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xn, y_</sup> <sup>)</sup> <sup>_,_</sup> if _ξ_ = _y,_
_v_ 1 <sup>(</sup> <sup>_ξ_</sup> _,j_ <sup>)(</sup> <sup>_x, y_</sup> <sup>0) =</sup>
_vi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
- _vi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_vm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
- _v_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,j_
_vm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym_</sup> <sup>)</sup> <sup>_,_</sup> if _ξ_ = _x,_
_vm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym_</sup> <sup>) +</sup> <sup>_y_</sup> <sup>0</sup> <sup>_−_</sup> <sup>_ym,_</sup> if _ξ_ = _y,_
_j_ = 1 _, . . ., n,_ (25)
_m,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym_</sup> <sup>) +</sup> <sup>_y_</sup> <sup>0</sup> <sup>_−_</sup> <sup>_ym,_</sup> if _ξ_ = _y,_
6
for _xj−_ 1 _< x < xj_ and _yi−_ 1 _< y_ _< yi_ and combining equation (20) with equations (12), (14), (16) and
(18) yields the following conditions on the flux at the interfaces and boundaries:
_∂v∂xi,_ <sup>(</sup> <sup>_ξ_</sup> <u>1</u> <sup>)</sup> <sup>(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_, y_</sup> <sup>) =</sup> <sup>_Di,n_</sup>
_∂v∂y_ <u>1</u> <sup>(</sup> <sup>_ξ_</sup> _<u>,j</u>_ <sup>)</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>0) =</sup> <sup>_Dm,j_</sup>
_Di,_ 1
_∂v∂yi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xn, y_</sup> <sup>)</sup> <sup>_,_</sup> _i_ = 1 _, . . ., m,_ (26)
_∂vi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂v_ <u>1</u> <sup>(</sup> <sup>_ξ_</sup> _<u>,j</u>_ <sup>)</sup>
_∂v∂ym,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym_</sup> <sup>)</sup> <sup>_,_</sup> _j_ = 1 _, . . ., n,_ (27)
_∂vm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_D_ 1 _,j_
_∂vi_ <sup>(</sup> <u>+1</u> <sup>_ξ_</sup> <sup>)</sup> _<u>,j</u>_ ( _x, yi_ ) _,_ _j_ = 1 _, . . ., n,_ (28)
_∂y_ _i_ = 1 _, . . ., m −_ 1 _,_
_Di,j_
_Di,j_
_∂v∂yi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, yi_</sup> <sup>) =</sup> <sup>_Di_</sup> <sup>+1</sup> <sup>_,j_</sup>
_∂v∂xi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xj, y_</sup> <sup>) =</sup> <sup>_Di,j_</sup> <sup>+1</sup>
_∂vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <u>+1</u> ( _xj, y_ ) _,_ _i_ = 1 _, . . ., m,_ (29)
_∂x_ _j_ = 1 _, . . ., n −_ 1 _,_
for _xj−_ 1 _< x < xj_ and _yi−_ 1 _< y_ _< yi_ . Combining the zero mean condition (19) with the transformation
(20) yields:
_,_ if _ξ_ = _y._
2
_xj−_ 1
- _xj_
_<u>xn</u>_ <u>+</u> _<u>x</u>_ <u>0</u>
_m_
_i_ =1
_n_
_j_ =1
_yi−_ 1
- _yi_
_yi−_
- _yi_
_vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>_dx dy_</sup> <sup>=</sup>
_,_ if _ξ_ = _x,_
2
_<u>ym</u>_ <u>+</u> _<u>y</u>_ <u>0</u>
(30)
Our semi-analytical approach for solving this transformed boundary value problem involves first setting
the fluxes at the interfaces and boundaries in equations (26)–(29) to be unknown spatial functions [15]
as follows:
_∂v∂yi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xn, y_</sup> <sup>) :=</sup> <sup>_g_</sup> <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> <sup>_n_</sup> <sup>+1(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _i_ = 1 _, . . ., m,_ (31)
_∂vi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_Di,_ 1
_∂v∂xi,_ <sup>(</sup> <sup>_ξ_</sup> <u>1</u> <sup>)</sup> <sup>(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_, y_</sup> <sup>) =</sup> <sup>_Di,n_</sup>
_∂vi,_ <sup>(</sup> <sup>_ξ_</sup> <u>1</u> <sup>)</sup>
_∂v∂ym,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym_</sup> <sup>) :=</sup> <sup>_q_</sup> <sup>(</sup> <sup>_j−_</sup> <sup>1)</sup> <sup>_m_</sup> <sup>+1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _j_ = 1 _, . . ., n,_ (32)
_D_ 1 _,j_
_∂v∂y_ <u>1</u> <sup>(</sup> <sup>_ξ_</sup> _<u>,j</u>_ <sup>)</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>0) =</sup> <sup>_Dm,j_</sup>
_∂vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <u>+1</u> ( _xj, y_ ) := _g_ ( _i−_ 1) _n_ + _j_ +1( _y_ ) _,_ _i_ = 1 _, . . ., m,_ (33)
_∂x_ _j_ = 1 _, . . ., n −_ 1 _,_
_Di,j_
_Di,j_
_∂v∂xi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xj, y_</sup> <sup>) =</sup> <sup>_Di,j_</sup> <sup>+1</sup>
_∂v∂yi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, yi_</sup> <sup>) =</sup> <sup>_Di_</sup> <sup>+1</sup> <sup>_,j_</sup>
_∂vi_ <sup>(</sup> <u>+1</u> <sup>_ξ_</sup> <sup>)</sup> _<u>,j</u>_ ( _x, yi_ ) := _q_ ( _j−_ 1) _m_ + _i_ +1( _x_ ) _,_ _j_ = 1 _, . . ., n,_ (34)
_∂y_ _i_ = 1 _, . . ., m −_ 1 _,_
for _xj−_ 1 _< x < xj_ and _yi−_ 1 _< y_ _< yi_ . This allows us to reformulate the heterogeneous boundary value
problem (21)–(29) into a family of boundary value problems on each of the _mn_ blocks (see Figure 2):
_Di,j_
_∂_ <sup>2</sup> _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂x_ <sup>2</sup>
<sup>2</sup> _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> _<u>i,j</u>_
+ <sup>_∂_</sup> <sup>2</sup> <sup>_v_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂x_ <sup>2</sup> _∂y_ <sup>2</sup>
_<u>i,j</u>_
<sup>2</sup> <sup>_v_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂y_ <sup>2</sup>
= 0 _,_ _xj−_ 1 _< x < xj,_ _yi−_ 1 _< y_ _< yi,_ (35)
_Di,j_
_∂v∂xi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xj−_</sup> <sup>1</sup> <sup>_, y_</sup> <sup>) =</sup> <sup>_g_</sup> <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> <sup>_n_</sup> <sup>+</sup> <sup>_j_</sup> <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _Di,j_
_∂vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂v∂xi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xj, y_</sup> <sup>) =</sup> <sup>_g_</sup> <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> <sup>_n_</sup> <sup>+</sup> <sup>_j_</sup> <sup>+1(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _yi−_ 1 _< y_ _< yi,_ (36)
_∂v∂yi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, yi_</sup> <sup>) =</sup> <sup>_q_</sup> <sup>(</sup> <sup>_j−_</sup> <sup>1)</sup> <sup>_m_</sup> <sup>+</sup> <sup>_i_</sup> <sup>+1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _xj−_ 1 _< x < xj,_ (37)
_∂vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_Di,j_
_∂v∂yi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, yi−_</sup> <sup>1) =</sup> <sup>_q_</sup> <sup>(</sup> <sup>_j−_</sup> <sup>1)</sup> <sup>_m_</sup> <sup>+</sup> <sup>_i_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _Di,j_
where the unknown interface and boundary functions, introduced in equations (31)–(34), are constrained to satisfy the interface and boundary conditions (22)–(25). The boundary conditions (36)–(37)
7
_y_ 0
_yi−_ 1
_yi_
#### _Di,j_
_<u>∂vi,j</u>_
#### ∂y = q ( j− 1) m + i ( x )
_vi,j_
#### Di,j∇ 2 vi,j = 0
_<u>∂vi,j</u>_
#### ∂y = q ( j− 1) m + i +1( x )
_ym_
_x_ 0 _xj−_ 1 _xj_ _xn_
#### _Di,j_
Figure 2: A subsection of the domain displaying the ( _i, j_ )th block (left) and the boundary value problem (35)–(37)
imposed on the ( _i, j_ )th block (right).
are valid for all blocks except those in either the bottom row ( _i_ = _m_ ) or right column ( _j_ = _n_ ). The
boundary conditions for these blocks are similar to equations (36)–(37) and detailed in Appendix A.
The solution of the boundary value problem (35)–(37) is given by [16] <sup>2</sup> :
cos
<u>�</u>
<u>�</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> _<u>i,j,</u>_
_i,j_ <sup>(</sup> <sup>_x, y_</sup> <sup>) =</sup> <sup>_−a_</sup> 4 <sup>(</sup> <sup>_ξ_</sup> _lj_ <sup>)</sup>
_<u>i,j,</u>_ <u>0</u> _<u>i,j,</u>_
4 <sup>(</sup> <sup>_ξ_</sup> _l_ <sup>)</sup> _j_ ( _x −_ _xj−_ 1) <sup>2</sup> _−_ <sup>_c_</sup> 4 <sup>(</sup> _h_ <sup>_ξ_</sup> <sup>)</sup>
_v_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_<u>i,j,</u>_ <u>0</u> _<u>i,j,</u>_
<sup>_a_</sup> 4 <sup>(</sup> <sup>_ξ_</sup> _lj_ <sup>)</sup> ( _x −_ _xj_ ) <sup>2</sup> + <sup>_b_</sup> 4 <sup>(</sup> <sup>_ξ_</sup> _l_ <sup>)</sup> _j_
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
_<u>i,j,</u>_ <u>0</u> _<u>i,j,</u>_
<sup>_c_</sup> 4 <sup>(</sup> _h_ <sup>_ξ_</sup> <sup>)</sup> _i_ ( _y −_ _yi_ ) <sup>2</sup> + <sup>_d_</sup> 4 <sup>(</sup> _h_ <sup>_ξ_</sup> <sup>)</sup>
_<u>i,j,</u>_ <u>0</u>
4 <sup>(</sup> _h_ <sup>_ξ_</sup> <sup>)</sup> _i_ ( _y −_ _yi−_ 1) <sup>2</sup> + _Ki,j_
_d_ <sup>(</sup> _<u>i,j,k</u>_ <sup>_ξ_</sup> <sup>)</sup>
_µi,j,k_
_−_ _hi_
+ _hi_
_−_ _lj_
+ _lj_
_∞_
_k_ =1
_∞_
_k_ =1
_∞_
_k_ =1
_∞_
_k_ =1
_∞_
_k_ =1
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj</u>_ <u>)</u>
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
_k_ =1
_a_ <sup>(</sup> _<u>i,j,k</u>_ <sup>_ξ_</sup> <sup>)</sup>
_γi,j,k_
_hi_
<u>�</u> _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
<u>�</u>
cos
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
(38)
_k_ =1
_b_ <sup>(</sup> _<u>i,j,k</u>_ <sup>_ξ_</sup> <sup>)</sup>
_γi,j,k_
cos
<u>�</u>
cos
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
_,_
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi</u>_ <u>)</u>
_c_ <sup>(</sup> _<u>i,j,k</u>_ <sup>_ξ_</sup> <sup>)</sup>
_µi,j,k_
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
cosh
cosh
cosh
cosh
_k_ =1
where:
_hi_ = _yi −_ _yi−_ 1 _,_ _lj_ = _xj_ _−_ _xj−_ 1 _,_ (39)
_γi,j,k_ = _kπ_ sinh <sup>_<u>kπlj</u>_</sup>
_,_ _µi,j,k_ = _kπ_ sinh <sup>_<u>kπhi</u>_</sup>
_lj_
_hi_
_,_ (40)
and _Ki,j_ is an arbitrary constant. While for the solution of the boundary value problem (35)–(37) the
constant _Ki,j_ is arbitrary, in the context of the solution across the entire unit cell _C_ consisting of all _mn_
2For three-dimensional problems, the equivalent solution would be more complicated, requiring a double summation
and the coefficients to be computed in terms of double integrals.
8
boundary value problems, the constants are not arbitrary as they are required to ensure continuity of
the solution across the interfaces and boundaries. Note that the coefficients _a_ <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>,</sup> <sup>_b_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>,</sup> <sup>_c_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>and</sup> <sup>_d_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup>
appearing in equation (38) depend on the values of _i_ and _j_ . For _i_ = 1 _, . . ., m −_ 1 and _j_ = 1 _, . . ., n −_ 1:
<sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>,</sup> <sup>_b_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup>
<sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>,</sup> <sup>_c_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup>
<sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>and</sup> <sup>_d_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup>
_dy,_ (41)
<u>�</u>
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_hi_
_a_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hi_
_yi−_
- _yi_
_yi−_ 1
_<u>g</u>_ ( _i−_ 1) _n_ + _j_ <u>(</u> _<u>y</u>_ <u>)</u>
cos
_Di,j_
_dy,_ (42)
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_hi_
_b_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hi_
_hi_
<u>�</u> _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
_yi−_
_yi−_
- _yi_
_yi−_ 1
cos
_<u>g</u>_ ( _i−_ 1) _n_ + _j_ +1( _<u>y</u>_ <u>)</u>
_Di,j_
_dx,_ (43)
<u>�</u>
_dx,_ (44)
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_lj_
_c_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_lj_
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
_xj−_ 1
cos
_<u>q</u>_ ( _j−_ 1) _m_ + _i_ <u>(</u> _<u>x</u>_ <u>)</u>
_Di,j_
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_lj_
_d_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_lj_
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
_yi−_
_xj−_
- _xj_
_xj−_
- _xj_
_xj−_ 1
cos
_<u>q</u>_ ( _j−_ 1) _m_ + _i_ +1( _<u>x</u>_ <u>)</u>
_Di,j_
where _k_ = 0 _,_ 1 _, . . ., ∞_, while for the bottom row ( _i_ = _m_ ) and right column ( _j_ = _n_ ) of blocks the
coefficients are similar and given in Appendix B.
Due to the boundary conditions (36)–(37), the solution (38) requires an additional solvability
condition to ensure a net flux of zero is imposed on each block [16]. This condition takes the form:
_yi−_ 1
- _yi_
_<u>g</u>_ ( _i−_ 1) _n_ + _j_ <u>(</u> _<u>y</u>_ <u>)</u>
_Di,j_
_dy −_
_yi−_ 1
- _yi_
_<u>g</u>_ ( _i−_ 1) _n_ + _j_ +1( _<u>y</u>_ <u>)</u>
_Di,j_
_dy_
_xj−_ 1
- _xj_
_<u>q</u>_ ( _j−_ 1) _m_ + _i_ +1( _<u>x</u>_ <u>)</u>
_Di,j_
+
_xj−_ 1
- _xj_
_<u>q</u>_ ( _j−_ 1) _m_ + _i_ <u>(</u> _<u>x</u>_ <u>)</u>
_Di,j_
_dx −_
_dx_ = 0 _,_ (45)
for _i_ = 1 _, . . ., m −_ 1 and _j_ = 1 _, . . ., n −_ 1. The solvability conditions for the bottom row ( _i_ = _m_ ) and
right column ( _j_ = _n_ ) of blocks have a similar form to equation (45) and are given in Appendix C.
Through the coefficients (41)–(44), the solution (38) in each block involves the integral of the
unknown interface and boundary functions, introduced in equations (31)–(34), and the unknown constants _Ki,j_ . By applying the as yet unused interface and boundary conditions (22)–(25), we now derive
a linear system of equations whose solution allows the integrals appearing in the coefficients (41)–(44)
to be approximated. This is achieved by first applying a quadrature rule to these integrals. For example
using the expressions for _a_ <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>and</sup> <sup>_c_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>in</sup> <sup>equations</sup> <sup>(41)–(44),</sup> <sup>we</sup> <sup>have:</sup>
<sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>and</sup> <sup>_c_</sup> <sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup>
<sup>(</sup> _i,j,k_ <sup>_ξ_</sup> <sup>)</sup> <sup>in</sup> <sup>equations</sup> <sup>(41)–(44),</sup> <sup>we</sup> <sup>have:</sup>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_hi_
_a_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hi_
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
_dy_
<u>�</u>
_yi−_ 1
- _yi_
_<u>g</u>_ ( _i−_ 1) _n_ + _j_ <u>(</u> _<u>y</u>_ <u>)</u>
_Di,j_
cos
<u>2</u>
_≈_ _Di,jhi_
_Ny_
_p_ =1
_p_ =1
_wy_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> _g_ ( _i−_ 1) _n_ + _j_ ( _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> ) cos
_wy_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup>
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>y</u>_ ( _i,p_ ) _<u>−</u>_ _<u>yi−</u>_ <u>1)</u>
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_lj_
_c_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_lj_
_dx_
_xj−_ 1
- _xj_
_<u>q</u>_ ( _j−_ 1) _m_ + _i_ <u>(</u> _<u>x</u>_ <u>)</u>
_Di,j_
cos
_,_ (46)
_,_ (47)
<u>2</u>
_≈_ _Di,jlj_
_Nx_
_p_ =1
_p_ =1
_wx_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> _q_ ( _j−_ 1) _m_ + _i_ ( _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> ) cos
_wx_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup>
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>x</u>_ ( _j,p_ ) _<u>−</u>_ _<u>xj−</u>_ <u>1)</u>
where _wx_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _wy_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> are the weights of the _p_ th abscissas, _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup>, respectively and _Nx_ and
_Ny_ denote the number of abscissas. The weights _wx_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _wy_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> and abscissas _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> depend
where _wx_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup>
_x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _wy_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup>
_y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> and abscissas _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> depend
_x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _wy_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup>
9
on the type of quadrature rule chosen, as will be discussed in the following section. There are a total
of 2 _mn_ unknown flux functions, _q_ ( _j−_ 1) _m_ + _i_ ( _x_ ) and _g_ ( _i−_ 1) _n_ + _j_ ( _y_ ) for _i_ = 1 _, . . ., m_ and _j_ = 1 _, . . ., n_, with
the integrals involving these functions approximated using a quadrature rule with _Nx_ and _Ny_ function
evaluations, respectively. In total, this yields _mn_ ( _Nx_ + _Ny_ ) unknown evaluations at the abscissas:
_q_ ( _j−_ 1) _m_ + _i_ ( _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> ) for _i_ = 1 _, . . ., m_, _j_ = 1 _, . . ., n_ and _p_ = 1 _, . . ., Nx_ and _g_ ( _i−_ 1) _n_ + _j_ ( _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> ) for _i_ = 1 _, . . ., m_,
_j_ = 1 _, . . ., n_ and _p_ = 1 _, . . ., Ny_ . To compute these evaluations, which appear in equations (46)–(47),
we make use of the boundary and interface conditions (22)–(25) evaluated at each of the abscissas:
_vi_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i_ <sup>(</sup> +1 <sup>_ξ_</sup> <sup>)</sup> _,j_ <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> <sup>_, yi_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_v_</sup> _i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> <sup>_, ym_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_v_</sup> 1 <sup>(</sup> <sup>_ξ_</sup> _,j_ <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> <sup>_, yi_</sup> <sup>) = 0</sup> <sup>_,_</sup> _i_ = 1 _, . . ., m −_ 1 _,_ _j_ = 1 _, . . ., n,_ (48)
_vm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
1 <sup>(</sup> <sup>_ξ_</sup> _,j_ <sup>)(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> <sup>_, y_</sup> <sup>0) =</sup>
_i_ = 1 _, . . ., m −_ 1 _,_
0 _,_ if _ξ_ = _x,_
_j_ = 1 _, . . ., n,_ (49)
- if _ξ_ = _y,_
_ym −_ _y_ 0 _,_
for _xj−_ 1 _< x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> _< xj_ and _p_ = 1 _, . . ., Nx_,
_vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> +1 <sup>(</sup> <sup>_xj, y_</sup> <sup>(</sup> <sup>_i,p_</sup> <sup>))</sup> <sup>_−_</sup> <sup>_v_</sup> _i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xj, y_</sup> <sup>(</sup> <sup>_i,p_</sup> <sup>)) = 0</sup> <sup>_,_</sup> _i_ = 1 _, . . ., m,_ _j_ = 1 _, . . ., n −_ 1 _,_ (50)
_vi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_xn, y_</sup> <sup>(</sup> <sup>_i,p_</sup> <sup>))</sup> <sup>_−_</sup> <sup>_v_</sup> _i,_ <sup>(</sup> <sup>_ξ_</sup> 1 <sup>)</sup>
_i,_ <sup>(</sup> <sup>_ξ_</sup> 1 <sup>)(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_, y_</sup> <sup>(</sup> <sup>_i,p_</sup> <sup>)) =</sup>
_j_ = 1 _, . . ., n −_ 1 _,_
if _ξ_ = _x,_
_xn −_ _x_ 0 _,_ _i_ = 1 _, . . ., m,_ (51)
�0 _,_ if _ξ_ = _y,_
for _yi−_ 1 _< y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> _< yi_ and _p_ = 1 _, . . ., Ny_ . Equations (48)–(51) define a system of _mn_ ( _Nx_ + _Ny_ ) equations
linear in the _mn_ ( _Nx_ + _Ny_ ) unknown evaluations at the abscissas. In addition to these unknowns,
we have an additional _mn_ unknowns corresponding to the constants _Ki,j_ appearing in equation (38).
These additional unknowns are accounted for by imposing the solvability conditions (45), with the
integrals replaced with quadrature approximations similar to those used in equations (46)–(47). The
solvability conditions ensure a zero net flux on each block and as periodic conditions are imposed on
the external boundaries of the unit cell _C_, the solvability condition in any one of the _mn_ blocks is
redundant. To account for this redundancy, we replace the solvability conditions on block _mn_ with the
zero mean condition (19). In the solution expression (38), all terms with the exception of the constants
_Ki,j_ integrate to zero over their domain of integration [ _xj−_ 1 _, xj_ ] _×_ [ _yi−_ 1 _, yi_ ]. This allows for the zero
mean condition (30) to be written in the following form:
_,_ if _ξ_ = _y._
2
_m_
_i_ =1
_n_
_j_ =1
_<u>xn</u>_ <u>+</u> _<u>x</u>_ <u>0</u>
_Ki,j_ =
_,_ if _ξ_ = _x,_
2
_<u>ym</u>_ <u>+</u> _<u>y</u>_ <u>0</u>
(52)
Assembling equations (48)–(52) yields a linear system:
A S x S = b S _,_ (53)
where A S _∈_ R <sup>_N_</sup> <sup>_×N_</sup>, x S _∈_ R <sup>_N_</sup>, b S _∈_ R <sup>_N_</sup> and _N_ = _mn_ ( _Nx_ + _Ny_ + 1). The entries of A S and b S
are determined via the solvability conditions (45), the continuity conditions (48)–(51) and the zero
mean condition (52). The vector x S contains the function evaluations _q_ ( _j−_ 1) _m_ + _i_ ( _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> ) for _i_ = 1 _, . . ., m_,
_j_ = 1 _, . . ., n_ and _p_ = 1 _, . . ., Nx_ and _g_ ( _i−_ 1) _n_ + _j_ ( _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> ) for _i_ = 1 _, . . ., m_, _j_ = 1 _, . . ., n_ and _p_ = 1 _, . . ., Ny_ as
well as the constants _Ki,j_ for _i_ = 1 _, . . ., m_ and _j_ = 1 _, . . ., n_ . Note that when constructing the linear
system, we truncate the summations appearing in the solution expression (38) after a finite number of
terms, _k_ = _N_ eig. Solving the linear system (53) then allows the approximations to the integrals (46)
and (47) to be computed and thus the solution (38) can be evaluated. With _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>computed,</sup> <sup>the</sup>
and (47) to be computed and thus the solution (38) can be evaluated. With _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>computed,</sup> <sup>the</sup>
solution of the original boundary value problem (10)–(19) can be calculated as _ψi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>) =</sup> <sup>_v_</sup> _i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>_−ξ_</sup> <sup>.</sup>
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>) =</sup> <sup>_v_</sup> _i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
10
_i,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>_−ξ_</sup> <sup>.</sup>
In terms of the transformed solution _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>),</sup> <sup>the</sup> <sup>four</sup> <sup>entries</sup> <sup>of</sup> <sup>the</sup> <sup>effective</sup> <sup>diffusivity</sup> <sup>are</sup> <sup>given</sup>
by:
[ D eff](1 _,_ 1) = <sup><u>1</u></sup>
_A_
_m_
_i_ =1
_∂v∂xi,j_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_dx dy,_</sup> (54)
_∂v∂yi,j_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_dx dy._</sup> (57)
_xj−_ 1
_n_
_j_ =1
_yi−_ 1
[ D eff](2 _,_ 1) = <sup><u>1</u></sup>
_A_
_i_ =1
_m_
_i_ =1
_xj−_ 1
_∂v∂yi,j_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_dx dy,_</sup> (55)
_j_ =1
_n_
_j_ =1
_yi−_ 1
[ D eff](1 _,_ 2) = <sup><u>1</u></sup>
_A_
_i_ =1
_m_
_i_ =1
_xj−_ 1
_Di,j_
_Di,j_
_Di,j_
_Di,j_
_∂v∂xi,j_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_dx dy,_</sup> (56)
_j_ =1
_n_
_j_ =1
_j_ =1
_n_
_j_ =1
_yi−_ 1
[ D eff](2 _,_ 2) = <sup><u>1</u></sup>
_A_
_i_ =1
_m_
_i_ =1
_i_ =1
_xj−_
- _xj_
_xj−_
- _xj_
_xj−_
- _xj_
_xj−_
- _xj_
_xj−_ 1
_j_ =1
_yi−_
- _yi_
_yi−_
- _yi_
_yi−_
- _yi_
_yi−_
- _yi_
_yi−_ 1
As we have an analytical expression for _vi,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>(38),</sup> <sup>we</sup> <sup>can</sup> <sup>evaluate</sup> <sup>the</sup> <sup>derivatives</sup> <sup>and</sup> <sup>integrals</sup>
appearing in equations (54)–(57) directly, yielding:
( _c_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
_<u>i,j,k</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_<u>−</u>_</sup> <sup>_d_</sup> _<u>i,j,k</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
_<u>i,j,k</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup>
<sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup> _,_ (58)
_kπ_
_Di,jAi,j_ ( _a_ <sup>(</sup> _<u>i,j,</u>_ <sup>_x_</sup> <sup>)</sup>
_Di,jAi,j_ ( _ai,j,_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
<sup>(</sup> _<u>i,j,</u>_ <sup>_x_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_b_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_b_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
( _c_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
[ D eff](1 _,_ 1) = <sup><u>1</u></sup>
_A_
_i_ =1
_j_
_N_ eig
_k_ =1
<sup>(</sup> _<u>i,j,k</u>_ <sup>_x_</sup> <sup>)</sup> <sup>_<u>−</u>_</sup> <sup>_d_</sup> _<u>i,j,k</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_n_
_j_ =1
_Di,jAi,j_ ( _c_ <sup>(</sup> _<u>i,j,</u>_ <sup>_x_</sup> <sup>)</sup> <u>0</u>
<sup>(</sup> _<u>i,j,</u>_ <sup>_x_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_d_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <u>0</u>
<sup>(</sup> _<u>i,j,</u>_ <sup>_x_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_b_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <u>0</u> <sup>)</sup>
4 + _lj_ <sup>2</sup>
( _a_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
<sup>(</sup> _<u>i,j,k</u>_ <sup>_x_</sup> <sup>)</sup> <sup>_<u>−</u>_</sup> <sup>_b_</sup> _<u>i,j,k</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_<u>i,j,k</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup>
<sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup> _,_ (59)
_kπ_
[ D eff](1 _,_ 2) = <sup><u>1</u></sup>
_A_
_i_ =1
_j_
_k_ =1
_N_ eig
_k_ =1
_j_ =1
_n_
_j_ =1
_j_ =1
_n_
_j_ =1
_Di,jAi,j_ ( _ci,j,_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u>
_<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_d_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u>
_<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_b_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u> <sup>)</sup>
4 + _lj_ <sup>2</sup>
( _a_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
<sup>(</sup> _<u>i,j,k</u>_ <sup>_y_</sup> <sup>)</sup> <sup>_<u>−</u>_</sup> <sup>_b_</sup> _<u>i,j,k</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
_<u>i,j,k</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup>
<sup>)</sup> <sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup> _,_ (60)
_kπ_
[ D eff](2 _,_ 1) = <sup><u>1</u></sup>
_A_
_m_
_i_ =1
_m_
_i_ =1
_m_
_i_ =1
_i_
_k_ =1
_N_ eig
_k_ =1
_j_ =1
_n_
_j_ =1
<sup>(</sup> _<u>i,j,</u>_ <sup>_x_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_d_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <u>0</u> <sup>)</sup>
4 + _h_ <sup>2</sup> _i_
_<u>i,j,k</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup>
<sup>)</sup> <sup>)[1</sup> <sup>_<u>−</u>_</sup> <sup>(</sup> <sup>_<u>−</u>_</sup> <sup>1)</sup> <sup>_k_</sup> <sup>]</sup> _,_ (61)
_kπ_
_k_ =1
[ D eff](2 _,_ 2) = <sup><u>1</u></sup>
_A_
_i_ =1
_m_
_i_ =1
_i_ =1
_i_
_k_ =1
_N_ eig
_k_ =1
_j_ =1
_<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u> <sup>+</sup> <sup>_d_</sup> _<u>i,j,</u>_ <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <u>0</u> <sup>)</sup>
4 + _h_ <sup>2</sup> _i_
where _Ai,j_ = ( _xj_ _−_ _xj−_ 1)( _yi_ _−_ _yi−_ 1). Finally, we remark that the coefficient matrix A S in the linear
system (53) is identical for both _ξ_ = _x_ and _ξ_ = _y_, however the vector b S differs. This means that
the linear system for _ξ_ = _x_ and the linear system for _ξ_ = _y_ can both be solved with only one matrix
factorisation.
_3.2._ _Choice_ _of_ _quadrature_ _method_
There are several constraints governing the choice of quadrature method utilized in the approximations of the integrals (46)–(47):
- _Abscissas_ _cannot_ _include_ _the_ _vertices_ _of_ _blocks._
If a vertex of a block is used as an abscissa in the quadrature rules (46)–(47), then the set of
four continuity conditions (48)–(51) evaluated at the vertex will be linearly dependent. If all _mn_
vertices are used in the quadrature rules (46)–(47), then the linear system (53) is deficient in
rank by _mn_ . As the vertices of the blocks are the limits of integration for all integrals appearing
in the coefficients (41)–(44), to ensure linear independence we implement a quadrature rule that
uses at most one of the limits of integration as an abscissa. While we could implement different
quadrature rules that use endpoints for some integrals and do not use endpoints for other integrals,
we take the consistent option of using no endpoints.
11
- _The_ _quadrature_ _rule_ _must_ _use_ _the_ _same_ _abscissas_ _for_ _all_ _frequencies_ _k_ = 0 _, . . ., Neig_ _appearing_ _in_
_the_ _coefficients_ _(41)–(44)._
The linear system (53) is generated by evaluating the boundary and interface conditions (48)–(51)
at the abscissas used in the quadrature formulae (46)-(47). In order to minimise the size of the
the linear system (53), the same abscissas _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> and _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> should be used for all _k_ = 0 _, . . ., N_ eig.
Hence, we restrict the choice of quadrature rules to those that use the same abscissas for all
frequencies _k_ = 0 _, . . ., N_ eig.
- _The_ _quadrature_ _rule_ _must_ _be_ _able_ _to_ _compute_ _the_ _integrals_ _appearing_ _in_ _equations_ _(41)–(44)_ _for_
_all_ _frequencies_ _k_ = 0 _, . . ., Neig_ _for_ _Neig_ = _max_ ( _Nx, Ny_ ) _−_ 1 _to_ _a_ _sufficient_ _level_ _of_ _accuracy._
The boundary and interface conditions (48)–(51) result in the coefficient matrix A _S_ in the linear
system (53) being rank deficient if _N_ eig = max( _Nx, Ny_ ) _−_ 1. As there is a lower limit on _N_ eig,
the quadrature rule must be able to accurately compute the integrals appearing in equations
(41)–(44) for all frequencies _k_ = 0 _, . . ., N_ eig, for _N_ eig = max( _Nx, Ny_ ) _−_ 1.
- _The_ _quadrature_ _rule_ _should_ _be_ _more_ _accurate_ _for_ _low_ _frequencies_ _than_ _for_ _high_ _frequencies._
The entries in the coefficient matrix A _S_ appearing in the linear system (53) are generated through
a summation from _k_ = 0 _, . . ., N_ eig of evaluations of the solution (38) at the abscissas used in
the quadrature rule. As _k_ increases, these solution evaluations decrease and therefore solution
evaluations with low frequencies comprise a larger proportion of the entries of the coefficient
matrix A _S_ than solution evaluations with higher frequencies. Therefore, the quadrature rule
should be more accurate for low frequencies than for high frequencies.
- _The_ _quadrature_ _rule_ _must_ _be_ _a_ _linear_ _function_ _of_ _the_ _function_ _evaluations_ _and_ _cannot_ _make_ _use_
_of_ _any_ _information_ _about_ _the_ _function_ _being_ _integrated_ .
As the evaluations, _q_ ( _j−_ 1) _m_ + _i_ ( _x_ <sup>(</sup> <sup>_j,p_</sup> <sup>)</sup> ) for _i_ = 1 _, . . ., m_, _j_ = 1 _, . . ., n_ and _p_ = 1 _, . . ., Nx_ and
_g_ ( _i−_ 1) _n_ + _j_ ( _y_ <sup>(</sup> <sup>_i,p_</sup> <sup>)</sup> ) for _i_ = 1 _, . . ., m_, _j_ = 1 _, . . ., n_ and _p_ = 1 _, . . ., Ny_, used to approximate the integrals (41)–(44) are determined via the solution of the linear system (53), the quadrature rule
must be a linear function of these evaluations and cannot use any other information about the
function, such as its derivatives, which are commonly used in approximations of oscillatory integrals [17].
As the integrals appearing in the coefficients (41)–(44) contain an oscillatory function, we investigated Filon [18] and Levin [19] type methods, which are quadrature rules well-suited to highly
oscillatory functions. The choice of quadrature rule is further complicated by the integrands being
unknown. We investigated a wide variety of different Filon and Levin type quadrature methods, including (but not limited to) the many different methods presented in [20] and found that almost all
of them were not suitable for use in our semi-analytical method, as they do not satisfy one or more
of the above mentioned constraints. The quadrature methods that were found to be suitable are: the
midpoint rule, a Filon-midpoint rule demonstrated in [21] and various Gaussian quadrature methods
that do not use abscissas at the endpoints. The Filon-midpoint rule was found to be consistently
less accurate than the regular midpoint rule in testing its application to oscillatory integrals. We then
tested our semi-analytical method with both the midpoint and Gauss-Legendre quadrature rules for a
variety of different problems. For the midpoint rule, we found that the matrix A S is of full rank for
every problem as long as the restriction _N_ eig _≥_ max( _Nx, Ny_ ) _−_ 1 is satisfied. However, for the GaussLegendre quadrature rule, we found that for some problems, the matrix A S is rank deficient despite
this inequality being satisfied. We found that setting the value of _N_ eig to be sufficiently large yields
a matrix A S of full rank. However, increasing the value of _N_ eig is undesirable as the Gauss-Legendre
12
rule can be inaccurate for highly oscillatory functions. To summarise, on the basis of our findings
we decided not to use any form of Gaussian quadrature to approximate the integrals (46)–(47) as we
cannot be sure that it will be accurate in our approach, bearing in mind that these approximations
are key to the success of the semi-analytical method. We therefore choose the midpoint rule to approximate the integrals (46)–(47). We note that more suitable quadrature methods may exist and/or
could be developed, and if these methods can be implemented in the form of summations as presented
in equations (46)–(47), then they could be easily applied to our semi-analytical method.
The midpoint rule uses evenly spaced abscissas, which leads to a restriction on the maximum number
of terms, _N_ eig, taken in the summations appearing in the solution (38). The functions integrated in the
definition of the coefficients (41)–(44) are similar to _f_ <sup>�</sup> ( _x_ ) = _f_ ( _x_ ) cos ( _kπx/L_ ) with limits of integration
approximation of the integrals, the spacing between abscissas is _L/_ ( _Nx −_ 1). If 2 _L/k_ = _L/_ ( _Nx −_ 1) the
of _x_ = 0 and _x_ = _L_ . The period of _f_ <sup>�</sup> ( _x_ ) is 2 _L/k_ and with _Nx_ evenly spaced abscissas used in the
abscissas align with the peaks of _f_ <sup>�</sup> ( _x_ ), which causes each evaluation of _f_ <sup>�</sup> ( _x_ ) to occur at an abscissa
_x_ = _x_ <sup>_∗_</sup> at which _f_ <sup>�</sup> ( _x_ <sup>_∗_</sup> ) = _f_ ( _x_ <sup>_∗_</sup> ). This has the effect of returning the value of the integral of _f_ ( _x_ ) from
maximum number of terms in the summations in equation (38) to ensure 2 _L/k_ _<_ _L/_ ( _Nx −_ 1), for all
_x_ = 0 to _x_ = _L_ instead of _f_ <sup>�</sup> ( _x_ ). Hence, to ensure an accurate solution we set an upper limit on the
_k_ = 1 _, . . ., N_ eig, leading to the restriction _N_ eig _≤_ 2 _Nx −_ 3. Combining both the lower and upper bounds
on _N_ eig yields the restriction:
max( _Nx, Ny_ ) _−_ 1 _≤_ _N_ eig _≤_ 2min( _Nx, Ny_ ) _−_ 3 _._ (62)
We note that the lower bound in the restriction (62) applies to any quadrature rule, whereas the upper
bound applies specifically to the midpoint rule. It also follows that _Nx_ _≥_ 2 must hold.
4. Finite volume method
To verify the accuracy of our new semi-analytical method, we compare it to a standard vertexcentered finite volume method [9]. We first define a rectangular mesh over the unit cell _C_ consisting
of uniformly spaced nodes in the _x_ and _y_ directions. The nodes are located at _x_ = _x_ 0 + _khx_ for
_k_ = 0 _, . . ., N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> and _y_ = _y_ 0+ _khy_ for _k_ = 0 _, . . ., N_ F <sup>(</sup> <sup>_y_</sup> <sup>), where</sup> <sup>_hx_</sup> <sup>= (</sup> <sup>_xn−x_</sup> <sup>0)</sup> <sup>_/N_</sup> F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> and _hy_ = ( _ym−y_ 0) _/N_ F <sup>(</sup> <sup>_y_</sup> <sup>).</sup>
F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> and _y_ = _y_ 0+ _khy_ for _k_ = 0 _, . . ., N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> and _hy_ = ( _ym−y_ 0) _/N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
F <sup>(</sup> <sup>_y_</sup> <sup>), where</sup> <sup>_hx_</sup> <sup>= (</sup> <sup>_xn−x_</sup> <sup>0)</sup> <sup>_/N_</sup> F <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_k_ = 0 _, . . ., N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> and _y_ = _y_ 0+ _khy_ for _k_ = 0 _, . . ., N_ F <sup>(</sup> <sup>_y_</sup> <sup>), where</sup> <sup>_hx_</sup> <sup>= (</sup> <sup>_xn−x_</sup> <sup>0)</sup> <sup>_/N_</sup> F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> and _hy_ = ( _ym−y_ 0) _/N_ F <sup>(</sup> <sup>_y_</sup> <sup>).</sup>
Control volumes are formed around each node by connecting the centroid of each rectangular element
to the midpoint of its edges. For interior nodes this gives a rectangular control volume comprised of
eight “half-sized” edges, each confined to a single element of homogeneous material. The number of
nodes in the _x_ and _y_ directions are always chosen to ensure that nodes coincide with interfaces between
blocks so that each control volume edge is located within only one block.
To perform the finite volume discretization, the PDE (5) is integrated over each control volume
and the integrals along each control volume edge approximated using a midpoint rule. This procedure
leads to a semi-discretized finite volume equation of the form:
_s∈ey_
_s∈ex_
_D_ ( _x_ <sup>(</sup> mid <sup>_s_</sup> <sup>)</sup>
<sup>(</sup> mid <sup>_s_</sup> <sup>)</sup> <sup>_, y_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>)</sup>
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>) +</sup> <sup>_δxξ_</sup>
_∂x_
- _<u>∂ψ</u>_ ( _ξ_ )
_∂x_ <sup>(</sup> <sup>_x_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
( _ξ_ )
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_, y_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
2 <sup>+</sup>
- _<u>hx</u>_
_D_ ( _x_ mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_, y_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>)</sup>
_∂y_
- _<u>∂ψ</u>_ ( _ξ_ )
_∂y_ <sup>(</sup> <sup>_x_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
( _ξ_ )
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_, y_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>) +</sup> <sup>_δyξ_</sup>
2 <sup>= 0</sup> <sup>_,_</sup> (63)
- _<u>hy</u>_
_s∈ey_
where _ex_ and _ey_ are the sets of vertical and horizontal edges of the control volume, ( _x_ mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_, y_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
where _ex_ and _ey_ are the sets of vertical and horizontal edges of the control volume, ( _x_ mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_, y_</sup> mid <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>)</sup> <sup>are</sup>
the coordinates of the midpoint of edge _s_ of the control volume and _δxξ_ and _δyξ_ are Kronecker deltas,
13
taking the value of one when the subscripts are equal and zero otherwise. The equation (63) is valid
for all nodes, except those located along the boundaries _x_ = _xn_ and _y_ = _ym_ . For these nodes, the finite
volume equation (63) is modified to accommodate the periodic boundary conditions, as discussed in
detail in [4].
Approximating the spatial derivatives appearing in equation (63) using second-order central differences and assembling the resulting finite volume equations for each node yields a linear system of the
form:
A F x F = b F _,_ (64)
where x F is a vector of length _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_N_</sup> <sup>(</sup> F <sup>_y_</sup> <sup>)</sup> containing the discrete unknown values of _ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> at each of the
nodes. After solving this linear system, we use a bilinear interpolant of _ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> over each element to
approximate the gradient within each element. This allows us to approximate the integrals in equation
(3)–(4), yielding the following formulae for the first and second columns of the effective diffusivity:
where x F is a vector of length _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_N_</sup> <sup>(</sup> F <sup>_y_</sup> <sup>)</sup>
[ D eff](: _,_ 1) = <sup><u>1</u></sup>
_A_
_N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_p_ =1
_D_ ( _x_ <sup>(</sup> _c_ <sup>_p_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_q_</sup> <sup>))(</sup> <sup>_∇ψ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)(</sup> <sup>_x_</sup> _c_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup>
<sup>(</sup> _c_ <sup>_p_</sup> <sup>)</sup> <sup>_, y_</sup> _c_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>_, y_</sup> _c_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_q_</sup> <sup>)) +</sup> <sup>e</sup> <sup>1)</sup> <sup>_hxhy,_</sup> (65)
_N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
_q_ =1
[ D eff](: _,_ 2) = <sup><u>1</u></sup>
_A_
_p_ =1
_N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_p_ =1
_p_ =1
_D_ ( _x_ <sup>(</sup> _c_ <sup>_p_</sup> <sup>)</sup>
<sup>(</sup> _c_ <sup>_p_</sup> <sup>)</sup> <sup>_, y_</sup> _c_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_q_</sup> <sup>))(</sup> <sup>_∇ψ_</sup> <sup>(</sup> <sup>_y_</sup> <sup>)(</sup> <sup>_x_</sup> _c_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>_, y_</sup> _c_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_q_</sup> <sup>)) +</sup> <sup>e</sup> <sup>2)</sup> <sup>_hxhy,_</sup> (66)
_q_ =1
_N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
_q_ =1
_q_ =1
where ( _x_ <sup>(</sup> _c_ <sup>_p_</sup> <sup>)</sup>
<sup>(</sup> _c_ <sup>_p_</sup> <sup>)</sup> <sup>_, y_</sup> _c_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup>
_c_ <sup>(</sup> <sup>_q_</sup> <sup>))</sup> <sup>is</sup> <sup>the</sup> <sup>centroid</sup> <sup>of</sup> <sup>the</sup> <sup>(</sup> <sup>_p, q_</sup> <sup>)th</sup> <sup>element,</sup> <sup>e</sup> 1 <sup>= [1</sup> <sup>_,_</sup> <sup>0]</sup> <sup>_T_</sup> <sup>and</sup> <sup>e</sup> 2 <sup>= [0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>_T_</sup> <sup>.</sup>
5. Results and discussion
In this section we verify the accuracy and efficiency of our new semi-analytical method and demonstrate its applicability to computing effective diffusivities of complex heterogeneous geometries. In
all comparisons between the semi-analytical and finite volume methods, we ensure that the spacing
between abscissas and the spacing between nodes are identical by setting _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _nNx_ and _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = _mNy_
F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _nNx_ and _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
between abscissas and the spacing between nodes are identical by setting _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _nNx_ and _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = _mNy_
in the finite volume method, where _Nx_ and _Ny_ denote the number of abscissas per interface in the
semi-analytical method. Both the semi-analytical and finite volume methods were implemented in
MATLAB and the linear systems for both methods, equations (53) and (64), were stored in sparse
format and solved using the backslash operator. <sup>3</sup> All numerical experiments were carried out in MATLAB (version 2017A) running on an early 2015 MacBook Pro with a 2.7GHz dual-core Intel Core i5
processor and 8GB of memory.
The efficiency of the MATLAB code implementing the semi-analytical method can be improved by
assuming that _m_ = _n_ (i.e. the same number of blocks in both the horizontal and vertical directions)
and that all _mn_ blocks are the same size. The main source of the improvement in efficiency is in
being able to compute the summations appearing in the solution (38) only once, instead of once for
each abscissa used in the method. All of the test cases we consider and the majority of the problems
we encountered in the literature have _m_ = _n_ and identically sized blocks, so all calculations in this
paper are computed using the more efficient version of the MATLAB code. The MATLAB codes
implementing the semi-analytical [method](https://github.com/NathanMarch/Homogenization) for both _m_ = _n_ and _m̸_ = _n_ are available on our GitHub
repository: [https://github.com/NathanMarch/Homogenization.](https://github.com/NathanMarch/Homogenization)
3For both the semi-analytical and finite volume methods, the backslash operator implements the Unsymmetric MultiFrontal PACKage with automatic reordering.
14
_5.1._ _Accuracy_ _and_ _efficiency_ _of_ _the_ _semi-analytical_ _method_
As a first verification of the accuracy of the semi-analytical solution we consider four geometries
previously presented in [7]. These four test geometries are depicted in Table 1 and take the form of a
square cell of dimension 1 by 1 comprised of an 8 by 8 array of blocks each of dimension 0 _._ 125 by 0 _._ 125.
The dark grey blocks have a diffusivity of 0 _._ 1 and the light grey blocks have a diffusivity of 1. Case 1
has a square shaped inclusion of dark grey blocks in the centre of the cell, case 2 consists of one larger
dark grey inclusion in the centre of the cell and four smaller dark grey inclusions at the corners, case
3 consists of three layers, of which the middle layer is dark grey and case 4 contains an L-shaped dark
grey inclusion. We compute the effective diffusivity using both the semi-analytical and finite volume
methods for cases 1–4 and compare the results to those presented in [7]. We set _Nx_ = _Ny_ = 16 and
_N_ eig = 2 _Nx_ _−_ 3 = 29 for the semi-analytical method and _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 4 _Nx_ = 4 _Ny_ = 64 for the
finite volume method. The results in Table 1 demonstrate that both the semi-analytical and finite
F = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
<sup>(</sup> <sup>_x_</sup> <sup>)</sup>
_N_ eig = 2 _Nx_ _−_ 3 = 29 for the semi-analytical method and _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 4 _Nx_ = 4 _Ny_ = 64 for the
finite volume method. The results in Table 1 demonstrate that both the semi-analytical and finite
volume methods are in very good agreement with the results presented by [7], agreeing to at least two
significant figures for all entries in each effective diffusivity.
The effective diffusivities for cases 1–3 are diagonal matrices as each geometry is invariant under a
rotation of 180 <sup>_◦_</sup> [22]. Additionally, the diagonal entries of the effective diffusivity for case 1 are identical
as the geometry is also invariant under a rotation of 90 <sup>_◦_</sup> . As cases 1–3 have effective diffusivities that
are diagonal, the principal directions of diffusion are in the horizontal ( _x_ ) and vertical ( _y_ ) directions
and the diagonal elements represent the diffusivity in these directions (see Table 1). For cases 2 and
3 the diffusivity in the horizontal direction is larger than the diffusivity in the vertical direction. This
is because, unlike for flow in the horizontal direction, flow in the vertical direction must pass through
or around the low diffusivity (dark grey) blocks. Case 3 is a layered medium, so the diffusivity in the
horizontal and vertical directions are the area-weighted arithmetic and harmonic averages of the layer
diffusivities, respectively. The eigenvalues of the effective diffusivity for case 4 are 0 _._ 527 and 0 _._ 682
and the corresponding normalised eigenvectors are [0 _._ 982 _,_ 0 _._ 189] <sup>_T_</sup> and [0 _._ 189 _, −_ 0 _._ 982] <sup>_T_</sup>, which define
principal directions of diffusion for case 4 that are rotated 10 _._ 9 <sup>_◦_</sup> anti-clockwise from the standard
Cartesian axes (see Table 1).
We now compare the accuracy of the semi-analytical method to the finite volume method by first
computing a benchmark effective diffusivity using the finite volume method with a very fine node
spacing. We consider the geometries of cases 1 and 4 as presented in [7], represented as both 4 by 4
and 16 by 16 grids of equal-sized blocks. We label theses cases as cases A–D such that:
- Case A is the 4 by 4 configuration of Case 1;
- Case B is the 4 by 4 configuration of Case 4;
- Case C is the 16 by 16 configuration of Case 1;
- Case D is the 16 by 16 configuration of Case 4.
For cases A and B each block is of size 0 _._ 25 by 0 _._ 25 while for the 16 by 16 configuration each block
is of size 0 _._ 0625 by 0 _._ 0625. For cases A and B we compute the effective diffusivity using _Nx_ = _Ny_ =
4 _,_ 8 _,_ 16 _,_ 32 and 64 for the semi-analytical method and _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 4 _Nx_ = 4 _Ny_ = 16 _,_ 32 _,_ 64 _,_ 128
4 _,_ 8 _,_ 16 _,_ 32 and 64 for the semi-analytical method and _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 4 _Nx_ = 4 _Ny_ = 16 _,_ 32 _,_ 64 _,_ 128
and 256 for the finite volume method. For cases C and D we compute the effective diffusivity using
_Nx_ = _Ny_ = 4 _,_ 8 and 16 for the semi-analytical method and _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 16 _Nx_ = 16 _Ny_ = 64 _,_ 128 and
F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
_Nx_ = _Ny_ = 4 _,_ 8 and 16 for the semi-analytical method and _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 16 _Nx_ = 16 _Ny_ = 64 _,_ 128 and
256 for the finite volume method. For all cases, the benchmark effective diffusivity is computed using
the finite volume method with _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 1024. For the semi-analytical method, _N_ eig is set as the
F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
the finite volume method with _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 1024. For the semi-analytical method, _N_ eig is set as the
minimum of 2 _Nx −_ 3 and 100. This is because, as mentioned in section 3.2, the value 2 _Nx −_ 3 is the
15
<u>Case</u> <u>1</u> <u>Case</u> <u>2</u>
Geometry
Szymkiewicz [7]
Finite Volume
Semi-Analytical
Geometry
Szymkiewicz [7]
Finite Volume
Semi-Analytical
0 0 _._ 308
0
<u>0</u> <u>0</u> _<u>.</u>_ <u>308</u>
<u>�0</u> _._ 775
_−_ 0 _._ 0286 0 _._ 676
_<u>−</u>_ 0 _._ 0286
<u>0</u> _<u>.</u>_ <u>676</u>
<u>�</u> <u>�</u> _<u>−</u>_ 00 _.._ 5330286
0
0 0 _._ 649
~~�~~ 0 _._ 649
0
0 0 _._ 566
~~�~~ ~~�~~ 0 _._ 693
0 0 _._ 566
0
0 0 _._ 566
<u>�</u> <u>�0</u> _._ 694
0 0 _._ 649
0
0 0 _._ 648
<u>�0</u> _._ 648
~~�~~
0 0 _._ 648
0
<u>0</u> <u>0</u> _<u>.</u>_ <u>648</u>
<u>�0</u> _._ 648
0 0 _._ 566
0
<u>0</u> <u>0</u> _<u>.</u>_ <u>566</u>
<u>�</u> <u>�0</u> _._ 693
<u>�</u>
<u>Case</u> <u>3</u> <u>Case</u> <u>4</u>
<u>�</u>
0
0 0 _._ 309
~~�~~ 0 _._ 775
_−_ 0 _._ 0286
0 _._ 675
~~�~~ ~~�~~ _−_ 00 _.._ 5330286
0 0 _._ 309
0
0 0 _._ 308
<u>�0</u> _._ 775
_−_ 0 _._ 0286 0 _._ 675
_−_ 0 _._ 0286
0 _._ 676
<u>�</u> <u>�</u> _−_ 00 _.._ 5330286
~~�~~
<u>�</u>
<u>�</u>
Table 1: Effective diffusivity for cases 1–4 as calculated using the semi-analytical and finite volume methods and compared
to the results presented in [7]. The principal directions of diffusion are overlaid upon each geometry. All results are
reported to three significant figures, consistent with [7].
upper limit on the maximum number of terms in the summations in equation (38) and in preliminary
testing we found that using more than 100 terms in the summation had negligible effect on the solution.
division, D eff represents the effective diffusivity as calculated from the semi-analytical/finite volume
We compute our relative error E = _|_ ( D eff _−_ D <sup>�</sup> eff) � D <sup>�</sup> eff _|_, where - represents Hadamard/element-wise
for both the semi-analytical and finite volume methods, which includes the time taken to solve the
boundary value problem (21)–(30) and compute the effective diffusivity via equations (58)–(61) and
solution under comparison and D <sup>�</sup> eff is the benchmark effective diffusivity. We also record the runtime
(65)–(66). All runtimes reported in this section were calculated by performing each calculation ten
times and taking the median runtime. Results in Table 2 demonstrate that the semi-analytical method
is either faster or more accurate (or both) than the finite volume method, indicating that for a specified
level of accuracy the semi-analytical method is more efficient.
We now further explore the efficiency of our new semi-analytical method by comparing the size of
the linear systems, equations (53) and (64), and the time taken to compute the effective diffusivity for
16
<u>Case</u> <u>A</u> <u>Semi-Analytical</u> <u>Finite</u> <u>Volume</u>
_<u>Nx</u>_ <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u> <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u>
_<u>x</u>_
0
4
0
~~�~~ 4 _._ 09e _−_ 03 4 _._ 09e _−_ 03
0
0.00805
0
~~�~~ ~~�~~ 7 _._ 85e _−_ 03 7 _._ 85e _−_ 03
0 4 _._ 09e _−_ 03
0
8
0
�1 _._ 80e _−_ 03 1 _._ 80e _−_ 03
0 7 _._ 85e _−_ 03
0
0.0112
0
- �2 _._ 89e _−_ 03 2 _._ 89e _−_ 03
0.00938
~~�~~
0 1 _._ 80e _−_ 03
0
16
0
�8 _._ 34e _−_ 04 8 _._ 34e _−_ 04
0 2 _._ 89e _−_ 03
0
0.0338
0
- �1 _._ 05e _−_ 03 1 _._ 05e _−_ 03
0.0280
0 8 _._ 34e _−_ 04
0
32
0
<u>�4</u> _._ 04e _−_ 04 4 _._ 04e _−_ 04
0 1 _._ 05e _−_ 03
0
0.0630
0
<u>�</u> <u>�3</u> _._ 69e _−_ 04 3 _._ 69e _−_ 04
0.113
0 4 _._ 04e _−_ 04
0
64
<u>0</u>
<u>�2</u> _._ 04e _<u>−</u>_ 04 <u>2</u> _<u>.</u>_ <u>04e</u> _<u>−</u>_ <u>04</u>
0 3 _._ 69e _−_ 04
0
0.269
<u>0</u>
<u>�</u> <u>�1</u> _._ 22e _<u>−</u>_ 04 <u>1</u> _<u>.</u>_ <u>22e</u> _<u>−</u>_ <u>04</u>
0.531
<u>�</u>
2.93
<u>�</u>
<u>Case</u> <u>B</u> <u>Semi-Analytical</u> <u>Finite</u> <u>Volume</u>
_<u>Nx</u>_ <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u> <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u>
_<u>x</u>_
4 5 _._ 04e _−_ 03
~~�~~ 65 _.._ 84e04e _−−_ 0303 4 _._ 47e _−_ 03
0.00747 2 _._ 44e _−_ 03
~~�~~ ~~�~~ 12 _.._ 30e44e _−−_ 0203 8 _._ 47e _−_ 03
5 _._ 04e _−_ 03 4 _._ 47e _−_ 03
8 2 _._ 21e _−_ 03
�32 _.._ 01e21e _−−_ 0303 1 _._ 98e _−_ 03
2 _._ 44e _−_ 03 8 _._ 47e _−_ 03
0.0109 1 _._ 88e _−_ 03
- �41 _.._ 82e88e _−−_ 0303 3 _._ 14e _−_ 03
0.00923
~~�~~
2 _._ 21e _−_ 03 1 _._ 98e _−_ 03
16 1 _._ 02e _−_ 03
�11 _.._ 40e02e _−−_ 0303 9 _._ 23e _−_ 04
1 _._ 88e _−_ 03 3 _._ 14e _−_ 03
0.0331 9 _._ 12e _−_ 04
- �19 _.._ 75e12e _−−_ 0304 1 _._ 14e _−_ 03
0.0277
1 _._ 02e _−_ 03 9 _._ 23e _−_ 04
32 4 _._ 94e _−_ 04
<u>�64</u> _.._ 77e94e _−−_ 0404 4 _._ 48e _−_ 04
9 _._ 12e _−_ 04 1 _._ 14e _−_ 03
0.0629 3 _._ 76e _−_ 04
<u>�</u> <u>�63</u> _.._ 17e76e _−−_ 0404 4 _._ 02e _−_ 04
0.115
4 _._ 94e _−_ 04 4 _._ 48e _−_ 04
64 2 _._ 50e _<u>−</u>_ 04
<u>�32</u> _.._ 42e50e _<u>−−</u>_ 0404 <u>2</u> _<u>.</u>_ <u>27e</u> _<u>−</u>_ <u>04</u>
3 _._ 76e _−_ 04 4 _._ 02e _−_ 04
0.270 1 _._ 36e _<u>−</u>_ 04
<u>�</u> <u>�21</u> _.._ 05e36e _<u>−−</u>_ 0404 <u>1</u> _<u>.</u>_ <u>33e</u> _<u>−</u>_ <u>04</u>
0.530
<u>�</u>
2.92
<u>�</u>
<u>Case</u> <u>C</u> <u>Semi-Analytical</u> <u>Finite</u> <u>Volume</u>
_<u>Nx</u>_ <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u> <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u>
_<u>x</u>_
0
4
0
~~�~~ 5 _._ 60e _−_ 04 5 _._ 60e _−_ 04
0
0.0702
0
~~�~~ ~~�~~ 1 _._ 05e _−_ 03 1 _._ 05e _−_ 03
0 5 _._ 60e _−_ 04
0
8
0
<u>�2</u> _._ 52e _−_ 04 2 _._ 52e _−_ 04
0 1 _._ 05e _−_ 03
0
0.151
0
<u>�</u> <u>�3</u> _._ 69e _−_ 04 3 _._ 69e _−_ 04
0.124
~~�~~
0 2 _._ 52e _−_ 04
0
16
<u>0</u>
<u>�1</u> _._ 25e _<u>−</u>_ 04 <u>1</u> _<u>.</u>_ <u>25e</u> _<u>−</u>_ <u>04</u>
0 3 _._ 69e _−_ 04
0
0.619
<u>0</u>
<u>�</u> <u>�1</u> _._ 22e _<u>−</u>_ 04 <u>1</u> _<u>.</u>_ <u>22e</u> _<u>−</u>_ <u>04</u>
0.549
<u>�</u>
2.98
<u>�</u>
<u>Case</u> <u>D</u> <u>Semi-Analytical</u> <u>Finite</u> <u>Volume</u>
_<u>Nx</u>_ <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u> <u>Relative</u> <u>Error</u> <u>(</u> <u>E</u> <u>)</u> <u>Time</u> <u>(s)</u>
_<u>x</u>_
4 7 _._ 42e _−_ 04
~~�~~ 97 _.._ 38e42e _−−_ 0404 6 _._ 10e _−_ 04
0.0696 9 _._ 12e _−_ 04
~~�~~ ~~�~~ 19 _.._ 75e12e _−−_ 0304 1 _._ 14e _−_ 03
7 _._ 42e _−_ 04 6 _._ 10e _−_ 04
8 3 _._ 34e _−_ 04
<u>�43</u> _.._ 22e34e _−−_ 0404 2 _._ 75e _−_ 04
9 _._ 12e _−_ 04 1 _._ 14e _−_ 03
0.151 3 _._ 76e _−_ 04
<u>�</u> <u>�63</u> _.._ 17e76e _−−_ 0404 4 _._ 02e _−_ 04
0.0650
~~�~~
3 _._ 34e _−_ 04 2 _._ 75e _−_ 04
16 1 _._ 65e _<u>−</u>_ 04
<u>�21</u> _.._ 10e65e _<u>−−</u>_ 0404 <u>1</u> _<u>.</u>_ <u>36e</u> _<u>−</u>_ <u>04</u>
3 _._ 76e _−_ 04 4 _._ 02e _−_ 04
0.615 1 _._ 36e _<u>−</u>_ 04
<u>�</u> <u>�21</u> _.._ 05e36e _<u>−−</u>_ 0404 <u>1</u> _<u>.</u>_ <u>33e</u> _<u>−</u>_ <u>04</u>
0.388
<u>�</u>
2.43
<u>�</u>
Table 2: Error and runtimes of the effective diffusivities calculated using the semi-analytical and finite volume methods.
both the semi-analytical and finite volume methods. To do this we consider a square unit cell with
17
70
60
50
40
30
20
10
0
0 5 10 15 20 25 30 35 40
<u>10</u> <sup>5</sup>
4.5
4
3.5
3
2.5
2
1.5
1
0.5
0
0 5 10 15 20 25 30 35 40
Figure 3: Comparison of time taken to solve the linear system and size of the linear system for both the semi-analytical
and finite volume methods for geometries consisting of an _m_ by _m_ grid, for _m_ = 2 _, . . .,_ 40. The time taken represents
the time to formulate and solve the linear systems, as well as to calculate the effective diffusivity.
<u>10</u> _<u>×</u>_ <u>10</u> <u>20</u> _<u>×</u>_ <u>20</u>
Geometry
Effective diffusivity
Geometry
Effective diffusivity
0 _._ 00754
<u>0</u> _<u>.</u>_ <u>00754</u> <u>0</u> _<u>.</u>_ <u>374</u>
~~<u>�</u>~~ 0 _._ 272
0 _._ 0177
<u>0</u> _<u>.</u>_ <u>0177</u> <u>0</u> _<u>.</u>_ <u>342</u>
~~<u>�</u>~~ 0 _._ 310
0 _._ 000954
<u>0</u> _<u>.</u>_ <u>000954</u> <u>0</u> _<u>.</u>_ <u>304</u>
~~<u>�</u>~~ ~~<u>�</u>~~ 0 _._ 340
_<u>−</u>_ 0 _._ 0920
<u>0</u> _<u>.</u>_ <u>346</u>
~~<u>�</u>~~ ~~<u>�</u>~~ _<u>−</u>_ 00 _.._ 3410920
<u>50</u> _<u>×</u>_ <u>50</u> <u>100</u> _<u>×</u>_ <u>100</u>
~~<u>�</u>~~
~~<u>�</u>~~
Table 3: Effective diffusivity for four randomly generated aggregated media consisting of a 10 by 10, 20 by 20, 50
by 50 and 100 by 100 array of blocks, respectively, as calculated using the semi-analytical method. In all four cases
_Nx_ = _Ny_ = 8 and the number of blocks with diffusivity 0.1 (dark grey blocks) is equal to the number of blocks with
diffusivity 1 (light grey blocks). The aggregated geometries were inspired by those presented in [23].
18
_x_ 0 = _y_ 0 = 0 and _xn_ = _ym_ = 1, consisting of an _m_ by _m_ grid of equal-sized blocks for _m_ = 2 _, . . .,_ 40,
i.e., we consider a 2 by 2 grid, a 3 by 3 grid etc. The unit cell is a checkerboard structure consisting of
diffusivities of 0 _._ 1 and 1 with a diffusivity of 0 _._ 1 in the top left corner. For example, the diffusivities
for _m_ = 3 are:
_D_ 1 _,_ 1 _D_ 1 _,_ 2 _D_ 1 _,_ 3
_D_ 2 _,_ 1 _D_ 2 _,_ 2 _D_ 2 _,_ 3
_D_ 3 _,_ 1 _D_ 3 _,_ 2 _D_ 3 _,_ 3
=
(67)
_._
0 _._ 1 1 0 _._ 1
1 0 _._ 1 1
0 _._ 1 1 0 _._ 1
As usual, we specify the spacing between abscissas for the semi-analytical method to be the same as
the spacing between nodes for the finite volume method. We compute the effective diffusivity using
F = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 16 _m_
_Nx_ = _Ny_ = 16 and _N_ eig = 2 _Nx_ _−_ 3 = 29 for the semi-analytical method and _N_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
for the finite volume method. This leads to the linear system (53) in the semi-analytical method
F = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
<sup>(</sup> <sup>_x_</sup> <sup>)</sup>
F = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 16 _m_
_Nx_ = _Ny_ = 16 and _N_ eig = 2 _Nx_ _−_ 3 = 29 for the semi-analytical method and _N_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>
for the finite volume method. This leads to the linear system (53) in the semi-analytical method
having dimension _m_ <sup>2</sup> (2 _Nx_ + 1) = 33 _m_ <sup>2</sup> and the linear system (64) in the finite volume method having
dimension _m_ <sup>2</sup> _Nx_ <sup>2</sup> <sup>= 256</sup> <sup>_m_</sup> <sup>2.</sup> <sup>Results</sup> <sup>in</sup> <sup>Figure</sup> <sup>3</sup> <sup>demonstrate</sup> <sup>that</sup> <sup>the</sup> <sup>efficiency</sup> <sup>advantage</sup> <sup>of</sup> <sup>the</sup> <sup>semi-</sup>
dimension _m_ <sup>2</sup> _Nx_ <sup>2</sup> <sup>= 256</sup> <sup>_m_</sup> <sup>2.</sup> <sup>Results</sup> <sup>in</sup> <sup>Figure</sup> <sup>3</sup> <sup>demonstrate</sup> <sup>that</sup> <sup>the</sup> <sup>efficiency</sup> <sup>advantage</sup> <sup>of</sup> <sup>the</sup> <sup>semi-</sup>
analytical method over the finite volume method becomes more pronounced as _m_ increases. This is
because as the number of blocks increases, the size of the linear system increases (see Figure 3) and the
time taken to solve these systems becomes the dominant computational cost of calculating the effective
diffusivity. This improvement in efficiency that the semi-analytical method has over the finite volume
method demonstrates the potential of the semi-analytical method to significantly speed up simulations
of transport processes across block, heterogeneous media.
_5.2._ _Accuracy_ _of_ _the_ _solution_ _of_ _the_ _linear_ _system_ _(53)_
In this section we demonstrate the accuracy of the solution of the linear system (53) corresponding
to cases 1–4 with _Nx_ = _Ny_ = 16 and all values of _N_ eig that satisfy the restriction (62), which are
_N_ eig = 15 _, . . .,_ 29. We stress that it is important that the lower bound of the restriction (62) is
satisfied, as otherwise the coefficient matrix A _s_ will be singular. For each case, the condition number
(as calculated using the 2-norm) of the coefficient matrix A _s_ is of the order 10 <sup>3</sup> and the 2-norm of
the residual of the linear system (53) is of the order 10 <sup>_−_</sup> <sup>14</sup>, which means the continuity conditions
(48)–(51) are satisfied with a maximum absolute error of 10 <sup>_−_</sup> <sup>14</sup> . An upper bound on the relative error
in the solution of the linear system (53) is cond( A _s_ ) _∥_ r _s∥_ 2 _/ ∥_ b _s∥_ 2, where r _s_ is the residual of the linear
system (53), which yields a maximum relative error of 10 <sup>_−_</sup> <sup>11</sup> _/ ∥_ b _s∥_ 2.
_5.3._ _Results_ _for_ _complex_ _structured_ _heterogeneous_ _geometries_
We now demonstrate how the semi-analytical method can be used to homogenize complex heterogeneous geometries. For our demonstration, we consider a square cell of dimension 1 by 1 consisting of
an _m_ by _m_ array of square blocks and generate aggregated, random geometries of two different media.
We first generate _m_ <sup>2</sup> uniformly distributed, random numbers between 0 and 1 denoted by _D_ <sup>(0)</sup>
_i,j_ <sup>where</sup>
_i_ = 1 _, . . ., m_ and _j_ = 1 _, . . ., m_ . We then perform the following iteration:
+ <sup><u>1</u></sup>
36
_i_ <sup>(</sup> _−_ <sup>_k_</sup> <sup>)</sup> 1 _,j−_ 1 <sup>+</sup> <sup>_D_</sup> _i_ <sup>(</sup> _−_ <sup>_k_</sup> <sup>)</sup> 1
_i_ <sup>(</sup> _−_ <sup>_k_</sup> <sup>)</sup> 1 _,j_ +1 <sup>+</sup> <sup>_D_</sup> _i_ <sup>(</sup> +1 <sup>_k_</sup> <sup>)</sup>
_i,j_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> = <sup><u>4</u></sup>
9
9
_Di,j_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup>
<sup><u>4</u></sup> _i,j_ <sup>+</sup> <sup><u>1</u></sup>
9 <sup>_D_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> 9
_i,j_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _−_ 1 <sup>+</sup> <sup>_D_</sup> _i,j_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup>
_Di_ <sup>(</sup> _−_ <sup>_k_</sup> <sup>)</sup>
_i_ <sup>(</sup> _−_ <sup>_k_</sup> <sup>)</sup> 1 _,j_ <sup>+</sup> <sup>_D_</sup> _i_ <sup>(</sup> +1 <sup>_k_</sup> <sup>)</sup>
_i_ <sup>(</sup> +1 <sup>_k_</sup> <sup>)</sup> _,j_ <sup>+</sup> <sup>_D_</sup> _i,j_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup>
_i,j_ +1
_Di_ <sup>(</sup> _−_ <sup>_k_</sup> <sup>)</sup> 1
_i_ <sup>(</sup> +1 <sup>_k_</sup> <sup>)</sup> _,j−_ 1 <sup>+</sup> <sup>_D_</sup> _i_ <sup>(</sup> +1 <sup>_k_</sup> <sup>)</sup>
_,_ (68)
_i_ +1 _,j_ +1
for all _i_ = 1 _, . . ., m_ and _j_ = 1 _, . . ., m_, where _Di,j_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup>
for all _i_ = 1 _, . . ., m_ and _j_ = 1 _, . . ., m_, where _Di,j_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>represents</sup> <sup>the</sup> <sup>diffusivity</sup> <sup>in</sup> <sup>the</sup> <sup>(</sup> <sup>_i, j_</sup> <sup>)th</sup> <sup>block</sup> <sup>of</sup>
the unit cell _C_ (see Figure 1(b)) at the _k_ th iteration and the weightings are inspired by those used
in lattice Boltzmann methods [24]. For the purposes of the algorithm in equation (68), we assume
19
periodicity to process the blocks along the boundaries, for example, when _i_ = 1, we set _i −_ 1 to be
equal to _m_ . After performing a fixed number of iterations, we are left with an array of diffusivities
containing entries between 0 and 1, where larger values are aggregated together and smaller values
are aggregated together. The reason for this aggregation is that during each iteration, the diffusivity
of a given block is a weighted average of itself and its nearest neighbours, so in each iteration, the
diffusivities are converging to those of its nearest neighbours. To ensure the geometry is comprised of
equal parts light grey (diffusivity of 1) and dark grey (diffusivity of 0.1), we then prescribe that the
largest 0 _._ 5 _m_ <sup>2</sup> entries of the array are 1 and the remaining 0 _._ 5 _m_ <sup>2</sup> entries are 0.1.
Table 3 presents some example geometries generated using the above procedure for _m_ = 10 _,_ 20 _,_ 50
and 100, which resemble realistic geometries presented in [25] and [22]. These figures demonstrate
the highly complex heterogeneous geometries that can be captured using blocks and how the semianalytical method can be used to calculate the effective diffusivity for such geometries. We note that
each iteration in the aggregation procedure could be considered as a change in the underlying geometry
of a domain arising throughout the simulation of a diffusive transport problem. In this scenario, the
effective diffusivity can be calculated easily and efficiently using our semi-analytical method, as it
requires merely changing the diffusivities in some of the blocks. We also note that our semi-analytical
method can be applied to any geometry where the diffusivities are represented as a grid of pixels (e.g.
CT scans).
_5.4._ _Results_ _for_ _complex_ _unstructured_ _heterogeneous_ _geometries_
We now demonstrate the applicability of the semi-analytical method to geometries involving curved
edges by first pixelating them, which allows for the geometry to be represented as a grid of blocks.
We consider a geometry presented in [9] (see Table 4(a)) and pixelate it several times to generate
geometries of different sizes (see Figure 1 (b)). This is a 512 by 512 geometry in which the dark grey
blocks have a diffusivity of 0 _._ 1 and the light grey blocks have a diffusivity of 1. We define a pixelation
parameter _r_, such that the image is now represented as an _r_ by _r_ grid of square blocks, so decreasing
values of _r_ produce greater pixelation. Each block in the pixelated geometry is made up of a _k_ by _k_ grid
of blocks, such that _rk_ = _m_ (for the geometry in Figure 1(a), _m_ = 512). On each _k_ by _k_ grid of blocks,
we compute the mean of the diffusivities of the _k_ <sup>2</sup> blocks. If the mean is greater than or equal to 0 _._ 55,
the diffusivity of the entire _k_ by _k_ block is set to be 1, otherwise it is set to be 0 _._ 1. The threshold value
of 0 _._ 55 is chosen as it is halfway between the low diffusivity of 0 _._ 1 and the high diffusivity of 1 and as
the pixellation is performed via a simple averaging process, the computational cost is negligible. On
each of the pixelated geometries, we compute the effective diffusivity using the semi-analytical method
with _Nx_ = _Ny_ = 4 abscissas per interface and compare the result to a benchmark effective diffusivity
obtained from the finite volume method of section 4 applied to the original 512 by 512 geometry with
a fine mesh ( _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 1024). We consider levels of pixelation corresponding to _r_ = 16 _,_ 32 _,_ 64 _,_ 128
F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup>
a fine mesh ( _N_ F <sup>(</sup> <sup>_x_</sup> <sup>)</sup> = _N_ F <sup>(</sup> <sup>_y_</sup> <sup>)</sup> = 1024). We consider levels of pixelation corresponding to _r_ = 16 _,_ 32 _,_ 64 _,_ 128
and for each level of pixelation compute the relative error E defined in section 5.1.
Results in Table 4 demonstrate that as the pixelation increases (as _r_ decreases), the error in the
effective diffusivity generally increases, that is, higher values of _r_ generally yield more accurate effective
diffusivities. These results demonstrate the applicability of pixelating complicated geometries to the
fast computation of accurate effective diffusivities. For example, pixelating the image to a 32 by
32 geometry allows the diagonal entries of the effective diffusivity to be calculated using our semianalytical method to an accuracy of approximately 1% in under 1 second. Although a standard finite
volume method could also be applied to the pixelated 32 by 32 geometry, our semi-analytical method
is faster and of equivalent accuracy, as demonstrated in Table 2.
20
_5.5._ _Extension_ _of_ _semi-analytical_ _method_ _to_ _geometries_ _without_ _aligned_ _interfaces_
Although in this paper we consider geometries comprised of square blocks in which all interfaces
are aligned (such as in Figure 1(b)), our semi-analytical method can be extended to non-aligned
rectangular blocks where interfaces between adjacent blocks of homogeneous material are removed
wherever possible. For example, in Figure 4(b), we consider the pixelated geometry corresponding to
_r_ = 16 in Table 4 and divide it into a number of rectangles of different sizes. The rectangles are chosen
in such a way as to attempt to minimise the sum of the perimeter of the rectangles. The abscissas used
for the numerical integration of the flux functions in equations (46)–(47) are placed on the interfaces
between adjacent rectangles. Due to the fewer interfaces in Figure 4(b), the total number of abscissas
required is reduced, which would lead to decreased computational time, due to the smaller size of
the linear system (53) and increased accuracy, due to the fewer integrals along interfaces (46)–(47)
required to be approximated. For example in Figure 4(a), we show the abscissas required for the
semi-analytical method for the pixelated 16 by 16 geometry from Table 4 with _Nx_ = _Ny_ = 4, which
requires the solution of a 2304 by 2304 linear system in order to calculate the effective diffusivity. The
linear system corresponding to the formulation in Figure 4(b), however is only 803 by 803, where 764
of the unknowns in the linear system correspond to the abscissas of the flux function evaluations on the
interfaces and the remaining 39 unknowns correspond to the constants _Ki,j_ that appear in equation
(38). This _extended_ _semi-analytical_ _method_ reduces the size of the linear system by over 65% for the
example in Figure 4 and highlights its potential to greatly reduce the computational time required to
calculate effective diffusivities. In this sense, the method could be considered as a form of adaptive
approach, as the abscissas used in the calculation of the effective diffusivities are chosen based on the
diffusivities of the individual blocks and may change if the underlying geometry changes throughout
the course of a simulation. The _extended_ _semi-analytical_ _method_ shares some of the advantages and
disadvantages of numerical solution methods that use adaptive meshes that fit the geometry of the unit
cell, such as the methods presented in [26] and [27]. All of these methods can be more computationally
efficient due to fewer unknowns required to represent the solution _ψ_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> in sections of the unit cell where
the geometry is unchanged. However pre-processing is required to generate an adaptive mesh and
remeshing may be required if the geometry changes throughout a simulation.
_5.6._ _Extension_ _of_ _semi-analytical_ _method_ _to_ _discontinuous_ _media_
Although in this work we consider positive block diffusivities, our method can be extended to
discontinuous media in which some of the blocks have zero diffusivity. To account for this, on any
interface between two blocks in which at least one of the blocks has zero diffusivity, the interface
and boundary functions (36)–(37) would be set to equal zero along that interface. Additionally, no
boundary value problem (10) is imposed on any block in which the diffusivity is zero, as equation (10)
would be trivially satisfied. Any _m_ by _n_ geometry with blocks that have zero diffusivity would require
fewer unknown interface functions than an _m_ by _n_ geometry without blocks that have zero diffusivity.
This would decrease the size of the linear system (53). For example, for the geometry presented in
Figure 4(a), with _Nx_ = _Ny_ = 4, the linear system has dimension 2304 by 2304. However, if the dark
grey blocks had a diffusivity of zero instead of 0 _._ 1, the linear system has dimension 1155 by 1155.
Furthermore, the extended semi-analytical method presented in section 5.5 could also be applied to
geometries which contain blocks with zero diffusivity to further reduce the dimension of the linear
system (53). For example, for the formulation presented in Figure 4(b), if the dark grey blocks were
set to have a diffusivity of zero, removing the interfaces between dark grey and light grey blocks results
in a linear system of dimension 327 by 327.
21
<u>Benchmark</u>
#### D eff =
#### − 0 . 0172 0 . 4370 ( − 00 . 4796 . 0172 )
<u>Geometry</u> <u>D</u> <u>ef</u> <u>E</u> _<u>N</u>_ <u>Time(s)</u>
0 _._ 4761 _−_ 0 _._ 0171
_−_ 0 _._ 0171 0 _._ 4344
7 _._ 18e _−_ 03 6 _._ 12e _−_ 03
6 _._ 12e _−_ 03 5 _._ 79e _−_ 03
-
147456 328
_<u>r</u>_ <u>= 128</u>
_<u>r</u>_ <u>= 64</u>
_<u>r</u>_ <u>= 32</u>
_<u>r</u>_ <u>= 16</u>
0 _._ 4740 _−_ 0 _._ 0170
_−_ 0 _._ 0170 0 _._ 4336
1 _._ 16e _−_ 02 1 _._ 44e _−_ 02
1 _._ 44e _−_ 02 7 _._ 81e _−_ 03
-
36864 12.5
0 _._ 4750 _−_ 0 _._ 0146
_−_ 0 _._ 0146 0 _._ 4314
9 _._ 53e _−_ 03 1 _._ 49e _−_ 01
1 _._ 49e _−_ 01 1 _._ 27e _−_ 02
-
9216 0.912
0 _._ 4689 _−_ 0 _._ 0194
_−_ 0 _._ 0194 0 _._ 4362
2 _._ 22e _−_ 02 1 _._ 29e _−_ 01
1 _._ 29e _−_ 01 1 _._ 66e _−_ 03
-
2304 0.0852
Table 4: Pixelated geometries corresponding to Figure 1(a) with corresponding effective diffusivities ( D eff), relative
errors ( E ), number of rows of blocks in the pixelated geometry( _r_ ), number of rows in the corresponding linear system
(53) ( _N_ ) and time taken to solve the linear system (Time(s)).
22
(a) Semi-analytical method abscissas (b) Extended semi-analytical method abscissas
Figure 4: (a) The abscissas required for the semi-analytical method for the pixelated 16 by 16 geometry presented in
Table 4 with _Nx_ = _Ny_ = 4, which would require the solution of a 2304 by 2304 linear system (53) to compute the effective
diffusivity. (b) The abscissas for the extended semi-analytical method for the same geometry, in which rectangular blocks
of different sizes are considered and interfaces do not have to be aligned. The spacing between abscissas is set to be 1 _/_ 64
and requires only the solution of a 803 by 803 linear system to compute the effective diffusivity.
6. Conclusion
In this paper we have presented a semi-analytical method for solving the classical boundary value
problem arising from the homogenization of a two-dimensional, pixelated, locally-isotropic, heterogeneous, periodic domain. Our approach involves reformulating the heterogeneous boundary value
problem on the unit cell as a family of boundary value problems on the homogeneous blocks by introducing unknown functions representing the flux at the interfaces between adjacent blocks. We then
solve each homogeneous boundary value problem via standard techniques to yield an analytical solution depending on the integrals involving unknown interface functions. By applying an appropriate
numerical quadrature rule to these integrals and enforcing continuity of the solution across each interface, the solution of the original heterogeneous boundary value problem can be computed, which allows
the effective diffusivity to be calculated. Our numerical experiments demonstrated our semi-analytical
method yields accurate results when applied to standard test problems from the literature. For all of
these test problems considered in this work, we found that our semi-analytical method is faster and/or
more accurate than a standard finite volume method. The primary reason for this is that the linear
system for the semi-analytical method is much smaller than the linear system for the finite volume
method as unknowns are located only along interfaces between adjacent blocks and not in the interior
of the blocks (see Figure 1(d)–(e)). We also demonstrated that our semi-analytical method can be
applied to complex heterogeneous geometries by pixellating and representing the geometry as a grid
of blocks, as demonstrated in Table 4.
While all of the heterogeneous media considered in this paper consist of only two different materials,
our semi-analytical method is not restricted to such media as the diffusivity in each block can be
different to all other blocks. Furthermore, we only considered periodic boundary conditions (15)–(18),
however, our semi-analytical method can be modified to accomodate additional forms of boundary
23
conditions used in other homogenization techniques [7] and other steady-state diffusion problems on
two-dimensional, block heterogeneous media. There is also room for improvement in our semi-analytical
method that may further improve its efficiency and accuracy. For example: (i) allowing for blocks of
different sizes where not all interfaces are aligned would reduce the number of interface functions and
thus reduce the size of the linear system (53), as discussed in section 5.5; (ii) applying a quadrature rule
to approximate the integrals involving the interface functions that allows for more than 2 _Nx−_ 3 terms to
be taken in the summations would likely improve the accuracy; (iii) applying an iterative technique to
the solution of the linear system, as demonstrated in [28], may allow for improvement in the efficiency
of our semi-analytical method. In our future work, we plan to investigate the effect of the accuracy
of an effective diffusivity tensor on the accuracy of the coarse-scale solution of diffusion problems in
complex heterogeneous media and the use of our semi-analytical method for alleviating bottlenecks
in coarse-grained models of non-periodic heterogeneous media, where the domain is decomposed into
several sub-domains, which are individually homogenized.
Acknowledgments
The first author acknowledges discussions with Nadja Ray and Andreas Rupp from FriedrichAlexander University of Erlangen-N¨urnberg on randomly generating aggregated heterogeneous domains. All authors acknowledge the helpful comments of the anonymous reviewers and editors that
helped improve the quality of the manuscript. The second and third authors acknowledge funding from
the Australian Research Council (DE150101137, DP150103675).
Appendix A. Boundary conditions for blocks in bottom row and right column
The boundary conditions (36)–(37) are valid for all blocks except those in either the bottom row
( _i_ = _m_ ) or right column ( _j_ = _n_ ). For the blocks in the bottom row and right column, the boundary
conditions are:
_Dm,j_ _∂v∂xm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xj−_</sup> <sup>1</sup> <sup>_, y_</sup> <sup>) =</sup> <sup>_g_</sup> <sup>(</sup> <sup>_m−_</sup> <sup>1)</sup> <sup>_n_</sup> <sup>+</sup> <sup>_j_</sup> <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _ym−_ 1 _< y_ _< ym,_ (A.1)
_Dm,j_ _∂v∂xm,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xj, y_</sup> <sup>) =</sup> <sup>_g_</sup> <sup>(</sup> <sup>_m−_</sup> <sup>1)</sup> <sup>_n_</sup> <sup>+</sup> <sup>_j_</sup> <sup>+1(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _ym−_ 1 _< y_ _< ym,_ (A.2)
_Dm,j_
_∂v∂ym,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym−_</sup> <sup>1) =</sup> <sup>_qjm_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _xj−_ 1 _< x < xj,_ (A.3)
_Dm,j_
_∂v∂ym,j_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, ym_</sup> <sup>) =</sup> <sup>_q_</sup> <sup>(</sup> <sup>_j−_</sup> <sup>1)</sup> <sup>_m_</sup> <sup>+1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _xj−_ 1 _< x < xj,_ (A.4)
for _j_ = 1 _, . . ., n −_ 1,
_Di,n_
_∂v∂xi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xn−_</sup> <sup>1</sup> <sup>_, y_</sup> <sup>) =</sup> <sup>_gin_</sup> <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _yi−_ 1 _< y_ _< yi,_ (A.5)
_Di,n_
_∂v∂xi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_xn, y_</sup> <sup>) =</sup> <sup>_g_</sup> <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> <sup>_n_</sup> <sup>+1(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _yi−_ 1 _< y_ _< yi,_ (A.6)
_Di,n_
_Di,n_
_∂v∂yi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, yi−_</sup> <sup>1) =</sup> <sup>_q_</sup> <sup>(</sup> <sup>_n−_</sup> <sup>1)</sup> <sup>_m_</sup> <sup>+</sup> <sup>_i_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _xn−_ 1 _< x < xn,_ (A.7)
_∂v∂yi,n_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>(</sup> <sup>_x, yi_</sup> <sup>) =</sup> <sup>_q_</sup> <sup>(</sup> <sup>_n−_</sup> <sup>1)</sup> <sup>_m_</sup> <sup>+</sup> <sup>_i_</sup> <sup>+1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _xn−_ 1 _< x < xn,_ (A.8)
24
for _i_ = 1 _, . . ., m −_ 1, and
_Dm,n_
_<u>∂vm,n</u>_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂x_ <sup>(</sup> <sup>_xn−_</sup> <sup>1</sup> <sup>_, y_</sup> <sup>) =</sup> <sup>_gmn_</sup> <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _ym−_ 1 _< y_ _< ym,_ (A.9)
_Dm,n_
_<u>∂vm,n</u>_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂x_ <sup>(</sup> <sup>_xn, y_</sup> <sup>) =</sup> <sup>_g_</sup> <sup>(</sup> <sup>_m−_</sup> <sup>1)</sup> <sup>_n_</sup> <sup>+1(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_,_</sup> _ym−_ 1 _< y_ _< ym,_ (A.10)
_Dm.n_
_<u>∂vm,n</u>_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂y_ <sup>(</sup> <sup>_x, ym−_</sup> <sup>1) =</sup> <sup>_qmn_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _xn−_ 1 _< x < xn,_ (A.11)
_Dm.n_
_<u>∂vm,n</u>_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_∂y_ <sup>(</sup> <sup>_x, ym_</sup> <sup>) =</sup> <sup>_q_</sup> <sup>(</sup> <sup>_n−_</sup> <sup>1)</sup> <sup>_m_</sup> <sup>+1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _xn−_ 1 _< x < xn._ (A.12)
Appendix B. Coefficients for blocks in bottom row and right column
The coefficients (41)–(44) are valid for all blocks except those in either the bottom row ( _i_ = _m_ ) or
right column ( _j_ = _n_ ). For the blocks in the bottom row and right column, the coefficients are defined
as:
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_h_
_ym−_
- _ym_
_a_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hm_
_dy,_ (B.1)
<u>�</u>
_ym−_ 1
cos
_<u>g</u>_ ( _m−_ 1) _n_ + _j_ <u>(</u> _<u>y</u>_ <u>)</u>
_Dm,j_
_dy,_ (B.2)
cos
_hm_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>ym−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_h_
_ym_
_ym−_
- _ym_
_<u>g</u>_ ( _m−_ 1) _n_ + _j_ +1( _<u>y</u>_ <u>)</u>
_b_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hm_
_hm_
<u>�</u> _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>ym−</u>_ <u>1)</u>
_ym−_ 1
_dx,_ (B.3)
<u>�</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_lj_
_c_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_lj_
1
_xj−_
- _xj_
_xj−_ 1
cos
_Dm,j_
_<u>qjm</u>_ <u>(</u> _<u>x</u>_ <u>)</u>
_Dm,j_
_dx,_ (B.4)
_lj_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
_lj_
<u>�</u> _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xj−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,j,k_ <sup>=</sup> <sup><u>2</u></sup>
_lj_
_<u>q</u>_ ( _j−_ 1) _m_ +1( _<u>x</u>_ <u>)</u>
_d_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_lj_
_xj−_
<u>�</u> _xj_
_xj−_ 1
cos
for _j_ = 1 _, . . ., n −_ 1,
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_hi_
_dy,_ (B.5)
<u>�</u>
_a_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hi_
_yi−_
- _yi_
_yi−_ 1
cos
_Dm,j_
_<u>gin</u>_ <u>(</u> _<u>y</u>_ <u>)</u>
_Di,n_
_dy,_ (B.6)
<u>�</u>
_Di,n_
_<u>q</u>_ ( _n−_ 1) _m_ + _i_ <u>(</u> _<u>x</u>_ <u>)</u>
_Di,n_
cos
cos
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_hi_
_<u>g</u>_ ( _i−_ 1) _n_ +1( _<u>y</u>_ <u>)</u>
_b_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hi_
_hi_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>yi−</u>_ <u>1)</u>
_ln_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xn−</u>_ <u>1)</u>
_yi−_ 1
- _yi_
_yi−_ 1
_dx,_ (B.7)
<u>�</u>
_dx,_ (B.8)
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_ln_
_c_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_ln_
_yi_
_xn−_
- _xn_
_xn−_ 1
_ln_
<u>�</u> _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xn−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_i,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_ln_
_d_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_ln_
_xn_
_xn−_
- _xn_
_xn−_ 1
_<u>q</u>_ ( _n−_ 1) _m_ + _i_ +1( _<u>x</u>_ <u>)</u>
_Di,n_
cos
for _i_ = 1 _, . . ., m −_ 1, and
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_h_
_a_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hm_
_dy,_ (B.9)
<u>�</u>
_yi−_
- _yi_
_yi−_ 1
cos
_<u>gmn</u>_ <u>(</u> _<u>y</u>_ <u>)</u>
_Dm,n_
cos
_hm_
- _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>ym−</u>_ <u>1)</u>
_hm_
<u>�</u> _<u>kπ</u>_ <u>(</u> _<u>y −</u>_ _<u>ym−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_h_
_<u>g</u>_ ( _m−_ 1) _n_ +1( _<u>y</u>_ <u>)</u>
_b_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_hm_
_yi−_ 1
<u>�</u> _yi_
_yi−_ 1
_dy,_ (B.10)
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_ln_
_c_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_ln_
_dx,_ (B.11)
<u>�</u>
_i−_ 1
_xn−_
- _xn_
_xn−_ 1
cos
_Dm,n_
_<u>qmn</u>_ <u>(</u> _<u>x</u>_ <u>)</u>
_Dm,n_
_dx._ (B.12)
25
cos
_ln_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xn−</u>_ <u>1)</u>
_ln_
- _<u>kπ</u>_ <u>(</u> _<u>x −</u>_ _<u>xn−</u>_ <u>1)</u>
<sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_m,n,k_ <sup>=</sup> <sup><u>2</u></sup>
_ln_
_<u>q</u>_ ( _n−_ 1) _m_ +1( _<u>x</u>_ <u>)</u>
_d_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_ln_
_xn−_
- _xn_
_xn−_ 1
_Dm,n_
Appendix C. Solvability conditions for blocks in bottom row and right column
The solvability conditions (45) are valid for all blocks except those in either the bottom row ( _i_ = _m_ )
or right column ( _j_ = _n_ ). For the blocks in the bottom row and right column, the solvability conditions
are:
_ym−_ 1
- _ym_
_<u>g</u>_ ( _m−_ 1) _n_ + _j_ <u>(</u> _<u>y</u>_ <u>)</u>
_Dm,j_
_dy_
+
_dy −_
_ym−_ 1
- _ym_
_<u>g</u>_ ( _m−_ 1) _n_ + _j_ +1( _<u>y</u>_ <u>)</u>
_Dm,j_
_xj−_ 1
- _xj_
_<u>qjm</u>_ <u>(</u> _<u>x</u>_ <u>)</u>
_Dm,j_
_dx −_
_xj−_ 1
- _xj_
_<u>q</u>_ ( _j−_ 1) _m_ +1( _<u>x</u>_ <u>)</u>
_Dm,j_
for _j_ = 1 _, . . ., n −_ 1,
_yi−_
- _yi_
_yi−_
- _yi_
_yi−_ 1
_dy_
_yi−_ 1
_<u>gin</u>_ <u>(</u> _<u>y</u>_ <u>)</u>
_Di,n_
_dy −_
_<u>g</u>_ ( _i−_ 1) _n_ +1( _<u>y</u>_ <u>)</u>
_Di,n_
_xn−_ 1
- _xn_
_<u>q</u>_ ( _n−_ 1) _m_ + _i_ +1( _<u>x</u>_ <u>)</u>
_Di,n_
_xn−_ 1
- _xn_
_<u>q</u>_ ( _n−_ 1) _m_ + _i_ <u>(</u> _<u>x</u>_ <u>)</u>
_Di,n_
_dx −_
for _i_ = 1 _, . . ., m −_ 1, and
_ym−_
- _ym_
+
_dy_
_ym−_
- _ym_
_ym−_ 1
_ym−_ 1
_<u>gmn</u>_ <u>(</u> _<u>y</u>_ <u>)</u>
_Dm,n_
_dy −_
_<u>g</u>_ ( _m−_ 1) _n_ +1( _<u>y</u>_ <u>)</u>
_Dm,n_
_dx_ = 0 _,_ (C.1)
_dx_ = 0 _,_ (C.2)
_dx_ = 0 _._ (C.3)
_xn−_ 1
- _xn_
_<u>q</u>_ ( _n−_ 1) _m_ +1( _<u>x</u>_ <u>)</u>
_Dm,n_
+
_xn−_ 1
- _xn_
_<u>qmn</u>_ <u>(</u> _<u>x</u>_ <u>)</u>
_Dm,n_
_dx −_
References
[1] 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,
M. Quintard, Homogenization via formal multiscale asymptotics and volume averaging: How do
the two techniques compare?, Adv. Water Resour. 62 (2013) 178–206.
`[doi:https://doi.org/10.1016/j.advwatres.2013.09.006](http://dx.doi.org/https://doi.org/10.1016/j.advwatres.2013.09.006)` .
[2] E. J. Carr, I. W. Turner, P. Perr´e, Macroscale modelling of multilayer diffusion: using volume
averaging to correct the boundary conditions, Appl. Math. Model. 47 (2017) 600–618.
`[doi:https://doi.org/10.1016/j.apm.2017.03.044](http://dx.doi.org/https://doi.org/10.1016/j.apm.2017.03.044)` .
[3] Z. Zhou, Y. Su, W. Wang, Y. Yan, Application of the fractal geometry theory on fracture
network simulation, J. Petrol. Explor. Prod. Technol. 7 (2) (2017) 487–496.
`[doi:https://doi.org/10.1007/s13202-016-0268-0](http://dx.doi.org/https://doi.org/10.1007/s13202-016-0268-0)` .
[4] E. J. Carr, I. W. Turner, P. Perr´e, A dual-scale modelling approach for drying hygroscopic
porous media, Multiscale Model. Sim. 11 (1) (2013) 362–384.
`[doi:https://doi.org/10.1137/120873005](http://dx.doi.org/https://doi.org/10.1137/120873005)` .
[5] S. Torquato, Random heterogeneous media: microstructure and improved bounds on effective
properties, Appl. Mech. Rev. 44 (2) (1991) 37–76. `[doi:https://doi.org/10.1115/1.3119494](http://dx.doi.org/https://doi.org/10.1115/1.3119494)` .
26
[6] B. B. Dykaar, P. K. Kitanidis, Determination of the effective hydraulic conductivity for
heterogeneous porous media using a numerical spectral approach: 1. Method, Water Resour.
Res. 28 (4) (1992) 1155–1166. `[doi:https://doi.org/10.1029/91WR03084](http://dx.doi.org/https://doi.org/10.1029/91WR03084)` .
[7] A. Szymkiewicz, Modelling Water Flow in Unsaturated Porous Media, Springer, 2013.
[8] A. Szymkiewicz, Calculating effective conductivity of [heterogeneous](http://yadda.icm.edu.pl/baztech/element/bwmeta1.element.baztech-article-BAT3-0023-0002) soils by homogenization,
Arch. Hydro-Eng. Environ. Mech. 52 (2) (2005) 111–130.
URL `[http://yadda.icm.edu.pl/baztech/element/bwmeta1.element.](http://yadda.icm.edu.pl/baztech/element/bwmeta1.element.baztech-article-BAT3-0023-0002)`
```
baztech-article-BAT3-0023-0002
```
[9] E. J. Carr, I. W. Turner, Two-scale computational modelling of water flow in unsaturated soils
containing irregular-shaped inclusions, Int. J. Numer. Meth. Eng. 98 (3) (2014) 157–173.
`[doi:https://doi.org/10.1002/nme.4625](http://dx.doi.org/https://doi.org/10.1002/nme.4625)` .
[10] N. Ray, A. Rupp, R. Schulz, P. Knabner, Old and new approaches predicting the diffusion in
porous media, Transport Porous Med. 124 (3) (2018) 803–824.
`[doi:https://doi.org/10.1007/s11242-018-1099-x](http://dx.doi.org/https://doi.org/10.1007/s11242-018-1099-x)` .
[11] E. J. Carr, I. W. Turner, A semi-analytical solution for multilayer diffusion in a composite
medium consisting of a large number of layers, Appl .Math. Model. 40 (2016) 7034–7050.
`[doi:https://doi.org/10.1016/j.apm.2016.02.041](http://dx.doi.org/https://doi.org/10.1016/j.apm.2016.02.041)` .
[12] U. Hornung, Homogenization and Porous Media, Springer-Verlag New York, 1997.
[13] I. Herrera, Trefftz method: A general theory, Numer. Meth. Part. D E 16 (6) (2000) 561–580.
`[doi:https://doi.org/10.1002/1098-2426(200011)16:6<561::AID-NUM4>3.0.CO;2-V](http://dx.doi.org/https://doi.org/10.1002/1098-2426%0x28200011%0x2916:6<561::AID-NUM4>3.0.CO;2-V)` .
[14] J. L. Plawsky, Transport Phenomena Fundamentals, 2nd Edition, Chemical Industries, CRC
Press, 2009.
[15] E. J. Carr, N. G. March, Semi-analytical solution of multilayer diffusion problems with
time-varying boundary conditions and general interface conditions, Appl. Math. Comput. 333
(2018) 286–303. `[doi:https://doi.org/10.1016/j.amc.2018.03.095](http://dx.doi.org/https://doi.org/10.1016/j.amc.2018.03.095)` .
[16] A. D. Polyanin, Handbook of Linear Partial Differential Equations for Engineers and Scientists,
Chapman and Hall, 2002.
[17] V. Dom´ınguez, Filon–Clenshaw–Curtis rules for a class of highly-oscillatory integrals with
logarithmic singularities, J. Comput. Appl. Math. 261 (2014) 299–319.
`[doi:https://doi.org/10.1016/j.cam.2013.11.012](http://dx.doi.org/https://doi.org/10.1016/j.cam.2013.11.012)` .
[18] L. N. G. Filon, On a quadrature formula for trigonometric integrals, Proc. R. Soc. Edin. A-Ma.
49 (1928) 38–47. `[doi:https://doi.org/10.1017/S0370164600026262](http://dx.doi.org/https://doi.org/10.1017/S0370164600026262)` .
[19] D. Levin, Fast integration of rapidly oscillatory functions, J. Comput. Math. 67 (1996) 95–101.
`[doi:https://doi.org/10.1016/0377-0427(94)00118-9](http://dx.doi.org/https://doi.org/10.1016/0377-0427%0x2894%0x2900118-9)` .
[20] A. Dea˜no, D. Huybrechs, A. Iserles, Computing Highly Oscillatory Integrals, SIAM,
Philadelphia, 2018.
27
[21] S. Potticary, Efficient evaluation of highly oscillatory integrals, Master’s Thesis, University of
Reading (2005).
[22] R. F. Sviercoski, C. L. Winter, A. Warrick, An analytical effective tensor and its approximation
properties for upscaling flows through generalized composites, Adv. Water Resour. 33 (7) (2010)
728–739. `[doi:https://doi.org/10.1016/j.advwatres.2010.03.011](http://dx.doi.org/https://doi.org/10.1016/j.advwatres.2010.03.011)` .
[23] N. Ray, A. Rupp, A. Prechtel, Discrete-continuum multiscale model for transport, biomass
development and solid restructuring in porous media, Adv. Water Resour. 107 (2017) 393–404.
`[doi:https://doi.org/10.1016/j.advwatres.2017.04.001](http://dx.doi.org/https://doi.org/10.1016/j.advwatres.2017.04.001)` .
[24] D. A. Perumal, A. K. Dass, A review on the development of lattice Boltzmann computation of
macro fluid flows and heat transfer, Alexandria Eng. J. 54 (4) (2015) 955–971.
`[doi:https://doi.org/10.1016/j.aej.2015.07.015](http://dx.doi.org/https://doi.org/10.1016/j.aej.2015.07.015)` .
[25] B. Amaziane, T. Hontans, J. V. Koebbe, Equivalent permeability and simulation of two-phase
flow in heterogenous porous media, Computat. Geosci. 5 (2001) 279–300.
`[doi:https://doi.org/10.1023/A:1014508622020](http://dx.doi.org/https://doi.org/10.1023/A:1014508622020)` .
[26] D. Sohn, Periodic mesh generation and homogenization of inclusion-reinforced composites using
an element-carving technique with local mesh refinement, Compos. Struct. 185 (2018) 65–80.
`[doi:https://doi.org/10.1016/j.compstruct.2017.10.088](http://dx.doi.org/https://doi.org/10.1016/j.compstruct.2017.10.088)` .
[27] Y. Amanbek, G. Singh, M. F. Wheeler, H. van Duijn, Adaptive numerical homogenization for
upscaling single phase flow and transport, J. Comput. Phys. 387 (2019) 117–133.
`[doi:https://doi.org/10.1016/j.jcp.2019.02.014](http://dx.doi.org/https://doi.org/10.1016/j.jcp.2019.02.014)` .
[28] J. Vondˇrejc, J. Zeman, I. Marek, An FFT-based Galerkin method for homogenization of periodic
media, Comput. Math. Appl. 68 (3) (2014) 156–173.
`[doi:https://doi.org/10.1016/j.camwa.2014.05.014](http://dx.doi.org/https://doi.org/10.1016/j.camwa.2014.05.014)` .
28
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.