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

New semi-analytical solutions for advection-dispersion equations in multilayer porous media

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Carr, Elliot J.
DOI
10.48550/arxiv.2001.08387
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2001.08387
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W6891884698

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

A new semi-analytical solution to the advection-dispersion-reaction equation for modelling solute transport in layered porous media is derived using the Laplace transform. Our solution approach involves introducing unknown functions representing the dispersive flux at the interfaces between adjacent layers, allowing the multilayer problem to be solved separately on each layer in the Laplace domain before being numerically inverted back to the time domain. The derived solution is applicable to the most general form of linear advection-dispersion-reaction equation, a finite medium comprising an arbitrary number of layers, continuity of concentration and dispersive flux at the interfaces between adjacent layers and transient boundary conditions of arbitrary type at the inlet and outlet. The derived semi-analytical solution extends and addresses deficiencies of existing analytical solutions in a layered medium, which consider analogous processes such as diffusion or reaction-diffusion only and/or require the solution of complicated nonlinear transcendental equations to evaluate the solution expressions. Code implementing our semi-analytical solution is supplied and applied to a selection of test cases, with the reported results in excellent agreement with a standard numerical solution and other analytical results available in the literature.

본문 49,717자

본문 펼치기
Noname manuscript No. (will be inserted by the editor) New semi-analytical solutions for advection-dispersion equations in multilayer porous media Elliot J Carr Abstract A new semi-analytical solution to the advection-dispersion-reaction equation for modelling solute transport in layered porous media is derived using the Laplace transform. Our solution approach involves introducing unknown functions representing the dispersive flux at the interfaces between adjacent layers, allowing the multilayer problem to be solved separately on each layer in the Laplace domain before being numerically inverted back to the time domain. The derived solution is applicable to the most general form of linear advection-dispersion-reaction equation, a finite medium comprising an arbitrary number of layers, continuity of concentration and dispersive flux at the interfaces between adjacent layers and transient boundary conditions of arbitrary type at the inlet and outlet. The derived semi-analytical solution extends and addresses deficiencies of existing analytical solutions in a layered medium, which consider analogous processes such as diffusion or reaction-diffusion only and/or require the solution of complicated nonlinear transcendental equations to evaluate the solution expressions. Code implementing our semi-analytical solution is supplied and applied to a selection of test cases, with the reported results in excellent agreement with a standard numerical solution and other analytical results available in the literature. Keywords advection dispersion reaction - analytical solution - layered media - Laplace transform 1 Introduction Solute transport in porous media due to dispersion and groundwater flow is typically modelled using the advection-dispersion-reaction equation (van Genuchten and Alves 1982; Leij et al. 1991; Liu et al. 1998; Goltz and Huang 2017). While solving this equation in heterogeneous porous media usually requires the application of numerical methods, analytical solutions are generally preferred when available as they are exact and continuous in space and time. The focus of this paper is analytical solutions for layered porous media, which are commonly observed in natural and constructed environments such as stratified soils and landfill clay liners (Liu et al. 1998). For this problem the transport coefficients (dispersion coefficient, retardation factor etc) are piecewise constant with the goal being to obtain the solute concentration in each layer as a function of space and time (see Figure 1). Analytical solutions of advection-dispersion-reaction equations (and closely related equations such as advectiondiffusion and reaction-diffusion equations) in layered media continue to attract interest (Zimmerman et al. 2016; Yang and Liu 2017; Guerrero et al. 2013; Carr and Pontrelli 2018; Rodrigo and Worthy 2016). Mainly due to their prevalence in heat conduction problems, most analytical solutions in the literature are developed for multilayer diffusion problems (Carr and Turner 2016; Carr and Pontrelli 2018; Sun and Wichman 2004; de Monte 2002; Hickson et al. 2009; Rodrigo and Worthy 2016) with significantly less literature concerning advectiondispersion, reaction-diffusion or advection-dispersion-reaction problems. Analytical solutions for advection-dispersion equations in layered media have been presented by a limited number of authors. Amongst the earliest work in this area is that of Leij et al. (1991), who applied the Elliot J Carr School of Mathematical Sciences, Queensland University of Technology (QUT), Brisbane, Australia. E-mail: elliot.carr@qut.edu.au 2 Elliot J Carr Fig. 1 Advection-dispersion-reaction in an m-layered medium. We solve for the concentration c(x, t), where the retardation factor R, dispersion coefficient D, pore-water velocity v, volumetric water content θ and rate constants for first-order decay µ and zero-order production γ are constant within each layer but vary across layers. Continuity of concentration and dispersive flux are imposed at the interfaces between adjacent layers (x = ℓi, i = 1, . . ., m − 1) and transient boundary conditions of arbitrary-type are specified at the inlet (x = 0) and outlet (x = L). Laplace transform to solve the advection-dispersion equation (with retardation factor) on a semi-infinite twolayer medium with finite first layer, semi-infinite second layer and continuity of concentration and dispersive flux at the interfaces between adjacent layers. Both concentration-type and flux-type boundary conditions were considered at the inlet and a zero concentration gradient was applied at the outlet (Figure 1). Exact expressions for the concentration in the Laplace domain were obtained and numerically inverted. In follow up work, Leij and van Genuchten (1995) derived approximate analytical solutions by first expanding the Laplace domain concentration in both layers as infinite series, truncating each series after the first term and employing analytical inversion of the Laplace transform to convert the concentration back to the time domain. Subsequent analytical solutions for finite layered media and an arbitrary number of layers were derived by Liu et al. (1998) and then later by Guerrero et al. (2013), both using the method of eigenfunction expansion. Liu et al. (1998) considered the advection-dispersion equation and Guerrero et al. (2013) the advection-diffusionreaction equation with a first order decay term. Both papers treated inlet boundary conditions of flux-type only with Liu et al. (1998) allowing for an arbitrary time-varying inlet concentration and Guerrero et al. (2013) a constant inlet concentration. Both approaches require a transcendental equation to be solved numerically for the eigenvalues with the accuracy of the solutions depending on the number of eigenvalues used in the expansions. Recent work has revisited the use of Laplace transforms for solving multilayer transport problems due to the ease of treating different boundary conditions and the ability to avoid solving complicated nonlinear transcendental equations as required by eigenfunction expansion solutions (Carr and Turner 2016). Namely, Carr and Turner (2016) and Rodrigo and Worthy (2016) solved the multilayer diffusion problem using the Laplace transform for an arbitrary number of layers and various types of boundary and interface conditions. Zimmerman et al. (2016) solved a reaction-diffusion equation (without retardation factor) with a first order reaction term on a finite medium consisting of an arbitrary number of layers. All three of these papers (Carr and Turner 2016; Rodrigo and Worthy 2016; Zimmerman et al. 2016) introduce an unknown function of time at each interface, representing either the diffusive/dispersive flux or concentration, which allows the multilayer problem to be isolated and solved separately on each layer in the Laplace domain before being inverted back to the time domain. Further relevant work involving the Laplace transform has focussed on the permeable reaction barrieraquifer problem. In particular, semi-analytical solutions for the advection-dispersion-reaction equation have been developed by Park and Zhan (2009) for a semi-infinite one-dimensional medium using the Laplace transform and Chen et al. (2016) for a finite two-dimensional medium using Laplace and finite Fourier transforms. Both solutions are limited to two layers and numerically invert the Laplace transform using the de Hoog et al. (1982) algorithm. New semi-analytical solutions for advection-dispersion equations in multilayer porous media 3 The aim of the current paper is to extend, generalize and merge the work of Carr and Turner (2016), Rodrigo and Worthy (2016), Zimmerman et al. (2016) and Park and Zhan (2009) to solve advection-dispersion-reaction problems in one-dimensional media comprising an arbitrary number of layers using the Laplace transform. The derived solution is applicable to the most general form of linear advection-dispersion-reaction equation (van Genuchten and Alves 1982), a finite medium comprising an arbitrary number of layers, continuity of concentration and dispersive flux at the interfaces between adjacent layers and transient boundary conditions of arbitrary type at the inlet and outlet. To the best of our knowledge, analytical solutions satisfying all the above conditions have not previously appeared in the published literature. The derived solutions and resulting code supersedes our previous work on multilayer diffusion (Carr and Turner 2016; Carr and March 2018) by removing the requirement of numerically computing eigenvalues in each layer. The remaining sections of this paper are organised as follows. In section 2 we describe the multilayer advection-dispersion-reaction problem considered in this work. Section 3 develops our proposed solution procedure using the Laplace transform. In section 4, the developed solutions are applied to a wide selection of test cases and compared to other analytical and numerical solutions available in the literature. In section 5, we summarise the work and discuss possible avenues for future research. 2 Multilayer transport model We consider solute transport across an m-layered porous medium partitioned as 0 = ℓ0 < ℓ1 < - · · < ℓm−1 < ℓm = L (Figure 1). Let ci(x, t) be the solute concentration [ML <sup>−3</sup> ] in the ith layer, where x ∈ (ℓi−1, ℓi) is the distance from the inlet at x = 0 and t > 0 is time. The governing transport equation in the ith layer is ∂ci ∂x <sup>−</sup> <sup>µici + γi,</sup> (1) ∂ <sup>2</sup> ci ∂x <sup>2</sup> <sup>−</sup> <sup>vi</sup> Ri ∂ci ∂t <sup>= Di</sup> where Ri - 0 is the retardation factor [−], Di - 0 is the dispersion coefficient [L <sup>2</sup> T <sup>−1</sup> ], vi is the pore-water velocity [LT <sup>−1</sup> ], µi is the rate constant for first-order decay [ML <sup>−3</sup> T <sup>−1</sup> ] and γi is the rate constant for zero-order production [T <sup>−1</sup> ] (van Genuchten and Alves 1982). Throughout this paper we will denote by c(x, t) the result of amalgamating the layer concentrations, ci(x, t) (i = 1, . . ., m), as defined in Figure 1. The transport equations (1) are accompanied by initial, interface and boundary conditions. The concentration is initially assumed constant in each layer ci(x, 0) = fi, (2) concentration and dispersive flux is assumed continuous at the interfaces between adjacent layers (i = 1, . . ., m− 1) (Leij et al. 1991; Liu et al. 1998; Guerrero et al. 2013): ci(ℓi, t) = ci+1(ℓi, t), (3) ∂ci+1 ∂x <sup>(ℓi, t),</sup> (4) θiDi ∂ci ∂x <sup>(ℓi, t) = θi+1Di+1</sup> and general Robin boundary conditions are considered at the inlet (x = 0) and outlet (x = L): a0c1(0, t) − b0 <sup>∂c1</sup> (5) ∂x <sup>(0, t) = g0(t),</sup> aLcm(L, t) + bL ∂cm ∂x <sup>(L, t) = gL(t).</sup> (6) The constant θi appearing in the interface condition (4) is the volumetric water content [L <sup>3</sup> L <sup>−3</sup> ] in the ith layer (van Genuchten and Alves 1982). In the boundary conditions (5)–(6), a0, b0, aL and bL are constants and g0(t) and gL(t) are arbitrary specified functions of time with the subscripts 0 and L denoting the inlet (x = 0) and outlet (x = L), respectively (Figure 1). We remark that b0 and bL are both non-negative, at least one of a0 or b0 must be non-zero and at least one of aL and bL must be non-zero. For solute transport problems, commonly (Leij et al. 1991; Liu et al. 1998; Goltz and Huang 2017) either a concentration-type boundary condition c1(0, t) = c0(t), (7) 4 Elliot J Carr or a flux-type boundary condition v1c1(0, t) − D1 <sup>∂c1</sup> (8) ∂x <sup>(0, t) = v1c0(t),</sup> is applied at the inlet, where c0(t) is the specified inlet concentration, while a zero concentration gradient is applied at the outlet: ∂cm ∂x <sup>(L, t) = 0.</sup> (9) These boundary conditions are obtained from the general boundary conditions (5)–(6) by setting a0 = 1, b0 = 0, g0(t) = c0(t) [Eq (7)], a0 = v1, b0 = D1, g0(t) = v1c0(t) [Eq (8)] and aL = 0, bL = 1, gL(t) = 0 [Eq (9)], respectively. 3 Semi-analytical solution 3.1 General solution for m layers in Laplace space To solve the multilayer transport model (1)–(6), we reformulate the model into m isolated single layer problems (Carr and Turner 2016; Rodrigo and Worthy 2016; Zimmerman et al. 2016). Introducing unknown functions of time, gi(t) (i = 1, . . ., m − 1), to denote the following scalar multiple of the (negative) dispersive flux at the layer interfaces (Carr and Turner 2016; Rodrigo and Worthy 2016): gi(t) = θiDi ∂ci ∂x <sup>(ℓi, t),</sup> yields the following equivalent form for the multilayer transport model (1)–(6): First layer (i = 1) <sup>∂c</sup> ∂t <sup>1</sup> <sup>= D1 ∂</sup> ∂x <sup>2c21</sup> R1 <sup>∂c</sup> ∂t <sup>1</sup> <sup>∂</sup> ∂x <sup>2c21</sup> <sup>−</sup> <sup>v1 ∂c</sup> ∂x <sup>1</sup> (10) <sup>∂c</sup> ∂x <sup>1</sup> <sup>−</sup> <sup>µ1c1 + γ1,</sup> c1(x, 0) = f1, (11) a0c1(0, t) − b0 <sup>∂c1</sup> (12) ∂t <sup>(0, t) = g0(t),</sup> θ1D1 <sup>∂c1</sup> (13) ∂x <sup>(ℓ1, t) = g1(t),</sup> Middle layers (i = 2, . . ., m − 1) Last layer (i = m) ∂ci ∂x <sup>−</sup> <sup>µici + γi,</sup> (14) ∂ci ∂t <sup>= Di</sup> ∂ci ∂ <sup>2</sup> ci ∂x <sup>2</sup> <sup>−</sup> <sup>vi</sup> Ri θiDi ci(x, 0) = fi, (15) ∂ci ∂x <sup>(ℓi−1, t) = gi−1(t),</sup> (16) θiDi ∂ci ∂x <sup>(ℓi, t) = gi(t),</sup> (17) <sup>∂cm</sup> = Dm <sup>∂2cm</sup> ∂t ∂x <sup>2</sup> (18) ∂x <sup>m</sup> <sup>−</sup> <sup>µmcm + γm,</sup> Rm <sup>∂cm</sup> ∂x <sup>2c2m</sup> <sup>−</sup> <sup>vm ∂c</sup> ∂x <sup>m</sup> cm(x, 0) = fm, (19) θmDm <sup>∂cm</sup> (20) ∂x <sup>(ℓm−1, t) = gm−1(t),</sup> aLcm(L, t) + bL ∂cm ∂x <sup>(L, t) = gL(t),</sup> (21) New semi-analytical solutions for advection-dispersion equations in multilayer porous media 5 with each problem coupled together by imposing continuity of concentration at the interfaces between adjacent layers (3) (Carr and Turner 2016; Rodrigo and Worthy 2016; Carr and March 2018). We remark that the advection-dispersion-reaction equations (10), (14) and (18) can be reduced to standard heat/diffusion equations via the change of variables: vi <sup>2</sup> 4Ri ui(x, t). (22) ci(x, t) = <sup>γi</sup> µi + exp vix 2Di vi <sup>2</sup> + <sup>µi</sup> 4RiDi Ri Ri t This seems to suggest that the transformed problem is amendable to solution by methods designed for the multilayer diffusion problem presented in previous work (e.g. Carr and Turner (2016), etc). However, this is not the case as the transformation (22) gives rise to an advection term in the interface conditions (13), (16)–(17) and (20) for the transformed variable ui(x, t) that would require the solutions to be redeveloped. Moreover, the transformation complicates the problem converting the initial conditions (11), (15), (19) from constants to spatially-dependent. We therefore do not invoke the transformation (22) and take an alternative approach in this paper. To solve the isolated single-layer problems (10)–(13), (14)–(17) and (18)–(21), we take Laplace transforms yielding the boundary value problems: First layer (i = 1) D1C1 <sup>′′</sup> <sup>−</sup> <sup>v</sup> 1 <sup>C</sup> 1 <sup>′</sup> <sup>−</sup> <sup>(µ</sup> 1 <sup>+ R</sup> 1 <sup>s)C</sup> 1 <sup>= −R</sup> 1 <sup>f</sup> 1 <sup>−</sup> <sup>γ1</sup> (23) s <sup>,</sup> a0C1(0, s) − b0C1 <sup>′</sup> <sup>(0, s) = G</sup> 0 <sup>(s),</sup> (24) θ1D1C1 <sup>′</sup> <sup>(ℓ</sup> 1 <sup>, s) = G</sup> 1 <sup>(s),</sup> (25) Middle layers (i = 2, . . ., m − 1) Last layer (i = m) DiCi <sup>′′</sup> i <sup>′′</sup> <sup>−</sup> <sup>v</sup> i <sup>C</sup> i <sup>′</sup> i <sup>′</sup> <sup>−</sup> <sup>(µ</sup> i <sup>+ R</sup> i <sup>s)C</sup> i <sup>= −R</sup> i <sup>f</sup> i <sup>−</sup> <sup>γi</sup> s <sup>i</sup> (26) s <sup>,</sup> θiDiCi <sup>′(ℓ</sup> i−1 <sup>, s) = G</sup> i−1 <sup>(s),</sup> (27) θiDiCi <sup>′(ℓ</sup> i <sup>, s) = G</sup> i <sup>(s),</sup> (28) DmCm <sup>′′</sup> m <sup>′′</sup> <sup>−</sup> <sup>v</sup> m <sup>C′</sup> m <sup>′</sup> <sup>−</sup> <sup>(µ</sup> m <sup>+ R</sup> m <sup>s)C</sup> m <sup>= −R</sup> m <sup>f</sup> m <sup>−</sup> <sup>γm</sup> s <sup>m</sup> (29) s <sup>,</sup> θmDmCm <sup>′</sup> <sup>(ℓ</sup> m−1 <sup>, s) = G</sup> m−1 <sup>(s),</sup> (30) aLCm(L, s) + bLCm <sup>′</sup> <sup>(L, s) = G</sup> L <sup>(s),</sup> (31) where the prime notation ( <sup>′</sup> ) denotes a derivative with respect to x, Ci(x, s) = L{ci(x, t)} denotes the Laplace transform of ci(x, t) with transformation variable s ∈ C and Gi(s) = L{gi(t)} for i = 1, . . ., m - 1. Both G0(s) = L{g0(t)} and GL(s) = L{gL(t)} are assumed to be able to be found analytically. The boundary value problems (23)–(25), (26)–(28) and (29)–(31) all involve second-order constant-coefficient differential equations, which can be solved using standard techniques to give the following expressions for the concentration in the Laplace domain: C1(x, s) = A1(x, s)G0(s) + B1(x, s)G1(s) + P1(x, s), (32) Ci(x, s) = Ai(x, s)Gi−1(s) + Bi(x, s)Gi(s) + Pi(x, s), i = 2, . . ., m − 1, (33) Cm(x, s) = Am(x, s)Gm−1(s) + Bm(x, s)GL(s) + Pm(x, s), (34) where the functions Pi, Ai and Bi (i = 1, . . ., m) are defined in Table 1. With all other variables in the expressions (32)–(34) defined, to determine G1(s), . . ., Gm−1(s), the Laplace transformations of the unknown interface functions g1(t), . . ., gm−1(t), we enforce continuity of concentration (3) at each interface in the Laplace domain (Carr and Turner 2016; Rodrigo and Worthy 2016; Carr and March 2018): Ci(ℓi, s) = Ci+1(ℓi, s), i = 1, . . ., m − 1. (35) 6 Elliot J Carr Table 1 Definition of the functions Pi(x, s), Ai(x, s) and Bi(x, s) (i = 1, . . ., m) appearing in the Laplace domain concentrations (32)–(34). First layer (i = 1) a0 P1(x, s) = Ψ1(s) + β1(s) λ1,1(s)Ψ1,2(x, s) − λ1,2(s)Ψ1,2(ℓ1, s)Ψ1,1(x, s) Ψ1(s), - λ1,1(s)Ψ1,2(x, s) − λ1,2(s)Ψ1,2(ℓ1, s)Ψ1,1(x, s) 1 A1(x, s) = β1(s) λ1,2(s)Ψ1,2(ℓ1, s)Ψ1,1(x, s) − λ1,1(s)Ψ1,2(x, s), - 1 B1(x, s) = θ1D1β1(s) a0 − b0λ1,1(s) Ψ1,1(0, s)Ψ1,2(x, s) − ) �� a0 − b0λ1,1(s) ) �� �a0 - b0λ1,2(s) �Ψ1,1(x, s) , where β1(s) = [a0 − b0λ1,1(s)]λ1,2(s) exp(−[λ1,1(s) − λ1,2(s)]ℓ1) − [a0 − b0λ1,2(s)]λ1,1(s). Middle layers (i = 2, . . ., m − 1) Pi(x, s) = Ψi(s), 1 Ai(x, s) = θiDiβi(s) 1 Bi(x, s) = θiDiβi(s) where �λi,2(s)Ψi,2(ℓi, s)Ψi,1(x, s) − λi,1(s)Ψi,2(x, s)�, �λi,1(s)Ψi,1(ℓi−1, s)Ψi,2(x, s) − λi,2(s)Ψi,1(x, s)�, βi(s) = λi,1(s)λi,2(s) {exp(−[λi,1(s) − λi,2(s)](ℓi − ℓi−1)) − 1}. Last layer (i = m) aL Pm(x, s) = Ψm(s) + βm(s) �λm,2(s)Ψm,1(x, s) − λm,1(s)Ψm,1(ℓm−1, s)Ψm,2(x, s)�Ψm(s), 1 Am(x, s) = θmDmβm(s) 1 Bm(x, s) = βm(s) , ��aL + bLλm,2(s)�Ψm,2(L, s)Ψm,1(x, s) − [aL + bLλm,1(s)] Ψm,2(x, s)� �λm,1(s)Ψm,1(ℓm−1, s)Ψm,2(x, s) − λm,2(s)Ψm,1(x, s)�, �λm,1(s)Ψm,1(ℓm−1, s)Ψm,2(x, s) − λm,2(s)Ψm,1(x, s) where βm(s) = [aL + bLλm,2(s)]λm,1(s) exp(−[λm,1(s) − λm,2(s)](ℓm − ℓm−1)) − [aL + bLλm,1(s)]λm,2(s). For all layers (i = 1, . . ., m): Ψi(s) = <sup>γis−1 + Rifi</sup>, µi + Ris Ψi,1(x, s) = exp [λi,1(s)(x − ℓi)] recalling ℓm = L, Ψi,2(x, s) = exp [λi,2(s)(x − ℓi−1)] recalling ℓ0 = 0, �vi <sup>2</sup> �vi <sup>2</sup> i <sup>2</sup> <sup>+ 4Di(Ris + µi)</sup> λi,1(s) = λi,2(s) = vi + vi i <sup>2</sup> <sup>+ 4Di(Ris + µi)</sup> , 2Di . 2Di Substituting (32)–(34) into the system of equations (35) yields a linear system for x = [G1(s),. . ., Gm−1(s)] <sup>T</sup>, expressible in matrix form as Ax = b, (36) New semi-analytical solutions for advection-dispersion equations in multilayer porous media 7 where A = (ai,j) ∈ C <sup>(m−1)×(m−1)</sup> is a tridiagonal matrix and b = (bi) ∈ C <sup>(m−1)</sup> is a vector with entries: a1,1 = B1(ℓ1, s) − A2(ℓ1, s), a1,2 = −B2(ℓ1, s), ai,i−1 = Ai(ℓi, s), i = 2, . . ., m − 2, ai,i = Bi(ℓi, s) − Ai+1(ℓi, s), i = 2, . . ., m − 2, ai,i+1 = −Bi+1(ℓi, s), i = 2, . . ., m − 2, am−1,m−2 = Am−1(ℓm−1, s), am−1,m−1 = Bm−1(ℓm−1, s) − Am(ℓm−1, s), b1 = P2(ℓ1, s) − P1(ℓ1, s) − A1(ℓ1, s)G0(s), bi = Pi+1(ℓi, s) − Pi(ℓi, s), i = 2, . . ., m − 2, bm−1 = Pm(ℓm−1, s) − Pm−1(ℓm−1, s) + Bm(ℓm−1, s)GL(s). Solving the linear system (36) allows the functions G1(s), . . ., Gm−1(s) to be computed and hence the Laplace transform of the concentration (32)–(34) can be evaluated at any x and s in the Laplace domain. 3.2 Simplification for two layers in Laplace space The formulation presented in the previous section breaks down for m = 2 layers due to the assumption of middle layers. While the expressions for C1(x, s) (32) and C2(x, s) (34) remain valid: C1(x, s) = A1(x, s)G0(s) + B1(x, s)G1(s) + P1(x, s), C2(x, s) = A2(x, s)G1(s) + B2(x, s)GL(s) + P2(x, s), the defined entries of the linear system (36) are no longer valid for m = 2. In this case, the linear system (36) reduces to a single equation that can be solved to yield: G1(s) = (B1(ℓ1, s) − A2(ℓ1, s)) <sup>−1�</sup> , P2(ℓ1, s) − P1(ℓ1, s) − A1(ℓ1, s)G0(s) + B2(ℓ1, s)GL(s) <sup>�</sup> , which allows C1(x, s) and C2(x, s) to be evaluated at any x and s. 3.3 Numerical inversion of Laplace transform To convert the Laplace domain expressions (32)–(34) back to the time domain and thereby obtain the concentration ci(x, t) (i = 1, . . ., m), we need to compute the inverse Laplace transform: ci(x, t) = L <sup>−1</sup> {Ci(x, s)} = 1 2πi Γ e <sup>st</sup> Ci(x, s) ds, where Γ is a Hankel contour that begins at −∞− 0i, winds around the origin and terminates at −∞ + 0i (Trefethen et al. 2006). Introducing the change of variable z = st, using a rational approximation to e <sup>z</sup> and applying residue calculus (see Trefethen et al. (2006) for full details) yields the numerical inversion formula: ci(x, t) = L <sup>−1</sup> {Ci(x, s)} ≈− <sup>2</sup> t k∈ON �� <sup>2</sup> t <sup>ℜ</sup> k∈ON , (37) wkCi (x, sk) where N is even, ON is the set of positive odd integers less than N, sk = zk/t and wk, zk ∈ C are the residues and poles of the best (N, N) rational approximation to e <sup>z</sup> on the negative real line. Both wk and zk are constants, which are independent of x and t and computed using a supplied MATLAB function (Trefethen et al. 2006, Fig 4.1). 8 Elliot J Carr 3.4 Treatment of step function boundary conditions Suppose the inlet concentration c0(t) in either the concentration-type (7) or flux type (8) boundary condition, is a Heaviside step function of duration t0 - 0: c0(t) = c0H(t0 − t) = c0, 0 < t < t0, �0, t > t0, where c0 is a constant. In solute transport problems, such boundary conditions are commonly (van Genuchten and Alves 1982; Leij et al. 1991; Goltz and Huang 2017) paired with a zero concentration gradient at the outlet (9) and lead to G0(s) = exp(−t0s)/s and G0(s) = v1 exp(−t0s)/s in Eq (32) for the concentration-type and fluxtype boundary condition, respectively. Such exponential functions are well known to cause numerical problems in algorithms for inverting Laplace transforms (Kuhlman 2013). The approximation (37) indeed suffers from this issue as evaluating exp(−t0s) at s = sk = zk/t for poles zk with negative real part leads to floating point overflow for small t. To overcome this problem, we use superposition of solutions. Consider, for example, the multilayer transport model (1)–(4) subject to the boundary conditions (7) or (8), and (9). The solution to this problem can be expressed as ci(x, t) = 0 < t < t0, - t > t0, �ci(x, t), �ci(x, t) − �ci(x, t − t0), whereobtained �ci(x, tusing) is the solution of the multilayer transport model (the approach outlined in subsections 3.1–3.3. 1)–(6) with g0(t) = c0 and �ci(x, t) is the solution of the multilayer transport model (1)–(6) with g0(t) = c0, fi = 0 and γi = 0. Both �ci(x, t) and �ci(x, t) are 4 Results We now demonstrate application of our semi-analytical Laplace-transform solution and verify that it produces the correct results using a selection of test cases. The transport parameters, initial conditions and boundary conditions for each problem are provided in Tables 2 and 3. A MATLAB code implementing our semi-analytical so[lution and producing the results in this section is available for download from github.com/elliotcarr/Carr2020a.](https://github.com/elliotcarr/Carr2020a) 4.1 One and two layer test cases Cases 1–4 consider advection-dispersion-reaction in a homogeneous (single-layer) medium of length 30 cm. The concentration is initially zero everywhere and a zero concentration gradient is applied at the outlet (9). Four different boundary conditions are considered at the inlet: - Case 1: flux-type boundary condition (8) with constant inlet concentration c0(t) = c0; - Case 2: flux-type boundary condition (8) with step inlet concentration c0(t) = c0H(t0 −t) and pulse duration t0 = 0.5 days; - Case 3: concentration-type boundary condition (7) with constant inlet concentration c0(t) = c0; - Case 4: concentration-type boundary condition (7) with step inlet concentration c0(t) = c0H(t0 - t) and pulse duration t0 = 0.5 days. To solve these single-layer problems using our semi-analytical method, we choose m = 2 layers and set the transport parameters equal in both layers (see Table 2). In Table 4, the relative concentration distributions (c(x, t)/c0) obtained are compared to corresponding distributions obtained using analytical solutions given in the literature (van Genuchten and Alves 1982, sections C7 and C8), which are valid for homogeneous (singlelayer) media only. For all four problems, the maximum absolute difference between the relative concentration distributions obtained using both solution methods is tabulated in Table 4 at t = 10 <sup>−3</sup>, 0.1, 0.6, 1, 2, 4 days. These results demonstrate that both solutions are in excellent agreement for each choice of inlet condition and verify that our semi-analytical solution produces the correct results for single-layer media. Next, we present results for three two-layer test cases that have frequently appeared in the literature (Leij and van Genuchten 1995; Liu et al. 1998; Guerrero et al. 2013). The three test cases, labelled cases 5–7, consider advection-dispersion (without decay or production) in a medium of length 30 cm with first and second layers New semi-analytical solutions for advection-dispersion equations in multilayer porous media 9 Table 2 Transport parameters, geometry and initial conditions for the various test cases, where i is the layer index and ℓi locates the end of layer i [cm]. In the ith layer: Ri is the retardation factor [−], Di is the dispersion coefficient [cm <sup>2</sup> day <sup>−1</sup> ], vi is the pore-water velocity [cm day <sup>−1</sup> ], µi is the rate constant for first-order decay [day <sup>−1</sup> ], γi is the rate constant for zero-order production [kg cm <sup>−3</sup> day <sup>−1</sup> ], θi is the volumetric water content [−] and fi is the initial constant concentration [kg cm <sup>−3</sup> ]. Dashed horizontal lines for case 12 indicate the artificial layer created to accommodate the injected contaminant initial condition (see section 4). Case i ℓi Ri Di vi µi γi θi fi 1–4 1 10 1 50 75 2 1 0.4 0 2 30 1 50 75 2 1 0.4 0 5 1 10 1 50 25 0 0 0.4 0 2 30 1 20 40 0 0 0.25 0 6 1 10 1 50 25 0 0 0.4 0 2 30 1 20 40 0 0 0.25 0 7 1 10 1 50 25 0 0 0.4 0 2 30 1 20 40 0 0 0.25 0 8 1 10 3 50 25 3 0 0.4 0 2 20 2 20 40 4 0 0.25 0 9-10, 11 1 10 4.25 7 10 0 0 0.4 0 2 12 14 18 8 0 0 0.5 0 3 20 4.25 7 10 0 0 0.4 0 4 22 14 18 8 0 0 0.5 0 5 30 4.25 7 10 0 0 0.4 0 12 1 10 4.25 7 10 0 0 0.4 0 2 12 14 18 8 0 0 0.5 0 3 14 4.25 7 10 0 0 0.4 0 4 18 4.25 7 10 0 0 0.4 c0 5 20 4.25 7 10 0 0 0.4 0 6 22 14 18 8 0 0 0.5 0 7 30 4.25 7 10 0 0 0.4 0 13 1 10 4.25 7 10 3 2 0.4 0 2 12 14 18 8 2 4 0.5 0 3 20 4.25 7 10 3 2 0.4 0 4 22 14 18 8 2 4 0.5 c0 5 30 4.25 7 10 3 2 0.4 0 Table 3 Choice of inlet boundary condition (5) for the various test cases. For all test cases, a zero concentration gradient is assumed at the outlet with parameters aL = 0, bL = 1 and gL(t) = 0 specified in the outlet boundary condition (6). Case a0 b0 g0(t) 1, 5–9 v1 D1 v1c0 2, 10, 13 v1 D1 v1c0H(t0 - t) 3 1 0 c0 4 1 0 c0H(t0 - t) 11 1 0 c0αte <sup>−βt</sup> 12 0 1 0 Table 4 Comparison between our semi-analytical Laplace transform solution (see section 3) and the analytical solutions catalogued in van Genuchten and Alves (1982) for the homogeneous medium test cases (1–4). The tabulated values are the maximum absolute difference between the values of the relative concentration (c(x, t)/c0) computed using the two approaches over the discrete range x = 0, 2, . . ., 20 cm, with N = 14 poles/residues used for numerically inverting the Laplace transform (37). As recommended by van Genuchten and Alves (1982), if v1L/D1 - min(5 + 40v1t/(R1L), 5 + 40v1(t − t0)/(R1L), 100), the analytical solution is calculated using the approximate solutions catalogued (van Genuchten and Alves 1982). Otherwise the eigenfunction expansion solutions are used with 1000 eigenvalues/terms taken in the series expansions (see van Genuchten and Alves (1982) and our code for full details). Case t = 10 <sup>−3</sup> t = 0.1 t = 0.6 t = 1 t = 2 t = 4 1 4.11 × 10 <sup>−14</sup> 5.53 × 10 <sup>−10</sup> 5.84 × 10 <sup>−8</sup> 9.38 × 10 <sup>−9</sup> 4.75 × 10 <sup>−9</sup> 6.10 × 10 <sup>−10</sup> 2 4.11 × 10 <sup>−14</sup> 5.53 × 10 <sup>−10</sup> 1.89 × 10 <sup>−8</sup> 7.10 × 10 <sup>−8</sup> 1.74 × 10 <sup>−8</sup> 5.90 × 10 <sup>−10</sup> 3 1.98 × 10 <sup>−14</sup> 7.61 × 10 <sup>−10</sup> 1.93 × 10 <sup>−8</sup> 1.53 × 10 <sup>−8</sup> 1.20 × 10 <sup>−9</sup> 3.34 × 10 <sup>−10</sup> 4 1.98 × 10 <sup>−14</sup> 7.61 × 10 <sup>−10</sup> 1.93 × 10 <sup>−8</sup> 1.57 × 10 <sup>−9</sup> 1.15 × 10 <sup>−8</sup> 8.10 × 10 <sup>−10</sup> 10 Elliot J Carr Table 5 Relative concentration values (c(x, t)/c0) for test cases 5–7 computed using our semi-analytical Laplace transform (SALT) solution (see section 3) with N = 14 poles/residues used in the numerical inversion of the Laplace transform (37). Results are compared with previously published values given by Guerrero, Pimentel, and Skaggs (2013) (GPS), Liu, Ball, and Ellis (1998) (LBE) and Leij and van Genuchten (1995) (LVG). Shaded cells highlight discrepancies between the different methods by indicating when one of the four computed values differs from the others. Case t = 0.2 t = 0.4 t = 0.6 t = 0.8 x SALT GPS LBE LVG SALT GPS LBE LVG SALT GPS LBE LVG SALT GPS LBE LVG 5 0 0.884 0.884 0.884 0.884 0.963 0.963 0.963 0.963 0.987 0.987 0.987 0.987 0.995 0.995 0.995 0.995 2 0.742 0.742 0.742 0.742 0.915 0.915 0.915 0.915 0.969 0.969 0.969 0.969 0.988 0.988 0.988 0.988 4 0.561 0.561 0.561 0.561 0.841 0.841 0.841 0.841 0.940 0.940 0.940 0.940 0.977 0.977 0.977 0.977 6 0.375 0.375 0.374 0.375 0.746 0.746 0.746 0.746 0.901 0.901 0.901 0.901 0.962 0.962 0.962 0.962 8 0.222 0.222 0.222 0.222 0.645 0.645 0.645 0.645 0.858 0.858 0.858 0.858 0.945 0.945 0.945 0.945 10 0.142 0.142 0.142 0.142 0.579 0.579 0.579 0.579 0.829 0.829 0.829 0.829 0.933 0.933 0.933 0.933 12 0.063 0.063 0.063 0.063 0.480 0.480 0.480 0.480 0.781 0.781 0.781 0.781 0.914 0.914 0.914 0.914 14 0.021 0.021 0.021 0.021 0.372 0.372 0.372 0.372 0.722 0.722 0.722 0.722 0.889 0.889 0.889 0.889 16 0.005 0.005 0.005 0.005 0.264 0.264 0.265 0.264 0.651 0.651 0.651 0.651 0.858 0.858 0.858 0.858 18 0.001 0.001 0.001 0.001 0.168 0.168 0.169 0.168 0.567 0.567 0.567 0.567 0.819 0.819 0.819 0.819 20 0.000 0.000 0.000 0.000 0.094 0.094 0.094 0.094 0.473 0.473 0.473 0.473 0.770 0.770 0.770 0.770 6 0 0.978 0.978 0.977 0.978 0.998 0.998 0.998 0.998 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 2 0.868 0.868 0.867 0.868 0.984 0.984 0.984 0.984 0.998 0.998 0.998 0.998 1.000 1.000 1.000 1.000 4 0.634 0.634 0.633 0.634 0.942 0.942 0.942 0.942 0.991 0.991 0.991 0.991 0.999 0.999 0.999 0.999 6 0.345 0.345 0.345 0.345 0.849 0.849 0.849 0.849 0.972 0.972 0.972 0.972 0.995 0.995 0.995 0.995 8 0.131 0.131 0.131 0.131 0.693 0.693 0.693 0.693 0.930 0.930 0.929 0.930 0.986 0.986 0.986 0.986 10 0.033 0.033 0.033 0.033 0.496 0.496 0.496 0.496 0.853 0.853 0.853 0.853 0.966 0.966 0.966 0.966 12 0.011 0.011 0.011 0.011 0.370 0.370 0.370 0.370 0.784 0.784 0.783 0.784 0.944 0.944 0.944 0.944 14 0.003 0.003 0.003 0.003 0.257 0.257 0.257 0.257 0.699 0.699 0.698 0.699 0.913 0.913 0.913 0.913 16 0.001 0.001 0.001 0.001 0.166 0.166 0.166 0.166 0.601 0.601 0.601 0.601 0.871 0.871 0.871 0.871 18 0.000 0.000 0.000 0.000 0.098 0.098 0.099 0.098 0.498 0.498 0.498 0.498 0.817 0.817 0.817 0.817 20 0.000 0.000 0.000 0.000 0.054 0.054 0.054 0.054 0.395 0.395 0.395 0.395 0.751 0.751 0.750 0.751 7 0 0.999 0.999 0.999 0.999 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 2 0.988 0.988 0.987 0.988 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 4 0.928 0.928 0.928 0.928 0.999 0.999 0.999 0.999 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 6 0.764 0.764 0.763 0.764 0.995 0.995 0.995 0.995 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 8 0.496 0.496 0.495 0.496 0.976 0.976 0.976 0.976 0.998 0.998 0.998 0.998 0.999 0.999 0.999 0.999 10 0.152 0.152 0.152 0.152 0.780 0.780 0.779 0.780 0.940 0.940 0.939 0.940 0.979 0.979 0.978 0.979 12 0.049 0.049 0.050 0.049 0.600 0.600 0.600 0.600 0.870 0.870 0.870 0.870 0.952 0.952 0.952 0.952 14 0.013 0.013 0.013 0.013 0.418 0.418 0.418 0.417 0.773 0.773 0.773 0.773 0.911 0.911 0.910 0.911 16 0.003 0.003 0.003 0.003 0.262 0.262 0.262 0.262 0.653 0.653 0.653 0.653 0.851 0.851 0.851 0.851 18 0.000 0.000 0.000 0.000 0.148 0.148 0.148 0.148 0.522 0.522 0.522 0.522 0.774 0.774 0.774 0.774 20 0.000 0.000 0.000 0.000 0.075 0.075 0.075 0.075 0.393 0.393 0.393 0.393 0.681 0.681 0.681 0.681 Fig. 2 Relative concentration spatial profiles (c(x, t)/c0) over time for test case 8. Continuous lines indicate our semi-analytical Laplace transform solution (see section 3) with N = 14 poles/residues used in the numerical inversion of the Laplace transform (37). Circle markers indicate the numerical solution obtained using the finite volume scheme outlined in Appendix A computed with n = 601 nodes but plotted with markers at x = 0, 1, . . ., 20 cm only. Crosses indicate the exact steady-state solution obtained by solving the steady-state analogue of the multilayer transport model (1)–(6) analytically. The vertical dashed line indicates the location of the interface at x = 10 cm. The plot is truncated at x = 20 cm rather than shown for the full length of the medium (x = 30 cm) inline with Guerrero et al. (2013). New semi-analytical solutions for advection-dispersion equations in multilayer porous media 11 of length 10 cm and 20 cm, respectively. A constant flux-type boundary condition is applied at the inlet (Eq (8) with c0(t) = c0) and a zero concentration gradient is applied at the outlet (9). Initially, the concentration is assumed to be zero in both layers. Different transport parameter combinations are applied for the three test cases (see Table 2). In Table 5, for all three test cases, we report the relative concentration values obtained from our semi-analytical solution at several equidistant points in space and time. These results are compared to those previously reported by Guerrero et al. (2013), Liu et al. (1998) and Leij and van Genuchten (1995) with all numerical values in Table 5 displayed to three decimal places to be consistent with the numerical values reported in those papers. For all three test cases, our results agree precisely with those of Guerrero et al. (2013) to the precision reported. When compared to Liu et al. (1998) and Leij and van Genuchten (1995), minor Fig. 3 Relative concentration spatial profiles (c(x, t)/c0) over time for test cases 9–13. Continuous lines indicate our semianalytical Laplace transform solution (see section 3) with N = 14 poles/residues used in the numerical inversion of the Laplace transform (37). Circle markers indicate the numerical solution obtained using the finite volume scheme outlined in Appendix A computed with n = 601 nodes but plotted with markers at x = 0, 1, . . ., 30 cm only. Vertical dashed lines indicate the location of the layer interfaces at x = 10, 12, 20, 22 cm. 12 Elliot J Carr differences of ±0.001 are evident as highlighted in Table 5. These discrepancies are likely to be explained by Leij and van Genuchten (1995) considering a semi-infinite second layer and using a different method for numerically inverting the Laplace transform and Liu et al. (1998) considering a finite second layer of undisclosed length. Lastly, we present results for a final two-layer test case previously considered by Guerrero et al. (2013). This problem, labelled case 8, is the same as case 6 with the exception that first-order decay is present in both layers (see Table 2). In Figure 2, we plot the relative concentration distributions obtained from our semi-analytical solution at t = 0.2, 0.4, 0.6, 0.8 days (as in Guerrero et al. (2013)) and t = 10 <sup>3</sup> when the solution is visible indistinguishable from its steady state. At short time, our results match well with Guerrero et al. (2013)’s results but differ for long times and at steady-state. However, agreement with the numerical solution (outlined in Appendix A) as well as the exact steady-state solution obtained by solving the steady-state analogue of the multilayer transport model (1)–(6) (see Figure 2) supports that our approach produces the correct results. 4.2 Multiple layer test cases We now apply our semi-analytical solution to some test cases involving five or more layers. Our solutions are compared to previously reported results from the literature and/or numerical solutions obtained using a finite volume method, briefly discussed in Appendix A. Firstly, we consider the five-layer test case previously considered by Liu et al. (1998) and Guerrero et al. (2013). This test case involves advection-dispersion (without decay or production) in a medium of length 30 cm consisting of alternating layers of sand–clay–sand–clay–sand (cases 9–10 in Tables 2 and 3). The initial concentration is zero in each layer and a zero concentration gradient is applied at the outlet. Two different boundary conditions are considered at the inlet: - Case 9: flux-type boundary condition (8) with constant inlet concentration c0(t) = c0; - Case 10: flux-type boundary condition (8) with step inlet concentration c0(t) = c0H(t0 - t) and pulse duration t0 = 3 days. In Figure 3, we plot the relative concentration distributions (c(x, t)/c0) obtained from our semi-analytical solution at several points in time. Only case 9 is considered by Liu et al. (1998) and Guerrero et al. (2013) who both report relative concentration distributions at t = 2, 6, 10 days only with their solutions at these times all in excellent agreement with those for case 9 in Figure 3. For case 10 and the remaining times for case 9, agreement with the relative concentration distributions computed using the numerical method discussed in Appendix A demonstrates that our semi-analytical solution produces the correct results. To further highlight the capability of our approach, we consider three final test cases (cases 11-13 in Tables 2 and 3). Case 11 is case 9 with a continuously varying inlet concentration (see Table 3). Case 12 considers the same five-layer medium as cases 9–11 but with a zero concentration gradient applied at both the inlet and outlet and an initial condition modelling injection of a contaminant into the medium at time t = 0 between x = 14 cm and x = 18 cm (Goltz and Huang 2017). This test case is solved by creating an artificial layer extending from x = 14 cm to x = 18 cm having the same transport parameters as the sand layer in which it is located, leading to a seven-layer formulation as described in Table 2. Finally, case 13 demonstrates the full capability of our semi-analytical solution with non-zero rate constants of decay and production in each layer and multiple contaminant sources (see Tables 2 and 3). The agreement with the relative concentration distributions obtained using the numerical method evident in Figure 3 for cases 11–13 further confirm the correctness of our semi-analytical solution approach. 5 Conclusion In this paper, we have developed a semi-analytical Laplace-transform based method to solve the one-dimensional linear advection-dispersion-reaction equation in a layered medium. The novelty of the approach is to introduce unknown functions at the interfaces between adjacent layers, which allows the multilayer problem to be isolated and solved separately on each layer before being numerically inverted back to the time domain. Our derived solution is quite general in that it can be applied to problems involving an arbitrary number of layers and arbitrary time-varying boundary conditions at the inlet and outlet. The derived solutions extend and generalise recent work on diffusion (Carr and Turner 2016; Carr and March 2018; Rodrigo and Worthy 2016) and reactiondiffusion (Zimmerman et al. 2016) in layered media. New semi-analytical solutions for advection-dispersion equations in multilayer porous media 13 The solutions presented in this paper, and our MATLAB code, are limited to constant initial conditions in each layer and interface conditions imposing continuity of concentration and dispersive flux between adjacent layers. However, extension to other interface conditions that do not impose continuity of concentration (see, e.g., Carr and March (2018)), is straightforward and achieved in our formulation by replacing Eq (35) with the Laplace transform of the imposed condition. For example, solving the multilayer transport model (1)–(6) with concentration continuity (3) replaced by the partition interface condition (Carr and March 2018; Carr and Pontrelli 2018), ci(ℓi, t) = αici+1(ℓi, t) where αi - 0 is a specified constant, simply requires replacement of Eq (35) with Ci(ℓi, s) = αiCi+1(ℓi, s) and ultimately a small modification to the entries of the linear system (36). Treatment of spatially-varying initial conditions, where fi is now fi(x) in the boundary value problems (23)–(25), (26)–(28) and (29)–(31), is more challenging but possible and would lead to more complicated expressions for the Laplace domain concentration than those defined in Eqs (32)–(34) and Table 1. The method for inverting the Laplace transform can lead to unreliable results for advection-dominated transport so addressing this limitation would be valuable to pursue in the future. Another possible avenue for future research is to extend the semi-analytical solutions to accommodate multispecies transport and/or rate-limited sorption, as described by Chen et al. (2019a,b) for single-layer media and Mieles and Zhan (2012) and Chen et al. (2018) for two-layer media. We address the case of multispecies multilayer transport in a forthcoming paper (Carr 2020). A Numerical solution In this appendix, we briefly outline the finite volume scheme used to obtain a numerical solution to the multilayer transport model (1)–(6), as mentioned in section 4. The interval [0, L] is discretised using a uniform grid consisting of n nodes with the kth node located at x = (k − 1)h =: xk, where k = 1, . . ., n and h = L/(n − 1). The number of nodes n is chosen to ensure that a node coincides with each interface (x = ℓi, i = 1, . . ., m − 1). Let ck(t) denote the numerical approximation to c(x, t) at x = xk and ck−1 + ck , 2 Ji,k = Di ck - ck−1 - vi h Si,k = −µick + γi. The discrete system takes the form: M <sup>d</sup> d <sup>c</sup> t <sup>=</sup> <sup>F(c),</sup> c(0) = c0, (38) where M ∈ R <sup>n×n</sup>, c = (c1, . . ., cn) <sup>T</sup> ∈ R <sup>n</sup> and F = (F1, . . ., Fn) <sup>T</sup> ∈ R <sup>n</sup> . The initial solution vector c0 ∈ R <sup>n</sup> gets its entries from the initial condition (2) with first entry f1, last entry fm and kth entry (k = 2, . . ., n − 1) equal to fi if xk ∈ (ℓi−1, ℓi) or (fi + fi+1)/2 if xk = ℓi, where i = 1, . . ., m − 1 is the interface index. The form of M depends on the choice of boundary conditions at the inlet and outlet:  M =   I, if b0̸ = 0 and bL̸ = 0, I − e1e <sup>T</sup> 1 <sup>,</sup> if b0 = 0 and bL̸ = 0, I − ene <sup>T</sup> n <sup>,</sup> if b0̸ = 0 and bL = 0, I − e1e <sup>T</sup> 1 <sup>−</sup> <sup>ene</sup> n <sup>T</sup> <sup>,</sup> if b0 = 0 and bL = 0, where I is the n × n identity matrix and ek is the kth column of I. The components of F are defined as follows: F1 = a0c1 - g0(t) if b0 = 0, F1 = J1,2 + <sup>D</sup> b0 <sup>1</sup> <sup>g0(t) + (v1</sup> <sup>−</sup> <sup>D1</sup> h2 <sup>R1</sup> ab00 <sup>)c1 +</sup> <sup>h</sup> 2 <sup>S1,1</sup> if b0̸ = 0, if xk ∈ (ℓi−1, ℓi), Fk = <sup>Ji,k+1 −</sup> <sup>Ji,k</sup> <sup>+ hSi,k</sup> hRi 2 Fk = <sup>θi+1Ji+1,k+1 −</sup> h <sup>θiJi,k</sup> <sup>+</sup> <sup>h</sup> 2 θiSi,k + θi+1Si+1,k <sup>h</sup> h2 <sup>(θiRi + θi+1Ri+1)</sup> 14 Elliot J Carr if xk = ℓi and i = 2, . . ., m − 1, Fn = aLcn − gL(t) if bL = 0, and abLL <sup>)cn</sup> <sup>−</sup> <sup>Jm,n +</sup> <sup>h</sup> 2 <sup>Sm,n</sup> Fn = DbLm <sup>gL(t) −</sup> <sup>(vm</sup> <sup>+ Dm</sup> h2 <sup>Rm</sup> if bL̸ = 0. The initial value problem (38) is solved using MATLAB’s in-built ode15s solver with the default tolerances and options of Mass = M and MassSingular = true if b0 and/or bL are zero. The interval of integration (tspan) is chosen to return the solution at the appropriate times shown in Figures 2–3. Acknowledgements This research was funded by the Australian Research Council (DE150101137). We thank the two anonymous reviewers for suggestions that improved the final manuscript. References Carr EJ (2020) Generalized semi-analytical solution for coupled multispecies advection-dispersion equations in multilayer porous media. [arXiv:2006.15793](https://arxiv.org/abs/2006.15793) Carr EJ, March NG (2018) Semi-analytical solution of multilayer diffusion problems with time-varying boundary conditions and general interface conditions. Appl Math Comput 333:286–303 Carr EJ, Pontrelli G (2018) Modelling mass diffusion for a multi-layer sphere immersed in a semi-infinite medium: application to drug delivery. Math Biosci 303:1–9 Carr EJ, Turner IW (2016) A semi-analytical solution for multilayer diffusion in a composite medium consisting of a large number of layers. Appl Math Model 40:7034–7050 Chen H, Park E, Hu C (2018) A design solution of PRB with multispecies transport based on a multidomain system. Environ Earth Sci 77:630 Chen JS, Hsu SY, Li MH, Liu CW (2016) Assessing the performance of a permeable reactive barrier-aquifer system using a dual-domain solute transport model. J Hydrol 543:849–860 Chen JS, Ho YC, Liang CP, Wang SW, Liu CW (2019a) Semi-analytical model for coupled multispecies advective-dispersive transport subject to rate-limited sorption. J Hydrol 579:124164 Chen JS, Liang CP, Chang CH, Wan MH (2019b) Simulating three-dimensional plume migration of a radionuclide decay chain through groundwater. Energies 12:3740 van Genuchten MT, Alves WJ (1982) Analytical solutions of the one-dimensional convective-dispersive solute transport equation. U S Department of Agriculture p Technical Bulletin No. 1661 Goltz M, Huang J (2017) Analytical Modeling of Solute Transport in Groundwater. John Wiley & Sons, Inc. Guerrero JSP, Pimentel LCG, Skaggs TH (2013) Analytical solution for the advection-dispersion transport equation in layered media. Int J Heat Mass Tran 56:274–282 Hickson RI, Barry SI, Mercer GN (2009) Critical times in multilayer diffusion. Part 1: Exact solutions. Int J Heat Mass Tran 52:5776–5783 de Hoog FR, Knight JH, Stokes AN (1982) An improved method for numerical inversion of laplace transforms. SIAM J Sci Stat Comput 3:357–366 Kuhlman KL (2013) Review of inverse Laplace transform algorithms for Laplace-space numerical approaches. Numer Algorithms 63:339–355 Leij FJ, van Genuchten MT (1995) Approximate analytical solutions for solute transport in two-layer porous media. Transp Porous Med 18:65–85 Leij FJ, Dane JH, van Genuchten MT (1991) Mathematical analysis of one-dimensional solute transport in a layered soil profile. Soil Sci Soc Am J 55:944–953 Liu C, Ball WP, Ellis JH (1998) An analytical solution to the one-dimensional solute advection-dispersion equation in multi-layer porous media. Transp Porous Med 30:25–43 Mieles J, Zhan H (2012) Analytical solutions of one-dimensional multispecies reactive transport in a permeable reactive barrier aquifer system. J Contam Hydrol 134-135:54–68 de Monte F (2002) An analytic approach to the unsteady heat conduction process in one-dimensional composite media. Int J Heat Mass Tran 45:1333–1343 Park E, Zhan H (2009) One-dimensional solute transport in a permeable reactive barrieraquifer system. Water Resour Res 45:W07502 Rodrigo MR, Worthy AL (2016) Solution of multilayer diffusion problems via the Laplace transform. J Math Anal Appl 444:475–502 Sun Y, Wichman IS (2004) On transient heat conduction in a one-dimensional composite slab. Int J Heat Mass Tran 47:1555– 1559 Trefethen LN, Weideman JAC, Schmelzer T (2006) Talbot quadratures and rational approximations. BIT Numer Math 46:653– 670 Yang B, Liu S (2017) Closed-form analytical solutions of transient heat conduction in hollow composite cylinders with any number of layers. Int J Heat Mass Tran 108:907–917 Zimmerman RA, Jankowski TA, Tartakovsky DM (2016) Analytical models of axisymmetric reactiondiffusion phenomena in composite media. Int J Heat Mass Tran 99:425–431

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.