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

Fourth-order analysis of a diffusive lattice Boltzmann method for barrier coatings

간접 관련 필름·전자재료 · (11) 배리어 필름 (15) 디스플레이 패널재료(18) VENT(방수통기 부품)

기본 정보

저자
  1. Kyle Strand — Department of Physics, North Dakota State University, NDSU Dept. 2755, P. O. Box 6050, Fargo, North Dakota 58108-6050, USA
  2. Aaron J. Feickert — Department of Physics, North Dakota State University, NDSU Dept. 2755, P. O. Box 6050, Fargo, North Dakota 58108-6050, USA
  3. Alexander J. Wagner — Department of Physics, North Dakota State University, NDSU Dept. 2755, P. O. Box 6050, Fargo, North Dakota 58108-6050, USA
DOI
10.1103/physreve.95.063311
저널
Physical review. E
발행년도
2017
발행기관
American Physical Society
피인용수
4
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1103/physreve.95.063311
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W2601125608

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
(15) 디스플레이 패널재료, (18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.85
근거 용어
barrier coatings, moisture ingress, diffusive lattice Boltzmann method, polymeric coatings, multi-layer systems
판단 근거
이 논문은 배리어 코팅(barrier coatings)을 통한 수분 침투(moisture ingress)를 시뮬레이션하기 위한 격자 볼츠만 방법(Lattice Boltzmann method)의 수치적 정확도를 분석하는 연구입니다.
R&D 활용 포인트
배리어 필름(11)이나 디스플레이 봉지재(15), 방수통기 부품(18) 등의 수분 차단 성능을 예측하고 설계할 때, 실험을 대체하거나 보완할 수 있는 수치 해석 모델링 기술로 활용 가능합니다.
평가 입력
본문 58,762자 중 30,032자 발췌

초록

We examine the applicability of diffusive lattice Boltzmann methods to simulate the fluid transport through barrier coatings, finding excellent agreement between simulations and analytical predictions for standard parameter choices. To examine more interesting non-Fickian behavior and multiple layers of different coatings, it becomes necessary to explore a wider range of parameters. However, such a range of parameters exposes deficiencies in such an implementation. To investigate these discrepancies, we examine the form of higher-order terms in the hydrodynamic limit of our lattice Boltzmann method. We identify these corrections to fourth order and validate these predictions with high accuracy. However, it is observed that the validated correction terms do not fully explain the bulk of observed error. This error was instead caused by the standard finite boundary conditions for the contact of the coating with the imposed environment. We identify a self-consistent form of these boundary conditions for which these errors are dramatically reduced. The instantaneous switching used as a boundary condition for the barrier problem proves demanding enough that any higher-order corrections meaningfully contribute for a small range of parameters. There is a large parameter space where the agreement between simulations and analytical predictions even in the second-order form are below 0.1%, making further improvements to the algorithm unnecessary for such an application.

본문 58,762자

본문 펼치기
## Fourth-order analysis of a diffusive lattice Boltzmann method for barrier coatings Kyle T. Strand, <sup>_∗_</sup> Aaron J. Feickert, <sup>_†_</sup> and Alexander J. Wagner <sup>_‡_</sup> _Department_ _of_ _Physics,_ _North_ _Dakota_ _State_ _University,_ _NDSU_ _Dept_ _2755,_ _PO_ _Box_ _6050,_ _Fargo_ _ND_ _58108-6050,_ _USA_ (Dated: November 23, 2021) ## Abstract We examine the applicability of diffusive lattice Boltzmann methods to simulate the fluid trans port through barrier coatings, finding excellent agreement between simulations and analytical pre dictions for standard parameter choices. To examine more interesting non-Fickian behavior and multiple layers of different coatings, it becomes necessary to explore a wider range of parame ters. However, such a range of parameters exposes deficiencies in such an implementation. To investigate these discrepancies, we examine the form of higher-order terms in the hydrodynamic limit of our lattice Boltzmann method. We identify these corrections to fourth order and validate these predictions with high accuracy. However, it is observed that the validated correction terms do not fully explain the bulk of observed error. This error was instead caused by the standard finite boundary conditions for the contact of the coating with the imposed environment. We iden tify a self-consistent form of these boundary conditions for which these errors are dramatically reduced. The instantaneous switching used as a boundary condition for the barrier problem proves demanding enough that any higher-order corrections meaningfully contribute for a small range of parameters. There is a large parameter space where the agreement between simulations and analytical predictions even in the second-order form are below 0.1%, making further improvements to the algorithm unnecessary for such an application. _∗_ `kyle.t.strand@ndsu.edu` (corresponding author) _†_ `aaron.feickert@ndsu.edu` _‡_ `alexander.wagner@ndsu.edu` I. INTRODUCTION Coating systems are used heavily in industry for the protection of materials and infras tructure. Common examples include the paints on cars, bicycles, and houses; the layered coating systems used on boats and airframes; and the coatings used to protect bridges. In all cases, the goal of the coating system is to protect the underlying substrate from ingress by aggressive particulate, gaseous, or fluid materials while remaining aesthetically intact. Crosslinked polymer networks, also called thermosets, are typically chosen in protective applications due to their net-like structure. In such a structure, precursor materials are chemically bonded through a crosslinking and curing process to form a three-dimensional structural network. This network acts as a physical and chemical barrier that attempts to prevent permeation by water, salt, particulate matter, and other environmental contami nants. Since substrates are often materials susceptible to corrosion, like aluminum or steel, it is essential that moisture not be permitted to reach the substrate in appreciable quantities. As is known, most coatings permit, to some degree, moisture ingress [17]. This can be due to imperfections in the preparation process [6], the formation of void space during curing or cooling [22], or because of damage in service. To help detect coating formulations that may be unsuitable for use in the field, accelerated weathering testing is used to determine failure rates and modes in the lab. Much research has been devoted to the relationship between accelerated testing, comparable real-world testing, and service life, but no complete and predictive model exists that accurately correlates a coating’s performance in lab testing, performance in field testing, and failure modes or lifespan that is likely to occur in service [9]. Since moisture entering the coating is conserved, the dynamics of fluid density _ρ_ obey the continuity equation _∂tρ_ + _∇_ j = 0 _,_ (1) where j is the mass current. Assuming an isotropic coating, mass current will be in the direction of negative density current. We denote the proportionality between the current and negative gradient by _D_, which in the simplest case is a constant. Later, we consider a more general _D_ ( _ρ_ ). We therefore have j = _−D∇ρ_ . With this constitutive relation for the mass current, we recover the well-known diffusion equation. Several methods exist to model idealized diffusion. Early work focused primarily on precise mathematical modeling and numerical solutions to boundary-matched differential equations governing diffusion [2, 3]. Modern approaches include network connectivity mod els [10], Monte Carlo simulations [14], and finite-element analysis [11] for more complex structures like porous media where an effective diffusivity is desired. However, approaches dealing with pore structures may depend on the structure and porosity of the material in question, quantities that most often unknown _a_ _priori_ . Additionally, finite-element mod els tend to be computationally complex and often rely on commercial closed codes. As a whole, there is comparatively little known about the precise dynamics of diffusion through polymeric coatings [12]. Additionally, different approaches exist when multiple layers are considered. In the case of multiple hydrophobic barrier coatings, boundary-matching Fickian solutions can be used [3] and matched to experiment via electrochemical methods. When a base coating is hy drophilic, as is the case with some primers, an alternative approach couples Fickian diffusion for any overlying barrier coatings with the assumption of an instantaneous reservoir for the base layer [1]. In either case, different coatings in a multi-layer stackup differ in their effective diffusivity. Any numerical technique used to model the progression of moisture in such a stackup must stably account for a wide range of diffusion constants. Since laboratory testing of candidate barrier coating systems typically includes cyclic exposure to moisture and dry ambient air over long periods of time, simulations of cyclic processes must maintain numerical stability over correspondingly longer time scales. In this paper, we use lattice Boltzmann numerical techniques to determine the accuracy of modeling moisture ingress through a finite coating system exposed to a reservoir and adhered to an ideal substrate. Because of the necessity of modeling a wide range of saturation levels and diffusivity in the case of multi-layer systems, we analyze the error introduced in the traditional second-order approximation to the diffusion equation used in lattice Boltzmann approaches. To investigate the nature of this error, we introduce a fourth-order correction and perform a Fourier component analysis to confirm the correctness of our results. We show that the bulk of the second-order error in such a system arises from the boundary conditions used, and comment on the proper use of periodic systems to remove this error. Applications to multi-layer systems with variable diffusivity are discussed in the context of our analysis. II. LATTICE BOLTZMANN METHODS The lattice Boltzmann approach models densities _fi_ defined on a discrete lattice space associated with discrete lattice velocities _vi_ . After being displaced to a new lattice position _x_ + _vi_, the densities at each lattice point are redistributed in a collision step. This method has been used extensively to model hydrodynamic behavior [4, 13, 16], diffusion [15, 21], electrostatics [19], and similar systems with high accuracy and computational efficiency. Notably, the hydrodynamic partial differential equations underlying such systems are not the starting point for the method, but rather emerge from it. Choices like the number of quantities conserved in the collision allow for the freedom of recovering the governing equations for a variety of different systems, as mentioned above. A popular collision term defines a local equilibrium _fi_ <sup>0</sup> <sup>that only depends on the conserved</sup> quantities and then relaxes the actual density towards the local equilibrium. In this form the lattice Boltzmann equation can be written as - _._ (2) _fi_ ( _x_ + _vi, t_ + 1) = _fi_ ( _x, t_ ) + _j_ Λ _ij_ - _fj_ <sup>0</sup> _j_ <sup>0(</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>))</sup> <sup>_−_</sup> <sup>_fj_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> Here _fj_ <sup>0</sup> <sup>is</sup> <sup>the</sup> <sup>local</sup> <sup>equilibrium</sup> <sup>density,</sup> <sup>Λ</sup> <sup>_ij_</sup> <sup>is</sup> <sup>a</sup> <sup>collision</sup> <sup>matrix,</sup> <sup>and</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>local</sup> density of the system, given by _ρ_ ( _x, t_ ) = _i_ _fi_ ( _x, t_ ) _._ (3) The form of the collision matrix allows for further control of the algorithm, but this freedom is not explored in this paper. Most examples where this freedom has shown to be useful relate to simulations of hydrodynamic systems with very low viscosity. Such low viscosities may give rise to instabilities that can be controlled by a careful choice of the collision matrix. For diffusive systems like the one considered here, the advantages of utilizing multiple relaxation times are less well established (See Ginzburg [5]), so we will employ the particularly simple collision matrix Λ _ij_ = <sup><u>1</u></sup> (4) _τ_ <sup>_δij_</sup> that was originally proposed by Qian [13], using a single relaxation time _τ_ . It is necessary to impose moments on the equilibrium distribution, following the method of [21]. While not considered here, formulations of this method in the case of multiple components [15] and multiple relaxation times [7, 8]. In particular, we impose the following (non-unique) moments on the distribution: _i_ _fi_ <sup>0</sup> <sup>=</sup> <sup>_ρ_</sup> (5) _i_ _fi_ <sup>0</sup> <sup>_viα_</sup> <sup>= 0</sup> (6) _i_ _fi_ <sup>0</sup> <sup>_viαviβ_</sup> <sup>=</sup> <sup>_ρθδαβ_</sup> (7) where the Greek indices are spatial dimensions and follow the Einstein notation. Local density conservation is assured by Eqn. (5), while Eqn. (7) introduces a spatially uniform imposed temperature _θ_ . Following [20], a second-order Taylor approximation using this choice of moments leads to the lattice diffusion equation _∂tρ_ = _∇α_ - _τ_ _−_ <sup><u>1</u></sup> 2 - _τ_ _−_ <sup><u>1</u></sup> _∇α_ ( _ρθ_ ) (8) and, if the temperature is constant, this recovers a diffusion equation with the diffusion constant _D_ = - _τ_ _−_ <sup><u>1</u></sup> - _θ._ (9) 2 Testing for coating applications usually applies moisture somewhat homogeneously on the sample, either in soak testing or weathering chambers; drying also proceeds evenly. This reduces the problem of interest to an effectively one-dimensional case. For simulations, we use the simplest one-dimensional lattice Boltzmann model with the velocities _{vi}_ = _{_ 0 _,_ 1 _, −_ 1 _}_ . This one-dimensional lattice with the given velocities is known as a D1Q3 scheme. For this implementation of a diffusive system, the local equilibrium distribution can be written as _fi_ <sup>0</sup> <sup>=</sup> <sup>_ρwi,_</sup> (10) where _wi_ are the weights related to the magnitude of the velocities _{vi}_ . To recover the necessary moments, the weights are _w_ 0 = 1 _−_ _θ_ _w_ 1 = <sup>_<u>θ</u>_</sup> 2 _w_ 2 = <sup>_<u>θ</u>_</sup> (11) 2 <sup>_._</sup> The D1Q3 implementation then allows for a full and self-contained simulation method for a diffusive system. III. APPLICATION TO WATER CONTENT OF COATINGS We wish to model the wetting of a single-layer coating via Fickian diffusion. Since coatings are frequently examined in the laboratory on test panels using weathering chambers that subject the coating to moisture, we will consider the case where the coating, represented by a lattice from 0 _≤_ _x ≤_ _Lx_, is exposed to a reservoir of varying concentration _ρ_ <sup>_b_</sup> ( _t_ ) at _x_ = 0 and an impermeable substrate at the right end of the simulation lattice. The meaning of _ρ_ <sup>_b_</sup> is the amount of water that will be absorbed just inside the coating as it is exposed to the environment. For an immersion in water, this corresponds to the maximal water content the coating can absorb, and we scale the density so that this value corresponds to _ρ_ = 1. We must account for these two boundary conditions in our numerical simulation. We implement the source term by setting _fi_ (0 _, t_ ) = _fi_ <sup>0(</sup> <sup>_ρb_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> (12) and by replacing the streaming step at the right end by a bounceback algorithm, where the right-moving _f_ 1( _Lx_ ) is reinserted as an _f_ 2 in the streaming step. The result for a step function _ρ_ <sup>_b_</sup> ( _t_ ) = Θ( _t_ ) in the exposure is shown in Fig. 1. We used a system with _Lx_ = 100 lattice points, _τ_ = 1, _θ_ = 0 _._ 5, _ρ_ 0 = 1, and ran the simulation for a variable number of iterations _T_ . As expected, moisture is at first located closely to the surface and then penetrates the sample. To verify the correctness of the simulation results, we construct an analytical solution for the concentration over time, using linear combinations of the well-known error function solution [2]. These are solutions of the diffusion equation for the initial condition of a step function in an infinite system. If the initial step goes from 2 _ρ_ 0 to zero, then the solution is �� _._ (13) _ρ_ <sup>_th,_</sup> <sup>1</sup> ( _x, t_ ) = _ρ_ 0 - - _<u>x</u>_ 1 _−_ erf _~~√~~_ 4 _Dt_ This solution has a fixed point _ρ_ bath(0 _, t_ ) = _ρ_ 0 at _x_ = 0, which corresponds to our boundary condition. So _ρ_ <sup>_th,_</sup> <sup>1</sup> ( _x, t_ ) for _x_ _≥_ 0 and _t_ _>_ 0 is the analytical solution for an infinite dry coating exposed to a reservoir starting at time _t_ = 0. Note that the long-time behavior gives _ρ_ <sup>_th,_</sup> <sup>1</sup> ( _x, t →∞_ ) = _ρ_ 0 as expected. Suppose now that we have a finite one-dimensional coating extending from 0 _≤_ _x ≤_ _Lx_ . At _x_ = 0, the coating is exposed to a reservoir with fixed concentration _ρ_ ( _x_ = 0 _, t_ ) = _ρ_ 0. At _x_ = _Lx_ is an impermeable substrate where _∇ρ_ ( _x_ = _Lx, t_ ) = 0. <mark>1</mark> 0.8 0.6 0.4 0.2 1 hour 4 hours 16 hours 48 hours 96 hours 0 0 20 40 60 80 100 Lattice Spaces FIG. 1. Concentration profile at _τ_ = 1, _θ_ = 0 _._ 5, _ρ_ 0 = 1 at various times (symbol), with analytical solution _ρ_ ( _x, t_ ) (solid line). To account for the vanishing current at the substrate, we use an image source reservoir at _x_ = 2 _Lx_ . This will ensure a vanishing gradient at _x_ = _Lx_ and, by symmetry, a vanishing current. However, when the reflected concentration becomes nonzero at the reservoir again, we must subtract another image source reservoir at _x_ = _−_ 2 _Lx_ to maintain the correct boundary condition. Repeating this process infinitely, we arrive at the final solution that includes both reservoir and substrate: _−_ erf - _<u>x</u>_ <u>+ 2</u> _<u>iLx</u>_ _~~√~~_ 4 _Dt_ �� (14) _ρ_ <sup>_th_</sup> ( _x, t_ ) = _ρ_ 0 _∞_ _i_ =0 ( _−_ 1) <sup>_i_</sup> - - _<u>x −</u>_ <u>2(</u> _<u>i</u>_ <u>+ 1)</u> _<u>Lx</u>_ 2 + erf _~~√~~_ 4 _Dt_ For practical purposes, we find ten terms of the infinite sum in Eqn. (14) are entirely sufficient for most cases. It is instructive to determine the correspondence between these numerical parameters and a laboratory case. A typical barrier coating might have thickness _X_ = 50 _µ_ m, diffusion constant in water _D_ _∼_ 10 <sup>_−_</sup> <sup>14</sup> m <sup>2</sup> _/_ s, and be exposed to moisture in a weathering chamber for _T_ = 4 hours at a time for testing. We can introduce reduced time, length, and density scales _t_ <sup>_′_</sup> _, x_ <sup>_′_</sup> _, ρ_ <sup>_′_</sup> such that _t_ = _Tt_ <sup>_′_</sup> (15) _x_ = _Xx_ <sup>_′_</sup> (16) _ρ_ = _ρ_ 0 _ρ_ <sup>_′_</sup> (17) and 0 _≤{t_ <sup>_′_</sup> _, x_ <sup>_′_</sup> _, ρ_ <sup>_′_</sup> _} ≤_ 1. Since the unit relationship _T_ = _X_ <sup>2</sup> _/D_ holds by dimensional analysis, for any given experimental setup the quantity _F_ _≡_ <sup>_<u>TD</u>_</sup> (18) _X_ <sup>2</sup> is dimensionless and we have the scaled diffusion equation _∂t′ρ_ <sup>_′_</sup> = _−∇x′F_ _∇ρ_ <sup>_′_</sup> . Using the experimental parameters suggested above gives _F_ = 5 _._ 76 _×_ 10 <sup>_−_</sup> <sup>2</sup> . In our simulations, we use total length _X_ = _Lx_ = 100 lattice sites, reservoir concentration _ρ_ 0 = 1, _θ_ = 0 _._ 5, and _τ_ = 1. Since this gives a time scale _T_ _≈_ 2300 iterations, this means one hour of equivalent macroscopic exposure corresponds to approximately 575 simulation iterations. Further, the choice of _τ_ = 1 yields immediate relaxation of local distributions, so we would expect excellent agreement to theory. We are now in a position to comment on the accuracy of this simulation method in comparison to the analytical solution _ρ_ <sup>_th_</sup> in Eqn. (14). For each of the exposure times in Fig. 1, we compute the absolute error _ϵ_ ( _x_ ) _≡_ �� _ρ_ ( _x, t_ ) _−_ _ρth_ ( _x, t_ )�� (19) across the lattice space profile. The result is plotted logarithmically in Fig. 2, showing excellent agreement. It is interesting to observe how the error changes over time; initially, the error drops substantially since moisture has not yet permeated through the entire coating lattice. This tail increases as the entire lattice becomes wet, but then uniformly decays as the numerical solution approaches saturation and agrees with the corresponding analytical solution. While this method provides efficient and stable numerical modeling of a single coating, a given coating system might consist of two or more barrier layers in a stackup, each with a different diffusion constant that permits moisture ingress and egress at different rates from its neighbors. To extend this method to the simplest multi-layer case, we might wish to model a two-layer stackup consisting of idealized barrier coatings with different physical properties. To do so, our reservoir model is modified slightly, with the outer barrier coating represented at lattice sites 0 _≤_ _x_ _≤_ _Lx/_ 2 and the inner barrier coating at _Lx/_ 2 _≤_ _x_ _≤_ _Lx_ . Since the diffusion constant is controlled by the parameter _τ_ in Eqn. (8), the presence of two diffusion constants requires that _τ_ be position-dependent: _τ_ out _,_ 0 _≤_ _x ≤_ _Lx/_ 2 _τ_ in _,_ _Lx/_ 2 _≤_ _x ≤_ _Lx_ _τ_ = _τ_ ( _x_ ) _≡_    (20) -3 10 -4 10 -5 10 -6 10 -7 10 1 hour -8 4 hours 10 16 hours -9 48 hours 10 96 hours -10 10 0 20 40 60 80 100 Lattice spaces FIG. 2. Absolute error profile _ϵ_ between numerical and analytical concentration for exposure over time. Incidentally, changing the value of _θ_ between the two regions will lead to different maximum water uptake in the layers, an important relationship that will be explored elsewhere. Although such a two-layer system is not investigated in this paper, it is essential to determine the range of _τ_ values for which numerical and analytical solutions agree sufficiently over time. For efficient simulations, it is advantageous to choose _τ_ as large as feasible, since this corresponds to a large diffusion constant and hence a shorter simulation time. For a quick initial evaluation, we run a series of lattice Boltzmann simulations with varying values of _τ_ to the same macroscopic equivalent time of four hours of exposure. After that time, we compute the absolute error _ϵ_ between numerical and analytical solutions across the entire lattice profile. Results are shown in Fig. 3. The choices of _τ_, along with the corresponding time scale _T_, are shown in Table I. As shown earlier, the solutions agree very well for _τ_ = 1. However, the error may be orders of magnitude larger for _τ̸_ = 1. Depending on the particular application, we may require ratios of diffusion constants that vary significantly (such as in multi-layer systems); however, the errors indicated here may cause the numerical method to appear less than ideal. We discuss the lower asymptotic limit _τ_ _→_ 0 _._ 5 later. We therefore wish to examine the origin and nature of the _τ_ -dependent error. Of note is that the derivation of the lattice diffusion equation given above (and used heavily in the literature) is done with only a second-order Taylor approximation. To determine the degree to which this approximation leads to the errors shown, we next perform a fourth-order _τ_ _θ_ _D_ _T_ 0.55 0.5 0.025 23040 0.70 0.5 0.10 5760 1.0 0.5 0.25 2304 1.5 0.5 0.50 1152 2.0 0.5 0.75 768 10.0 0.5 4.75 121 TABLE I. Values of _τ_ and _θ_ used in simulations, with corresponding diffusion constant _D_ and time scale _T_ corresponding to four hours of macroscopic equivalent exposure with _F_ = 5 _._ 76 _×_ 10 <sup>_−_</sup> <sup>2</sup> (all in lattice units). τ = 0.55 τ = 0.7 0 ~~τ = 1~~ 10 τ = 1 ~~<u>.5</u>~~ -1 τ = 2 10 τ = 1 ~~<u>0</u>~~ -2 10 -3 10 -4 10 -5 10 -6 10 -7 10 0 20 40 60 80 100 Lattice spaces FIG. 3. Absolute error profile _ϵ_ between numerical and analytical concentration at various _τ_ . All simulations were run to the same scaled time, corresponding to four hours of macroscopic equivalent time. correction to this diffusion equation. IV. FOURTH-ORDER LIMIT OF DIFFUSION EQUATION In order to introduce a correction to the diffusion equation, we perform a Taylor expansion of the lattice Eqn. (2) to account for higher orders. As shown by Wagner [18], this equation expanded to the fourth order takes the form - _τ_ <sup>2</sup> _−_ _τ_ + <sup><u>1</u></sup> 6 ( _∂t_ + _viα∇α_ ) <sup>3</sup> _fi_ <sup>0</sup> ( _∂t_ + _viα∇α_ ) _fi_ <sup>0</sup> <sup>_−_</sup> - _τ_ _−_ <sup><u>1</u></sup> 2 - _τ_ _−_ <sup><u>1</u></sup> ( _∂t_ + _viα∇α_ ) <sup>2</sup> _fi_ <sup>0</sup> <sup>+</sup> _τ_ <sup><u>1</u></sup> <sup>(</sup> <sup>_f_</sup> _i_ <sup>0</sup> ( _∂t_ + _viα∇α_ ) <sup>4</sup> _fi_ <sup>0</sup> _i_ <sup>0</sup> <sup>_−_</sup> <sup>_fi_</sup> <sup>)</sup> <sup>_._</sup> (21) _−_ - _τ_ <sup>3</sup> _−_ 2 <sup><u>3</u></sup> <sup>_τ_</sup> <sup>2 +</sup> 12 <sup><u>7</u></sup> <sup>_τ_</sup> <sup>_−_</sup> 24 <sup><u>1</u></sup> _i_ <sup>0</sup> <sup>+</sup> <sup>_O_</sup> <sup>(</sup> <sup>_∂_</sup> <sup>5) =</sup> <sup><u>1</u></sup> _τ_ Since we have now introduced higher-order powers into this expansion, we must utilize moments up to the fourth-order. Using the form of the equilibrium distribution in Eqn. (10), we calculate the higher-order moments: _i_ _fi_ <sup>0</sup> <sup>=</sup> <sup>_ρ_</sup> (22) _i_ _viαfi_ <sup>0</sup> <sup>= 0</sup> (23) _i_ _viαviβfi_ <sup>0</sup> <sup>=</sup> <sup>_ρθδαβ_</sup> (24) _i_ _viαviβviγfi_ <sup>0</sup> <sup>= 0</sup> (25) _i_ _i_ <sup>0</sup> <sup>=</sup> <sup>_<u>ρθ</u>_</sup> 3 _viαviβviγviδfi_ <sup>0</sup> 3 <sup>(</sup> <sup>_δαβδγδ_</sup> <sup>+</sup> <sup>_δαγδβδ_</sup> <sup>+</sup> <sup>_δαδδβγ_</sup> <sup>)</sup> (26) Summing over all indices of Eqn. (21) using these revised moments, we are left with _∂tρ −_ _A_ ( _τ_ )( _∂t_ <sup>2</sup> <sup>_ρ_</sup> <sup>+</sup> <sup>_∇α∇βρθδαβ_</sup> <sup>)+</sup> _B_ ( _τ_ )( _∂t_ <sup>3</sup> <sup>_ρ_</sup> <sup>+</sup> <sup>_∂t∇α∇βρθδαβ_</sup> <sup>+</sup> <sup>_∂t∇α∇γρθδαγ_</sup> <sup>+</sup> <sup>_∂t∇β∇γρθδβγ_</sup> <sup>)</sup> <sup>_−_</sup> _∂t_ <sup>4</sup> _t_ <sup>2</sup> <sup>_∇α∇βρθδαβ_</sup> <sup>+</sup> <sup>_∂_</sup> _t_ <sup>2</sup> _t_ <sup>2</sup> <sup>_∇α∇γρθδαγ_</sup> <sup>+</sup> <sup>_∂_</sup> _t_ <sup>2</sup> _t_ <sup>2</sup> <sup>_∇α∇δρθδαδ_</sup> <sup>+</sup> <sup>_∂_</sup> _t_ <sup>2</sup> _t_ <sup>2</sup> <sup>_∇β∇γρθδβγ_</sup> _C_ ( _τ_ ) _t_ <sup>4</sup> <sup>_ρ_</sup> <sup>+</sup> <sup>_∂_</sup> _t_ <sup>2</sup> + _∂t_ <sup>2</sup> _t_ <sup>2</sup> <sup>_∇β∇δρθδβδ_</sup> <sup>+</sup> <sup>_∂_</sup> _t_ <sup>2</sup> _t_ <sup>2</sup> <sup>_∇γ∇δρθδγδ_</sup> <sup>+</sup> <sup>_∇α∇β∇γ∇δ_</sup> - _<u>ρθ</u>_ �� 3 <sup>(</sup> <sup>_δαβδγδ_</sup> <sup>+</sup> <sup>_δαγδβδ_</sup> <sup>+</sup> <sup>_δαδδβγ_</sup> <sup>)</sup> + _O_ ( _∂_ <sup>5</sup> ) = 0 (27) where we have defined the _τ_ -dependent prefactors _A_ ( _τ_ ) _≡_ _τ_ _−_ <sup><u>1</u></sup> 2 _B_ ( _τ_ ) _≡_ _τ_ <sup>2</sup> _−_ _τ_ + <sup><u>1</u></sup> 6 _C_ ( _τ_ ) _≡_ _τ_ <sup>3</sup> _−_ <sup><u>3</u></sup> 2 <sup>_τ_</sup> <sup>2 +</sup> 12 <sup><u>7</u></sup> <sup>_τ_</sup> <sup>_−_</sup> 24 <sup><u>1</u></sup> for brevity. This form is not particularly useful since there are mixed spatial and temporal derivatives in the higher-order powers. In our one-dimensional implementation, we can drop our indices. We use the diffusion equation to write the temporal derivatives in terms of the spatial derivatives as _∇_ <sup>2</sup> _α_ <sup>_ρθ_</sup> <sup>+</sup> <sup>_O_</sup> <sup>(</sup> <sup>_∇_</sup> <sup>3)</sup> <sup>_._</sup> (28) _∂tρ_ = - _τ_ _−_ <sup><u>1</u></sup> 2 It immediately follows that <sup>2</sup> _β_ <sup>_ρθ_</sup> <sup>2 +</sup> <sup>_O_</sup> <sup>(</sup> <sup>_∇_</sup> <sup>5)</sup> <sup>_._</sup> (29) �2 _∇_ <sup>2</sup> _α_ _∂t_ <sup>2</sup> <sup>_ρ_</sup> <sup>=</sup> - _τ_ _−_ <sup><u>1</u></sup> 2 <sup>2</sup> _α_ <sup>_∇_</sup> <sup>2</sup> _β_ We can then introduce these two substitutions into Eqn. (27) and we have - _τ_ <sup>2</sup> _−_ _τ_ + <sup><u>1</u></sup> 6 - _τ_ _−_ <sup><u>1</u></sup> 2 �3 _∇_ <sup>4</sup> _ρθ_ <sup>2</sup> + �� _τ_ _−_ <sup><u>1</u></sup> 2 3 _∇_ <sup>4</sup> _ρθ_ <sup>2</sup> _∇_ <sup>2</sup> _ρθ −_ _∂tρ −_ - _τ_ _−_ <sup><u>1</u></sup> 2 - _τ_ <sup>3</sup> _−_ <sup><u>3</u></sup> 2 <sup>_τ_</sup> <sup>2 +</sup> 12 <sup><u>7</u></sup> <sup>_τ_</sup> <sup>_−_</sup> 24 <sup><u>1</u></sup> - _τ_ <sup>3</sup> _−_ <sup><u>3</u></sup> 2 _∇_ <sup>4</sup> _ρθ_ = 0 _._ (30) _−_ We then obtain the form of a corrected diffusion equation _∂tρ_ = _D∇_ <sup>2</sup> _ρ_ + _α∇_ <sup>4</sup> _ρ_ (31) with corrections up to the fourth power in spatial derivatives, where we define _α_ = _α_ ( _τ, θ_ ) _≡_ - 2 _τ_ <sup>3</sup> _θ −_ _τ_ <sup>3</sup> _−_ 3 _τ_ <sup>2</sup> _θ_ + 2 <sup><u>3</u></sup> <sup>_τ_</sup> <sup>2+</sup> <sup><u>5</u></sup> 4 <sup>_τθ −_</sup> 12 <sup><u>7</u></sup> <sup>_τ_</sup> <sup>_−_</sup> <sup><u>1</u></sup> 8 <sup>_θ_</sup> <sup>+</sup> 24 <sup><u>1</u></sup> _θ._ (32) This definition of _α_ represents the expected error between the second-order diffusion equation and the corrected fourth-order equation. For certain parameter values, such as _τ_ = 1 and _θ_ = 1 _/_ 3, we have _α_ = 0, which accounts for higher accuracy observed for such parameters. We plot a density field representation of the relative error quantity _α_ ( _τ, θ_ ) _/D_ ( _τθ_ ) in Fig. 4. We indicate a contour where this quantity vanishes, as well as additional contours whose numerical importance will be explained in later sections. The correction term has a similar form to a surface tension term in a Cahn-Hilliard equation. In this case, positive values of _α_ would correspond to a negative surface free energy. This implies that simulations with positive _α_ should be unstable for high frequency perturbations. This equation can be solved in Fourier space, allowing us to verify our analytical predictions with lattice Boltzmann simulations. In the subsequent section, we perform this analysis. FIG. 4. Density field representation of _α_ ( _τ, θ_ ) _/D_ ( _τ, θ_ ), with contour lines indicating _α_ ( _τ, θ_ ) _/D_ ( _τ, θ_ ) = 0 (solid), _−_ 1 _/π_ <sup>2</sup> (dotted, predicted instability), 1 _/π_ <sup>2</sup> (dashed, shown for symme try). V. FOURIER ANALYSIS OF CORRECTION TERM A Fourier transform of Eqn. (31) yields _∂tρ_ �( _k, t, α_ ) = _−Dk_ <sup>2</sup> _ρ_ �( _k, t, α_ ) _−_ _αk_ <sup>4</sup> _ρ_ �( _k, t, α_ ) _._ (33) Here _k_ is any specific Fourier mode and _ρ_ �( _k, t_ ) is the _k_ -space density represented by _ρ_ �( _k_ ) = <sup><u>1</u></sup> 2 _π_ - _Lx_ _ρ_ ( _x_ ) _e_ 0 <u>2</u> _<u>πikx</u>_ _Lx_ _dx,_ (34) where _Lx_ is the system size in the _x_ -direction. Even though _x_ is continuous, the finite periodicity of 2 _π_ causes _k_ to be discrete. This allows for our system to contain a finite number of _k_ modes which can be now examined independently. The form of Eqn. (33) is simple since different _k_ modes do not couple. In _k_ -space, the initial profile at _t_ = 0 is chosen by defining _ρ_ ( _x,_ 0), which for _ρ_ �( _k,_ 0) gives Eqn. (34) and (35) _ρ_ �( _k, t, α_ ) = _ρ_ �( _k,_ 0) _e_ <sup>_−_</sup> <sup>(</sup> <sup>_Dk_</sup> <sup>2</sup> <sup>_t_</sup> <sup>+</sup> <sup>_αk_</sup> <sup>4</sup> <sup>_t_</sup> <sup>)</sup> _._ We reproduce the uncorrected diffusion equation by setting _α_ = 0, obtaining (36) _ρ_ �( _k, t,_ 0) = _ρ_ �( _k,_ 0) _e_ <sup>_−Dk_</sup> <sup>2</sup> <sup>_t_</sup> _._ These predictions are implemented on a discrete lattice which implies that there will be a finite number of _k_ modes. From Eqn. (34), we have _k_ = <sup><u>2</u></sup> <sup>_<u>π</u>_</sup> _Lx_ (37) which implies a maximum allowed _k_ mode when _k_ = _π_ and a minimum lattice dimension of _Lx_ = 2. In this finite system, we have the back transform _ρ_ ( _x, t_ ) = _k_ _e_ <sup>_ikx_</sup> _ρ_ �( _k, t, α_ ) _._ (38) It is now possible to verify this theoretical prediction by examining the decay of specific Fourier modes by imposing an initial profile _ρ_ ( _x,_ 0) = sin( _kx_ ) _._ (39) Using this profile, the uncorrected and corrected _k_ -space densities become, respectively, _ρ_ �( _k, t,_ 0) = sin( _kx_ ) _e_ <sup>_−tDk_</sup> <sup>2</sup> (40) _ρ_ �( _k, t, α_ ) = sin( _kx_ ) _e_ <sup>_−t_</sup> <sup>(</sup> <sup>_Dk_</sup> <sup>2+</sup> <sup>_αk_</sup> <sup>4)</sup> _._ In practice, we change _k_ by varying the system size _Lx_ . An interesting point to note is that when _α_ _<_ _−_ _π_ <sup>_<u>D</u>_</sup> <sup>2</sup> <sup>,</sup> <sup>it</sup> <sup>is</sup> <sup>predicted</sup> <sup>that</sup> <sup>the</sup> <sup>numerical</sup> <sup>simulations</sup> <sup>would</sup> <sup>be</sup> <sup>unstable.</sup> <sup>This</sup> <sup>is</sup> predicted due to the fact that in Eqn. (40), the negative _α_ term leads to a positive exponent and causes _ρ_ �( _k, t, α_ ) not to decay. VI. NUMERICAL VERIFICATION OF CORRECTION TERM To determine the validity of the prediction for the correction term shown in Eqn. (32), we define a ratio between the two forms of k-space density in Eqn. (40) in a simple form such that _R_ ( _k, t, α_ ) _≡_ <sup>_<u>ρ</u>_</sup> <sup><u>�(</u></sup> <sup>_<u>k, t,</u>_</sup> <sup><u>0)</u></sup> (41) _ρ_ �( _k, t, α_ ) <sup>=</sup> <sup>_eαk_</sup> <sup>4</sup> <sup>_t._</sup> We can use this relation to measure _α_ from numerical simulations. We do this by ini tializing our probability distributions by _fi_ ( _x,_ 0) = _fi_ <sup>0(sin(2</sup> <sup>_πx/Lx_</sup> <sup>))</sup> <sup>and</sup> <sup>then</sup> <sup>varying</sup> <sup>_Lx_</sup> <sup>.</sup> Our first prediction is that ln( _R_ ( _k, t_ )) is a linear function of _t_ . We can find _α_ from the time evolution of the density through _α_ exp = <sup><u>1</u></sup> _k_ <sup>4</sup> _<u>d</u>_ _dt_ <sup>ln</sup> <sup>_R_</sup> <sup>(</sup> <sup>_k, t_</sup> <sup>)</sup> (42) 0.001 0.00075 0.0005 0.00025 0 τ = 0.6 τ = 0.8 τ = 1 τ = 1.2 τ = 1.5 -0.00025 0 2000 4000 6000 8000 10000 Iterations FIG. 5. A plot of ln _R_ ( _k, t_ ) as a function of discrete time steps for various values of _τ_ and _θ_ = 1 _/_ 3 and _Lx_ = 200. It is observed that there is an initial offset in ln _R_ ( _k, t_ ). As the system evolves, we see that the behavior does decay as expected. Since there is this initial offset, we cannot use these early times when calculating the derivative in Eqn. (42). where we numerically calculate the temporal derivative using a finite difference method. The numerical evaluation of Eqn. (41) using the numerical results is shown in Fig. 5. At _t_ = 0 we have _R_ = 1 by construction, but for all _τ̸_ = 1 we observe a rapid transient change which manifests itself as a near instantaneous jump in Fig. 5. After this transient period, the behavior of ln( _R_ ) is indeed linear, as expected. We then calculate _<u>d</u>_ _,_ (43) _dt_ <sup>ln</sup> <sup>_R_</sup> <sup>(</sup> <sup>_k, t_</sup> <sup>)</sup> <sup>_≈_</sup> <sup><u>ln</u></sup> <sup>_<u>R</u>_</sup> <sup><u>(</u></sup> <sup>_<u>k, t</u>_</sup> <sup><u>2</u></sup> _t_ 2 <sup><u>)</u></sup> _−_ <sup>_<u>−</u>_</sup> <sup><u>ln</u></sup> _t_ 1 <sup>_<u>R</u>_</sup> <sup><u>(</u></sup> <sup>_<u>k, t</u>_</sup> <sup><u>1)</u></sup> where we take _t_ 1 when _ρ_ �( _k, t, α_ ) = 0 _._ 5 and _t_ 2 when _ρ_ �( _k, t, α_ ) = 0 _._ 01 to avoid any difficulties with the offset. Eqn. (42) gives our correction polynomial as a function of any Fourier mode _k_ . Using this form, we can compare our predicted correction term in Eqn. (32) to a numerical representation. Fig. 6 shows simulation data for _dtd_ <sup>[ln</sup> <sup>_R_</sup> <sup>(</sup> <sup>_k, t_</sup> <sup>)]</sup> <sup>for</sup> <sup>_τ_</sup> <sup>=</sup> <sup>1</sup> <sup>and</sup> _θ_ = 0 _._ 1. We see a good fit for all _k_ modes between simulation and the prediction in Eqn. (42). We first test the prediction comparing _α_ exp in Eqn. (42) to our theoretical prediction for _α_ from Eqn. (32). Fig. 7 shows a comparison between _αexp_ and our theoretical prediction for _α_ for various values of _τ_ and _θ_ as a function of _Lx_ . For this analysis, we chose a known stable value for either _τ_ or _θ_ and set the other parameter as a more extreme value. For a choice of _θ_ = 1 _/_ 3, we set _τ_ = 0 _._ 51 as the extreme value. In these cases, we see very good agreement between _α_ exp and our prediction. In the cases of _θ_ = 1 _/_ 3 with _τ_ = 1 _._ 5 and _θ_ = 0 _._ 9 0 10 -2 10 -4 10 -6 10 -8 10 Simulation Theory 0 50 100 150 200 Lx FIG. 6. Logarithmic representation of _dtd_ <sup>[ln</sup> <sup>_R_</sup> <sup>(</sup> <sup>_k, t_</sup> <sup>)]</sup> <sup>as</sup> <sup>a</sup> <sup>function</sup> <sup>of</sup> <sup>_k_</sup> <sup>from</sup> <sup>simulation</sup> <sup>data</sup> <sup>for</sup> _τ_ = 1 and _θ_ = 0 _._ 1. Good agreement is observed between the simulation and the curve fit for up to _Lx_ = 200. 0.2 0.1 0 -0.1 τ=0.51, θ=1/3 τ=1.5, θ=1/3 τ=1, θ=0.9 -0.2 0 50 100 150 200 Lx FIG. 7. Comparison of _α_ exp (symbol) to theoretical prediction for _α_ from Eqn. (32) (solid line) for various values of _θ_ and _τ_ as a function of _Lx_ . It is observed that for _τ_ = 0 _._ 51 and _θ_ = 1 _/_ 3 that _α_ exp matches the theoretical _α_ well for all _Lx_ . For sets of values _τ_ = 1 with _θ_ = 0 _._ 9 and _τ_ = 1 _._ 5 with _θ_ = 1 _/_ 3, there is a good match for _Lx_ _>_ 40 but deviations are observed for small values of _Lx_ . and _τ_ = 1 we observe good agreement for _Lx_ _>_ 40, but as _Lx_ becomes smaller, deviations begin to increase. This suggests that there is a discrepancy in _α_ exp for large _k_ modes. In the case where _α_ = 0, it is interesting to note that the results match a _k_ <u>1</u> <sup>6</sup> <sup>rather</sup> <sup>than</sup> the predicted _k_ <u>1</u> <sup>4</sup> <sup>fit.</sup> <sup>This</sup> <sup>implies</sup> <sup>that</sup> <sup>there</sup> <sup>are</sup> <sup>additional</sup> <sup>correction</sup> <sup>terms</sup> <sup>which</sup> <sup>may</sup> <sup>be</sup> relevant at specific values of _τ_ and _θ_ . These higher-order corrections are not considered in 0.08 0.06 0.04 0.02 0 Simulation Theory 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 τ FIG. 8. Comparison of numerical results and theoretical _α_ as a function of _τ_, with _θ_ = <sup><u>1</u></sup> 3 <sup>.</sup> <sup>Results</sup> are collected for _Lx_ = 100. 0 -0.01 -0.02 -0.03 -0.04 -0.05 -0.06 Simulation Theory -0.07 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 θ FIG. 9. Comparison of numerical results and theoretical _α_ as a function of _θ_, with _τ_ = 1. Results are collected over 100 independent _k_ modes. the present analysis. As discussed previously, Eqn. (40) predicts numerical instability when _α_ _<_ _−_ _π_ <sup>_<u>D</u>_</sup> <sup>2</sup> <sup>.</sup> <sup>The</sup> density representation shown in Fig. 4 implies that this will happen as we increase _τ_ and decrease _θ_ to extreme values ( _τ_ ≳ 4 and _θ_ ≲ 0 _._ 3 simultaneously). A contour showing _α_ ( _τ, θ_ ) _/D_ ( _τ, θ_ ) = _−_ 1 _/π_ <sup>2</sup>, the start of the region of instability, is shown in that figure. It is instructive to examine _α_ while holding either _τ_ or _θ_ fixed. Setting _θ_ = 3 <sup><u>1</u></sup> <sup>, we examine</sup> _α_ as a function of _τ_ alone in Fig. 8, which shows excellent agreement to theory over 100 independent _k_ modes. We set _τ_ = 1 and examine _α_ as a function of _θ_ alone in Fig. 9, with similarly excellent agreement. τ = 0.55 τ = 0.7 100 ~~τ = 1~~ τ = 1.5 -1 τ = 2 10 τ = 10 -2 10 -3 10 -4 10 -5 10 -6 10 -7 10 0 20 40 60 80 100 Lattice spaces FIG. 10. Absolute error profile _ϵ_ between numerical and fourth-order Fourier analytical concen tration at various _τ_ . All simulations were run to the same scaled time, corresponding to four hours. VII. APPLICATION OF CORRECTION TO RESERVOIR DIFFUSION With the fourth-order correction term in hand and its correctness assured, we next de termine its applicability to our reservoir coating system. Fig. 10 shows the absolute error profile between lattice Boltzmann simulation results and a fourth-order corrected analytical solution. This solution is produced by first setting up an appropriate initial step function _ρ_ ( _x,_ 0) =          2 _,_ _Lx_ _< x <_ 3 _Lx_ 1 _,_ _x_ = _Lx_ or _x_ = 3 _Lx_ 0 _,_ else (44) in a periodic lattice. This is entirely equivalent to the boundary conditions implied by the derivation of the second-order error function solution in Eqn. (14). We transform this step function into _k_ space via a discrete Fourier transform, use the fourth-order correction to perform a time evolution, and then transform the result back into real space. Strictly speak ing, the method of Eqn. (14) generates a continuous solution, while the Fourier transform approach yields a discrete solution. We discuss the ramifications of this difference in the Appendix and conclude that the difference in solution discretization is very small and of the same order as the error produced in our best numerical results. We note no consistent improvement over the second-order shown in Fig. 3 from the introduction of the fourth-order correction. However, the magnitude of the error, especially for high values of _τ_, remains troubling. The nature of the finite simulation lattice is such that the boundaries are treated independently of other lattice sites. In particular, the reservoir density _ρ_ is set manually and not strictly determined by local distributions. Since we have seen that _τ_ -dependent errors tend to accumulate near the reservoir boundary over an order of magnitude higher than at the substrate boundary, the nature of using such a finite lattice is suspect. The case when _τ_ = 1 yielded excellent agreement throughout the finite lattice, but this is consistent with the immediate relaxation of local equilibrium distributions and does not apply to other values of _τ_ . This _τ_ -dependent error is consistent with the jump observed in Fig. 5, where setting _fi_ ( _x,_ 0) = _fi_ <sup>0(</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>))</sup> <sup>led</sup> <sup>to</sup> <sup>deviations.</sup> <sup>Indeed,</sup> <sup>Eqn.</sup> <sup>(21)</sup> <sup>implies</sup> <sup>that</sup> _fi_ = _fi_ <sup>0</sup> _i_ <sup>0</sup> <sup>_−_</sup> <sup>_τ_</sup> <sup>(</sup> <sup>_∂tf_</sup> _i_ <sup>0</sup> _i_ <sup>0(</sup> <sup>_ρ_</sup> <sup>) +</sup> <sup>_viα∇αf_</sup> _i_ <sup>0</sup> _i_ <sup>0(</sup> <sup>_ρ_</sup> <sup>)) +</sup> <sup>_O_</sup> <sup>(</sup> <sup>_∂_</sup> <sup>2)</sup> <sup>_,_</sup> (45) which suggests an approach that would allow us to increase the accuracy of our boundary conditions. In our current case, however, we can avoid the cumbersome issue of the boundary condi tion altogether by simply embedding the system into the periodic lattice used for establishing the initial step function condition of the analytical Fourier solution. This permits a more standard lattice Boltzmann approach that does not rely on manual density adjustment at the reservoir (here at _x_ = 3 _Lx_ ) and uses symmetry to establish the substrate (at _x_ = 4 _Lx_ ) with no bounceback. With this setup, we have removed the need for boundary conditions altogether; we therefore expect that the _τ_ -dependent error should be substantially reduced, especially at the reservoir boundary. Fig. 11 shows a diagram of the periodic step function from Eqn. 44 used for this analysis. We again run two sets of simulations for our range of _τ_ values to the same scaled time, both using the periodically-embedded lattice simulation. The first set of simulations uses only the traditional second-order approximation and is shown in Fig. 12. The second set applies our fourth-order correction and is shown in Fig. 13. As was hoped, the error at the reservoir is reduced by orders of magnitude when compared to the finite system with imposed boundaries. This confirms that the accumulated error from the finite system is due to the presence of boundary conditions that are only guaranteed to match at _τ_ = 1 when relaxation is immediate during collisions. However, contrary to expectation, there is almost no benefit from the fourth-order _α_ ( _τ, θ_ ) correction, even though Periodic extension Physical regime 2 0 Lx Lattice spaces 3Lx FIG. 11. Periodic step function from Eqn. 44, with reservoir at _x_ = 3 _Lx_ and substrate at periodic boundary _x_ = 4 _Lx_ . τ = 0.55 0 ~~τ = 0.7~~ 10 τ = 1 -1 τ = 1.5 10 τ = 2 -2 τ = 10 10 -3 10 -4 10 -5 10 -6 10 -7 10 0 20 40 60 80 100 Lattice spaces FIG. 12. Periodic system absolute error profile _ϵ_ between numerical and second-order Fourier ana lytical concentration at various _τ_ . All simulations were run to the same scaled time, corresponding to four hours. its validity was verified via Fourier analysis. It is of value to mention here the effects of using a progressively lower of _τ_, since our results suggest that errors increase with _τ_, regardless of the choice of boundary conditions considered. Of course, a lower choice of this parameter leads to increasingly long simulations, which must be balanced with the desired numerical accuracy. We examined a range of _τ_ values as low as _τ_ = 0 _._ 5001 and found essentially no change in error from the _τ_ = 0 _._ 55 lower limit presented throughout this paper. This suggests that (to within machine accuracy), there is likely no theoretical limit to the ratio of diffusion constants possible. This implies that a study of a multi-layer coating stack, which fixes the diffusitivity ratio through a τ = 0.55 0 ~~τ = 0.7~~ 10 τ = 1 -1 τ = 1.5 10 τ = 2 -2 τ = 10 10 -3 10 -4 10 -5 10 -6 10 -7 10 0 20 40 60 80 100 Lattice spaces FIG. 13. Periodic system absolute error profile _ϵ_ between numerical and fourth-order Fourier ana lytical concentration at various _τ_ . All simulations were run to the same scaled time, corresponding to four hours. selection of _τ_ values, is possible for a situation where one coating’s diffusion constant is orders of magnitude higher than the other. It is natural at this point to wonder if there are any choices of parameters _τ_ and _θ_ for which the fourth-order correction provides substantial benefit in our reservoir problem, especially since its use in simulations incurs additional computational burden. Naturally, any such error analysis depends heavily on the particular problem of interest, and therefore on the initial profile and desired time evolution. For our system, we examine the parameter space 0 _._ 5 _<_ _τ_ _≤_ 2 _._ 5 and 0 _._ 1 _≤_ _θ_ _≤_ 1 _._ 0. For each point in this space, we run a lattice Boltzmann periodic reservoir system simulation to the same scaled time. After this time, we compute the ratio _<u>ϵ</u>_ _≡_ <sup>_<u>ϵ</u>_</sup> _ϵ_ <sup><u>4</u></sup> 2 <sup><u>(</u></sup> ( <sup>_<u>τ, θ</u>_</sup> _τ, θ_ <sup><u>)</u></sup> ) <sup>_,_</sup> (46) where _Lx_ _x_ =1 _ϵ_ 2 _,_ 4 _≡_ ~~�~~ <u>�</u> - <sup><u>1</u></sup> _Lx_ [ _ρ_ ( _x_ ) _−_ _ρ_ 2 _,_ 4( _x_ )] <sup>2</sup> (47) is the root mean square error between numerical concentration _ρ_ and second- or fourth order Fourier analytical concentration _ρ_ 2 _,_ 4. If _<u>ϵ</u>_ _≈_ 1, there is no appreciable correction from using the fourth-order solution; as _<u>ϵ</u>_ _→_ 0, the correction becomes more substantial. From a computational perspective, there is a trade-off between the computational burden of the correction and the benefit (if any) from using it. We do not comment on the appropriate FIG. 14. Error ratio _<u>ϵ</u>_ <u>,</u> indicating bands comparing the second- and fourth-order Fourier solution accuracy. All simulations were run to the same scaled time, corresponding to a macroscopic system time of 3 _._ 5 seconds. Also shown is the _α_ ( _τ, θ_ ) = 0 contour (black line). 0.004 2nd order error 4th order error 0.003 0.002 0.001 0 0 20 40 60 80 100 Lattice spaces FIG. 15. Absolute error between numerical simulation results and second-order Fourier (circles) and fourth-order Fourier (squares) analytical solutions. Simulation was run with _τ_ = 0 _._ 55 and _θ_ = 0 _._ 15 to the macroscopic equivalent time of 3 _._ 5 seconds. balance for any particular situation. Contrary to expectation, there are no regions of the given parameter space where _<u>ϵ <</u>_ 0 _._ 9 during long times, indicating no appreciable benefit to the correction. Further, the fourth order analysis predicts numerical instability in the bulk region of parameter space where _α_ _<_ _−_ 1 _/π_ <sup>2</sup>, although the numerical simulations and second-order analysis remain stable. 0 10 -2 10 -4 10 -6 10 -8 10 τ = 0.55 τ=1 2 1/x 4 1/x 10 100 Lattice Size FIG. 16. Convergence of our simulation results for different lattice sizes. For pairs ( _τ, θ_ ) for which we have _α_ = 0, we obtain fourth-order convergence, whereas we obtain second-order convergence where _α̸_ = 0 as predicted by our theory. This is a surprising result overall: a fourth-order correction is not only unhelpful in increasing the accuracy of solutions at long times, it is often worse than the second-order approximation and predicts numerical problems incorrectly. If we instead run the same analysis for a much shorter time (in the equivalent macro scopic system, just 3 _._ 5 seconds), the results are more promising and shown in Fig. 14. For small values of both _τ_ and _θ_, the fourth-order correction increases accuracy by an order of magnitude. This is largely due to the fact that the fourth-order theory accurately predicts some early time oscillations at the sharp reservoir interface, as shown by the error reduction in Fig. 15. This discussion of higher-order effects gives the rather surprising result that for our barrier coating application, there is no noticeable improvement. This may also arise because even the second-order results are accurate enough that any resulting errors are of the same order of magnitude as the difference between continuous and discrete analytical solutions, as shown in Fig. 17 in the Appendix. There is another prediction we can obtain from our derivation of the correction term. In Figure 14, we see bold black lines indicating the domain for _α_ ( _τ, θ_ ) = 0. For these values, our theory predicts that the original method (derived only to second order) is actually a fourth-order method. To test this prediction, we choose _τ_ = 1 and _θ_ = 1 _/_ 3 for which we have _α_ = 0, and examine the convergence of the method to the Fourier term analytical solution _ϵ_ 2 of Eqn. (47). In particular, we examine the same periodic system as before by choosing _F_ = 0 _._ 0576 for different lattice sizes. Keeping _F_ constant implies that the number of iterations scales as the square of the lattice size, which is sometimes known as diffusive scaling. This is shown in Figure 16, where we see that we indeed find fourth-order convergence when _α_ = 0. For pairs of _τ_ and _θ_ for which we have nonzero correction terms (e.g. we show the case _τ_ = 0 _._ 55 and _θ_ = 1 _/_ 3), we see that we have a second-order convergence instead. VIII. CONCLUSIONS In this paper we have examined whether a diffusive lattice Boltzmann method is an effective tool for examining problems related to Fickian water diffusion in barrier coatings. This validation was assisted by our ability to derive an analytical solution for a simple, but not trivial, coatings problem. In Sec. III we presented a real-space solution for the water content of a dry coating that is initially exposed to a constant moisture reservoir on the surface. A second analytical solution in terms of Fourier components was presented in Sec. V that can be used both for the standard Fickian diffusion case already examined in Sec. III, as well as the more complex fourth-order diffusion equation we derived as part of a higher-order hydrodynamic limit of the lattice Boltzmann equation. The two equivalent analytical solutions differ slightly because our Fourier series corresponds to a discrete system with only a finite number of Fourier terms. For a simple initial implementation of the inlet boundary, we found excellent agreement only for a relaxation time _τ_ = 1. Our analysis revealed that the disagreement for _τ̸_ = 1 was caused by assuming an equilibrium distribution as the reservoir boundary condition. Eventually we were able to define a “perfect” boundary condition by doing away with the boundary altogether through an embedding of the system in a large periodic system that only requires periodic boundary conditions. Along the way of our examination, we discovered that we can indeed identify a fourth order accurate hydrodynamic limit of the diffusion equation. However, this higher-order correction was found to be irrelevant for the coatings problem considered here, as we could only identify a small region in parameter space where the fourth-order predictions were significantly more accurate. This may act as a cautionary tale that validating a higher-order correction does not guarantee that such predictions will always be more accurate for specific applications. However, for the best cases, the numerical solutions agree with our analytical solutions almost as well as the two analytical solutions agree with each other, suggesting that the proposed method is indeed an excellent candidate to be applied to coatings problems. In the future we expect to extend this from one-dimensional coatings problems, corre sponding to full immersion of the coating, to the more complicated problem of droplets sitting on a coating. This case will require a full three-dimensional simulation, and wetting and drying problems then occur in one and the same simulation, spatially separated. Fur thermore a droplet sitting on a coating would add a pressure gradient caused by the Laplace pressure in the drop. This may lead to an additional transport mode of advection, driven by the pressure gradient. This will require an extension of the current model to allow for some amount of advection as well. This advection would be expected to be highly overdamped, so that the local advection velocity would be simply proportional to the local pressure gradi ent. Technically doing this will require a replacement of the equilibrium distribution to one which allows for a non-zero first moment. Such simulations will significantly extend the cur rent state of the art for coatings research which remains firmly focused on one-dimensional problems. ACKNOWLEDGMENTS The authors thank Prof. Stuart Croll, Kent Ridl, and Reza Parsa of North Dakota State University for ongoing discussions and helpful insights. The second author was supported by the Strategic Environmental Research and Development Program under contract W912HQ 15-C-0012. Views, opinions, and/or findings contained in this report are those of the authors and should not be construed as an official Department of Defense position or decision unless so designated by other official documentation. Appendix: Continuous and discrete solutions The error function solution in Eqn. (14) solves the second-order diffusion equation with the given boundary conditions in continuous real space (see [2] for a basic form of the derivation). However, we later compute a solution by transforming the appropriate initial -5 4×10 -5 3×10 -5 2×10 -5 1×10 0 0 20 40 60 80 100 Lattice spaces FIG. 17. Absolute error profile _ϵ_ between second-order error function and second-order Fourier solutions to the continuous and discrete diffusion equation, respectively. condition into Fourier space, performing a second-order time evolution, and then transform ing back into real space. This process uses a finite number of _k_ modes in each transform, and necessarily implies a discrete lattice sampling of both the initial condition in real space and the time-evolved form in Fourier space. We therefore expect a discrepancy when directly comparing the two solutions: the first is a solution to the continuous diffusion equation that is examined at discrete lattice points for comparison to the simulation, while the second is a sampled solution to the discrete lattice diffusion equation, the continuous form of which would require (in theory) an infinite number of _k_ modes to match the continuous case. To examine the extent to which these solution forms differ from each other, we compute both at the same scaled four-hour time at each lattice site, and plot the absolute value of the difference, _ϵ_, in Fig. 17. The two solutions agree to within 10 <sup>_−_</sup> <sup>5</sup> of each other. Since this error is on the order of the remaining error for the periodically-embedded simulation, we conclude that any further correction of simulation results renders any error obscured by differences between the discrete and continuous solutions to the diffusion equation, and is of no practical consequence. [1] Viktor Baukh, Hendrik P. Huinink, Olaf C.G. Adan, Sebastiaan J.F. Erich, and Leendert G.J. van der Ven. Predicting water transport in multilayer coatings. _Polymer_, 53(15):3304 - 3312, 2012. [2] John Crank. _The_ _Mathematics_ _of_ _Diffusion_ . Oxford University Press, 1979. [3] L De Rosa, T Monetta, DB Mitton, and F Bellucci. Monitoring degradation of single and multilayer organic coatings I. absorption and transport of water: Theoretical analysis and methods. _Journal_ _of_ _the_ _Electrochemical_ _Society_, 145(11):3830–3838, 1998. [4] U. Frisch, B. Hasslacher, and Y. Pomeau. Lattice-gas automata for the navier-stokes equation. _Phys._ _Rev._ _Lett._, 56:1505–1508, Apr 1986. [5] Irina Ginzburg. Prediction of the moments in advection-diffusion lattice boltzmann method. i. truncation dispersion, skewness, and kurtosis. _Phys._ _Rev._ _E_, 95:013304, Jan 2017. [6] D.M. Kroll and S.G. Croll. Influence of crosslinking functionality, temperature and conversion on heterogeneities in polymer networks. _Polymer_, 79:82 - 90, 2015. [7] Guigao Le, Othmane Oulaid, and Junfeng Zhang. Publisher’s note: Counter-extrapolation method for conjugate interfaces in computational heat and mass transfer [Phys. Rev. E 91, 033306 (2015)]. _Phys._ _Rev._ _E_, 92:049904, Oct 2015. [8] Like Li, Chen Chen, Renwei Mei, and James F. Klausner. Conjugate heat and mass transfer in the lattice Boltzmann equation method. _Phys._ _Rev._ _E_, 89:043308, Apr 2014. [9] Jonathan W. Martin. _Repeatability_ _and_ _Reproducibility_ _of_ _Field_ _Exposure_ _Results_, chapter 1, pages 2–22. American Chemical Society, 2001. [10] Minas M. Mezedur, Massoud Kaviany, and Wayne Moore. Effect of pore structure, randomness and size on effective mass diffusivity. _AIChE_ _Journal_, 48(1):15–24, 2002. [11] Deqiang Mu, Zhong-Sheng Liu, Cheng Huang, and Ned Djilali. Prediction of the effective diffusion coefficient in random porous media using the finite element method. _Journal_ _of_ _Porous_ _Materials_, 14(1):49–54, 2007. [12] Aman Pathania, Raj Kumar Arya, and Sanjeev Ahuja. Crosslinked polymeric coatings: Prepa ration, characterization, and diffusion studies. _Progress_ _in_ _Organic_ _Coatings_, 105:149 - 162, 2017. [13] YH Qian, Dominique d’Humi`eres, and Pierre Lallemand. Lattice BGK models for Navier Stokes equation. _EPL_ _(Europhysics_ _Letters)_, 17(6):479, 1992. [14] Muhammad Sahimi and Dietrich Stauffer. Efficient simulation of flow and transport in porous media. _Chemical_ _Engineering_ _Science_, 46(9):2225 - 2233, 1991. [15] Xiaowen Shan and Gary Doolen. Diffusion in a multicomponent lattice Boltzmann equation model. _Phys._ _Rev._ _E_, 54:3614–3620, Oct 1996. [16] Michael R. Swift, W. R. Osborn, and J. M. Yeomans. Lattice boltzmann simulation of nonideal fluids. _Phys._ _Rev._ _Lett._, 75:830–833, Jul 1995. [17] S.R. Taylor, F. Contu, R. Santhanam, and P. Suwanna. The use of cationic fluoroprobes to characterize ionic pathways in organic coatings. _Progress_ _in_ _Organic_ _Coatings_, 73(2–3):169 172, 2012. [18] A. J. Wagner. Thermodynamic consistency of liquid-gas lattice Boltzmann simulations. _Phys._ _Rev._ _E_, 74:056703, Nov 2006. [19] A.J. Wagner and S. May. Electrostatic interactions across a charged lipid bilayer. _Eur Biophys_ _J_, 36:293–303, April 2007. [20] Alexander J. Wagner and Kyle Strand. Fluctuating lattice Boltzmann method for the diffusion equation. _Phys._ _Rev._ _E_, 94:033302, Sep 2016. [21] Dieter Wolf-Gladrow. A lattice Boltzmann equation for diffusion. _Journal_ _of_ _Statistical_ _Physics_, 79(5-6):1023–1032, 1995. [22] Malia Zee, Aaron J. Feickert, D.M. Kroll, and S.G. Croll. Cavitation in crosslinked polymers: Molecular dynamics simulations of network formation. _Progress_ _in_ _Organic_ _Coatings_, 83:55 63, 2015.

섹션 본문 102문단 · 35,278자

(제목 없음)

1We examine the applicability of diffusive lattice Boltzmann methods to simulate the fluid transport through barrier coatings, finding excellent agreement between simulations and analytical predictions for standard parameter choices. To examine more interesting non-Fickian behavior and multiple layers of different coatings, it becomes necessary to explore a wider range of parameters. However, such a range of parameters exposes deficiencies in such an implementation. To investigate these discrepancies, we examine the form of higher-order terms in the hydrodynamic limit of our lattice Boltzmann method. We identify these corrections to fourth order and validate these predictions with high accuracy. However, it is observed that the validated correction terms do not fully explain the bulk of observed error. This error was instead caused by the standard finite boundary conditions for the contact of the coating with the imposed environment. We identify a self-consistent form of these boundary conditions for which these errors are dramatically reduced. The instantaneous switching used as a boundary condition for the barrier problem proves demanding enough that any higher-order corrections meaningfully contribute for a small range of parameters. There is a large parameter space where the agreement between simulations and analytical predictions even in the second-order form are below 0.1%, making further improvements to the algorithm unnecessary for such an application.

I. INTRODUCTION

2Coating systems are used heavily in industry for the protection of materials and infrastructure. Common examples include the paints on cars, bicycles, and houses; the layered coating systems used on boats and airframes; and the coatings used to protect bridges. In all cases, the goal of the coating system is to protect the underlying substrate from ingress by aggressive particulate, gaseous, or fluid materials while remaining aesthetically intact.

3Crosslinked polymer networks, also called thermosets, are typically chosen in protective applications due to their net-like structure. In such a structure, precursor materials are chemically bonded through a crosslinking and curing process to form a three-dimensional structural network. This network acts as a physical and chemical barrier that attempts to prevent permeation by water, salt, particulate matter, and other environmental contaminants. Since substrates are often materials susceptible to corrosion, like aluminum or steel, it is essential that moisture not be permitted to reach the substrate in appreciable quantities.

4As is known, most coatings permit, to some degree, moisture ingress [17]. This can be due to imperfections in the preparation process [6], the formation of void space during curing or cooling [22], or because of damage in service. To help detect coating formulations that may be unsuitable for use in the field, accelerated weathering testing is used to determine failure rates and modes in the lab. Much research has been devoted to the relationship between accelerated testing, comparable real-world testing, and service life, but no complete and predictive model exists that accurately correlates a coating's performance in lab testing, performance in field testing, and failure modes or lifespan that is likely to occur in service [9].

5Since moisture entering the coating is conserved, the dynamics of fluid density ρ obey the continuity equation

6where j is the mass current. Assuming an isotropic coating, mass current will be in the direction of negative density current. We denote the proportionality between the current and negative gradient by D, which in the simplest case is a constant. Later, we consider a more general D(ρ). We therefore have j = −D∇ρ. With this constitutive relation for the mass current, we recover the well-known diffusion equation.

7Several methods exist to model idealized diffusion. Early work focused primarily on precise mathematical modeling and numerical solutions to boundary-matched differential equations governing diffusion [2,3]. Modern approaches include network connectivity models [10], Monte Carlo simulations [14], and finite-element analysis [11] for more complex structures like porous media where an effective diffusivity is desired. However, approaches dealing with pore structures may depend on the structure and porosity of the material in question, quantities that most often unknown a priori. Additionally, finite-element models tend to be computationally complex and often rely on commercial closed codes. As a whole, there is comparatively little known about the precise dynamics of diffusion through polymeric coatings [12].

8Additionally, different approaches exist when multiple layers are considered. In the case of multiple hydrophobic barrier coatings, boundary-matching Fickian solutions can be used [3] and matched to experiment via electrochemical methods. When a base coating is hydrophilic, as is the case with some primers, an alternative approach couples Fickian diffusion for any overlying barrier coatings with the assumption of an instantaneous reservoir for the base layer [1]. In either case, different coatings in a multi-layer stackup differ in their effective diffusivity.

9Any numerical technique used to model the progression of moisture in such a stackup must stably account for a wide range of diffusion constants. Since laboratory testing of candidate barrier coating systems typically includes cyclic exposure to moisture and dry ambient air over long periods of time, simulations of cyclic processes must maintain numerical stability over correspondingly longer time scales.

10In this paper, we use lattice Boltzmann numerical techniques to determine the accuracy of modeling moisture ingress through a finite coating system exposed to a reservoir and adhered to an ideal substrate. Because of the necessity of modeling a wide range of saturation levels and diffusivity in the case of multi-layer systems, we analyze the error introduced in the traditional second-order approximation to the diffusion equation used in lattice Boltzmann approaches. To investigate the nature of this error, we introduce a fourth-order correction and perform a Fourier component analysis to confirm the correctness of our results. We

11show that the bulk of the second-order error in such a system arises from the boundary conditions used, and comment on the proper use of periodic systems to remove this error.

12Applications to multi-layer systems with variable diffusivity are discussed in the context of our analysis.

II. LATTICE BOLTZMANN METHODS

13The lattice Boltzmann approach models densities f i defined on a discrete lattice space associated with discrete lattice velocities v i . After being displaced to a new lattice position

14x + v i , the densities at each lattice point are redistributed in a collision step. This method has been used extensively to model hydrodynamic behavior [4,13,16], diffusion [15,21], electrostatics [19], and similar systems with high accuracy and computational efficiency.

15Notably, the hydrodynamic partial differential equations underlying such systems are not the starting point for the method, but rather emerge from it. Choices like the number of quantities conserved in the collision allow for the freedom of recovering the governing equations for a variety of different systems, as mentioned above.

16A popular collision term defines a local equilibrium f 0 i that only depends on the conserved quantities and then relaxes the actual density towards the local equilibrium. In this form the lattice Boltzmann equation can be written as

17Here f 0 j is the local equilibrium density, Λ ij is a collision matrix, and ρ(x, t) is the local density of the system, given by

18The form of the collision matrix allows for further control of the algorithm, but this freedom is not explored in this paper. Most examples where this freedom has shown to be useful relate to simulations of hydrodynamic systems with very low viscosity. Such low viscosities may give rise to instabilities that can be controlled by a careful choice of the collision matrix. For diffusive systems like the one considered here, the advantages of utilizing multiple relaxation times are less well established (See Ginzburg [5]), so we will employ the particularly simple collision matrix

19that was originally proposed by Qian [13], using a single relaxation time τ .

20It is necessary to impose moments on the equilibrium distribution, following the method of [21]. While not considered here, formulations of this method in the case of multiple components [15] and multiple relaxation times [7,8]. In particular, we impose the following (non-unique) moments on the distribution:

21where the Greek indices are spatial dimensions and follow the Einstein notation.

22Local density conservation is assured by Eqn. (5), while Eqn. (7) introduces a spatially uniform imposed temperature θ. Following [20], a second-order Taylor approximation using this choice of moments leads to the lattice diffusion equation

23and, if the temperature is constant, this recovers a diffusion equation with the diffusion

24Testing for coating applications usually applies moisture somewhat homogeneously on the sample, either in soak testing or weathering chambers; drying also proceeds evenly.

25This reduces the problem of interest to an effectively one-dimensional case. For simulations,

26we use the simplest one-dimensional lattice Boltzmann model with the velocities {v i } = {0, 1, −1}. This one-dimensional lattice with the given velocities is known as a D1Q3 scheme.

27For this implementation of a diffusive system, the local equilibrium distribution can be written as

28where w i are the weights related to the magnitude of the velocities {v i }. To recover the necessary moments, the weights are

29The D1Q3 implementation then allows for a full and self-contained simulation method for a diffusive system.

III. APPLICATION TO WATER CONTENT OF COATINGS

30We wish to model the wetting of a single-layer coating via Fickian diffusion. Since coatings are frequently examined in the laboratory on test panels using weathering chambers that subject the coating to moisture, we will consider the case where the coating, represented by a lattice from 0 ≤ x ≤ L x , is exposed to a reservoir of varying concentration ρ b (t) at x = 0 and an impermeable substrate at the right end of the simulation lattice. The meaning of ρ b is the amount of water that will be absorbed just inside the coating as it is exposed to the environment. For an immersion in water, this corresponds to the maximal water content the coating can absorb, and we scale the density so that this value corresponds to ρ = 1.

31We must account for these two boundary conditions in our numerical simulation. We implement the source term by setting

32and by replacing the streaming step at the right end by a bounceback algorithm, where the right-moving f 1 (L x ) is reinserted as an f 2 in the streaming step. The result for a step function ρ b (t) = Θ(t) in the exposure is shown in Fig. 1. We used a system with L x = 100 lattice points, τ = 1, θ = 0.5, ρ 0 = 1, and ran the simulation for a variable number of iterations T . As expected, moisture is at first located closely to the surface and then penetrates the sample.

33To verify the correctness of the simulation results, we construct an analytical solution for the concentration over time, using linear combinations of the well-known error function solution [2]. These are solutions of the diffusion equation for the initial condition of a step function in an infinite system. If the initial step goes from 2ρ 0 to zero, then the solution is

34This solution has a fixed point ρ bath (0, t) = ρ 0 at x = 0, which corresponds to our boundary condition. So ρ th,1 (x, t) for x ≥ 0 and t > 0 is the analytical solution for an infinite dry coating exposed to a reservoir starting at time t = 0. Note that the long-time behavior gives ρ th,1 (x, t → ∞) = ρ 0 as expected.

35Suppose now that we have a finite one-dimensional coating extending from 0 ≤ x ≤ L x .

36At x = 0, the coating is exposed to a reservoir with fixed concentration ρ(x = 0, t) = ρ 0 . At To account for the vanishing current at the substrate, we use an image source reservoir at x = 2L x . This will ensure a vanishing gradient at x = L x and, by symmetry, a vanishing current. However, when the reflected concentration becomes nonzero at the reservoir again, we must subtract another image source reservoir at x = −2L x to maintain the correct boundary condition. Repeating this process infinitely, we arrive at the final solution that includes both reservoir and substrate:

37For practical purposes, we find ten terms of the infinite sum in Eqn. (14) are entirely sufficient for most cases.

38It is instructive to determine the correspondence between these numerical parameters and a laboratory case. A typical barrier coating might have thickness X = 50 µm, diffusion constant in water D ∼ 10 −14 m 2 /s, and be exposed to moisture in a weathering chamber for T = 4 hours at a time for testing. We can introduce reduced time, length, and density scales t , x , ρ such that

39and 0 ≤ {t , x , ρ } ≤ 1. Since the unit relationship T = X 2 /D holds by dimensional analysis, for any given experimental setup the quantity

40is dimensionless and we have the scaled diffusion equation ∂ t ρ = −∇ x F ∇ρ . Using the experimental parameters suggested above gives F = 5.76 × 10 −2 . In our simulations, we use total length X = L x = 100 lattice sites, reservoir concentration ρ 0 = 1, θ = 0.5, and τ = 1. Since this gives a time scale T ≈ 2300 iterations, this means one hour of equivalent macroscopic exposure corresponds to approximately 575 simulation iterations. Further, the choice of τ = 1 yields immediate relaxation of local distributions, so we would expect excellent agreement to theory.

41We are now in a position to comment on the accuracy of this simulation method in comparison to the analytical solution ρ th in Eqn. (14). For each of the exposure times in Fig. 1, we compute the absolute error

42across the lattice space profile. The result is plotted logarithmically in Fig. 2, showing excellent agreement. It is interesting to observe how the error changes over time; initially, the error drops substantially since moisture has not yet permeated through the entire coating lattice. This tail increases as the entire lattice becomes wet, but then uniformly decays as the numerical solution approaches saturation and agrees with the corresponding analytical solution.

43While this method provides efficient and stable numerical modeling of a single coating, a given coating system might consist of two or more barrier layers in a stackup, each with a different diffusion constant that permits moisture ingress and egress at different rates from its neighbors. To extend this method to the simplest multi-layer case, we might wish to model a two-layer stackup consisting of idealized barrier coatings with different physical properties. To do so, our reservoir model is modified slightly, with the outer barrier coating represented at lattice sites 0 ≤ x ≤ L x /2 and the inner barrier coating at L

44Since the diffusion constant is controlled by the parameter τ in Eqn. (8), the presence of two diffusion constants requires that τ be position-dependent: Incidentally, changing the value of θ between the two regions will lead to different maximum water uptake in the layers, an important relationship that will be explored elsewhere.

45Although such a two-layer system is not investigated in this paper, it is essential to Table I.

46As shown earlier, the solutions agree very well for τ = 1. However, the error may be orders of magnitude larger for τ = 1. Depending on the particular application, we may require ratios of diffusion constants that vary significantly (such as in multi-layer systems); however, the errors indicated here may cause the numerical method to appear less than ideal. We discuss the lower asymptotic limit τ → 0.5 later.

47We therefore wish to examine the origin and nature of the τ -dependent error. Of note is that the derivation of the lattice diffusion equation given above (and used heavily in the literature) is done with only a second-order Taylor approximation. To determine the degree to which this approximation leads to the errors shown, we next perform a fourth-order correction to this diffusion equation.

IV. FOURTH-ORDER LIMIT OF DIFFUSION EQUATION

48In order to introduce a correction to the diffusion equation, we perform a Taylor expansion of the lattice Eqn.

49(2) to account for higher orders. As shown by Wagner [18], this equation expanded to the fourth order takes the form

50Since we have now introduced higher-order powers into this expansion, we must utilize moments up to the fourth-order. Using the form of the equilibrium distribution in Eqn.

51(10), we calculate the higher-order moments:

52Summing over all indices of Eqn. (21) using these revised moments, we are left with

53where we have defined the τ -dependent prefactors

54for brevity.

55This form is not particularly useful since there are mixed spatial and temporal derivatives in the higher-order powers. In our one-dimensional implementation, we can drop our indices.

56We use the diffusion equation to write the temporal derivatives in terms of the spatial derivatives as

57It immediately follows that

58We can then introduce these two substitutions into Eqn. (27) and we have

59We then obtain the form of a corrected diffusion equation

60with corrections up to the fourth power in spatial derivatives, where we define

61This definition of α represents the expected error between the second-order diffusion equation and the corrected fourth-order equation. For certain parameter values, such as τ = 1 and θ = 1/3, we have α = 0, which accounts for higher accuracy observed for such parameters.

62We plot a density field representation of the relative error quantity α(τ, θ)/D(τ θ) in Fig. 4.

63We indicate a contour where this quantity vanishes, as well as additional contours whose numerical importance will be explained in later sections.

64The correction term has a similar form to a surface tension term in a Cahn-Hilliard

65Here k is any specific Fourier mode and ρ(k, t) is the k-space density represented by

66where L x is the system size in the x-direction. Even though x is continuous, the finite periodicity of 2π causes k to be discrete. This allows for our system to contain a finite

67We reproduce the uncorrected diffusion equation by setting α = 0, obtaining

68These predictions are implemented on a discrete lattice which implies that there will be a finite number of k modes. From Eqn. (34), we have

69which implies a maximum allowed k mode when k = π and a minimum lattice dimension of L x = 2. In this finite system, we have the back transform

70It is now possible to verify this theoretical prediction by examining the decay of specific Fourier modes by imposing an initial profile ρ(x, 0) = sin(kx).

71Using this profile, the uncorrected and corrected k-space densities become, respectively, ρ(k, t, 0) = sin(kx)e −tDk 2 ρ(k, t, α) = sin(kx)e −t(Dk 2 +αk 4 ) .

72In practice, we change k by varying the system size L x . An interesting point to note is that when α < − D π 2 , it is predicted that the numerical simulations would be unstable. This is predicted due to the fact that in Eqn. (40), the negative α term leads to a positive exponent and causes ρ(k, t, α) not to decay.

VI. NUMERICAL VERIFICATION OF CORRECTION TERM

73To determine the validity of the prediction for the correction term shown in Eqn. (32), we define a ratio between the two forms of k-space density in Eqn. (40) in a simple form such that

74We can use this relation to measure α from numerical simulations. We do this by initializing our probability distributions by f i (x, 0) = f 0 i (sin(2πx/L x )) and then varying L x . Our first prediction is that ln(R(k, t)) is a linear function of t. We can find α from the time evolution of the density through and L x = 200. It is observed that there is an initial offset in ln R(k, t). As the system evolves, we see that the behavior does decay as expected. Since there is this initial offset, we cannot use these early times when calculating the derivative in Eqn. (42).

75where we numerically calculate the temporal derivative using a finite difference method.

76The numerical evaluation of Eqn. (41) using the numerical results is shown in Fig. 5. At t = 0 we have R = 1 by construction, but for all τ = 1 we observe a rapid transient change which manifests itself as a near instantaneous jump in Fig. 5. After this transient period, the behavior of ln(R) is indeed linear, as expected. We then calculate

77where we take t 1 when ρ(k, t, α) = 0.5 and t 2 when ρ(k, t, α) = 0.01 to avoid any difficulties with the offset. Eqn. (42) gives our correction polynomial as a function of any Fourier mode k. Using this form, we can compare our predicted correction term in Eqn. (32) to a numerical representation. Fig. 6 shows simulation data for d dt [ln R(k, t)] for τ = 1 and θ = 0.1. We see a good fit for all k modes between simulation and the prediction in Eqn.

(42).

78We first test the prediction comparing α exp in Eqn. (42) to our theoretical prediction for α from Eqn. (32). Fig. 7 shows a comparison between α exp and our theoretical prediction for α for various values of τ and θ as a function of L x . For this analysis, we chose a known stable value for either τ or θ and set the other parameter as a more extreme value. For a choice of θ = 1/3, we set τ = 0.51 as the extreme value. In these cases, we see very good agreement between α exp and our prediction. In the cases of θ = 1/3 with τ = 1.5 and θ = 0.9 and τ = 1 we observe good agreement for L x > 40, but as L x becomes smaller, deviations begin to increase. This suggests that there is a discrepancy in α exp for large k modes.

79In the case where α = 0, it is interesting to note that the results match a 1 k 6 rather than the predicted 1 k 4 fit. This implies that there are additional correction terms which may be relevant at specific values of τ and θ. These higher-order corrections are not considered in the present analysis.

80As discussed previously, Eqn. (40) predicts numerical instability when α < − D π 2 . The density representation shown in Fig. 4 implies that this will happen as we increase τ and decrease θ to extreme values (τ 4 and θ 0.3 simultaneously). A contour showing α(τ, θ)/D(τ, θ) = −1/π 2 , the start of the region of instability, is shown in that figure.

81It is instructive to examine α while holding either τ or θ fixed. Setting θ = 1 3 , we examine α as a function of τ alone in Fig. 8, which shows excellent agreement to theory over 100 independent k modes. We set τ = 1 and examine α as a function of θ alone in Fig. 9, with similarly excellent agreement.

VII. APPLICATION OF CORRECTION TO RESERVOIR DIFFUSION

82With the fourth-order correction term in hand and its correctness assured, we next determine its applicability to our reservoir coating system. Fig. 10 shows the absolute error profile between lattice Boltzmann simulation results and a fourth-order corrected analytical solution. This solution is produced by first setting up an appropriate initial step function

83in a periodic lattice. This is entirely equivalent to the boundary conditions implied by the derivation of the second-order error function solution in Eqn. (14). We transform this step function into k space via a discrete Fourier transform, use the fourth-order correction to perform a time evolution, and then transform the result back into real space. Strictly speaking, the method of Eqn. (14) generates a continuous solution, while the Fourier transform approach yields a discrete solution. We discuss the ramifications of this difference in the Appendix and conclude that the difference in solution discretization is very small and of the same order as the error produced in our best numerical results.

84We note no consistent improvement over the second-order shown in Fig. 3 from the introduction of the fourth-order correction. However, the magnitude of the error, especially for high values of τ , remains troubling. The nature of the finite simulation lattice is such that the boundaries are treated independently of other lattice sites. In particular, the reservoir density ρ is set manually and not strictly determined by local distributions. Since we have seen that τ -dependent errors tend to accumulate near the reservoir boundary over an order of magnitude higher than at the substrate boundary, the nature of using such a finite lattice is suspect. The case when τ = 1 yielded excellent agreement throughout the finite lattice, but this is consistent with the immediate relaxation of local equilibrium distributions and does not apply to other values of τ .

85This τ -dependent error is consistent with the jump observed in Fig. 5, where setting

86) led to deviations. Indeed, Eqn. (21) implies that

