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

Multi-scale study of diffusion in composite grain–pore systems based on particles random walk

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)(18) VENT(방수통기 부품)

기본 정보

저자
  1. Hamza Oukili — Institut de Mcanique des Fluides de Toulouse, IMFT, Universit de Toulouse, CNRS -Toulouse, France|||IMFT - Institut de mécanique des fluides de Toulouse (Allée du Professeur Camille Soula 31400 Toulouse France - France)
  2. Rachid Ababou — Institut de Mcanique des Fluides de Toulouse, IMFT, Universit de Toulouse, CNRS -Toulouse, France|||IMFT - Institut de mécanique des fluides de Toulouse (Allée du Professeur Camille Soula 31400 Toulouse France - France)
  3. Gérald Debenest — Institut de Mcanique des Fluides de Toulouse, IMFT, Universit de Toulouse, CNRS -Toulouse, France|||IMFT - Institut de mécanique des fluides de Toulouse (Allée du Professeur Camille Soula 31400 Toulouse France - France)
  4. B. Nøetinger — IFP Energies nouvelles, Rueil-Malmaison, France|||IFPEN - IFP Energies nouvelles (1-4 avenue de Bois Préau 92500 Rueil-Malmaison - France)
DOI
10.5802/crmeca.94
저널
Comptes Rendus Mécanique
발행년도
2021
발행기관
Elsevier BV
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5802/crmeca.94
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W3211730024

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체), (18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
diffusion processes, porous media, multi-scale study, Random walk particle tracking, effective diffusion tensors
판단 근거
이 논문은 다공성 매질(porous media) 내에서의 확산(diffusion) 현상을 미시적/거시적 관점에서 모델링하는 수치 해석 기법을 다룹니다. 이는 코오롱인더스트리의 수소연료전지용 중공사막(5)이나 방수통기용 멤브레인(18) 등 다공성 막 소재의 물질 전달 성능을 예측하고 설계하는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
PEMFC용 중공사막이나 방수통기 멤브레인의 기공 구조에 따른 수증기 및 가스 확산 성능을 시뮬레이션하고 최적의 기공 구조를 설계하는 모델링 도구로 활용 가능합니다.
평가 입력
본문 75,187자 중 30,032자 발췌

초록

This paper studies diffusion processes at different scales in two-dimensional (2D) composite media (grain–pore porous micromodels). To model diffusion, this study uses the random walk particle tracking (RWPT) method based on 2D analytical solutions in finite and semi-infinite domains with zero-flux boundary conditions (BC) at grain boundaries. The analytical solutions are developed using a method of images. Then, an RWPT combined to a Stop&Go algorithm is derived from these analytical solutions. The developed RWPT algorithm is then used to model diffusion processes inside the pores at the “microscopic” level (microscale), while the grain elements are assumed inaccessible to diffusion (zero-flux BC condition at the interface grain/pore). The composite medium, where the diffusion occurs, is a numerical micromodel made of periodic motifs of rectangular grains. Particles are initially located at the center of a pore, and diffuses in the periodic motifs micromodel (infinite domain). First, the grains are chosen square with different sizes to vary the porosity. Second, for constant porosities, the grains are elongated to study the effect of the anisotropy ratio on diffusion processes. Effective macroscale properties (porosities, effective diffusion tensors, tortuosities) are then calculated using moments of particles positions. The results obtained fit well with theoretical expectations and are in very good agreement with results found in the literature.

본문 75,187자

본문 펼치기
# _Comptes Rendus_ ## _Mécanique_ Hamza Oukili, Rachid Ababou, Gérald Debenest and Benoît Noetinger Multi-scale study of diffusion in composite grain–pore systems based on particles random walk Volume 349, issue 3 (2021), p. 529-558 Published online: 17 November 2021 [https://doi.org/10.5802/crmeca.94](https://doi.org/10.5802/crmeca.94) This article is licensed under the Creative Commons Attribution 4.0 International License. [http://creativecommons.org/licenses/by/4.0/](http://creativecommons.org/licenses/by/4.0/) _Les_ Comptes Rendus. Mécanique _sont membres du_ _Centre Mersenne pour l’édition scientifique ouverte_ [www.centre-mersenne.org](https://www.centre-mersenne.org) e-ISSN : 1873-7234 _Comptes Rendus_ _Mécanique_ 2021, 349, n 3, p. 529-558 ``` https://doi.org/10.5802/crmeca.94 ``` Short paper / _Note_ ### Multi-scale study of diffusion in composite grain–pore systems based on particles random walk Hamza Oukili _∗_ , _a_ , Rachid Ababou _a_ , Gérald Debenest _a_ and Benoît Noetinger _b_ _a_ Institut de Mécanique des Fluides de Toulouse, IMFT, Université de Toulouse, CNRS - Toulouse, France _b_ IFP Energies nouvelles, Rueil-Malmaison, France _E-mails:_ [hamza.oukili.01@gmail.com (H. Oukili), rachidababou@gmail.com](mailto:hamza.oukili.01@gmail.com) [(R. Ababou), gerald.debenest@toulouse-inp.fr (G. Debenest),](mailto:gerald.debenest@toulouse-inp.fr) [benoit.noetinger@ifpen.fr (B. Noetinger)](mailto:benoit.noetinger@ifpen.fr) Abstract. This paper studies diffusion processes at different scales in two-dimensional (2D) composite media (grain–pore porous micromodels). To model diffusion, this study uses the random walk particle tracking (RWPT) method based on 2D analytical solutions in finite and semi-infinite domains with zero-flux boundary conditions (BC) at grain boundaries. The analytical solutions are developed using a method of images. Then, an RWPT combined to a Stop&Go algorithm is derived from these analytical solutions. The developed RWPT algorithm is then used to model diffusion processes inside the pores at the “microscopic” level (microscale), while the grain elements are assumed inaccessible to diffusion (zero-flux BC condition at the interface grain/pore). The composite medium, where the diffusion occurs, is a numerical micromodel made of periodic motifs of rectangular grains. Particles are initially located at the center of a pore, and diffuses in the periodic motifs micromodel (infinite domain). First, the grains are chosen square with different sizes to vary the porosity. Second, for constant porosities, the grains are elongated to study the effect of the anisotropy ratio on diffusion processes. Effective macroscale properties (porosities, effective diffusion tensors, tortuosities) are then calculated using moments of particles positions. The results obtained fit well with theoretical expectations and are in very good agreement with results found in the literature. Keywords. Composite media, Diffusion, Random walk particle tracking (RWPT), Discontinuities, Analytical solutions, Porous materials, Zero flux. _Manuscript received 7th February 2021, revised 10th October 2021, accepted 6th September 2021._ 1. Introduction Transport processes occurs in many fields of science including, mass or heat transfer problem, for instance. In porous media, they include also solute mass transport, heat transport, and slightly _∗_ Corresponding author. 530 Hamza Oukili _et al._ compressible Darcy flow (pressure diffusion equation). Diffusion processes, in particular, are important in transport phenomena, either directly (solute diffusion, heat diffusion, pressure diffusion) or indirectly (when the local hydrodynamic dispersion of transported quantities is modeled as a diffusion-type process on a larger scale). Treating such problems in physics could be challenging, particularly in the case of spatially variable or discontinuous transport properties. At the pore scale, considering a binary grain/pore medium, diffusion usually occurs inside the pores, while the grain elements are assumed inaccessible to diffusion (extensions to aggregates instead of grains are discussed in the conclusion Section 5). A zero-flux condition is assumed locally at the grain/pore interfaces. When we treat the diffusion process at the macroscale level, diffusion occurs in a homogeneous medium with macroscopic parameters (including porosity and effective diffusion coefficients) determined via an upscaled methodology. There exist several techniques to determine correctly the link between the transport processes at the microscale and the effective parameters at the macroscale. In the literature, diffusion problems and their upscaling issues have been widely treated using either volume averaging techniques [1, 2], homogenization theory [3, 4], or moments matching techniques [5, 6]. A review on multi-scale methods [7] has shown that homogenization still faces many challenges. Another recent study has shown some improvements by using different levels of upscaling in modeling flow transport in fractured media [8]. Upscaling has also been used to determine parameters for continuous time random walk (CTRW) modeling [9]. In addition, the random walk particle methods have also been used to obtain probability results on self-avoiding Random Walks where the “particles” cannot cross their own path [10]. Solving the diffusion equation at various scales is possible using classical methods such as Finite Volume or Finite Elements methods. In this study, we use particle methods. They have been extensively used for modeling transport problems in porous soils, aquifers, and reservoirs. They reduce or avoid some of the problems of Eulerian methods, for example, instabilities, excessive artificial diffusion, mass balance, and/or oscillations that could lead to negative concentrations. In the Lagrangian particle approach, diffusion processes are modeled by random walk algorithms. The numerical (modeling) issues are different for the Eulerian partial differential equations (PDE) approach and for the Lagrangian random walk approach (for more details, see the recent study of [11] and the review paper of [12]). Previous studies have used CTRW algorithms for upscaling double porosity fractured media [13–15]. Random walk methods have also been used in many publications in order to analyze the “effective” or “macroscale” diffusion coefficient that emerges from the transport of Brownian particles representing a passive tracer (heat or mass) transported in a heterogeneous or random velocity field (e.g., [16], among others). In this study, we develop a new algorithm, using the random walk particle tracking (RWPT) method, based on two-dimensional (2D)/three dimensional (3D) analytical solutions in finite and semi-infinite domains with zero-flux boundary conditions (BC). The RWPT algorithm induced from these analytical solutions is then applied to more complex geometries of grains and pores (that are difficult to solve analytically). Different configurations or structures at the microscale level (e.g., grains and pores in a porous media) will be chosen in order to obtain composite isotropic media with different porosities at the macroscale level. Then, by choosing elongated microstructures, anisotropic media emerge at the macroscopic level. These configurations will be obtained from microscale motifs of grains and pores with different porosities, repeated periodically and indefinitely (infinite domain grain–pore system). Effective macroscale properties (porosities, effective diffusion tensors, tortuosities) are then calculated for instantaneous injection (initial point source), using moments of particles positions. While standard homogenization models use steady state algorithms, the present RWPT allows the capture of the transient dynamics of the system. The method gives additional information on the evolution of the macro-properties through time, and thus ultimately, determines Hamza Oukili _et al._ 531 the representative elementary volume (REV) of the system in addition to the macro-properties. In addition, RWPT is easily scalable with no limitations in the number of processors. This paper is organized as follows. The next section, Section 2, presents the theory behind RWPT methods, and the corresponding concentration-based PDE, particularly for diffusion problems with zero-flux BC’s. Section 3 presents a generalization of particle-based methods and algorithms for solving diffusion transport problems using RWPT in granular media with multiple zero-flux interfaces. In Section 4, the results obtained for different geometries of grains and pores are presented and discussed. An upscaling method using spatial moments (such as _σ_ <sup>2</sup> _xx_ <sup>(</sup> <sup>_t_</sup> <sup>))</sup> is applied to the particle-based microscale simulation results in order to deduce macroscopic diffusion properties. The conclusive Section 5 recapitulates results and discusses extensions. 2. Theory: diffusion PDE, boundaries, and random particle positions In this first part, we introduce the equations and the formalism in order to establish zero-flux conditions using particle methods. 2.1. _PDE’s for initial-value problems in infinite domains or with one zero-flux BC_ 2.1.1. _The Gaussian PDF of particle positions (infinite domain)_ Let us define the initial-value problem (Cauchy’s problem) in an infinite porous domain: <sup>_∂_</sup> _∂_ <sup>2</sup> _x_ <sup>_<u>C</u>_</sup> <sup>2</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> _∂C_ _∀t >_ 0; _∀x ∈_ R; _∂t_ <sup>_∂_</sup> _∂_ <sup>_<u>C</u>_</sup> _x_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_+_</sup> <sup>_D_</sup> <sup>_∂_</sup> _∂_ <sup>2</sup> _x_ <sup>_<u>C</u>_</sup> <sup>2</sup>    _∂∂Ct_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_= −V_</sup> <sup>_∂_</sup> _∂_ <sup>_<u>C</u>_</sup> _x_ <sup><u>0</u></sup> _θ_ <sup>_δ_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_x_</sup> <sup>0),</sup> _∀t >_ 0; _x→±∞_ lim <sup>_C_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> (1) _∀x ∈_ R; _C_ ( _x_,0) _=_ <sup>_<u>M</u>_</sup> <sup><u>0</u></sup> _θ_ where _θ_ is the (constant) porosity, _M_ 0 the initial mass of solute at _x_ _=_ _x_ 0, and _C_ is the mass concentration of solute per volume of solvent (kg/m in 1D). The solution of (1) is: _∀t >_ 0; _∀x ∈_ R; _C_ ( _x_, _t_ ) _=_ <sup>_<u>M</u>_</sup> <sup><u>0</u></sup> _θ_ <u>1</u> _~~�~~_ exp 4π _Dt_ - _−_ <sup><u>(</u></sup> <sup>_<u>x −</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>0</u></sup> <sup>_+_</sup> <sup>_<u>V t</u>_</sup> <sup><u>))2</u></sup> 4 _Dt_ . (2) Equation (2) can be written as follows: _∀t >_ 0; _∀x ∈_ R; _C_ ( _x_, _t_ ) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> <sup>_G_</sup> <sup>(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_+_</sup> <sup>_V t_</sup> <sup>,2</sup> <sup>_Dt_</sup> <sup>;</sup> <sup>_x_</sup> <sup>),</sup> (3) where _G_ ( _x_ 0 _+V t_,2 _Dt_ ; _x_ ) is the Gaussian probability density function (PDF) with mean _x_ 0 _+V t_ and variance 2 _Dt_ . In particular, _G_ (0,2 _t_ ; _x_ ) is the fundamental solution of the diffusion equation [17]. _N_ ( _µ_, _σ_ <sup>2</sup> ) denotes a Gaussian random variable (RV) with mean _µ_ and variance _σ_ <sup>2</sup>, which means it has the PDF _x →_ _G_ ( _µ_, _σ_ <sup>2</sup> ; _x_ ). In 2D space, the initial-value PDE problem for pure diffusion ( _V_ _=_ 0) is   _∂C_ _∀t >_ 0; _∀_ ( _x_, _y_ ) _∈_ R <sup>2</sup> ; _∂t_ _∂t_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_= D_</sup> - _∂∂_ 2 _xC_ <sup>2</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_+ ∂_</sup> _∂_ <sup>2</sup> _y_ <sup>_<u>C</u>_</sup> <sup>2</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> _∀t >_ 0; _x_, _y_ lim _→±∞_ <sup>_C_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> (4)  <sup><u>0</u></sup> _θ_ <sup>_δ_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_x_</sup> <sup>0,</sup> <sup>_y −_</sup> <sup>_y_</sup> <sup>0).</sup> _∀_ ( _x_, _y_ ) _∈_ R <sup>2</sup> ; _C_ ( _x_, _y_,0) _=_ <sup>_<u>M</u>_</sup> <sup><u>0</u></sup> _θ_ The solution of (4) is _∀t >_ 0; _∀x ∈_ R; _C_ ( _x_, _y_, _t_ ) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> <sup>_G_</sup> <sup>((</sup> <sup>_x_</sup> <sup>0,</sup> <sup>_y_</sup> <sup>0),2</sup> <sup>_Dt_</sup> <sup>;(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)),</sup> (5) 532 Hamza Oukili _et al._ where _G_ (( _x_ 0, _y_ 0),2 _Dt_ ;( _x_, _y_ )) is the bi-variate Gaussian PDF for 2 i.i.d. variables (independent and identically distributed variables) with mean ( _x_ 0, _y_ 0) and isotropic variance _σ_ <sup>2</sup> _X_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_= σ_</sup> <sup>2</sup> _Y_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>2</sup> <sup>_Dt_</sup> <sup>.</sup> This bi-variate Gaussian solution of (4) will be used in subsequent subsections. 2.1.2. _Semi-infinite domain with zero-flux BC_ In a semi-infinite one-dimensional (1D) domain with a zero-flux BC at _x = x_ BC, the diffusion of an initial-value “source” located at _x = x_ 0 is governed by the following system of equations: _∂C_ _∀t >_ 0; _∀x ∈_ ] _−∞_ ; _x_ BC ]; _∂t_ _∂_ <sup>2</sup> _x_ <sup>_<u>C</u>_</sup> <sup>2</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup>   _∂∂Ct_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_= D ∂_</sup> _∂_ <sup>2</sup> _x_ <sup>_<u>C</u>_</sup> <sup>2</sup> _∀t >_ 0; _x→−∞_ lim <sup>_C_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> (6) _∀t >_ 0; _−θD_ <sup>_∂C_</sup> _∂x_  <sup>_<u>C</u>_</sup> _∂x_ <sup>(</sup> <sup>_x_</sup> <sup>BC,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> <sup><u>0</u></sup> _θ_ <sup>_δ_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_x_</sup> <sup>0).</sup> _∀x ∈_ ] _−∞_ ; _x_ BC ]; _C_ ( _x_,0) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> The solution of (6) is (7) (similar to the one found in [18, p. 363–365]): _∀t >_ 0; _∀x ∈_ ] _−∞_ ; _x_ BC ]; _C_ ( _x_, _t_ ) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> <sup>(</sup> <sup>_G_</sup> <sup>(</sup> <sup>_x_</sup> <sup>0,2</sup> <sup>_Dt_</sup> <sup>;</sup> <sup>_x_</sup> <sup>)</sup> <sup>_+G_</sup> <sup>(2</sup> <sup>_x_</sup> <sup>BC</sup> <sup>_−_</sup> <sup>_x_</sup> <sup>0,2</sup> <sup>_Dt_</sup> <sup>;</sup> <sup>_x_</sup> <sup>)).</sup> (7) Equation (7) could be written as _C_ ( _x_, _t_ ) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> <sup>(</sup> <sup>_G_</sup> <sup>(</sup> <sup>_x_</sup> <sup>0,2</sup> <sup>_Dt_</sup> <sup>;</sup> <sup>_x_</sup> <sup>)</sup> <sup>_+_</sup> <sup>_L_</sup> <sup>BC(</sup> <sup>_G_</sup> <sup>(</sup> <sup>_x_</sup> <sup>BC,2</sup> <sup>_Dt_</sup> <sup>;</sup> <sup>_x_</sup> <sup>))),</sup> (8) where _L_ BC is a linear application that transforms _G_ ( _x_ 0,2 _Dt_ ; _x_ ) into _G_ (2 _x_ BC _−_ _x_ 0,2 _Dt_ ; _x_ ). Notice here that _L_ BC( _G_ ( _x_ 0,2 _Dt_ ; _x_ )) is the symmetric of _G_ ( _x_ 0,2 _Dt_ ; _x_ ) relative to _x = x_ BC (see Figure 1). In the 2D case considering the left half-space with a zero-flux BC on the vertical plane _x = x_ BC, Equation (6) becomes   (9) _∂C_ _∀t >_ 0; _∀x ∈_ ] _−∞_ ; _x_ BC ]; _∀y ∈_ R; _∂t_ - _∂∂_ 2 _xC_ <sup>2</sup> <sup>_+ ∂_</sup> _∂_ <sup>2</sup> _y_ <sup>_<u>C</u>_</sup> <sup>2</sup> _∂t_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_= D_</sup> ( _x_, _y_, _t_ ) _∀t >_ 0; _x_, _y_ lim _→−∞_ <sup>_C_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> _∀t >_ 0; _∀x ∈_ ] _−∞_ ; _x_ BC ]; _y→+∞_ lim <sup>_C_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup>  <sup><u>0</u></sup> _θ_ <sup>_δ_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_x_</sup> <sup>0,</sup> <sup>_y −_</sup> <sup>_y_</sup> <sup>0).</sup> _∀t >_ 0; _∀y ∈_ R; _−θD_ <sup>_∂C_</sup> _∂x_ <sup>_<u>C</u>_</sup> _∂x_ <sup>(</sup> <sup>_x_</sup> <sup>BC,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> _∀x ∈_ ] _−∞_ ; _x_ BC ]; _∀y ∈_ R; _C_ ( _x_, _y_,0) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> The solution of this equation (9) is the following combination of Gaussians: _∀t_ _>_ 0; _∀x_ _∈_ ] _−∞_ ; _x_ BC ]; _∀y ∈_ R; _C_ ( _x_, _y_, _t_ ) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> <sup>(</sup> <sup>_G_</sup> <sup>((</sup> <sup>_x_</sup> <sup>0,</sup> <sup>_y_</sup> <sup>0),2</sup> <sup>_Dt_</sup> <sup>;(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>))</sup> <sup>_+G_</sup> <sup>((2</sup> <sup>_x_</sup> <sup>BC</sup> <sup>_−_</sup> <sup>_x_</sup> <sup>0,</sup> <sup>_y_</sup> <sup>0),2</sup> <sup>_Dt_</sup> <sup>;(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>))).</sup> (10) The half-domain solution (10) (with zero-flux BC) will be used in subsequent subsections. 2.2. _PDE solutions with zero-flux BC’s_ The concentration-based analytical solutions shown in this section have been checked by direct substitution in their respective system of equations and their initial and BC’s. They take the form of infinite series. Using the same concept shown in this section for 2D analytical solutions, these solutions could be extended to solve 3D problems. An analytical method, analogous to that described in Appendix A, will be applied later to RWPT for treating multiple interfaces in 2D (see RWPT algorithms in Section 3.2 further below). The method used in Appendix A to obtain 2D concentration-based solutions _C_ ( _x_, _y_, _t_ ) was applied to different initial-boundary-value problems with cartesian parallel interfaces serving as Hamza Oukili _et al._ 533 Figure 1. Plot of different terms of (7) and (8) (analytical solutions). The red vertical line represents the interface: BC with zero flux. The green vertical line is the initial source position located at _x_ _=_ 2. The bold curves are the solutions inside the domain of interest, while the dashed lines are the same solutions extended outside the domain. The green bold curve is a Gaussian: it is the source solution in an infinite domain. The magenta Gaussian curve is the symmetric of the green one relative to the interface. The bold blue curve is the left-hand side of (7) and (8); it is the sum of the green and magenta curves. zero-flux planes. In these problems, each and every interface is infinite. Even when the domain is finite in one direction, the corresponding interface (orthogonal to that direction) is assumed to be infinite. This last condition restricts the application of this method to the geometric configurations of Figures 24–27. These configurations allow the solution to be the product of the 1D solution in one direction multiplied by the 1D solution in the other direction. In the following Section 3.2, it is suggested that the independence between the two directions in these concentration-based solutions implies an independence between the _X_ ( _t_ ) and _Y_ ( _t_ ) positions of particles. This is one of the key points of our RWPT algorithms to be implemented for various grain–pore systems (see results in Section 4). 2.3. _From particle positions to concentration_ Let us consider now a particle-based method to solve initial-value problems. The concentration will be determined from the particles positions PDF (note, in the present case, total mass _M_ 0 is constant, and concentration _C_ ( _x_, _t_ ) is proportional to PDF): _C_ ( _x_, _t_ ) _=_ _C_ ( _x_, _t_ ) _=_ R R _C_ ( _X_ _t_, _t_ ) _δ_ ( _X_ _t −_ _x_ )d _X_ _t_ (11) _δ_ ( _X_ _t −_ _x_ )d _mt_, (12) 534 Hamza Oukili _et al._ where _X_ _t_ and d _mt_ represent, respectively, the position and mass of an infinitesimal concentration packet (to be discretized as a “particle”). 3. Methods and algorithms Based on the previously established solution principles for the concentration-based PDE’s (see Section 2.2), this section develops an RWPT algorithm that solves diffusion problems in more complex geometries (compared to the geometries of Section 2.2). 3.1. _RWPT methods with one zero-flux BC_ RWPT methods are primarily inspired from initial-value problems (see Section 2.1). These methods consider particles to be independent. Therefore, if a particle does not encounter any interface, then it will be considered as if it were in an infinite domain, and follows the corresponding algorithm. On the other hand, the RWPT algorithm is altered for particles that do encounter interfaces (e.g., interface with zero-flux BC). 3.1.1. _RWPT in an infinite domain_ To solve (1) using particle methods in 1D, for a time _t_, we need to generate particles with a PDF equivalent to (2). Thus, these particles must follow the RV _N_ ( _x_ 0 _+_ _V t_,2 _Dt_ ), hence _X_ _t_ _= N_ ( _x_ 0 _+_ _V t_,2 _Dt_ ). (13) Using simple Gaussian RV operations, we obtain _X_ _t_ _= x_ 0 _+_ _V t +_ _~~�~~_ 2 _Dt_ ;; _N_ (0,1), (14) where _N_ (0,1) is a Gaussian RV, with 0 mean and unit variance. In conclusion, the PDF of RV _X_ _t_ is identical to the concentration solution in (2) divided by _M_ 0/ _θ_ . In 2D, to solve a pure isotropic diffusion problem (4) using a particle method, X _t_ governed by _~~�~~_ - _NX_ (0,1)� 2 _Dt_ ;;, (15) _NY_ (0,1) _+_ X _t_ _=_ - _x_ 0 _y_ 0 where _NX_ (0,1) and _Ny_ (0,1) are two independent Gaussian RV’s, with 0 mean and unit variance. 3.1.2. _RWPT in semi-infinite domain with zero-flux BC_ Let us define ΩBC and Ω <sup>_∗_</sup> BC <sup>as:</sup> <sup>ΩBC</sup> <sup>_=_</sup> <sup>]</sup> <sup>_−∞_</sup> <sup>;</sup> <sup>_x_</sup> <sup>BC ]</sup> <sup>and</sup> <sup>Ω</sup> BC <sup>_∗_</sup> <sup>_=_</sup> <sup>[</sup> <sup>_x_</sup> <sup>BC;</sup> <sup>_+∞_</sup> <sup>[,</sup> <sup>so</sup> <sup>ΩBC</sup> - Ω _∗_ BC <sup>_=_</sup> <sup>R.</sup> In Section 2.1.2, we have shown that the solution of the semi-infinite domain with zero-flux BC could be written as the sum of: the solution of the infinite domain _G_ and its symmetric _L_ BC( _G_ ) relative to the position of the interface _x_ _= x_ BC. Both are truncated on the semi-infinite domain ΩBC. On the other hand, _L_ BC( _G_ ) truncated on ΩBC is the symmetric of _G_ truncated on Ω <sup>_∗_</sup> BC <sup>.</sup> <sup>Therefore,</sup> <sup>in</sup> <sup>RWPT</sup> <sup>methods,</sup> <sup>_G_</sup> <sup>truncated</sup> <sup>on</sup> <sup>ΩBC</sup> <sup>represents</sup> <sup>the</sup> <sup>particles</sup> <sup>that</sup> <sup>did</sup> <sup>not</sup> reach the interface. The particles algorithm (i.e., infinite domain algorithm) is not altered; this is because _G_ is the solution of the infinite domain. <sup>1</sup> Whereas, _L_ BC( _G_ ) truncated on ΩBC symmetry represents the particles that crossed the interface were totally reflected (i.e., their final position is the symmetric relative to the interface). Let us define ΩBC and Ω <sup>_∗_</sup> <sup>_∗_</sup> BC <sup>as:</sup> <sup>ΩBC</sup> <sup>_=_</sup> <sup>]</sup> <sup>_−∞_</sup> <sup>;</sup> <sup>_x_</sup> <sup>BC ]</sup> <sup>and</sup> <sup>Ω</sup> <sup>_∗_</sup> BC <sup>_∗_</sup> <sup>_=_</sup> <sup>[</sup> <sup>_x_</sup> <sup>BC;</sup> <sup>_+∞_</sup> <sup>[,</sup> <sup>so</sup> <sup>ΩBC</sup> 1These considerations (properties) are due to the linearity of the corresponding PDE problem. A superposition principle is being applied; and there are analogies with Green’s functions approach and with the method of images as well. Hamza Oukili _et al._ 535 Hence, the particles Random Walk algorithm becomes, in the presence of a zero-flux plane at _x = x_ BC: - _∀p_ _X_ _t_ <sup>_p_</sup> <sup>_= N p_</sup> <sup>(</sup> <sup>_x_</sup> <sup>0,2</sup> <sup>_Dt_</sup> <sup>)</sup> _t_ <sup>_p_</sup> <sup>_> x_</sup> <sup>BC)</sup> _X_ _t_ <sup>_p_</sup> If ( _X_ _t_ <sup>_p_</sup> _t_ <sup>_p_</sup> <sup>_= N p_</sup> <sup>(</sup> <sup>_x_</sup> <sup>0,2</sup> <sup>_Dt_</sup> <sup>)</sup> _t_ <sup>_p_</sup> <sup>_=_</sup> <sup>2</sup> <sup>_x_</sup> <sup>BC</sup> <sup>_−_</sup> <sup>_x_</sup> <sup>0</sup> <sup>_−_</sup> _~~�~~_ (16) 2 _DtN_ <sup>_p_</sup> (0,1). Note here that _N_ <sup>_p_</sup> is a Gaussian random variate, that is, a given realization of the Gaussian RV, for particle number _p_ . Since its outcome is known, it can be compared to the interface position _x_ BC. 3.2. _Multiple zero-flux interfaces for RWPT_ In RWPT methods, after crossing one interface, particles may eventually cross multiple interfaces. First, because the spatial step depends on a Gaussian RV, which has unbounded values. Secondly, in multidimensional problems, particles located near a corner, for example, around two perpendicular interfaces, might cross the interfaces forming this corner [19–22]. Thus, the algorithm governing particles displacements must take into account such possibility. Therefore, this subsection proposes a generalization, analogous to the concept of Section 2.2, where the algorithm for a single interface with zero-flux boundary (16) was used to treat multiple interfaces. 3.2.1. _RWPT zero-flux BC in 1D_ Using an analogous method to the one used to solve concentration-based problem with two zero-flux BC’s (see Appendix A.1), and combining it with the RWPT algorithm for one zero-flux BC described in Section 3.1.2, the 1D RWPT for two zero-flux BC’s becomes Algorithm 1 below. Algorithm 1: RWPT algorithm in a bounded domain with zero-flux BC’s <u></u>  _N_ <sup>_n_</sup> <sup>;</sup> <sup>_p_</sup> (0,1) _∀p_ _X_ <sup>_p_</sup> <sup>�</sup> _= X_ <sup>_p_</sup> <sup>�</sup> _=_ 2 _x_ BC1 _−_ _X_ <sup>_p_</sup> <sup>�</sup> _=_ 2 _x_ BC2 _−_ _X_ <sup>_p_</sup> <sup>�</sup> _t_ <sup>_n_</sup> <sup>�</sup> _+_ <u>�</u> 2 _D_ <u>�</u> _t_ <sup>_n+_</sup> <sup>1</sup> _−_ _t_ <sup>_n_</sup> <sup><u>�</u></sup> _∉_ [ _x_ BC1; _x_ BC2] While - _X_ <sup>_p_</sup> <sup>�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup> _< x_ BC1� _X_ <sup>_p_</sup> <sup>�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup> If - _X_ <sup>_p_</sup> <sup>�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup> _> x_ BC2 - _X_ <sup>_p_</sup> <sup>�</sup> ElseIf - _X_ <sup>_p_</sup> <sup>�</sup> _t_ <sup>_n+_</sup> <sup>1�</sup>  End End Algorithm 1 calculates the final position of each particle using RWPT in a bounded 1D domain with zero-flux BC’s. Each time a particle crosses an interface, its final position undergoes a total reflection. The method used in Appendix A.1 to solve the concentration-based problem with two zeroflux BC’s is similar to the use of the method of images through infinite superpositions. Each time the method of images was used, it corrected the new term to fit the boundary condition. In RWPT, the method of images becomes a total particle reflection. If the new particle position is outside the domain [ _x_ BC1; _x_ BC2], it represents, in term of PDE’s, the tail of the solution that it is outside of the domain and needs to be corrected again. That is why reflections are repeated until the particle’s final position becomes inside the domain [ _x_ BC1; _x_ BC2]. Note here that spatial steps lengths have a finite variance because they are Gaussian distributed. This algorithm (Algorithm 1) does not have restrictions on the time step. Therefore, the time step can be set equal to the final simulation time. 536 Hamza Oukili _et al._ 3.2.2. _RWPT zero flux, interfaces in 2D_ Section 2.2 presented 2D analytical solutions for various zero-flux configurations. In all these configurations, interfaces are infinite. This condition allows the concentration-based solutions to be the product of the 1D solution in one direction multiplied by the 1D solution in the other direction. In RWPT, if the PDE of the stochastic process could be written as the product of the PDE’s of its components, then the position of _X_ and _Y_ are independent. In this case, there are no restrictions on the time step and the 2D RWPT algorithm can be expressed as Algorithm 1 applied to _X_ and _Y_ . On the other hand, if interfaces are not infinite, then it can be demonstrated that the concentration-based solution cannot be written as a product of two functions with separate and independent variables. The proposed following algorithm (Algorithm 2) is a generalization of the infinite interface case taking into account the case of finite interfaces and complex geometries in a Cartesian mesh. Algorithm 2: 2D RWPT for infinite or finite interfaces with zero-flux BC 2 <sup>(</sup> <sup>_p_</sup> <sup>)</sup> . <u>1</u> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> and _X_ 2 <sup>(</sup> <sup>_p_</sup> <sup>)</sup> . (1) Consider particle (2) For _i_ _∈_ {1;2}; _X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ - _p_ with mass _mp_ and position _X_ <u>1</u> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> - _t_ <sup>_n+_</sup> <sup>1�</sup> _= X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ - _t_ <sup>_n_</sup> <sup>�</sup> _+_ 2 _D_ <u>�</u> _t_ <sup>_n+_</sup> <sup>1</sup> _−_ _t_ <sup>_n_</sup> <sup><u>�</u></sup> _N_ <sup>_n_</sup> <sup>;</sup> <sup>_p_</sup> (0,1) _i_ _N_ <sup>_n_</sup> <sup>;</sup> <sup>_p_</sup> _i_ _i_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> ( _t_ <sup>_n_</sup> ) _i_ ; _X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> (0) _= X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ _i_ - _t_ <sup>_n+_</sup> <sup>1�</sup> (3) - _X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ _u =_ sign <sup>(</sup> <sup>_p_</sup> <sup>)</sup> (1) _= X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ _i_ _u =_ sign - _N_ <sup>_n_</sup> <sup>;</sup> <sup>_p_</sup> (0,1)� _t_ <sup>0</sup> _=_ 0 (4) while particle ( _k_ ) crosses interfaces do - _N_ <sup>_n_</sup> <sup>;</sup> <sup>_p_</sup> (0,1) (a) Calculate the times _t_ 1 and _t_ 2 when ( _k_ ) reach the nearest interface in the x and y directions (b) [ _I_ ; _tI_ ] _=_ min( _t_ 1, _t_ 2); _i_ is the direction that reached its interface first ( _I_ could be either direction 1 or 2) and _tI_ is its corresponding time <u>�</u> _NI_ <sup>_n_</sup> <sup>;</sup> <sup>_p_</sup> (0,1) (c) (d) (e) (5) end (6) _X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ - _X_ _I_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _I_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> (0) _= X_ Interface _I_ _~~�~~_ _~~�~~_ 3 <sup>(</sup> _−_ <sup>_p_</sup> <sup>)</sup> _I_ <sup>(0)</sup> <sup>_= X_</sup> <sup>(</sup> 3 _−_ <sup>_p_</sup> <sup>)</sup> _I_ <sup>(0)</sup> <sup>_+_</sup> <sup>_u_</sup> <sup>3</sup> <sup>_−I_</sup> 2 _D_ - _~~�~~_ _tI −_ _t_ <sup>0</sup> _X_ 3 <sup>(</sup> _−_ <sup>_p_</sup> <sup>)</sup> _I_ _uI_ _= −uI_ _t_ <sup>0</sup> _= tI_ _−_ <sup>_~~�~~_</sup> _tI_ <u>�</u> _N_ <sup>_n_</sup> <sup>;</sup> <sup>_p_</sup> (0,1) _i_ - _i_ _∈_ {1;2}; _X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ _i_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> (0) _+_ _ui_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> (1) _= X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> _i_ _i_ _~~�~~_ ��� 2 _D_ _t_ <sup>_n+_</sup> <sup>1</sup> _−_ _t_ <sup>_n_</sup> <sup><u>�</u></sup> - _t_ <sup>_n+_</sup> <sup>1�</sup> _= X_ <sup>(</sup> <sup>_p_</sup> <sup>)</sup> (1) _i_ Algorithm 2 calculates the final position for particles using RWPT in a 2D domain with zeroflux interfaces. Each time a particle crosses an interface, its final position undergoes a 2D total reflection based on the analytical method of images. Particles may cross interfaces multiple times in the same time step. Every time they do, there their position is recalculated. 3.2.3. _Discussion on time step size_ Algorithm 1 requires particles to encounter interfaces that are only parallel to each other. Hence, the generalization to Algorithm 2. However, this algorithm (Algorithm 2) requires a time step small enough that most particles do not encounter multiple horizontal and vertical interfaces during a single time step. Therefore, the maximum spatial step of a particle should Hamza Oukili _et al._ 537 Figure 2. Effective diffusivity versus time step. The bold blue curve represents the effective diffusivity plotted against the time step chosen for the simulation. The horizontal dashed red line correspond to the value of effective diffusivity using a time step ∆ _t_ _=_ 10 <sup>_−_</sup> <sup>3</sup> (or roughly ∆ _t_ _≤_ 10 <sup>_−_</sup> <sup>2</sup> ). The vertical dashed green line corresponds to the time step ∆ _t_ _=_ 10 <sup>_−_</sup> <sup>2</sup> used in all subsequent simulations. not be greater than the characteristic length of the microgeometry. This limitation could be interpreted in terms of constraints as follows: max(∆ _X_ step) _≤_ _λ_ PORE (17) max �� 2 _D_ PORE∆ _t Z_ _≤_ _λ_ PORE, (18) where _Z_ is a normalized Gaussian RV _N_ (0,1). ∆ _t ≤_ _λ_ <sup>2</sup> 2 _D_ POREPORE(max( _Z_ )) <sup>2</sup> <sup>.</sup> (19) For this problem of 2D grain/pore, the maximum absolute value of the Gaussian RV will not exceed 7 in practice (knowing that the probability of the absolute value of a normal Gaussian RV to exceed 7 is around 10 <sup>_−_</sup> <sup>12</sup>, this probability is calculated from the cumulative distribution function of the normal distribution). Hence, we replace (max( _Z_ )) <sup>2</sup> by 50, and (19) becomes <u>PORE</u> ∆ _t ≤_ 10 <sup>_−_</sup> <sup>2</sup> <sup>_λ_</sup> <sup>2</sup> _D_ PORE . (20) In addition, we should keep in mind that for the same simulation time, a small time step costs more in term of computational time compared to a larger time step. Hence, we choose the largest time step that verifies condition (20). In the following subsection, we take _λ_ PORE _=_ 1 and _D_ PORE _=_ 1, therefore the time step is equal to ∆ _t_ _=_ 10 <sup>_−_</sup> <sup>2</sup> . Furthermore, to validate ∆ _t_ _=_ 10 <sup>_−_</sup> <sup>2</sup>, we repeated the same simulations with different time steps. The result in terms of the calculated effective diffusion coefficient (explained later in Section 4.1.1) is shown in Figure 2 versus time step size. It is clear that the constraint ∆ _t ≤_ 10 <sup>_−_</sup> <sup>2</sup> is adequate, and required. 538 Hamza Oukili _et al._ Figure 3. 2D Micromodel motif for a 75% porosity. The red square represents the grain, the white region represents the pore. 3.3. _Grain–pore micromodel_ 3.3.1. _Grain/pore motif and pattern_ This subsection describes the first geometric configuration that will be studied. Figure 3 represents the Grain/Pore motif that will be repeated, periodically and indefinitely, to create the infinite domain geometry. The red square corresponds to the grain while the pore is in white. The area of the pore divided by the area of the whole motif (grain/pore), is the porosity of the motif (in this case _θ =_ 75%). Since the infinite domain geometry is a periodic repetition of the previous motif (see Figure 4), then the effective porosity of the infinite domain is the same: _θ_ eff _=_ 75%. 3.3.2. _Representative elementary volume (REV)_ For this kind of periodic structure, we could naively imagine that the REV would be composed of one grain and three pores as shown in Figure 3. However, for this particular problem of the diffusion from an initial source in an infinite domain, we will later define the REV using a convergence criterion for macroscopic properties (such as effective diffusivity). The first macroscopic property to be studied here is the porosity ( _θ_ ). To define the REV using the macroscopic porosity, we define first a square surface (in 3D, we would have used a volume) in which the effective porosity is calculated. In most cases, the surface is taken as a disc (sphere in 3D), but here, in the interest of simplicity, we take a square. This area will be related to a “radius” (distance from the center (the initial source position) to the area’s edge). This “radius” is equal to half the edge of the square, in the case of a disc, this distance is the radius of the disc. Later we will use this “radius” to define the limits of our REV. Figure 5 plots the porosity inside a square against the “radius” of this square. In Figure 4, the blue dot represents the center of the square, and the three magenta squares are examples of areas over which the porosity is calculated. The three magenta vertical lines in Figure 5 correspond to the magenta squares outlined in Figure 4. Simulation time. The simulation time should be large enough for the particles to explore the domain consisting of one or several representative elementary volumes (REVs). Thus, the reference size specific to the simulation time ( _L_ REF) could be a few times the typical REV length scale ( _L_ REV). Hamza Oukili _et al._ 539 Figure 4. 2D Micromodel comprising 20 _×_ 20 grains (red squares). The blue dot in the center is used as the initial source. The three square frames in magenta represent upscaling domains of various sizes. The simulation time can be estimated by equating the reference size ( _L_ REF) to the standard deviation displacement (i.e., the so-called root-mean-square dispersion length). This yields the estimated simulation time for the particle cloud to explore a few times the typical REV length scale of the grain/pore system: _T_ Simu _∼_ _L_ <sup>2</sup> <u>REF</u> . (21) 2 _D_ eff 4. Results and discussion This section analyzes the results of simulations of diffusion of an initial source inside the pores of a composite media pore/grain. Different structures are studied, either isotropic or anisotropic and with different porosities. For each case, an upscaling method, using the time-dependent moments of particles positions, is applied to determine the macro-properties of the composite media (essentially, effective porosity tortuosity, and diffusion coefficient). 4.1. _Isotropic grains_ ( _λ_ Grain, _X_ _= λ_ Grain, _Y_ ) 4.1.1. _Porosity θ =_ 75% The first grain/pore configuration, where the diffusion (Algorithm 2) will be tested, is the one described in Figure 4. An initial source diffuses inside the center of the pore at the position (0.5;0.5). The result of the simulation is shown in Figure 6. The blue dots represents the particles 540 Hamza Oukili _et al._ Figure 5. Porosity profile versus “radius” of the upscaling domain expressed in pore size units in bold blue curve. The horizontal bold red line is the effective porosity of the infinite domain 75%. The horizontal dashed red lines are _±_ 5% of the bold red line. The vertical magenta bold lines correspond to the three magenta squares outlined in Figure 4. Figure 6. 2D plot of particles positions (blue dots): result of diffusion simulation at time _tF_ _> T_ Simu in the geometry of Figure 4. Hamza Oukili _et al._ 541 Figure 7. Zoom at the center of Figure 6: 2D plot of particles positions (blue dots) results of diffusion simulation at time _tF_ _> T_ Simu, in the geometry of Figure 4. after time _tF_ _=_ 20. This time is chosen so that enough particles have explored the periodic infinite domain, which means that the particles spread over more than one REV. Figure 7 is a zoom of Figure 6 centered on the position of the initial source (0.5;0.5). It shows clearly that particles are found anywhere but inside the squared grains. Algorithm 2 makes particles bounce off the grains. After post-processing, as described in Section 2.3, Figure 8 is obtained. In this figure, concentrations _C_ ( _x_, _y_ ) were computed as 2D histograms based on the smallest histogram bins corresponding pore size _λ_ PORE. They represent the 2D concentrations of particles. As one might predict, the highest concentrations are found near the center where the initial source was (0.5;0.5). Then, the concentration drops gradually while moving further away from the center, as expected. Effective diffusivity. There are different methods to calculate the effective diffusivity. The most common one in the literature uses the concentration gradient in a Dirichlet bounded domain [23]. This study uses the second order spatial moments of particles positions _M_ 2( _t_ ): _M_ 2( _t_ ) _=_ - _σ_ 2 _X_ _σX Y_ _σY X_ _σ_ <sup>2</sup> _Y_ . (22) If _M_ 2( _t_ ) is diagonal then _M_ 2( _t_ ) _=_ _σ_ <sup>2</sup> ( _t_ ) _I_, with _I_ is the identity matrix. Then, the effective diffusivity is determined by one of the two following equations: _D_ eff _=_ <sup>_σ_</sup> <sup>2</sup> (23) 2 _t_ <sup><u>1</u></sup> <u>d</u> _σ_ <sup>2</sup> 2 d _t_ _D_ eff _=_ <sup><u>1</u></sup> d _t_ <sup>.</sup> (24) Figures 10 and 11 plot the effective diffusivity as defined in (23). The convergence of the effective diffusivity is defined as: it is convergent when its value stays between _±_ 1% of its final mean value. This happens at around _t =_ 1 close to the value predicted by (21). 542 Hamza Oukili _et al._ Figure 8. 2D plot of concentrations of the simulated particle cloud shown in Figure 6. Initially, the effective diffusivity is equal to the local diffusion coefficient inside the pore. _D_ eff stays equal to _D_ 0 until particles start encountering grains interfaces. Then, as times goes by, particles bounce off the grains, which limits their diffusion, and _D_ eff starts slowly to decline, until it converges toward its final value (because of the periodicity of the geometry), which is smaller than _D_ 0 due to tortuosity effect. The REV can be defined from the convergence in time of macro-properties. From Figure 11, we determine that effective diffusivity converges at time equal to 1. Hence, the effective diffusivity REV would have a “radius” of about ~~�~~ 2 _D_ eff _t_ max( _Z_ ). Therefore, the effective diffusivity REV “radius” is around 8.5. On the other hand, the geometrical porosity REV “radius” is around 7 (see Figure 5). The two REV’s sizes are relatively close, which could be explained by the dependency between the porosity and the effective diffusivity (and their relative convergence). The small difference between the two REV’s sizes could be explained by the approximation shape of the REV’s, square for the porosity REV and circle for the effective diffusivity REV. Figure 9 shows the trajectories of 3 particles. The particles circumvent the grains (red squares), and that is what creates the tortuosity of the system. As a comparison, we will now vary the porosity of the medium in order to investigate the effects of porosity on the effective diffusivity. 4.1.2. _Experiments with different porosities_ Table 1 shows the results of different simulations with different Grain/Pore configurations. In all the configurations tested in this table, the grains are taken as squares, characterized by their size _λ_ Grain. Usually, we refer the tortuosity to be the ratio of the molecular diffusion to the effective diffusion value. In the literature, we can find several definitions and empirical laws Hamza Oukili _et al._ 543 Figure 9. Plot of the trajectories (green, brown, and magenta) of 3 particles inside the grain/pore system of Figure 4: the red squares are the grains and the white regions are the pores. The bold blue dot is the initial position _x =_ (0.5;0.5) of the three particles. The green, brown, and magenta stars are the final positions of the particles. Figure 10. Effective diffusivity versus time. The blue and green bold curves are the variance of the positions _X_ and _Y_ respectively divided by (2 _∗_ _t_ ) with _t_ is the time. The red bold line is the mean value of the variance 0.753. The red dashed lines are _±_ 1% of the bold red line. 544 Hamza Oukili _et al._ Figure 11. Log–log of Figure 2 effective diffusivity versus time. The blue and green bold curves are the variance of the positions _X_ and _Y_ respectively divided by (2 _∗_ _t_ ) with _t_ is the time. The red bold line is the mean value of the variance 0.753. The red dashed lines are _±_ 1% of the bold red line. Table 1. Porosity versus effective diffusivity versus tortuosity for different configurations _<u>λ</u>_ <u>Grain/</u> _<u>λ</u>_ <u>Pore</u> <u>1</u> <u>4</u> <u>9</u> <u>19</u> <u>49</u> <u>99</u> _θ_ 75% 36% 19% 9.75% 3.96% 1.99% _D_ eff 0.753 0.586 0.542 0.521 0.508 0.504 _τ_ <sup>2</sup> 1.33 1.71 1.84 1.92 1.97 1.98 _θD_ eff, from this work 0.565 0.211 0.103 0.051 0.02 0.01 _<u>θD</u>_ <u>eff from [26]</u> <u>0.583</u> <u>0.213</u> <u>—</u> <u>—</u> <u>—</u> <u>—</u> used to determine tortuosity values. For instance, [24,25] have developed correlations in order to determine the tortuosity values. they are directly related to the gas saturation and the porosity. Here the porosity is calculated using the formula (25): <u>1</u> _+_ _λ_ <u>Grain,</u> _<u>X</u>_ _+_ _λ_ <u>Grain,</u> _<u>Y</u>_ _θ =_ . (25) 1 _+_ _λ_ Grain, _X_ _+_ _λ_ Grain, _Y_ _+_ _λ_ Grain, _X λ_ Grain, _Y_ With isotropic grains we have _λ_ Grain, _X_ _= λ_ Grain, _Y_ _= λ_ Grain, and _λ_ Pore _=_ 1. The tortuosity is calculated according to the definition of [23]: _τ_ <sup>2</sup> _=_ <sup>_<u>Dm</u>_</sup> _D_ eff with _Dm_ is the diffusion coefficient inside the pore (also denoted here _D_ 0). (26) For the two first columns, we are in an excellent agreement with the results reported by [26]. Unfortunately, the results for the other porosities are not available in order to completely validate this set of numerical experiments. Thus, the results of this work are compared with the following models (plotted in Figure 12): _•_ Maxwell [27] analyzed analytically a dilute suspension of spheres and obtained: _θ_ _θD_ eff _=_ 1 _+_ (1 _−_ _θ_ )/2 <sup>.</sup> (27) _•_ Weissberg [28] used a variational method and proposed the following: _θ_ _θD_ eff _=_ 1 _−_ ln( _θ_ )/2 <sup>.</sup> (28) Hamza Oukili _et al._ 545 Figure 12. Plot of _θD_ eff versus _θ_ . The black, magenta, green, and red curves correspond, respectively, to _θD_ eff of Maxwel, Weissberg, _θ_ <sup>1.4</sup> and _θ_ <sup>2</sup> models. The green _×_, brown _+_ correspond, respectively, to Ryan’s and Kim’s work. The bold blue circles correspond to the results of this work in Table 1. _•_ Wakao and Smith [29] using a micropore macropore model proposed: _θD_ eff _= θ_ <sup>2</sup> . (29) _•_ Kim _et al._ [30] proposed the empirical formulation: _θD_ eff _= θ_ <sup>1.4</sup> . (30) Figure 12 shows that the results of this study (the blue circles) are relatively close to results found in the literature. The small differences might be due to the difference of grain shapes (e.g., Maxwell [27] uses spherical grains for his study), or due to the grains arrangements (which are different between studies [28–30]). However, for this particular isotropic periodic case, the analytical expressions give very good approximations of the effective diffusivity. Figure 13 shows clearly that the effective tortuosity of the Grain/Pore geometry tends toward the geometric tortuosity: _λ_ <u>Grain,</u> _<u>X</u>_ _+_ _λ_ <u>Grain,</u> _<u>Y</u>_ _τ =_ <u>�</u> _λ_ <sup>2</sup> Grain, _X_ <sup>_+_</sup> <sup>_λ_</sup> <sup>2</sup> <sup>2</sup> Grain, _X_ <sup>_+_</sup> <sup>_λ_</sup> <sup>2</sup> (31) Grain, _Y_ _~~�~~_ as found in the literature [31]. When _λ_ Grain, _X_ _= λ_ Grain, _Y_, then _τ =_ 2. Figure 14 plots the tortuosity versus the porosity. This figure shows that for _θ_ _∈_ [0;0.36], the tortuosity is linear with the porosity with a determination coefficient _R_ <sup>2</sup> _=_ 99.99% and the corresponding empirical formula is _τ ≈_ 4.2. _Anisotropic grains_ ( _λx > λy_ ) _~~�~~_ 2 _−_ 0.3 _θ = τ_ geo _−_ 0.3 _θ_ . (32) This subsection studies micro- and macroscopic diffusion in anisotropic geometries. 546 Hamza Oukili _et al._ Figure 13. Plot of Table 1. Red, blue, and green bold curves correspond, respectively, to the squared tortuosity, the effective diffusivity, and the porosity plotted versus the anisotropy ratio. The dashed red, blue, and green lines correspond to the squared geometric tortuosity ( _τ_ <sup>2</sup> geo <sup>_=_</sup> <sup>2), effective diffusivity (</sup> <sup>_D_</sup> <sup>eff;geo</sup> <sup>_=_</sup> <sup>0.5), and porosity (</sup> <sup>_θ_</sup> <sup>geo</sup> <sup>_=_</sup> <sup>0).</sup> Figure 14. Tortuosity versus porosity. The bold blue curve with diamonds is the tortuosity from _θ ∈_ [0;0.36]. The green line is a linear ( _τ =_ 1.41 _−_ 0.3 _θ_ ) fitting of the blue curve with an _R_ <sup>2</sup> _=_ 99.99%. The red curve with circles is the tortuosity from _θ ∈_ [0;0.75]. 4.2.1. _Representative elementary volume (REV) for anisotropic grains_ Similar to the isotropic structure, the anisotropic REV is larger than one grain and three pores. Particles need to explore this structure multiple times to extract macroscopic properties. The REV is defined from the convergence of macroscopic properties. For elongated grains, the REV is elongated in the same direction as the grains. On the other hand, since particles _X_ and _Y_ displacements are dependent, _X_ and _Y_ macroscopic properties reach their convergence at the same simulation time. Hamza Oukili _et al._ 547 Figure 15. 2D concentrations of particles in anisotropic geometry with _θ =_ 75%. The ratio between _λx_ and _λy_ is 8. 4.2.2. _Anisotropic geometry with porosity θ =_ 75% Figure 15 shows 2D concentration histogram of the result of an anisotropic test case with elongated grain _λx_ / _λy_ _=_ 8, and with the same porosity as previously used _θ =_ 75%. According to the previous analysis, we can extract from our results the values of _D_ eff; _X_ _=_ 0.64 and _D_ eff; _Y_ _=_ 0.5. Then it could be compared with the results available in [30]. In a similar case, with _λx_ / _λy_ _=_ 7.5, they found a value of _D_ eff; _X_ _=_ 0.717 and _D_ eff; _Y_ _=_ 0.175. However, it might be noticed that the microstructure is not exactly the same as the solid particles are staggered and not in line, in addition, the shape of the pores in [30] are elongated _λX_ Pore/ _λY_ Pore _=_ 0.77 while the shape in the example of this study is taken as _λX_ Pore/ _λY_ Pore _=_ 8. So, it could generate different values of tortuosity. 4.2.3. _Anisotropic geometry with porosity θ =_ 36% Anisotropy ratio _λx_ / _λy_ _=_ 2 . Figures 16–18 shows the results of the diffusion of an initial source inside the center of a pore. The domain is a periodic repetition of a motif grain/pore with rectangular grains. The grain’s length is two times longer than its width, and six times longer than the width of the pore. The periodic repetition of this motif creates an anisotropic infinite domain with a porosity of _θ =_ 36%. Figure 19 and its zoom Figure 20 plots the mean normalized concentration on each direction and divided by the local porosity to obtain the concentration inside the pores. These 1D effective 548 Hamza Oukili _et al._ Figure 16. 3D Histogram of particles in anisotropic 2D geometry with _θ =_ 36%. The ratio between _λx_ and _λy_ is 2. Figure 17. 3D Contour of particles positions in anisotropic 2D geometry with _θ =_ 36%. The ratio between _λx_ and _λy_ is 2. concentration profiles were obtained by directional averaging in _x_ and _y_ : _C_ <sup>_y_</sup> ( _x_ ) _=_ <sup><u>1</u></sup> _Ly_ _C_ ( _x_, _y_ )d _y_ . (33) Hamza Oukili _et al._ 549 Figure 18. 2D concentrations of particles in anisotropic 2D geometry with _θ_ _=_ 36%. The ratio between _λx_ and _λy_ is 2. Table 2. Macroscopic properties (effective diffusion and tortuosity on the _x_ and _y_ directions) for different configurations (different ratios of lengths of elongated grains) with a fixed porosity _θ =_ 36% _<u>λx</u>_ <u>/</u> _<u>λy</u>_ <u>4/4</u> <u>6/3</u> <u>24/2</u> _θ_ 36% 36% 36% _D_ eff; _X_ 0.586 0.726 0.930 _D_ eff; _Y_ 0.586 0.429 0.126 _τ_ <sup>2</sup> _x_ 1.71 1.38 1.08 _τ_ <sup>2</sup> _x_ 1.71 1.38 1.08 _τ_ <sup>2</sup> _<u>y</u>_ <u>1.71</u> <u>2.33</u> <u>7.94</u> <sup>2</sup> _<u>y</u>_ <u>1.71</u> <u>2.33</u> <u>7.94</u> It is clear that the diffusion inside the pores at the microscopic level (inside the pores) behaves as a pure diffusion in the macroscopic level with the macro-properties calculated using moments particles positions (see Figure 21). Table 2 displays the results of different simulations in different configurations of grains/pores with the same porosity _θ =_ 36% and different anisotropy ratios _a = λx_ / _λy_ . For any given porosity _θ_ 0, and any given anisotropy ratio “ _a_ ”, Equation (34) gives ( _λx_, _λy_ ) such that _λx_ / _λy_ _= a_, and such that the desired macroscale porosity _θ_ 0 is satisfied: <u>4</u> _<u>a</u>_ 1 _+_ (1 _+ a_ ) <sup>2</sup> (34)   _θ_ 0 _λy_ _=_ <sup><u>1</u></sup> <sup>_−_</sup> <sup>_θ_</sup> <sup><u>0</u></sup> <u>1</u> _+ a_ 2 _a_ 1 _+_ _θ_ <u>0</u> 1 _−_ _θ_ 0  _λx = aλy_ . 4.2.4. _Anisotropic geometry with porosity θ =_ 19% _and θ =_ 9.75% The results shown in Tables 2–4 suggest the following trends: _•_ The longer a grain is in one direction, the higher its effective diffusion is in this same direction. 550 Hamza Oukili _et al._ Figure 19. Effective concentration profiles _C_ ( _x_ ) and _C_ ( _y_ ) for anisotropic microgeometry: the bold blue and red curves correspond, respectively, to the mean (on direction _x_ and _y_ ) concentration plotted against direction _x_ and _y_ . The bold green and magenta curves correspond, respectively, to the analytical Gaussian functions with diffusive coefficient _D_ eff; _X_ _=_ 0.726 and _D_ eff; _Y_ _=_ 0.429. _•_ When the anisotropic ratio _λx_ / _λy_ tends toward infinity, the effective diffusion tends toward 1 in the direction of the elongated grains ( _X_ ), while in the opposite direction ( _Y_ ) it tends toward 0. _•_ For a constant porosity, we have observed that the sum of the effective diffusivity of both directions stays constant regardless of the anisotropic ratio (see Figure 22). The plot of effective diffusivity versus anisotropy ratio in Figure 22 shows that: for a constant anisotropy ratio, effective diffusivities of both directions increase with the porosity. In addition, for the configuration studied in this paper (rectangular periodic grains), the effective diffusivity components along the _X_ and _Y_ directions are related to the isotropic effective diffusivity through the following equation _D_ eff;iso _=_ <sup>_D_</sup> <sup><u>eff;</u></sup> <sup>_<u>X</u>_</sup> <sup>_+_</sup> <sup>_D_</sup> <sup><u>eff;</u></sup> <sup>_<u>Y</u>_</sup> . (35) 2 Equation (35) holds for a given (fixed) porosity. _D_ eff, _X_ and _D_ eff, _Y_ are effective diffusivity components along the _X_ and _Y_ directions for the same anisotropic configuration, while _D_ eff,iso is the effective diffusivity of the isotropic configuration ( _λx_ / _λy_ _=_ 1). Figure 23 shows a fit of the tortuosity obtained numerically with the following analytical function: �(3/4) _+_ _τ∞_ (36) _τ_ fit; _Y_ _=_ ( _τ_ iso _−_ _τ∞_ ) - _λx_ _λy_ with _τ_ iso is the tortuosity in an isotropic configuration and _τ∞_ _=_ 1 is the _X_ tortuosity when _λx_ / _λy_ _→∞_ . Hamza Oukili _et al._ 551 Figure 20. Effective concentration profiles _C_ ( _x_ ) and _C_ ( _y_ ): zoom on the center of Figure 19. Figure 21. 2D concentrations of particles in anisotropic geometry with _θ =_ 36%. The ratio between _λx_ and _λy_ is 12. 552 Hamza Oukili _et al._ Figure 22. Effective diffusivity versus anisotropy ratio _λx_ / _λy_ : the bold green curves with stars are for porosity _θ =_ 36%. The bold red curves with squares are for porosity _θ =_ 19%. The bold blue curves with circles are for porosity _θ =_ 9.75%. For each color, the higher curve is _D_ eff, _X_ and the lower curve is _D_ eff, _Y_ . Figure 23. Tortuosity versus anisotropy ratio _λx_ / _λy_ for a porosity _θ =_ 9.75%. The blue bold curve with circles is _τx_ . The bold red circles are _τy_ . The bold green curve is the analytical function: _τ_ fit; _Y_ _=_ ( _τ_ iso _−_ _τ∞_ )( _λx_ / _λy_ ) <sup>(3/4)</sup> _+_ _τ∞_ . This fit (36) is in agreement with theoretical expectations for extreme anisotropy ratio _λx_ / _λy_ _→_ _∞_ (diffusion occurs only on the _X_ direction), and for the isotropic case _λx = λy_, where _τ_ fit; _Y_ _= τ_ iso. Hamza Oukili _et al._ 553 Table 3. Macroscopic properties (effective diffusion and tortuosity on the _x_ and _y_ directions) for different configurations (different ratios of lengths of elongated grains) with a fixed porosity _θ =_ 19% _<u>λx</u>_ <u>/</u> _<u>λy</u>_ <u>9/9</u> <u>10/8</u> <u>12/7</u> <u>17/6</u> <u>34/5</u> _θ_ 19% 19% 19% 19% 19% _D_ eff; _X_ 0.542 0.593 0.654 0.763 0.881 _D_ eff; _Y_ 0.542 0.500 0.412 0.309 0.159 _τ_ <sup>2</sup> _X_ 1.84 1.686 1.53 1.31 1.13 _τ_ <sup>2</sup> _X_ 1.84 1.686 1.53 1.31 1.13 _τ_ <sup>2</sup> _<u>y</u>_ <u>1.84</u> <u>2.00</u> <u>2.40</u> <u>3.23</u> <u>6.27</u> <sup>2</sup> _<u>y</u>_ <u>1.84</u> <u>2.00</u> <u>2.40</u> <u>3.23</u> <u>6.27</u> Table 4. Macroscopic properties (effective diffusion and tortuosity on the _x_ and _y_ directions) for different configurations (different ratios of lengths of elongated grains) with a fixed porosity _θ =_ 9.75% _<u>λx</u>_ <u>/</u> _<u>λy</u>_ <u>19/19</u> <u>20/18</u> <u>22/17</u> <u>23/16</u> <u>26/15</u> <u>29/14</u> <u>35/13</u> <u>44/12</u> <u>64/11</u> <u>137/10</u> _θ_ 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% _D_ eff; _X_ 0.521 0.534 0.583 0.605 0.628 0.673 0.715 0.782 0.852 0.948 _<u>D</u>_ <u>eff;</u> _<u>Y</u>_ <u>0.521</u> <u>0.512</u> <u>0.467</u> <u>0.431</u> <u>0.396</u> <u>0.360</u> <u>0.293</u> <u>0.235</u> <u>0.164</u> <u>0.078</u> 5. Conclusion and perspectives 5.1. _Conclusion_ This study proposed an RWPT algorithm based on 2D/3D analytical solutions (that we have verified and proved the convergence) for zero-flux conditions. The new algorithm handles multiple reflections in the same time step, in addition to making the time step larger with less restrictions. With these larger time steps, the RWPT algorithm becomes computationally more efficient compared to previous algorithms. This efficiency is more prominent for anisotropic configurations. The algorithm was applied for diffusion of an initial source in an infinite domain (i.e., domain large enough so that the particles do not reach the domain edges during the simulation) with different configurations of grains and pores (different porosities in isotropic systems, and constant porosity with different anisotropic configurations). The aim is a multi-scale study from the microscale of grains and pores to the macroscale level. It leads to macro-properties (porosity, effective diffusivity, tortuosity in different directions). The upscaling method uses time-dependent moments of particles positions. While previous studies used steady state simulations with periodic boundary conditions. In this study, we used dynamic transient simulations in an infinite domain, which ultimately allowed us to define the REV from the convergence in time of macroproperties. The time step sensitivity study validated the time step choice for simulations. Results show the scale dependence of effective diffusion dynamically through both space and time scales. And the macro-properties converge toward the geometric theoretical values when the Grain/Pore geometry’s porosity tends toward zero. Finally, results lead to new correlations that can be used to better understand the upscaling of media properties. 5.2. _Perspectives_ The strong analogy between the stochastic and the deterministic approaches allowed us to propose a new 2D RWPT algorithm. Similarly, using 3D deterministic approaches, the model 554 Hamza Oukili _et al._ can be extended to simulation in 3D instead of 2D. The new less restrictive criterion on the time step can also help reduce the calculation time. Simulation results obtained not only complete previous upscaling results, but also extrapolate them into new empirical correlations that can help expend our knowledge of the upscaling. Moreover, a velocity component could be added to the RWPT algorithm, either by combining advective and diffusive transport in a single step, or by separating them with one diffusive sub-step followed by one advective sub-step. In addition, the grains can be replaced by porous aggregates with their own local porosity and diffusion coefficient (e.g., solute diffusion in a dual porous medium, or possibly, pressure diffusion in a dual porous medium). And finally, the deterministic microgeometries of pore–grain or poreaggregate structures could be randomized in order to study their macroscale properties in terms of their random structure using the same random walk particle-based approach. Acronyms used in this text BC Boundary conditions PDE Partial differential equations PDF Probability density function 1D One-dimensional 2D Two-dimensional RWPT Random walk particle tracking REV Representative elementary volume Appendix A. Detailed PDE solutions under various geometries with zero-flux BC’s A.1. _1D zero flux, finite domain_ This subsection describes the method to solve 1D zero-flux problems in finite domain. This method will be used further below to propose the RWPT algorithm for multiple zero-flux BC. As explained in Sections 2.1.2 and 3.1.2, the solution of a semi-infinite domain with a zero-flux boundary condition can be expressed as: the sum of the solution in an infinite domain _G_ and of its symmetric relative to the position of the boundary _L_ BC1( _G_ ). This superposition approach takes advantage of the linearity of the diffusion PDE, and it is analogous to the method of images. Thus, _L_ BC1( _G_ ) added to _G_ could be considered as a correction so that it fits the first zero-flux condition (BC1), noting that the second condition BC2 is already taken into account in the analytical solution “ _G_ ” of (3).  _∂C_  _∀∀tt > >_ 0; 0; _∀x ∈_ [ _x_ BC1; _x_ BC2]; _−∂θt_ _D_ <sup>(</sup> <sup>_x∂_</sup> <sup>,</sup> <sup>_<u>Ct</u>_</sup> <sup>)</sup> <sup>_= D ∂_</sup> _∂_ <sup>2</sup> _x_ <sup>_<u>C</u>_</sup> <sup>2</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> _∂x_ <sup>(</sup> <sup>_x_</sup> <sup>BC1,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> _∂∂Ct_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_= D ∂_</sup> _∂_ <sup>2</sup> _x_ <sup>_<u>C</u>_</sup> <sup>2</sup> _∂C_ _∀t >_ 0; _∀x ∈_ [ _x_ BC1; _x_ BC2]; _∂t_ _∂_ <sup>2</sup> _x_ <sup>_<u>C</u>_</sup> <sup>2</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> _∀t >_ 0; _−θD_ <sup>_∂C_</sup> _∂x_ _∀t >_ 0; _−θD_ <sup>_∂C_</sup> _∂x_ (37)  <sup>_<u>C</u>_</sup> _∂x_ <sup>(</sup> <sup>_x_</sup> <sup>BC1,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> <sup>_∂C_</sup> _∂x_ <sup>(</sup> <sup>_x_</sup> <sup>BC2,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> <sup><u>0</u></sup> _θ_ <sup>_δ_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_x_</sup> <sup>0).</sup> _∀x ∈_ [ _x_ BC1; _x_ BC2]; _C_ ( _x_,0) _=_ <sup>_<u>M</u>_</sup> _θ_ <sup><u>0</u></sup> Therefore, in this paper, to solve the problem of (37) with two zero-flux BC’s, we propose to apply the same concept for both BC’s, that is, adding also _L_ BC2( _G_ ) to the solution _G_ so that it fits zero-flux BC number 2 too. However, although _G_ has now been corrected to fit both BC’s, _L_ BC1( _G_ ) and _L_ BC2( _G_ ) do not fit zero-flux BC2 and BC1, respectively. Hence, once again, using the same algorithm _L_ BC1( _G_ ) is corrected by adding _L_ BC2( _L_ BC1( _G_ )), so that _L_ BC1( _G_ ) _+ L_ BC2( _L_ BC1( _G_ )) does fit zero-flux BC2. Similarly, _L_ BC2( _G_ ) is corrected by adding _L_ BC1( _L_ BC2( _G_ )), so that _L_ BC2( _G_ ) _+_ Hamza Oukili _et al._ 555 _L_ BC1( _L_ BC2( _G_ )) does fit zero-flux BC1. Equation (38) shows how _G_ (the solution of the infinite domain) is corrected by adding the terms to fit BC1 and BC2, respectively. Equation (38) shows that for each correction, we add a new layer of corrections ad infinitum: _C_ _= G +_ _L_ BC1( _G_ ) _+_ _L_ BC2( _G_ ) _+_ _L_ BC2( _L_ BC1( _G_ )) _+_ _L_ BC1( _L_ BC2( _G_ )) _+···_ . (38) Equation (38) becomes an infinite series (39) after applying the concept of correction (or superposition) indefinitely. _C_ _=_ [ _i_ _=_ 0] _+∞_ �(id _+_ _L_ BC1)( _L_ BC2 _L_ BC1) <sup>_i_</sup> (id _+_ _L_ BC2)( _G_ ). (39) Equation (39) can also be written as the following infinite series: _∀t >_ 0; _∀x_ BC1 _≤_ _x ≤_ _x_ BC2; <sup>_θ_</sup> _M_ 0 _C_ BC12 <sup>_x_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> _C_ <sup>_x_</sup> _= G_ ( _x_ 0,2 _Dt_, _x_ ) _+_ [ _i_ _=_ 1] _+∞_ - ( _G_ ( _−_ 2 _ilx_ 1 _−_ 2 _+ x_ 0,2 _Dt_, _x_ ) _+G_ (2 _ilx_ 1 _−_ 2 _+ x_ 0,2 _Dt_, _x_ ) _+G_ ( _−_ 2 _ilx_ 1 _−_ 2 _+ x_ BC1 _−_ _x_ 0,2 _Dt_, _x_ ) _+G_ (2 _ilx_ 1 _−_ 2 _+ x_ BC2 _−_ _x_ 0,2 _Dt_, _x_ )), (40) where _lx_ 1 _−_ 2 _= x_ BC1 _−_ _x_ BC2. A.2. _2D zero flux, finite in x and infinite in y_ This subsection describes the solution for a 2D zero-flux problem, finite in _x_ and infinite in _y_ directions. This configuration (see Figure 24) correspond to a particle positioned between two infinite planes, it will be used to propose the 2D RWPT algorithm for multiple zero-flux boundary conditions. In 2D, the solution is the product obtained by multiplying the 1D solution in _x_ direction and in _y_ direction. Thus, the solution in the _x_ and _y_ directions are independent. In Figure 24, the 2D zero-flux finite domain in _x_ direction and infinite in _y_ direction, there is no BC in the _y_ direction. Therefore, the solution is a Gaussian in the _y_ direction multiplied by the solution in the _x_ direction (40) obtained in Appendix A.1. This yields _∀t ≥_ 0; _∀x_ 1:2 _≤_ _x ≤_ _x_ 2:3; _∀y ∈_ R; _θ_ _M_ 0 _C_ ( _x_, _y_, _t_ ) _= G_ ( _y_ 0,2 _Dt_, _y_ ) _×_ <sup>_θx_</sup> _M_ 0 _C_ BC12 <sup>_x_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>).</sup> (41) A.3. _2D zero flux, semi-infinite domain in x and y_ _directions_ The configuration studied in this subsection (Figure 25) correspond to a case where a particle is located near the intersection of two interfaces. In this problem, there is one zero-flux BC for the _x_ and _y_ directions. Hence, the principle of correction (explained in Appendix A.1) must be applied so that the solution fits the zero-flux BC in _x_ and _y_ directions (instead of BC1 and BC2 of the same direction as in Appendix A.1). Since _x_ and _y_ are independent, then the solution of this problem (see Figure 25) is the solution of the 1D semi-infinite problem in _x_ multiplied by the solution of the 1D semi-infinite problem in _y_ . Hence, in this case the solution is not an infinite series but only the sum of four Gaussian functions. BC <sup>_x_</sup> <sup>)(id</sup> <sup>_+_</sup> <sup>_L_</sup> <sup>_y_</sup> _C_ _=_ (id _+_ _L_ <sup>_x_</sup> BC <sup>_y_</sup> <sup>)(</sup> <sup>_G_</sup> <sup>)</sup> (42) _θ_ _M_ 0 _C_ ( _x_, _y_, _t_ ) _= G_ (( _x_ 0, _y_ 0),2 _Dt_,( _x_, _y_ )) _+G_ ((2 _x_ 12 _−_ _x_ 0, _y_ 0),2 _Dt_,( _x_, _y_ )) _+G_ (( _x_ 0,2 _y_ 23 _−_ _y_ 0),2 _Dt_,( _x_, _y_ )) _+G_ ((2 _x_ 12 _−_ _x_ 0,2 _y_ 23 _−_ _y_ 0),2 _Dt_,( _x_, _y_ )). (43) 556 Hamza Oukili _et al._ Figure 24. 2D parallel zero-flux interfaces. Figure 25. 2D semi-infinite domain in _x_ and _y_ directions. A.4. _2D zero flux, finite domain in x, finite or semi-infinite in y_ This subsection describes analytical solutions for problems with different configurations (see Figures 26, 27). The RWPT algorithm proposed further below must be able to handle particles displacements in such configurations. The solution of the initial-value problem finite in _x_ and semi-infinite in _y_ (see Figure 26) is the solution of the 1D finite in _x_ problem multiplied by the solution of the 1D semi-infinite in _y_ problem. _∀t ≥_ 0; _∀x_ 1:2 _≤_ _x ≤_ _x_ 2:3; _θ_ _M_ 0 _C_ ( _x_, _y_, _t_ ) _=_ [ _G_ ( _y_ 0,2 _Dt_, _y_ ) _+G_ (2 _y_ BC _−_ _y_ 0,2 _Dt_, _y_ )] <sup>_θx_</sup> _M_ 0 _C_ BC12 <sup>_x_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>).</sup> (44) The solution of the initial-value problem finite in _x_ and _y_ (see Figure 27) is the solution of the 1D finite in _x_ multiplied by the solution of the 1D finite in _y_ problem. Hamza Oukili _et al._ 557 Figure 26. 2D finite domain in _x_ and semi-infinite in _y_ . Figure 27. 2D finite domain in _x_ and _y_ . _∀t ≥_ 0; _∀x_ 1:2 _≤_ _x ≤_ _x_ 2:3; <sup>_y_</sup> BC12 <sup>(</sup> <sup>_y_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> <sup>_θx_</sup> _M_ 0 _θ_ _M_ 0 _C_ ( _x_, _y_, _t_ ) _=_ <sup>_θy_</sup> _M_ 0 _C_ <sup>_y_</sup> _M_ 0 _C_ BC12 <sup>_x_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_t_</sup> <sup>).</sup> (45) References [1] S. Whitaker, _The Method of Volume Averaging, Theory and Applications of Transport in Porous Media_, vol. 13, Springer, Dordrecht, 1999. [2] M. Quintard, S. Whitaker, “One- and two-equation models for transient diffusion processes in two-phase systems”, in _Advances in Heat Transfer_, vol. 23, Academic Press, 1993, p. 369-464. [3] E. Sanchez-Palencia, “Homogenization method for the study of composite media”, in _Asymptotic_ _Analysis_ _II_, Springer, Berlin, Heidelberg, 1983, p. 192-214. 558 Hamza Oukili _et al._ [4] C. Moyne, S. Didierjean, H. Amaral Souto, O. da Silveira, “Thermal dispersion inporous media: one-equation model”, _Int. J. Heat Mass Transfer_ 43 (2000), p. 3853-3867. [5] H. Brenner, “Dispersion resulting from flow through spatially periodic porous media”, _Phil._ _Trans._ _R._ _Soc. Lond._ _A_ 297 (1980), no. 1430, p. 81-133. [6] J. L. Auriault, P. M. Adler, “Taylor dispersion in porous media: analysis by multiple scale expansions”, _Adv._ _Water_ _Resour._ 18 (1995), no. 4, p. 217-226. [7] W. E. B. Engquist, X. Li, W. Ren, E. Vanden-Eijnden, “Heterogeneous multiscale methods: a review”, _Commun._ _Comput. Phys._ 2 (2007), no. 3, p. 367-450. [8] M. Vasilyeva, E. T. Chung, Y. Efendiev, A. Tyrylgin, “A three-level multi-continua upscaling method for flow problems in fractured porous media”, _Commun. Comput. Phys._ 27 (2020), no. 2, p. 619-638. [9] B. P. Muljadi, B. Bijeljic, M. J. Blunt, A. Colbourne, A. J. Sederman, M. D. Mantle, L. F. Gladden, “Modelling and up scaling of transport in carbonates during dissolution: validation and calibration with NMR experiments”, _J. Contam._ _Hydrol._ 212 (2018), p. 85-95. [10] A. J. Guttmann, T. Kennedy, “Self-avoiding walks in a rectangle”, _J. Eng. Math._ 84 (2014), p. 201-208. [11] H. Oukili, R. Ababou, G. Debenest, B. Noetinger, “Random Walks with negative particles for discontinuous diffusion and porosity”, _J. Comput. Phys._ 396 (2019), p. 687-701. [12] B. Noetinger, D. Roubinet, A. Russian, T. Le Borgne, F. Delay, M. Dentz _et al._, “Random walk methods for modeling hydrodynamic transport in porous and fractured media from pore to reservoir scale”, _Transp._ _Porous_ _Media_ 115 (2016), no. 2, p. 345-385. [13] B. Noetinger, T. Estebenet, “Up-scaling of double porosity fractured media using continuous-time random walks methods”, _Transp. Porous Media_ 39 (2000), no. 3, p. 315-337. [14] B. Noetinger, T. Estebenet, M. Quintard, “Up-scaling flow in fractured media: equivalence between the large scale averaging theory and the continuous time random walk method”, _Transp. Porous Media_ 43 (2001), no. 3, p. 581-596. [15] B. Noetinger, T. Estebenet, P. Landereau, “A direct determination of the transient exchange term of fractured media using a continuous time random walk method”, _Transp. Porous Media_ 44 (2001), no. 3, p. 539-557. [16] R. Mauri, “Heat and mass transport in random velocity fields with application to dispersion in porous media”, _J. Eng._ _Math._ 29 (1995), p. 77-89. [17] L. C. Evans, _Partial Differential Equations_, 2nd ed., American Mathematical Society, Providence, RI, 2010. [18] H. S. Carslaw, J. C. Jaeger, _Conduction of Heat in Solids_, Clarendon, Oxford, 1959. [19] G. J. M. Uffink, “A random-walk method for the simulation of macrodispersion in a stratified aquifer”, in _Relation_ _of Groundwater Quality and Quantity_, IAHS Publ., vol. 146, Int. Assoc. of Hydrol. Sci., Gentbrugge, Belgium, 1985, p. 103-114. [20] E. M. LaBolle, G. E. Fogg, A. F. B. Tompson, “Random-walk simulation of transport in heterogeneous porous media: local mass-conservation problem and implementation methods”, _Water Resour. Res._ 32 (1996), no. 3, p. 583-593. [21] P. Salamon, D. Fernandez-Garcia, J. J. Gomez-Hernandez, “A review and numerical assessment of the random walk particle tracking method”, _J. Contam. Hydrol._ 87 (2006), no. 3–4, p. 277-305. [22] M. Bechtold, J. Vanderborght, O. Ippisch, H. Vereecken, “Efficient random walk particle tracking algorithm for advective-dispersive transport in media with discontinuous dispersion coefficients and water contents”, _Water_ _Resour. Res._ 47 (2011), article no. W10526. [23] Y. Yong, X. Lou, S. Li, C. Yang, X. Yin, “Direct simulation of the influence of the pore structure on the diffusion process in porous media”, _Comput. Math. Appl._ 67 (2014), no. 2, p. 412-423. [24] J. A. Currie, “Gaseous diffusion in porous media: II. Dry granular materials”, _Br. J. Appl. Phys._ 11 (1960), p. 318-324. [25] R. J. Millington, J. P. Quirk, “Permeability of porous solids”, _Trans. Faraday Soc._ 57 (1961), p. 1200-1207. [26] D. Ryan, R. G. Carbonell, S. Whitaker, “A theory of diffusion and reaction in porous media”, in _AIChE_ _Symposium_ _Series, No. 202_ (P. Sfroeve, W. J. Ward, eds.), vol. 77, 1981, p. 46-62. [27] J. C. Maxwell, _Treatise on Electricity and Magnetism_, 2nd ed., vol. I, Clarendon Press, Oxford, 1881. [28] H. L. Weissberg, J. C. Maxwell, _Treatise on Electricity and Magnetism_, 2nd ed., vol. I, Clarendon Press, Oxford, 1881, “Effective diffusion coefficients in porous media”, _J. Appl. Phys._ 34 1963, p. 2636-2639. [29] N. Wakao, J. M. Smith, “Diffusion in catalyst pellets”, _Chern. Eng. Sci._ 17 (1962), p. 825-834. [30] J. H. Kim, J. A. Ochoa, S. Whitaker, “Diffusion in anisotropic porous media”, _Transp. Porous Media_ 2 (1987), no. 4, p. 327-356. [31] A. G. Hunt, M. Sahimi, “Flow, transport, and reaction in porous media: percolation scaling, critical-path analysis, and effective medium approximation”, _Rev. Geophys._ 55 (2017), p. 993-1078.

섹션 본문 96문단 · 40,021자

(제목 없음)

1This paper studies diffusion processes at different scales in two-dimensional (2D) composite media (grain-pore porous micromodels). To model diffusion, this study uses the random walk particle tracking (RWPT) method based on 2D analytical solutions in finite and semi-infinite domains with zero-flux boundary conditions (BC) at grain boundaries. The analytical solutions are developed using a method of images. Then, an RWPT combined to a Stop&Go algorithm is derived from these analytical solutions. The developed RWPT algorithm is then used to model diffusion processes inside the pores at the "microscopic" level (microscale), while the grain elements are assumed inaccessible to diffusion (zero-flux BC condition at the interface grain/pore). The composite medium, where the diffusion occurs, is a numerical micromodel made of periodic motifs of rectangular grains. Particles are initially located at the center of a pore, and diffuses in the periodic motifs micromodel (infinite domain). First, the grains are chosen square with different sizes to vary the porosity. Second, for constant porosities, the grains are elongated to study the effect of the anisotropy ratio on diffusion processes. Effective macroscale properties (porosities, effective diffusion tensors, tortuosities) are then calculated using moments of particles positions. The results obtained fit well with theoretical expectations and are in very good agreement with results found in the literature.

Introduction

2Transport processes occurs in many fields of science including, mass or heat transfer problem, for instance. In porous media, they include also solute mass transport, heat transport, and slightly compressible Darcy flow (pressure diffusion equation). Diffusion processes, in particular, are important in transport phenomena, either directly (solute diffusion, heat diffusion, pressure diffusion) or indirectly (when the local hydrodynamic dispersion of transported quantities is modeled as a diffusion-type process on a larger scale). Treating such problems in physics could be challenging, particularly in the case of spatially variable or discontinuous transport properties.

3At the pore scale, considering a binary grain/pore medium, diffusion usually occurs inside the pores, while the grain elements are assumed inaccessible to diffusion (extensions to aggregates instead of grains are discussed in the conclusion Section 5). A zero-flux condition is assumed locally at the grain/pore interfaces. When we treat the diffusion process at the macroscale level, diffusion occurs in a homogeneous medium with macroscopic parameters (including porosity and effective diffusion coefficients) determined via an upscaled methodology. There exist several techniques to determine correctly the link between the transport processes at the microscale and the effective parameters at the macroscale. In the literature, diffusion problems and their upscaling issues have been widely treated using either volume averaging techniques [1,2], homogenization theory [3,4], or moments matching techniques [5,6]. A review on multi-scale methods [7] has shown that homogenization still faces many challenges. Another recent study has shown some improvements by using different levels of upscaling in modeling flow transport in fractured media [8]. Upscaling has also been used to determine parameters for continuous time random walk (CTRW) modeling [9]. In addition, the random walk particle methods have also been used to obtain probability results on self-avoiding Random Walks where the "particles" cannot cross their own path [10].

4Solving the diffusion equation at various scales is possible using classical methods such as Finite Volume or Finite Elements methods. In this study, we use particle methods. They have been extensively used for modeling transport problems in porous soils, aquifers, and reservoirs. They reduce or avoid some of the problems of Eulerian methods, for example, instabilities, excessive artificial diffusion, mass balance, and/or oscillations that could lead to negative concentrations. In the Lagrangian particle approach, diffusion processes are modeled by random walk algorithms. The numerical (modeling) issues are different for the Eulerian partial differential equations (PDE) approach and for the Lagrangian random walk approach (for more details, see the recent study of [11] and the review paper of [12]).

5Previous studies have used CTRW algorithms for upscaling double porosity fractured media [13][14][15]. Random walk methods have also been used in many publications in order to analyze the "effective" or "macroscale" diffusion coefficient that emerges from the transport of Brownian particles representing a passive tracer (heat or mass) transported in a heterogeneous or random velocity field (e.g., [16], among others). In this study, we develop a new algorithm, using the random walk particle tracking (RWPT) method, based on two-dimensional (2D)/three dimensional (3D) analytical solutions in finite and semi-infinite domains with zero-flux boundary conditions (BC). The RWPT algorithm induced from these analytical solutions is then applied to more complex geometries of grains and pores (that are difficult to solve analytically). Different configurations or structures at the microscale level (e.g., grains and pores in a porous media) will be chosen in order to obtain composite isotropic media with different porosities at the macroscale level. Then, by choosing elongated microstructures, anisotropic media emerge at the macroscopic level. These configurations will be obtained from microscale motifs of grains and pores with different porosities, repeated periodically and indefinitely (infinite domain grain-pore system). Effective macroscale properties (porosities, effective diffusion tensors, tortuosities) are then calculated for instantaneous injection (initial point source), using moments of particles positions. While standard homogenization models use steady state algorithms, the present RWPT allows the capture of the transient dynamics of the system. The method gives additional information on the evolution of the macro-properties through time, and thus ultimately, determines the representative elementary volume (REV) of the system in addition to the macro-properties. In addition, RWPT is easily scalable with no limitations in the number of processors. This paper is organized as follows. The next section, Section 2, presents the theory behind RWPT methods, and the corresponding concentration-based PDE, particularly for diffusion problems with zero-flux BC's. Section 3 presents a generalization of particle-based methods and algorithms for solving diffusion transport problems using RWPT in granular media with multiple zero-flux interfaces. In Section 4, the results obtained for different geometries of grains and pores are presented and discussed. An upscaling method using spatial moments (such as σ 2 xx (t )) is applied to the particle-based microscale simulation results in order to deduce macroscopic diffusion properties. The conclusive Section 5 recapitulates results and discusses extensions.

Theory: diffusion PDE, boundaries, and random particle positions

6In this first part, we introduce the equations and the formalism in order to establish zero-flux conditions using particle methods.

The Gaussian PDF of particle positions (infinite domain)

7Let us define the initial-value problem (Cauchy's problem) in an infinite porous domain:

8where θ is the (constant) porosity, M 0 the initial mass of solute at x = x 0 , and C is the mass concentration of solute per volume of solvent (kg/m in 1D). The solution of (1) is:

9Equation (2) can be written as follows:

10where G(x 0 +V t , 2D t ; x) is the Gaussian probability density function (PDF) with mean x 0 +V t and variance 2D t . In particular, G(0, 2t ; x) is the fundamental solution of the diffusion equation [17]. N (µ, σ 2 ) denotes a Gaussian random variable (RV) with mean µ and variance σ 2 , which means it has the PDF x → G(µ, σ 2 ; x).

11In 2D space, the initial-value PDE problem for pure diffusion (V = 0) is

12The solution of (4) is

13where G((x 0 , y 0 ), 2D t ; (x, y)) is the bi-variate Gaussian PDF for 2 i.i.d. variables (independent and identically distributed variables) with mean (x 0 , y 0 ) and isotropic variance σ 2 X (t ) = σ 2 Y (t ) = 2D t . This bi-variate Gaussian solution of (4) will be used in subsequent subsections.

Semi-infinite domain with zero-flux BC

14In a semi-infinite one-dimensional (1D) domain with a zero-flux BC at x = x BC , the diffusion of an initial-value "source" located at x = x 0 is governed by the following system of equations:

15The solution of (6) is (7) (similar to the one found in [18, p. 363-365]

16Equation (7) could be written as

17where L BC is a linear application that transforms Figure 1). In the 2D case considering the left half-space with a zero-flux BC on the vertical plane x = x BC , Equation (6) becomes

18The solution of this equation (9) is the following combination of Gaussians: ∀t > 0; ∀x ∈ ] −∞; x BC ]; ∀y ∈ R;

