On the accuracy of simulating mixing by random-walk particle-based mass-transfer algorithms
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1016/j.advwatres.2018.05.003
- 저널
- Advances in Water Resources
- 발행년도
- 2018
- 발행기관
- Elsevier BV
- 피인용수
- 31
- 라이선스
- publisher-specific-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.advwatres.2018.05.003
- 토픽
- Electrostatics and Colloid Interactions
- OpenAlex ID
- W2792074796
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 31,221자
본문 펼치기
섹션 본문 22문단 · 11,957자
(제목 없음)
1Several algorithms have been used for mass transfer between particles undergoing advective and macro-dispersive random walks. The mass transfer between particles is required for general reactions on, and among, particles. The mass transfer is shown to be diffusive, and may be simulated using implicit, explicit, or mixed methods. All algorithms investigated are accurate to O(∆t). For N particles, the implicit and semi-implicit methods require inverse matrix solutions and O(N 3 ) calculations. The explicit methods use forward matrix solves and require only O(N 2 ) calculations. Practically, this means that naive implementations with more than about 5,000 particles run more reliably using explicit methods.
2(linearly, instantaneously reversible) sorbing solutes [1,2]. The method is attractive because it does not suffer from numerical dispersion or negative concentrations. The method was extended [3] to nonlinearly interacting (bimolecular) chemical reactions by sequentially calculating the product of the probabilities of particle collision and thermodynamic reaction. The actual reactions were then performed using Monte Carlo methods and particles were "born" or "killed" by a comparison of reaction probability to randomly-generated numbers. The method was originally restricted to one, or a series of, bimolecular reactions [4,5,6,7,8,9,10], because any particle was composed of only one chemical species. If the reaction is viewed as a mixing process, which may be denoted 2pA + 2qA → (p + q)A + (p + q)A, then particles can carry as many species as desired, and mass transfer of all species occurs between particles [11]. The mass transfer still only occurs between particles with some probability of collision, and these probabilities may be viewed as the weights associated with mass transfer. Benson et al. [11] suggested that this collision-weighted mass transfer process follows a diffusion equation, although this was not shown rigorously.
3Furthermore, those authors chose a particular explicit mass transfer scheme, while later studies used an implicit scheme [12]. Because both explicit and implicit schemes appear to work, it is plausible that a combination of these, similar to the Crank-Nicolson (C-N) algorithm, may increase accuracy. The purpose of this paper is to first develop a framework to investigate whether the "action" of the mass-transfer algorithm proposed by Benson et al. [11] is actually diffusive. Once this diffusive nature is shown, the convergence rates of the several algorithms that immediately present themselves can be demonstrated.
Semi-implicit scheme
4Among a total of N particles located at positions x i , the collision-weighted mass exchange over a time step ∆t is written
5where the superscript denotes timestep (i.e., m k j = m j (k∆t)), = 0, 1, and P ij = P (|x i − x j | ; ∆t) is the probability of particle collision. This collision probability is shown to depend only upon the distance between particles, though it may have a more complicated form if non-isotropic or position dependent diffusion/dispersion paradigms are considered. Nonetheless, while the functional form of P may change, the mass transfer algorithm would be unaltered. For particles undergoing Brownian motion, this is the convolution of each particle's Gaussian location density, which is also Gaussian (see [3,5]). If = 1, the calculation is implicit, and if = 0, the calculation is explicit (which may take several forms, for example, sequentially calculated or simultaneously calculated).
6A semi-implicit form is reminiscent of the Crank-Nicolson scheme and uses equal amounts of k and k + 1 masses, so that we may write (1) as
7which uses α=1, 1/2, and 0 for implicit, semi-implicit, and explicit formulations respectively. Now denote the masses as a vector, i.e., m = [m 1 , . . . , m N ] T , and if one constructs a matrix of particle collision probabilities P with entries P ij , then (2) can be expressed as
8where A = diag(x) denotes a diagonal matrix, A with the entries of vector x along the main diagonal and 1 is an 1 × N vector of ones.
Explicit schemes
9Clearly, setting α = 0 in (3) results in an explicit forward matrix calculation. We call this matrix-explicit. All of the masses used to calculate the transfer magnitudes are from the beginning of the timestep. Another method sequentially calculates (2) for j = 1, . . . , N . After the j th particle is updated, its new mass can be used on the right side of the equation for subsequent calculations. If the sum is calculated using one fixed value for m j , then we call this vector-explicit, calculated as followed (employing pseudo-code, where • denotes the entry-wise, or Hadamard, product)
10Furthermore, if the sum is expanded, then each calculation may use an updated m j accounting for all previous terms in the sum. We call this explicit-sequential, and it is calculated as follows
11This method has a computational advantage in that there is no matrix multiplication required (just two loops over particle numbers), and hence it can accommodate huge particle numbers. It turns out that the vector-explicit algorithm is unstable for all ranges of parameters tested here and will not be explored further.
Accuracy as a function of repeated operation
12In general, the particle positions change due to non-uniform and potentially unsteady mean velocity. The particles are also typically given a random component to represent diffusion and hydrodynamic dispersion; therefore, each simulation in an ensemble has subtle differences [1]. This is one advantage of the method: the evolving particle spacings (controlled by the number of particles) and masses represent the heterogeneity of concentrations-as defined by evolving auto-and cross-correlation functions-and the resulting mixing process [5,10,9]. However, in order to check accuracy and convergence in this paper, we must artificially remove the randomness of simulations. This is done by eliminating the random movements of particles and spacing them evenly on the interval (0, 1), where the number of particles dictates the size of the constant spacing. This also allows us to construct the classical Eulerian implicit finite-difference (FD) approximation of diffusion using a 3-point space stencil for comparison. (We stress that our particle collision method may not be the most efficient way to simulate diffusion on a fixed grid of points, but the method will continue to work no matter how "mixed-up" the particle positions become.)
13We
14where s j and a j denote simulated and analytic solutions at spatial point j. We also utilized the infinity norm, max j (|s j − a j |), which showed similar scaling and is not shown here for brevity.
15To illustrate the motivation for this technical note, for N = 50 we see that all solutions appear diffusive by visual inspection of the plots of m(x, t = 10) ( Fig. 1 (a)). On the other hand, considering the various solution methods by time discretization, we first fix ∆t = 0.1 and vary the number of particles (Fig. 2). The errors are similar for N = 500, 1000, and 5000, indicating that, as long as a sufficient, minimum number of particles is used, increasing particle number does not appreciably decrease error. In subsequent simulations we use N = 1000 for consistency. All methods achieve their greatest error at the beginning of the simulation, due to the unmixed, or infinite gradient, IC. Repeated applications of the operators result in reduced error. In other words, repeated application of the matrix operations converges to a true diffusive operator. This is discussed further in Section 6. Also evident on the plot is the relatively poor performance of both implicit and semi-implicit particle methods, relative to the explicit matrix particle method that tends to converge quickly to the accuracy of the Eulerian finite-difference solution to which we compare.
Accuracy as a function of ∆t
16For a given number of particles (here N = 1000), the overall errors of all methods decrease over repeated application. However, we note that the mass-transfer algorithm, investigated here, is only one component of a particletracking simulation that may involve other processes like diffusive random walks, advective motion, and chemical reaction. If these other processes are included, it may negate this property. One might expect that, similar to the Crank-Nicolson time-stencil in an FD implementation, the semi-implicit solutions would improve as ∆t decreases, relative to the explicit and implicit methods, but this is not the case. All methods tested here have errors approximately proportional to ∆t ( Fig. 1 (b)).
17To better understand the relation between error and ∆t, we wish to find the power p such that E A := RMSE(s − a) < c(∆t) p = O(∆t p ), given the simulated and analytic solution vectors (s and a) and some constant c. Conducting a convergence analysis for a one-second simulation and refining ∆t by
18For the Heaviside IC case, we see, in Table 1, demonstrated first-order convergence in ∆t for all the discussed matrix methods. A plot of these errors is shown in Fig. 3 (a) with a reference line showing ∆t. As well, we see in Table 1 that the explicit sequential method suffers in accuracy for small ∆t and does not attain asymptotic convergence of O(∆t); this is visually depicted in Fig. 1 (b) for ∆t = 0.01.
Convergence to a diffusive process
19In an infinite 1-D domain, the solution to the diffusion equation at time T
20where G(x, t) = (4πDt) −1/2 exp −x 2 /(4Dt) is the Green's function for the diffusion equation, and denotes convolution. For time-discretized simulations, this convolution operation may be applied to the initial condition k = T /∆t times using G(x, ∆t) to generate m(x, T ). In a space-discretized particle case For this analysis, we will only consider the explicit matrix algorithm (i.e., Table 2.
Discussion and Summary
21In this technical note we show that the inter-particle mass transfer algorithm can be simulated in implicit, semi-implicit (pseudo-Crank-Nicolson), and However, 2D results for an analogous mass transfer algorithm are discussed in [13].
22This technical note has at least one important theoretical implication. Benson et al. [11] suggested that the reactive-RWPT method, when combined with this mass transfer method, could partition the diffusion/dispersion process in any way that the physics demand. Imagine two systems with total molecular diffusion plus hydrodynamic dispersion of D mol + D H = 10 −3 . One system with D mol = 10 −6 would have more mass transfer between nearby particles, and greater overall reaction rates, than a system with D mol = 10 −9 , even though the hydrodynamic dispersion D H ≈ 10 −3 would spread the species in nearly exactly the same way. In fact, as D mol → 0, a simulation would revert to unreactive, conservative components. So, if the dispersion tensor is thought of as a combination of velocity contrasts that promote spreading but not mixing, on top of smaller-scale mixing processes, then the reactive-RWPT method can very simply and separately perform true mixing (by mass transfer shown here) and macro-scale spreading via random walks. In this way the reactive-RWPT method is solving a different equation than any Eulerian method. Those methods cannot distinguish between the various components of the dispersion tensor D. To be more specific, the dispersion tensor is often assumed to follow [14] D = (D mol + α T v )I + (α L − α T ) vv T v , where D mol is molecular diffusion, α T < α L are transverse and longitudinal dispersivity, and v is a velocity column vector. Cirpka and Werth, et al. [15,16] reinforce the view of Gelhar et al. [17,18], who suggested that the first term (isotropic molecular diffusion plus smaller-scale transverse dispersion) truly represents a mixing process, while the addition of longitudinal dispersion accounts for velocity variations (hence a spreading process). Our method can separately simulate the smaller-scale mixing between particles (the first term) by the mass transfer algorithms shown here. Particle separation, as by sub-grid velocity variations, can be separately handled by random walks.
참고문헌 20건
- Enhanced mixing and reaction through flow focusing in heterogeneous porous media Water Resources Research · Wiley · 2006 10.1029/2005wr004511
- Particle tracking and the diffusion‐reaction equation Water Resources Research · Wiley · 2012 10.1029/2012wr012444
- Random‐Walk Simulation of Transport in Heterogeneous Porous Media: Local Mass‐Conservation Problem and Implementation Methods Water Resources Research · Wiley · 1996 10.1029/95wr03528
- Three‐dimensional stochastic analysis of macrodispersion in aquifers Water Resources Research · Wiley · 1983 10.1029/wr019i001p00161
- Connecting the dots: Semi-analytical and random walk numerical solutions of the diffusion–reaction equation with stochastic initial conditions Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.01.020
- Dynamics of fluids in Porous Media Engineering Geology · Elsevier BV · 1973 10.1016/0013-7952(73)90047-1
- Modeling bimolecular reactions and transport in porous media via particle tracking Advances in Water Resources · Elsevier BV · 2012 10.1016/j.advwatres.2012.11.001
- Stochastic analysis of macrodispersion in a stratified aquifer Water Resources Research · Wiley · 1979 10.1029/wr015i006p01387
- Dynamics of Fluids in Porous Media Soil Science · Lippincott Williams & Wilkins · 1975 10.1097/00010694-197508000-00022
- Simulating biodegradation under mixing-limited conditions using Michaelis–Menten (Monod) kinetic expressions in a particle tracking model Advances in Water Resources · Elsevier BV · 2014 10.1016/j.advwatres.2014.12.007
- Numerical simulation of biodegradation controlled by transverse mixing Journal of Contaminant Hydrology · Elsevier BV · 1999 10.1016/s0169-7722(99)00044-3
- 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
- Simulation of chemical reaction via particle tracking: Diffusion‐limited versus thermodynamic rate‐limited regimes Water Resources Research · Wiley · 2008 10.1029/2008wr007111
- A particle number conserving <scp>L</scp>agrangian method for mixing‐driven reactive transport Water Resources Research · Wiley · 2016 10.1002/2015wr018310
- Arbitrarily complex chemical reactions on particles Water Resources Research · Wiley · 2016 10.1002/2016wr019368
- A comparison of Eulerian and Lagrangian transport and non-linear reaction algorithms Advances in Water Resources · Elsevier BV · 2016 10.1016/j.advwatres.2016.11.003
- Elimination of the Reaction Rate “Scale Effect”: Application of the Lagrangian Reactive Particle‐Tracking Method to Simulate Mixing‐Limited, Field‐Scale Biodegradation at the Schoolcraft (MI, USA) Site Water Resources Research · Wiley · 2017 10.1002/2017wr021103
- Lagrangian simulation of mixing and reactions in complex geochemical systems Water Resources Research · Wiley · 2017 10.1002/2017wr020362
- A Lagrangian method for reactive transport with solid/aqueous chemical phase interaction Journal of Computational Physics X · Elsevier BV · 2019 10.1016/j.jcpx.2019.100021
- Arbitrarily complex chemical reactions on particles Water Resources Research · Wiley · 2016 10.1002/2016wr019368