87which suggests an approach that would allow us to increase the accuracy of our boundary

88conditions.

89In our current case, however, we can avoid the cumbersome issue of the boundary condition altogether by simply embedding the system into the periodic lattice used for establishing the initial step function condition of the analytical Fourier solution. This permits a more standard lattice Boltzmann approach that does not rely on manual density adjustment at the reservoir (here at x = 3L x ) and uses symmetry to establish the substrate (at x = 4L x ) with no bounceback. With this setup, we have removed the need for boundary conditions altogether; we therefore expect that the τ -dependent error should be substantially reduced, especially at the reservoir boundary. Fig. 11 shows a diagram of the periodic step function from Eqn. 44 used for this analysis.

90We again run two sets of simulations for our range of τ values to the same scaled time, both using the periodically-embedded lattice simulation. The first set of simulations uses only the traditional second-order approximation and is shown in Fig. 12. The second set applies our fourth-order correction and is shown in Fig. 13.

91As was hoped, the error at the reservoir is reduced by orders of magnitude when compared to the finite system with imposed boundaries. This confirms that the accumulated error from the finite system is due to the presence of boundary conditions that are only guaranteed to match at τ = 1 when relaxation is immediate during collisions. However, contrary to expectation, there is almost no benefit from the fourth-order α(τ, θ) correction, even though its validity was verified via Fourier analysis.