19The half-domain solution (10) (with zero-flux BC) will be used in subsequent subsections.

PDE solutions with zero-flux BC's

20The concentration-based analytical solutions shown in this section have been checked by direct substitution in their respective system of equations and their initial and BC's. They take the form of infinite series. Using the same concept shown in this section for 2D analytical solutions, these solutions could be extended to solve 3D problems. An analytical method, analogous to that described in Appendix A, will be applied later to RWPT for treating multiple interfaces in 2D (see RWPT algorithms in Section 3.2 further below). The method used in Appendix A to obtain 2D concentration-based solutions C (x, y, t ) was applied to different initial-boundary-value problems with cartesian parallel interfaces serving as zero-flux planes. In these problems, each and every interface is infinite. Even when the domain is finite in one direction, the corresponding interface (orthogonal to that direction) is assumed to be infinite. This last condition restricts the application of this method to the geometric configurations of Figures 24-27. These configurations allow the solution to be the product of the 1D solution in one direction multiplied by the 1D solution in the other direction.

21In the following Section 3.2, it is suggested that the independence between the two directions in these concentration-based solutions implies an independence between the X (t ) and Y (t ) positions of particles. This is one of the key points of our RWPT algorithms to be implemented for various grain-pore systems (see results in Section 4).

From particle positions to concentration