92It is of value to mention here the effects of using a progressively lower of τ , since our results suggest that errors increase with τ , regardless of the choice of boundary conditions considered. Of course, a lower choice of this parameter leads to increasingly long simulations, which must be balanced with the desired numerical accuracy. We examined a range of τ values as low as τ = 0.5001 and found essentially no change in error from the τ = 0.55 lower limit presented throughout this paper. This suggests that (to within machine accuracy), there is likely no theoretical limit to the ratio of diffusion constants possible. This implies that a study of a multi-layer coating stack, which fixes the diffusitivity ratio through a It is natural at this point to wonder if there are any choices of parameters τ and θ for which the fourth-order correction provides substantial benefit in our reservoir problem, especially since its use in simulations incurs additional computational burden. Naturally, any such error analysis depends heavily on the particular problem of interest, and therefore on the initial profile and desired time evolution. For our system, we examine the parameter space 0.5 < τ ≤ 2.5 and 0.1 ≤ θ ≤ 1.0. For each point in this space, we run a lattice Boltzmann periodic reservoir system simulation to the same scaled time. After this time, we compute the ratio

93is the root mean square error between numerical concentration ρ and second-or fourthorder Fourier analytical concentration ρ 2,4 . If ≈ 1, there is no appreciable correction from using the fourth-order solution; as → 0, the correction becomes more substantial. From a computational perspective, there is a trade-off between the computational burden of the correction and the benefit (if any) from using it. We do not comment on the appropriate balance for any particular situation.

94Contrary to expectation, there are no regions of the given parameter space where < 0.9 during long times, indicating no appreciable benefit to the correction. Further, the fourthorder analysis predicts numerical instability in the bulk region of parameter space where α < −1/π 2 , although the numerical simulations and second-order analysis remain stable. This is a surprising result overall: a fourth-order correction is not only unhelpful in increasing the accuracy of solutions at long times, it is often worse than the second-order approximation and predicts numerical problems incorrectly.

95If we instead run the same analysis for a much shorter time (in the equivalent macroscopic system, just 3.5 seconds), the results are more promising and shown in Fig. 14. For small values of both τ and θ, the fourth-order correction increases accuracy by an order of magnitude. This is largely due to the fact that the fourth-order theory accurately predicts some early time oscillations at the sharp reservoir interface, as shown by the error reduction in Fig. 15. This discussion of higher-order effects gives the rather surprising result that for our barrier coating application, there is no noticeable improvement. This may also arise because even the second-order results are accurate enough that any resulting errors are of the same order of magnitude as the difference between continuous and discrete analytical solutions, as shown in Fig. 17 in the Appendix.

96There is another prediction we can obtain from our derivation of the correction term. In Figure 14, we see bold black lines indicating the domain for α(τ, θ) = 0. For these values, our theory predicts that the original method (derived only to second order) is actually a fourth-order method. To test this prediction, we choose τ = 1 and θ = 1/3 for which we have α = 0, and examine the convergence of the method to the Fourier term analytical solution 2 of Eqn. (47). In particular, we examine the same periodic system as before by choosing F = 0.0576 for different lattice sizes. Keeping F constant implies that the number of iterations scales as the square of the lattice size, which is sometimes known as diffusive scaling. This is shown in Figure 16, where we see that we indeed find fourth-order convergence when α = 0. For pairs of τ and θ for which we have nonzero correction terms (e.g. we show the case τ = 0.55 and θ = 1/3), we see that we have a second-order convergence instead.