22Let us consider now a particle-based method to solve initial-value problems. The concentration will be determined from the particles positions PDF (note, in the present case, total mass M 0 is constant, and concentration C (x, t ) is proportional to PDF):

23where X t and dm t represent, respectively, the position and mass of an infinitesimal concentration packet (to be discretized as a "particle").

Methods and algorithms

24Based on the previously established solution principles for the concentration-based PDE's (see Section 2.2), this section develops an RWPT algorithm that solves diffusion problems in more complex geometries (compared to the geometries of Section 2.2).

RWPT methods with one zero-flux BC

25RWPT methods are primarily inspired from initial-value problems (see Section 2.1). These methods consider particles to be independent. Therefore, if a particle does not encounter any interface, then it will be considered as if it were in an infinite domain, and follows the corresponding algorithm. On the other hand, the RWPT algorithm is altered for particles that do encounter interfaces (e.g., interface with zero-flux BC).

RWPT in an infinite domain

26To solve (1) using particle methods in 1D, for a time t , we need to generate particles with a PDF equivalent to (2). Thus, these particles must follow the RV N (

27Using simple Gaussian RV operations, we obtain

28where N (0, 1) is a Gaussian RV, with 0 mean and unit variance.

29In conclusion, the PDF of RV X t is identical to the concentration solution in (2) divided by M 0 /θ.

30In 2D, to solve a pure isotropic diffusion problem (4) using a particle method, X t governed by

31where N X (0, 1) and N y (0, 1) are two independent Gaussian RV's, with 0 mean and unit variance.

RWPT in semi-infinite domain with zero-flux BC

32Let us define Ω BC and Ω * BC as:

33In Section 2.1.2, we have shown that the solution of the semi-infinite domain with zero-flux BC could be written as the sum of: the solution of the infinite domain G and its symmetric L BC (G) relative to the position of the interface x = x BC . Both are truncated on the semi-infinite domain Ω BC . On the other hand, L BC (G) truncated on Ω BC is the symmetric of G truncated on Ω * BC . Therefore, in RWPT methods, G truncated on Ω BC represents the particles that did not reach the interface. The particles algorithm (i.e., infinite domain algorithm) is not altered; this is because G is the solution of the infinite domain. 1 Whereas, L BC (G) truncated on Ω BC symmetry represents the particles that crossed the interface were totally reflected (i.e., their final position is the symmetric relative to the interface).

34Hence, the particles Random Walk algorithm becomes, in the presence of a zero-flux plane at

35Note here that N p is a Gaussian random variate, that is, a given realization of the Gaussian RV, for particle number p. Since its outcome is known, it can be compared to the interface position x BC .

Multiple zero-flux interfaces for RWPT

36In RWPT methods, after crossing one interface, particles may eventually cross multiple interfaces. First, because the spatial step depends on a Gaussian RV, which has unbounded values. Secondly, in multidimensional problems, particles located near a corner, for example, around two perpendicular interfaces, might cross the interfaces forming this corner [19][20][21][22]. Thus, the algorithm governing particles displacements must take into account such possibility. Therefore, this subsection proposes a generalization, analogous to the concept of Section 2.2, where the algorithm for a single interface with zero-flux boundary (16) was used to treat multiple interfaces.

RWPT zero-flux BC in 1D

37Using an analogous method to the one used to solve concentration-based problem with two zero-flux BC's (see Appendix A.1), and combining it with the RWPT algorithm for one zero-flux BC described in Section 3.1.2, the 1D RWPT for two zero-flux BC's becomes Algorithm 1 below.

Algorithm 1: RWPT algorithm in a bounded domain with zero-flux BC's

38End End Algorithm 1 calculates the final position of each particle using RWPT in a bounded 1D domain with zero-flux BC's. Each time a particle crosses an interface, its final position undergoes a total reflection.

39The method used in Appendix A.1 to solve the concentration-based problem with two zeroflux BC's is similar to the use of the method of images through infinite superpositions. Each time the method of images was used, it corrected the new term to fit the boundary condition.

40In RWPT, the method of images becomes a total particle reflection. If the new particle position is outside the domain [x BC1 ; x BC2 ], it represents, in term of PDE's, the tail of the solution that it is outside of the domain and needs to be corrected again. That is why reflections are repeated until the particle's final position becomes inside the domain [x BC1 ; x BC2 ]. Note here that spatial steps lengths have a finite variance because they are Gaussian distributed. This algorithm (Algorithm 1) does not have restrictions on the time step. Therefore, the time step can be set equal to the final simulation time.

RWPT zero flux, interfaces in 2D

41Section 2.2 presented 2D analytical solutions for various zero-flux configurations. In all these configurations, interfaces are infinite. This condition allows the concentration-based solutions to be the product of the 1D solution in one direction multiplied by the 1D solution in the other direction. In RWPT, if the PDE of the stochastic process could be written as the product of the PDE's of its components, then the position of X and Y are independent. In this case, there are no restrictions on the time step and the 2D RWPT algorithm can be expressed as Algorithm 1 applied to X and Y .

42On the other hand, if interfaces are not infinite, then it can be demonstrated that the concentration-based solution cannot be written as a product of two functions with separate and independent variables. The proposed following algorithm (Algorithm 2) is a generalization of the infinite interface case taking into account the case of finite interfaces and complex geometries in a Cartesian mesh.

43Algorithm 2: 2D RWPT for infinite or finite interfaces with zero-flux BC (1) Consider particle p with mass m p and position X (p) 1 and

44(a) Calculate the times t 1 and t 2 when (k) reach the nearest interface in the x and y directions (b) [I ; t I ] = min(t 1 , t 2 ); i is the direction that reached its interface first (I could be either direction 1 or 2) and t I is its corresponding time

45Algorithm 2 calculates the final position for particles using RWPT in a 2D domain with zeroflux interfaces. Each time a particle crosses an interface, its final position undergoes a 2D total reflection based on the analytical method of images. Particles may cross interfaces multiple times in the same time step. Every time they do, there their position is recalculated.

Discussion on time step size

46Algorithm 1 requires particles to encounter interfaces that are only parallel to each other. Hence, the generalization to Algorithm 2. However, this algorithm (Algorithm 2) requires a time step small enough that most particles do not encounter multiple horizontal and vertical interfaces during a single time step. Therefore, the maximum spatial step of a particle should not be greater than the characteristic length of the microgeometry. This limitation could be interpreted in terms of constraints as follows:

47where Z is a normalized Gaussian RV N (0, 1).

48For this problem of 2D grain/pore, the maximum absolute value of the Gaussian RV will not exceed 7 in practice (knowing that the probability of the absolute value of a normal Gaussian RV to exceed 7 is around 10 −12 , this probability is calculated from the cumulative distribution function of the normal distribution). Hence, we replace (max(Z )) 2 by 50, and (19) becomes

49In addition, we should keep in mind that for the same simulation time, a small time step costs more in term of computational time compared to a larger time step. Hence, we choose the largest time step that verifies condition (20). In the following subsection, we take λ PORE = 1 and D PORE = 1, therefore the time step is equal to ∆t = 10 −2 . Furthermore, to validate ∆t = 10 −2 , we repeated the same simulations with different time steps. The result in terms of the calculated effective diffusion coefficient (explained later in Section 4.1.1) is shown in Figure 2 versus time step size. It is clear that the constraint ∆t ≤ 10 −2 is adequate, and required.

Grain/pore motif and pattern

50This subsection describes the first geometric configuration that will be studied. Figure 3 represents the Grain/Pore motif that will be repeated, periodically and indefinitely, to create the infinite domain geometry. The red square corresponds to the grain while the pore is in white. The area of the pore divided by the area of the whole motif (grain/pore), is the porosity of the motif (in this case θ = 75%). Since the infinite domain geometry is a periodic repetition of the previous motif (see Figure 4), then the effective porosity of the infinite domain is the same: θ eff = 75%.

Representative elementary volume (REV)

51For this kind of periodic structure, we could naively imagine that the REV would be composed of one grain and three pores as shown in Figure 3. However, for this particular problem of the diffusion from an initial source in an infinite domain, we will later define the REV using a convergence criterion for macroscopic properties (such as effective diffusivity).

52The first macroscopic property to be studied here is the porosity (θ). To define the REV using the macroscopic porosity, we define first a square surface (in 3D, we would have used a volume) in which the effective porosity is calculated. In most cases, the surface is taken as a disc (sphere in 3D), but here, in the interest of simplicity, we take a square. This area will be related to a "radius" (distance from the center (the initial source position) to the area's edge). This "radius" is equal to half the edge of the square, in the case of a disc, this distance is the radius of the disc. Later we will use this "radius" to define the limits of our REV. Figure 5 plots the porosity inside a square against the "radius" of this square. In Figure 4, the blue dot represents the center of the square, and the three magenta squares are examples of areas over which the porosity is calculated. The three magenta vertical lines in Figure 5 correspond to the magenta squares outlined in Figure 4. The simulation time can be estimated by equating the reference size (L REF ) to the standard deviation displacement (i.e., the so-called root-mean-square dispersion length). This yields the estimated simulation time for the particle cloud to explore a few times the typical REV length scale of the grain/pore system:

Results and discussion

53This section analyzes the results of simulations of diffusion of an initial source inside the pores of a composite media pore/grain. Different structures are studied, either isotropic or anisotropic and with different porosities. For each case, an upscaling method, using the time-dependent moments of particles positions, is applied to determine the macro-properties of the composite media (essentially, effective porosity tortuosity, and diffusion coefficient).

4.1.

54Isotropic grains (λ Grain,X = λ Grain,Y ) 4.1.1. Porosity θ = 75%

55The first grain/pore configuration, where the diffusion (Algorithm 2) will be tested, is the one described in Figure 4. An initial source diffuses inside the center of the pore at the position (0.5; 0.5). The result of the simulation is shown in Figure 6. The blue dots represents the particles after time t F = 20. This time is chosen so that enough particles have explored the periodic infinite domain, which means that the particles spread over more than one REV. Figure 7 is a zoom of Figure 6 centered on the position of the initial source (0.5; 0.5). It shows clearly that particles are found anywhere but inside the squared grains. Algorithm 2 makes particles bounce off the grains.

56After post-processing, as described in Section 2.3, Figure 8 is obtained. In this figure, concentrations C (x, y) were computed as 2D histograms based on the smallest histogram bins corresponding pore size λ PORE . They represent the 2D concentrations of particles. As one might predict, the highest concentrations are found near the center where the initial source was (0.5; 0.5). Then, the concentration drops gradually while moving further away from the center, as expected.

Effective diffusivity.

57There are different methods to calculate the effective diffusivity. The most common one in the literature uses the concentration gradient in a Dirichlet bounded domain [23]. This study uses the second order spatial moments of particles positions M 2 (t ):

58If M 2 (t ) is diagonal then M 2 (t ) = σ 2 (t )I , with I is the identity matrix. Then, the effective diffusivity is determined by one of the two following equations:

59Figures 10 and 11 plot the effective diffusivity as defined in (23). The convergence of the effective diffusivity is defined as: it is convergent when its value stays between ±1% of its final mean value. This happens at around t = 1 close to the value predicted by (21). Figure 6.

60Initially, the effective diffusivity is equal to the local diffusion coefficient inside the pore. D eff stays equal to D 0 until particles start encountering grains interfaces. Then, as times goes by, particles bounce off the grains, which limits their diffusion, and D eff starts slowly to decline, until it converges toward its final value (because of the periodicity of the geometry), which is smaller than D 0 due to tortuosity effect.

61The REV can be defined from the convergence in time of macro-properties. From Figure 11, we determine that effective diffusivity converges at time equal to 1. Hence, the effective diffusivity REV would have a "radius" of about 2D eff t max(Z ). Therefore, the effective diffusivity REV "radius" is around 8.5. On the other hand, the geometrical porosity REV "radius" is around 7 (see Figure 5). The two REV's sizes are relatively close, which could be explained by the dependency between the porosity and the effective diffusivity (and their relative convergence). The small difference between the two REV's sizes could be explained by the approximation shape of the REV's, square for the porosity REV and circle for the effective diffusivity REV. Figure 9 shows the trajectories of 3 particles. The particles circumvent the grains (red squares), and that is what creates the tortuosity of the system.

62As a comparison, we will now vary the porosity of the medium in order to investigate the effects of porosity on the effective diffusivity. Table 1 shows the results of different simulations with different Grain/Pore configurations. In all the configurations tested in this table, the grains are taken as squares, characterized by their size λ Grain . Usually, we refer the tortuosity to be the ratio of the molecular diffusion to the effective diffusion value. In the literature, we can find several definitions and empirical laws [26] 0.583 0.213 ---used to determine tortuosity values. For instance, [24,25] have developed correlations in order to determine the tortuosity values. they are directly related to the gas saturation and the porosity.

Experiments with different porosities

63Here the porosity is calculated using the formula (25):

64With isotropic grains we have λ Grain,X = λ Grain,Y = λ Grain , and λ Pore = 1. The tortuosity is calculated according to the definition of [23]:

65with D m is the diffusion coefficient inside the pore (also denoted here D 0 ). For the two first columns, we are in an excellent agreement with the results reported by [26]. Unfortunately, the results for the other porosities are not available in order to completely validate this set of numerical experiments.

66Thus, the results of this work are compared with the following models (plotted in Figure 12):

67• Maxwell [27] analyzed analytically a dilute suspension of spheres and obtained:

68• Weissberg [28] used a variational method and proposed the following: Table 1.

69• Wakao and Smith [29] using a micropore macropore model proposed:

70• Kim et al. [30] proposed the empirical formulation: Figure 12 shows that the results of this study (the blue circles) are relatively close to results found in the literature. The small differences might be due to the difference of grain shapes (e.g., Maxwell [27] uses spherical grains for his study), or due to the grains arrangements (which are different between studies [28][29][30]). However, for this particular isotropic periodic case, the analytical expressions give very good approximations of the effective diffusivity. Figure 13 shows clearly that the effective tortuosity of the Grain/Pore geometry tends toward the geometric tortuosity:

71as found in the literature [31]. When λ Grain,X = λ Grain,Y , then τ = 2. Figure 14 plots the tortuosity versus the porosity. This figure shows that for θ ∈ [0; 0.36], the tortuosity is linear with the porosity with a determination coefficient R 2 = 99.99% and the corresponding empirical formula is

Anisotropic grains (λ x > λ y )

72This subsection studies micro-and macroscopic diffusion in anisotropic geometries. Table 1. Red, blue, and green bold curves correspond, respectively, to the squared tortuosity, the effective diffusivity, and the porosity plotted versus the anisotropy ratio. The dashed red, blue, and green lines correspond to the squared geometric tortuosity (τ 2 geo = 2), effective diffusivity (D eff;geo = 0.5), and porosity (θ geo = 0).

Representative elementary volume (REV) for anisotropic grains

73Similar to the isotropic structure, the anisotropic REV is larger than one grain and three pores. Particles need to explore this structure multiple times to extract macroscopic properties. The REV is defined from the convergence of macroscopic properties. For elongated grains, the REV is elongated in the same direction as the grains. On the other hand, since particles X and Y displacements are dependent, X and Y macroscopic properties reach their convergence at the same simulation time. Figure 15. 2D concentrations of particles in anisotropic geometry with θ = 75%. The ratio between λ x and λ y is 8.

4.2.2.

74Anisotropic geometry with porosity θ = 75% Figure 15 shows 2D concentration histogram of the result of an anisotropic test case with elongated grain λ x /λ y = 8, and with the same porosity as previously used θ = 75%. According to the previous analysis, we can extract from our results the values of D eff;X = 0.64 and D eff;Y = 0.5. Then it could be compared with the results available in [30]. In a similar case, with λ x /λ y = 7.5, they found a value of D eff;X = 0.717 and D eff;Y = 0.175. However, it might be noticed that the microstructure is not exactly the same as the solid particles are staggered and not in line, in addition, the shape of the pores in [30] are elongated λ X Pore /λ Y Pore = 0.77 while the shape in the example of this study is taken as λ X Pore /λ Y Pore = 8. So, it could generate different values of tortuosity.

Anisotropic geometry with porosity θ = 36%

75Anisotropy ratio λ x /λ y = 2. Figures 16-18 shows the results of the diffusion of an initial source inside the center of a pore. The domain is a periodic repetition of a motif grain/pore with rectangular grains. The grain's length is two times longer than its width, and six times longer than the width of the pore. The periodic repetition of this motif creates an anisotropic infinite domain with a porosity of θ = 36%. Figure 19 and its zoom Figure 20 plots the mean normalized concentration on each direction and divided by the local porosity to obtain the concentration inside the pores. These 1D effective It is clear that the diffusion inside the pores at the microscopic level (inside the pores) behaves as a pure diffusion in the macroscopic level with the macro-properties calculated using moments particles positions (see Figure 21). Table 2 displays the results of different simulations in different configurations of grains/pores with the same porosity θ = 36% and different anisotropy ratios a = λ x /λ y . For any given porosity θ 0 , and any given anisotropy ratio "a", Equation (34) gives (λ x , λ y ) such that λ x /λ y = a, and such that the desired macroscale porosity θ 0 is satisfied:

764.2.4. Anisotropic geometry with porosity θ = 19% and θ = 9.75%

77The results shown in Tables 2-4 suggest the following trends:

78• The longer a grain is in one direction, the higher its effective diffusion is in this same direction. Figure 19. Effective concentration profiles C (x) and C (y) for anisotropic microgeometry: the bold blue and red curves correspond, respectively, to the mean (on direction x and y) concentration plotted against direction x and y. The bold green and magenta curves correspond, respectively, to the analytical Gaussian functions with diffusive coefficient D eff;X = 0.726 and D eff;Y = 0.429.

79• When the anisotropic ratio λ x /λ y tends toward infinity, the effective diffusion tends toward 1 in the direction of the elongated grains (X ), while in the opposite direction (Y ) it tends toward 0. • For a constant porosity, we have observed that the sum of the effective diffusivity of both directions stays constant regardless of the anisotropic ratio (see Figure 22).

80The plot of effective diffusivity versus anisotropy ratio in Figure 22 shows that: for a constant anisotropy ratio, effective diffusivities of both directions increase with the porosity. In addition, for the configuration studied in this paper (rectangular periodic grains), the effective diffusivity components along the X and Y directions are related to the isotropic effective diffusivity through the following equation

81Equation (35) holds for a given (fixed) porosity. D eff,X and D eff,Y are effective diffusivity components along the X and Y directions for the same anisotropic configuration, while D eff,iso is the effective diffusivity of the isotropic configuration (λ x /λ y = 1). Figure 23 shows a fit of the tortuosity obtained numerically with the following analytical function:

82with τ iso is the tortuosity in an isotropic configuration and τ ∞ = 1 is the X tortuosity when λ x /λ y → ∞. This fit (36) is in agreement with theoretical expectations for extreme anisotropy ratio λ x /λ y → ∞ (diffusion occurs only on the X direction), and for the isotropic case λ x = λ y , where τ fit;Y = τ iso . .75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75% 9.75%

Conclusion

83This study proposed an RWPT algorithm based on 2D/3D analytical solutions (that we have verified and proved the convergence) for zero-flux conditions. The new algorithm handles multiple reflections in the same time step, in addition to making the time step larger with less restrictions. With these larger time steps, the RWPT algorithm becomes computationally more efficient compared to previous algorithms. This efficiency is more prominent for anisotropic configurations. The algorithm was applied for diffusion of an initial source in an infinite domain (i.e., domain large enough so that the particles do not reach the domain edges during the simulation) with different configurations of grains and pores (different porosities in isotropic systems, and constant porosity with different anisotropic configurations). The aim is a multi-scale study from the microscale of grains and pores to the macroscale level. It leads to macro-properties (porosity, effective diffusivity, tortuosity in different directions). The upscaling method uses time-dependent moments of particles positions. While previous studies used steady state simulations with periodic boundary conditions. In this study, we used dynamic transient simulations in an infinite domain, which ultimately allowed us to define the REV from the convergence in time of macroproperties. The time step sensitivity study validated the time step choice for simulations. Results show the scale dependence of effective diffusion dynamically through both space and time scales. And the macro-properties converge toward the geometric theoretical values when the Grain/Pore geometry's porosity tends toward zero. Finally, results lead to new correlations that can be used to better understand the upscaling of media properties.

Perspectives

84The strong analogy between the stochastic and the deterministic approaches allowed us to propose a new 2D RWPT algorithm. Similarly, using 3D deterministic approaches, the model can be extended to simulation in 3D instead of 2D. The new less restrictive criterion on the time step can also help reduce the calculation time. Simulation results obtained not only complete previous upscaling results, but also extrapolate them into new empirical correlations that can help expend our knowledge of the upscaling. Moreover, a velocity component could be added to the RWPT algorithm, either by combining advective and diffusive transport in a single step, or by separating them with one diffusive sub-step followed by one advective sub-step. In addition, the grains can be replaced by porous aggregates with their own local porosity and diffusion coefficient (e.g., solute diffusion in a dual porous medium, or possibly, pressure diffusion in a dual porous medium). And finally, the deterministic microgeometries of pore-grain or poreaggregate structures could be randomized in order to study their macroscale properties in terms of their random structure using the same random walk particle-based approach.

Acronyms used in this text

85BC Boundary conditions PDE Partial differential equations PDF Probability density function 1D

86One-dimensional 2D Two-dimensional RWPT Random walk particle tracking REV Representative elementary volume

A.1. 1D zero flux, finite domain

87This subsection describes the method to solve 1D zero-flux problems in finite domain. This method will be used further below to propose the RWPT algorithm for multiple zero-flux BC. As explained in Sections 2.1.2 and 3.1.2, the solution of a semi-infinite domain with a zero-flux boundary condition can be expressed as: the sum of the solution in an infinite domain G and of its symmetric relative to the position of the boundary L BC1 (G). This superposition approach takes advantage of the linearity of the diffusion PDE, and it is analogous to the method of images. Thus, L BC1 (G) added to G could be considered as a correction so that it fits the first zero-flux condition (BC1), noting that the second condition BC2 is already taken into account in the analytical solution "G" of (3).

88Therefore, in this paper, to solve the problem of (37) with two zero-flux BC's, we propose to apply the same concept for both BC's, that is, adding also L BC2 (G) to the solution G so that it fits zero-flux BC number 2 too. However, although G has now been corrected to fit both BC's, L BC1 (G) and L BC2 (G) do not fit zero-flux BC2 and BC1, respectively. Hence, once again, using the same algorithm L BC1 (G) is corrected by adding L BC2 (L BC1 (G)), so that L BC1 (G) + L BC2 (L BC1 (G)) does fit zero-flux BC2. Similarly, L BC2 (G) is corrected by adding L BC1 (L BC2 (G)), so that L BC2 (G) + L BC1 (L BC2 (G)) does fit zero-flux BC1. Equation (38) shows how G (the solution of the infinite domain) is corrected by adding the terms to fit BC1 and BC2, respectively. Equation (38) shows that for each correction, we add a new layer of corrections ad infinitum: C = G + L BC1 (G) + L BC2 (G) + L BC2 (L BC1 (G)) + L BC1 (L BC2 (G)) + · · · . (38) Equation (38) becomes an infinite series (39) after applying the concept of correction (or superposition) indefinitely.

89Equation (39) can also be written as the following infinite series:

90where l x1−2 = x BC1 − x BC2 .

A.2. 2D zero flux, finite in x and infinite in y

91This subsection describes the solution for a 2D zero-flux problem, finite in x and infinite in y directions. This configuration (see Figure 24) correspond to a particle positioned between two infinite planes, it will be used to propose the 2D RWPT algorithm for multiple zero-flux boundary conditions. In 2D, the solution is the product obtained by multiplying the 1D solution in x direction and in y direction. Thus, the solution in the x and y directions are independent. In Figure 24, the 2D zero-flux finite domain in x direction and infinite in y direction, there is no BC in the y direction. Therefore, the solution is a Gaussian in the y direction multiplied by the solution in the x direction (40) obtained in Appendix A.1. This yields ∀t ≥ 0; ∀x 1:2 ≤ x ≤ x 2:3 ; ∀y ∈ R;

A.3. 2D zero flux, semi-infinite domain in x and y directions

92The configuration studied in this subsection ( Figure 25) correspond to a case where a particle is located near the intersection of two interfaces. In this problem, there is one zero-flux BC for the x and y directions. Hence, the principle of correction (explained in Appendix A.1) must be applied so that the solution fits the zero-flux BC in x and y directions (instead of BC1 and BC2 of the same direction as in Appendix A.1). Since x and y are independent, then the solution of this problem (see Figure 25) is the solution of the 1D semi-infinite problem in x multiplied by the solution of the 1D semi-infinite problem in y. Hence, in this case the solution is not an infinite series but only the sum of four Gaussian functions.

93θ M 0 C (x, y, t ) = G((x 0 , y 0 ), 2D t , (x, y)) +G((2x 12 − x 0 , y 0 ), 2D t , (x, y)) +G((x 0 , 2y 23 − y 0 ), 2D t , (x, y)) +G((2x 12 − x 0 , 2y 23 − y 0 ), 2D t , (x, y)).

A.4. 2D zero flux, finite domain in x, finite or semi-infinite in y

94This subsection describes analytical solutions for problems with different configurations (see Figures 26,27). The RWPT algorithm proposed further below must be able to handle particles displacements in such configurations. The solution of the initial-value problem finite in x and semi-infinite in y (see Figure 26) is the solution of the 1D finite in x problem multiplied by the solution of the 1D semi-infinite in y problem.

95∀t ≥ 0; ∀x 1:2 ≤ x ≤ x 2:3 ; θ M 0 C (x, y, t ) = [G(y 0 , 2D t , y) +G(2y BC − y 0 , 2D t , y)]

96The solution of the initial-value problem finite in x and y (see Figure 27) is the solution of the 1D finite in x multiplied by the solution of the 1D finite in y problem. ∀t ≥ 0; ∀x 1:2 ≤ x ≤ x 2:3 ;

참고문헌 29건

  1. Heterogeneous multiscale methods: A review Communications in Computational Physics · Cambridge University Press · 2007
  2. (제목 없음) Transport in Porous Media · Springer Science+Business Media · 2001 10.1023/a:1010647108341
  3. Homogenization method for the study of composite media Lecture notes in mathematics · Springer Nature · 1983 10.1007/bfb0062368
  4. One- and Two-Equation Models for Transient Diffusion Processes in Two-Phase Systems Advances in heat transfer · Elsevier BV · 1993 10.1016/s0065-2717(08)70009-1
  5. (제목 없음) Transport in Porous Media · Springer Science+Business Media · 2001 10.1023/a:1010733724498
  6. The Method of Volume Averaging Theory and applications of transport in porous media · Springer International Publishing · 1999 10.1007/978-94-017-3389-2
  7. (제목 없음) Transport in Porous Media · Springer Science+Business Media · 2000 10.1023/a:1006639025910
  8. Efficient random walk particle tracking algorithm for advective‐dispersive transport in media with discontinuous dispersion coefficients and water contents Water Resources Research · Wiley · 2011 10.1029/2010wr010267
  9. Heat and mass transport in random velocity fields with application to dispersion in porous media Journal of Engineering Mathematics · Springer Science+Business Media · 1995 10.1007/bf00046384
  10. Random‐Walk Simulation of Transport in Heterogeneous Porous Media: Local Mass‐Conservation Problem and Implementation Methods Water Resources Research · Wiley · 1996 10.1029/95wr03528
  11. Taylor dispersion in porous media: Analysis by multiple scale expansions Advances in Water Resources · Elsevier BV · 1995 10.1016/0309-1708(95)00011-7
  12. Thermal dispersion in porous media: one-equation model International Journal of Heat and Mass Transfer · Elsevier BV · 2000 10.1016/s0017-9310(00)00021-1
  13. Self-avoiding walks in a rectangle Journal of Engineering Mathematics · Springer Science+Business Media · 2013 10.1007/s10665-013-9622-0
  14. Diffusion in catalyst pellets Chemical Engineering Science · Elsevier BV · 1962 10.1016/0009-2509(62)87015-8
  15. Direct simulation of the influence of the pore structure on the diffusion process in porous media Computers & Mathematics with Applications · Elsevier BV · 2013 10.1016/j.camwa.2013.08.032
  16. Gaseous diffusion in porous media. Part 2. - Dry granular materials British Journal of Applied Physics · IOP Publishing · 1960 10.1088/0508-3443/11/8/303
  17. Diffusion in anisotropic porous media Transport in Porous Media · Springer Science+Business Media · 1987 10.1007/bf00136440
  18. Permeability of porous solids Transactions of the Faraday Society · Royal Society of Chemistry · 1961 10.1039/tf9615701200
  19. Effective Diffusion Coefficient in Porous Media Journal of Applied Physics · American Institute of Physics · 1963 10.1063/1.1729783
  20. A review and numerical assessment of the random walk particle tracking method Journal of Contaminant Hydrology · Elsevier BV · 2006 10.1016/j.jconhyd.2006.05.005
  21. Dispersion resulting from flow through spatially periodic porous media Philosophical Transactions of the Royal Society of London Series A Mathematical and Physical Sciences · Royal Society · 1980 10.1098/rsta.1980.0205
  22. Random Walk Methods for Modeling Hydrodynamic Transport in Porous and Fractured Media from Pore to Reservoir Scale Transport in Porous Media · Springer Science+Business Media · 2016 10.1007/s11242-016-0693-z
  23. Modelling and upscaling of transport in carbonates during dissolution: Validation and calibration with NMR experiments Journal of Contaminant Hydrology · Elsevier BV · 2017 10.1016/j.jconhyd.2017.08.008
  24. Flow, Transport, and Reaction in Porous Media: Percolation Scaling, Critical‐Path Analysis, and Effective Medium Approximation Reviews of Geophysics · Wiley · 2017 10.1002/2017rg000558
  25. Random Walks with negative particles for discontinuous diffusion and porosity Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.07.006
  26. A Three-Level Multi-Continua Upscaling Method for Flow Problems in Fractured Porous Media Communications in Computational Physics · Cambridge University Press · 2019 10.4208/cicp.oa-2018-0219
  27. Partial Differential Equations Lecture notes in mathematics · Springer Nature · 1988 10.1007/bfb0082920
  28. A Treatise on Electricity and Magnetism Nature · Nature Portfolio · 1873 10.1038/007478a0
  29. Deleted Work 1955