VIII. CONCLUSIONS

97In this paper we have examined whether a diffusive lattice Boltzmann method is an effective tool for examining problems related to Fickian water diffusion in barrier coatings. This validation was assisted by our ability to derive an analytical solution for a simple, but not trivial, coatings problem. In Sec. III we presented a real-space solution for the water content of a dry coating that is initially exposed to a constant moisture reservoir on the surface. A second analytical solution in terms of Fourier components was presented in Sec. V that can be used both for the standard Fickian diffusion case already examined in Sec. III, as well as the more complex fourth-order diffusion equation we derived as part of a higher-order hydrodynamic limit of the lattice Boltzmann equation. The two equivalent analytical solutions differ slightly because our Fourier series corresponds to a discrete system with only a finite number of Fourier terms.

98For a simple initial implementation of the inlet boundary, we found excellent agreement only for a relaxation time τ = 1. Our analysis revealed that the disagreement for τ = 1 was caused by assuming an equilibrium distribution as the reservoir boundary condition.

99Eventually we were able to define a "perfect" boundary condition by doing away with the boundary altogether through an embedding of the system in a large periodic system that only requires periodic boundary conditions. Along the way of our examination, we discovered that we can indeed identify a fourthorder accurate hydrodynamic limit of the diffusion equation. However, this higher-order correction was found to be irrelevant for the coatings problem considered here, as we could only identify a small region in parameter space where the fourth-order predictions were significantly more accurate. This may act as a cautionary tale that validating a higher-order correction does not guarantee that such predictions will always be more accurate for specific applications.

100However, for the best cases, the numerical solutions agree with our analytical solutions almost as well as the two analytical solutions agree with each other, suggesting that the proposed method is indeed an excellent candidate to be applied to coatings problems.

101In the future we expect to extend this from one-dimensional coatings problems, corresponding to full immersion of the coating, to the more complicated problem of droplets sitting on a coating. This case will require a full three-dimensional simulation, and wetting and drying problems then occur in one and the same simulation, spatially separated. Furthermore a droplet sitting on a coating would add a pressure gradient caused by the Laplace pressure in the drop. This may lead to an additional transport mode of advection, driven by the pressure gradient. This will require an extension of the current model to allow for some amount of advection as well. This advection would be expected to be highly overdamped, so that the local advection velocity would be simply proportional to the local pressure gradient. Technically doing this will require a replacement of the equilibrium distribution to one which allows for a non-zero first moment. Such simulations will significantly extend the current state of the art for coatings research which remains firmly focused on one-dimensional problems. condition into Fourier space, performing a second-order time evolution, and then transforming back into real space. This process uses a finite number of k modes in each transform, and necessarily implies a discrete lattice sampling of both the initial condition in real space and the time-evolved form in Fourier space. We therefore expect a discrepancy when directly comparing the two solutions: the first is a solution to the continuous diffusion equation that is examined at discrete lattice points for comparison to the simulation, while the second is a sampled solution to the discrete lattice diffusion equation, the continuous form of which would require (in theory) an infinite number of k modes to match the continuous case.

102To examine the extent to which these solution forms differ from each other, we compute both at the same scaled four-hour time at each lattice site, and plot the absolute value of the difference, , in Fig. 17. The two solutions agree to within 10 −5 of each other. Since this error is on the order of the remaining error for the periodically-embedded simulation, we conclude that any further correction of simulation results renders any error obscured by differences between the discrete and continuous solutions to the diffusion equation, and is of no practical consequence.

참고문헌 25건

  1. Monitoring Degradation of Single and Multilayer Organic Coatings: I. Absorption and Transport of Water: Theoretical Analysis and Methods Journal of The Electrochemical Society · Institute of Physics · 1998 10.1149/1.1838881
  2. The mathematics of diffusion 1956
  3. Prediction of the effective diffusion coefficient in random porous media using the finite element method Journal of Porous Materials · Springer Science+Business Media · 2007 10.1007/s10934-006-9007-0
  4. A lattice Boltzmann equation for diffusion Journal of Statistical Physics · Springer Science+Business Media · 1995 10.1007/bf02181215
  5. Effect of pore structure, randomness and size on effective mass diffusivity AIChE Journal · Wiley · 2002 10.1002/aic.690480104
  6. Lattice BGK Models for Navier-Stokes Equation EPL (Europhysics Letters) · Institute of Physics · 1992 10.1209/0295-5075/17/6/001
  7. Efficient simulation of flow and transport in porous media Chemical Engineering Science · Elsevier BV · 1991 10.1016/0009-2509(91)85122-e
  8. Diffusion in a multicomponent lattice Boltzmann equation model Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1996 10.1103/physreve.54.3614
  9. Lattice-Gas Automata for the Navier-Stokes Equation Physical Review Letters · American Physical Society · 1986 10.1103/physrevlett.56.1505
  10. Lattice Boltzmann Simulation of Nonideal Fluids Physical Review Letters · American Physical Society · 1995 10.1103/physrevlett.75.830
  11. Thermodynamic consistency of liquid-gas lattice Boltzmann simulations Physical Review E · American Physical Society · 2006 10.1103/physreve.74.056703
  12. Cavitation in crosslinked polymers: Molecular dynamics simulations of network formation Progress in Organic Coatings · Elsevier BV · 2015 10.1016/j.porgcoat.2015.01.022
  13. Electrostatic interactions across a charged lipid bilayer European Biophysics Journal · Springer Science+Business Media · 2006 10.1007/s00249-006-0089-z
  14. The use of cationic fluoroprobes to characterize ionic pathways in organic coatings Progress in Organic Coatings · Elsevier BV · 2011 10.1016/j.porgcoat.2011.10.010
  15. Predicting water transport in multilayer coatings Polymer · Elsevier BV · 2012 10.1016/j.polymer.2012.05.043
  16. Influence of crosslinking functionality, temperature and conversion on heterogeneities in polymer networks Polymer · Elsevier BV · 2015 10.1016/j.polymer.2015.10.020
  17. Counter-extrapolation method for conjugate interfaces in computational heat and mass transfer Physical Review E · American Physical Society · 2015 10.1103/physreve.91.033306
  18. Conjugate heat and mass transfer in the lattice Boltzmann equation method Physical Review E · American Physical Society · 2014 10.1103/physreve.89.043308
  19. Publisher's Note: Counter-extrapolation method for conjugate interfaces in computational heat and mass transfer [Phys. Rev. E91, 033306 (2015)] Physical Review E · American Physical Society · 2015 10.1103/physreve.92.049904
  20. Fluctuating lattice Boltzmann method for the diffusion equation Physical review. E · American Physical Society · 2016 10.1103/physreve.94.033302
  21. Repeatability and Reproducibility of Field Exposure Results ACS symposium series · American Chemical Society · 2001 10.1021/bk-2002-0805.ch001
  22. Prediction of the moments in advection-diffusion lattice Boltzmann method. I. Truncation dispersion, skewness, and kurtosis Physical review. E · American Physical Society · 2017 10.1103/physreve.95.013304
  23. Crosslinked polymeric coatings: Preparation, characterization, and diffusion studies Progress in Organic Coatings · Elsevier BV · 2017 10.1016/j.porgcoat.2016.12.023
  24. Cavitation in Crosslinked Polymers: Molecular Dynamics Simulations of Network Formation Focus on Powder Coatings · Elsevier BV · 2015 10.1016/j.fopow.2015.12.027
  25. The Mathematics of Diffusion 2011 10.1137/1.9781611971972