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

Lattice Boltzmann Simulation of Multicomponent Porous Media Flows With Chemical Reaction

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

기본 정보

저자
  1. Timan Lei — Department of Mechanical Engineering, University College London, London, United Kingdom
  2. Kai Luo — Department of Mechanical Engineering, University College London, London, United Kingdom
DOI
10.3389/fphy.2021.715791
저널
Frontiers in Physics
발행년도
2021
발행기관
Frontiers Media
피인용수
11
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3389/fphy.2021.715791
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W3194480997

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
porous media, lattice Boltzmann simulation, chemical reaction, heat and mass transfer, pore scale
판단 근거
이 논문은 다성분 반응이 일어나는 다공성 매질 내의 유체 흐름을 격자 볼츠만법(LBM)으로 시뮬레이션하는 수치 해석 모델을 다룹니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 핵심 부품인 중공사막(5)이나 막전극접합체(7) 내의 가스 확산 및 물질 전달 현상을 모델링하고 분석하는 데 응용될 수 있는 기술입니다.
R&D 활용 포인트
연료전지용 분리막(Membrane)이나 가스확산층(GDL)과 같은 다공성 구조체 내에서 수증기 및 반응 가스의 투과, 물질 전달, 열전달 특성을 예측하는 수치 해석 모델링 기술로 활용 가능합니다.
평가 입력
본문 67,716자 중 30,032자 발췌

초록

Flows with chemical reactions in porous media are fundamental phenomena encountered in many natural, industrial, and scientific areas. For such flows, most existing studies use continuum assumptions and focus on volume-averaged properties on macroscopic scales. Considering the complex porous structures and fluid–solid interactions in realistic situations, this study develops a sophisticated lattice Boltzmann (LB) model for simulating reactive flows in porous media on the pore scale. In the present model, separate LB equations are built for multicomponent flows and chemical species evolutions, source terms are derived for heat and mass transfer, boundary schemes are formulated for surface reaction, and correction terms are introduced for temperature-dependent density. Thus, the present LB model offers a capability to capture pore-scale information of compressible/incompressible fluid motions, homogeneous reaction between miscible fluids, and heterogeneous reaction at the fluid–solid interface in porous media. Different scenarios of density fingering with homogeneous reaction are investigated, with effects of viscosity contrast being clarified. Furthermore, by introducing thermal flows, the solid coke combustion is modeled in porous media. During coke combustion, fluid viscosity is affected by heat and mass transfer, which results in unstable combustion fronts.

본문 67,716자

본문 펼치기
Edited by: Sauro Succi, Italian Institute of Technology (IIT), Italy Reviewed by: Francisco Welington Lima, Federal University of Piauí, Brazil Laurent Talon, UMR7608 Fluides, Automatique et Systèmes Thermiques (FAST), France *Correspondence: Kai H. Luo [k.luo@ucl.ac.uk](mailto:k.luo@ucl.ac.uk) Specialty section: This article was submitted to Interdisciplinary Physics, a section of the journal Frontiers in Physics Received: 27 May 2021 Accepted: 29 July 2021 Published: 20 August 2021 Citation: Lei T and Luo KH (2021) Lattice Boltzmann Simulation of Multicomponent Porous Media Flows With Chemical Reaction. Front. Phys. 9:715791. doi: [10.3389/fphy.2021.715791](https://doi.org/10.3389/fphy.2021.715791) ORIGINAL [RESEARCH](https://www.frontiersin.org/journals/physics#editorial-board) published: 20 August 2021 doi: [10.3389/fphy.2021.715791](https://doi.org/10.3389/fphy.2021.715791) # Lattice Boltzmann Simulation of Multicomponent Porous Media Flows With Chemical Reaction Timan Lei and Kai H. Luo* Department of Mechanical Engineering, University College London, London, United Kingdom Flows with chemical reactions in porous media are fundamental phenomena encountered in many natural, industrial, and scientific areas. For such flows, most existing studies use continuum assumptions and focus on volume-averaged properties on macroscopic scales. Considering the complex porous structures and fluid–solid interactions in realistic situations, this study develops a sophisticated lattice Boltzmann (LB) model for simulating reactive flows in porous media on the pore scale. In the present model, separate LB equations are built for multicomponent flows and chemical species evolutions, source terms are derived for heat and mass transfer, boundary schemes are formulated for surface reaction, and correction terms are introduced for temperature-dependent density. Thus, the present LB model offers a capability to capture pore-scale information of compressible/incompressible fluid motions, homogeneous reaction between miscible fluids, and heterogeneous reaction at the fluid–solid interface in porous media. Different scenarios of density fingering with homogeneous reaction are investigated, with effects of viscosity contrast being clarified. Furthermore, by introducing thermal flows, the solid coke combustion is modeled in porous media. During coke combustion, fluid viscosity is affected by heat and mass transfer, which results in unstable combustion fronts. Keywords: lattice Boltzmann method, pore scale, porous media, chemical reaction, interface instability 1 INTRODUCTION Flows of miscible fluids in porous media are frequently encountered in natural and industrial processes, like underground water movement [1], geologic carbon sequestration [2], enhanced oil recovery [3], and blood transport [4]. Dynamics of such flows are complex due to the unsteady flow, heat and mass transfer, and porous structure involved [5]. This situation becomes more complicated when chemical reactions are introduced. In a porous medium, two fluids containing chemical solutes are put into contact along an interface. Chemical solutes are transported through the interface to react and thereby modify fluid properties, like density and viscosity. Meanwhile, if density or viscosity gradients exist across the interface, density or viscosity fingering may develop during the fluid transport [6]. Thus, interplay between interface instability and chemical reaction ensues. Such phenomena have been studied, for example, in systems containing ester-alkaline or CO2-alkaline miscible solutions. Experiments were carried out to show that changes in chemical solutes modified the reaction type and intensity, leading to either enhanced or suppressed density fingering [7–10]. In parallel, theoretical analyses were conducted to predict viscous or density fingering scenarios with the reaction A + B → C [11–13]. In a porous medium with a partially miscible interface between the two fluids, Loodts et al. [11] suggested that different density contributions and diffusion rates of the three chemical species (A, B, and C) could introduce eight types of density profiles. Trevelyan et al. [12] theoretically showed that such a problem with a miscible interface could yield up to sixty-two types of density profiles. Each profile potentially represented a unique type of density fingering. As for viscous fingering with the reaction A + B → C, a linear stability analysis predicted and classified various fingering scenarios in a parameter plane spanned by viscosity ratios [13]. Under the guidance of theoretical predictions, efforts have been devoted to numerical simulations of interface instabilities with chemical reactions in porous media. For instance, Loodts et al. [14] numerically showed that the reaction A + B → C could accelerate, inhibit, or introduce the development of density fingering. They further demonstrated that different species diffusion rates could introduce four fingering types [15]. Numerical simulations were also performed to model viscous fingering dynamics with the reaction A + B → C [16]. Results suggested that the reaction could introduce a non-monotonic viscosity profile and thereby trigger the development of fingering. These simulations provided spatial and temporal properties of interface instabilities with chemical reactions, thus enriching experimental and theoretical findings. The above studies focused on porous media flows with a homogeneous reaction between miscible fluids. On the other hand, a heterogeneous reaction can take place between fluid and solid phases. Explicitly, such a type of reaction consumes chemical solutes from the fluid phase and solid matrices to yield dissolved (dissolution reaction) or solid (precipitation reaction) products, which subsequently modifies medium structures and flow motions [17]. Until now, porous media flows with heterogeneous reactions have been extensively investigated. For example, acid dissolution experiments showed that the dissolution reaction increased medium porosity behind the moving fluid interface and thereby triggered fingering phenomena (or infiltration instability) [6, 18]. Fredd and Fogler were among the first to experimentally identify different fingering channels under various flow and dissolution rates [19]. The fingering phenomena induced by the dissolution reaction were observed to be destabilized by medium heterogeneity and brine pH [20]. In parallel, experiments on porous media flows with precipitation reactions showed that the reaction could generate a locally adverse mobility gradient to cause the onset of fingering [21]. The interplay between viscous fingering and precipitation reaction was experimentally studied, with the influencing factors and fingering shapes being clarified [22]. In the meantime, numerical simulations of porous media flows with heterogeneous reactions were conducted. For instance, fingering dynamics induced by dissolution reactions were tracked and compared on different simulation length scales [23]. Continuum models were built to describe fingering properties and classify different fingering regimes under the effects of chemical dissolution [24, 25]. In the presence of precipitation reactions, viscous fingering was modeled and found to be FIGURE 1 | Schematic of the flow configuration with chemical reactions in porous media. intensified [26, 27]. In some applications, like in situ combustion for heavy oil recovery, the combustion between hot air and solid fuels, as a typical form of heterogeneous reaction, releases heat to change fluid properties [28]. Thus, thermal flows were included in numerical studies on porous media flows with heterogeneous reaction. Field-scale modeling of solid coke combustion suggested the important role of heat conduction in stabilizing the combustion front [29] and identified key factors influencing the coke combustion rate and the front sweep efficiency [30, 31]. Overall, for porous media flows with chemical reactions, existing works focus on using empirical correlations and volume-averaged techniques to determine effective flow and reaction properties on microscopic scales. However, pore-scale information is necessary to provide further understanding of the microscopic phenomena involved [32]. In the past 3 decades, the lattice Boltzmann (LB) method has been developed and has become a powerful solver for porous media flows on the pore scale. This is attributed to its attractive advantages, like its general kinetic foundation, high parallelism, and ability to handle multiphysics and complex boundaries [33, 34]. Recently, LB models have been proposed to simulate flows of reactive fluids in porous media, like methane hydrate dissolution [35], solid coke combustion [32], and reactive mixing with viscous fingering [36]. Although these works showed the superior ability of the LB method in modeling porous media flows, some limitations should be noted. For example, changes in fluid density or viscosity with temperature are usually not accounted for, models for multicomponent reactions (like A + B → C) are underdeveloped, and iterative boundary schemes for conjugate heat transfer are complex and time-consuming. We have developed a series of LB models to overcome these shortcomings separately [37–40]. Nevertheless, a uniform LB model is still needed. This work thus proposes an LB model to simulate pore-scale reactive flows in porous media, with homogeneous and heterogeneous reactions and compressible and incompressible fluid densities being considered. 2 MATHEMATICAL MODEL In a porous medium with porosity ϕ, a fluid 2 of solute B initially fills the pore spaces between solid matrices. Another fluid 1 of solute A is put into contact with fluid 2 along an interface. The two fluids are assumed to be miscible and have their own species concentration, viscosity, temperature, and density, which are noted by subscripts 1 and 2, respectively. As an example, a schematic of the fluid distribution with a vertical interface is shown in Figure 1. Once fluid transport starts, the two solutes A and B come into contact and react in the mixing zone as follows: A + B → C + Q. (1) The reaction product C is in the dissolved form, Q is the reaction heat, and the reaction rate of this homogeneous reaction is Ro. Meanwhile, the nonreactive solid matrices can be coated with a reactive solid Bs to react with A as follows: A + Bs → P + Q. (2) The product P is in either the dissolved or the solid form, representing the dissolution or the precipitation reaction, respectively. It should be noted that fluid 2 does not contain solute A, and thus, this heterogeneous reaction only takes place at the interface I between fluid 1 and solid Bs. With this heterogeneous reaction, solid Bs is dissolved gradually, and the update of the porous structure is tracked as follows [41]: ztVB �−SBVBmRe, (3) where VB and VBm are the volume and the molar volume of solid Bs, respectively, and SB is the reactive surface area. The reaction rate of this heterogeneous reaction is noted as Re. The above homogeneous and heterogeneous reactions usually cause variations in fluid properties (like concentration, temperature, density, and viscosity) and medium structures, which subsequently alter flow motions in porous media. We seek to study the fluid transport properties of such a system, focusing on effects of chemical reactions. Evolutions of fluid flow and species concentrations in pore spaces are described by the following conservation equations: ztρl + ∇ - �ρlu� - 0, (4) zt�ρlu� + ∇ - �ρluu� �−∇p + ∇ - �]ρl∇u� + F, (5) zt�ρlYr� + ∇ - �ρlYru� - ∇ - �Drρl∇Yr� + Sr. (6) where u �(u, v), ρl, p, and ] are the fluid velocity, density, pressure, and kinematic viscosity, respectively. t is the time, and F is the body force. Yr is the mass fraction of species r (r � A, B, C, P), and it is related to species concentration as Cr � ρlYr/Mr, with Mr being the species molecular weight. Dr and Sr are the diffusion coefficient and the homogeneous reaction source term of species r (Eq. 1), respectively. Furthermore, chemical reactions in Eqs 1, 2 usually release heat to change the local temperature, which in turn modifies the reaction rate and fluid properties. For such a consideration, heat transfer in both the fluid and solid phases is built as follows: zt�ρcpT� + ∇ - �ρcpTu� - ∇ - �αρcp∇T� + Q. (7) Here T, cp, α, and ρ are the local temperature, specific heat at constant pressure, thermal diffusivity, and density, respectively. In addition, at the interface I between solute A and solid Bs, the heterogeneous reaction Eq. 2 is described as follows [32, 41]: No − slip velocity : u <sup>I</sup> �(0, 0), (8) Key characteristic numbers are as follows: the Reynolds number Re, the Peclet number Pe, the Prandtl number Pr, and the Schmidt number Sc. It is emphasized that the above equations consider homogeneous and heterogeneous reactions via the source term Sr and boundary conditions Eqs. 8–10, respectively. Evolutions of chemical species are described using Eq. 6 separately, thus allowing for homogeneous reactions between multiple solutes. Furthermore, both compressible and incompressible fluid flows can be taken into account, by setting the fluid density as a constant and a variable, respectively. On one hand, for compressible flows, the inclusion of heat transfer brings in the temperature-dependent fluid density. On the other hand, for incompressible flows, the thermophysical properties in Eq. 7 are fixed as constants in the fluid phase ϑl � ϑ0 (ϑ � cp, α, ρ), which can be different from those in the solid phase, namely, ϑs ≠ ϑl. 3 LATTICE BOLTZMANN MODEL An LB model is now developed to solve the above governing equations for porous media flows with chemical reactions. For pore-scale simulations, the multiple-relaxation-time (MRT) scheme was shown to be able to correctly capture the no-slip velocity condition at the fluid–solid boundary and avoid the Species conservation : n · <sup><u>Drρl</u></sup> Mr ~~∇~~ Y <sup>I</sup> r <sup>�</sup> <sup>arRe,</sup> (9) ~~∇~~ Y <sup>I</sup> r T <sup>I,+</sup> - T <sup>I,−</sup>, Conjugate heat transfer : - I,+ n · �k∇T + ρcpuT� - n · �k∇T + ρcpuT�I,− + q, (10) where n is the interface normal pointing to the fluid phase, + and - denote parameters on either side of I, k - αρcp is the local thermal conductivity, q is the reaction heat flux, and ar is the stoichiometric coefficient of species r. By introducing the characteristic length L, velocity U, temperature Tch, concentration Cch, and density ρch, dimensionless parameters marked by asterisks are derived as follows: Tch x <sup>*</sup> - L <sup><u>x</u></sup> L <sup><u>x</u></sup> <sup>~~,~~</sup> <sup>y*</sup> <sup>�</sup> L <sup><u>y</u></sup> L <sup><u>y,</u></sup> <sup>t*</sup> <sup>�</sup> L/tU <sup>,</sup> <sup>u*</sup> <sup>�</sup> U <sup><u>u</u></sup> U <sup><u>u</u></sup> <sup>,</sup> <sup>T</sup> <sup>*</sup> <sup>�</sup> T <sup><u>T</u></sup> ch , C <sup>*</sup> r Cch <sup>*</sup> r <sup>�</sup> <sup><u>Cr</u></sup> ~~,~~ (11) F <sup>*</sup> - <u>F</u> ρchU <sup>2</sup> /L <sup>~~,~~</sup> <sup>Re �</sup> <sup><u>LU</u></sup> ]2 ~~,~~ Per - <sup><u>LU</u></sup> Dr ~~,~~ Pr � <sup><u>]2</u></sup> αl ~~,~~ Pr � <sup><u>]2</u></sup> , Sc � <sup><u>]2</u></sup>, l Dr , Sc � <sup><u>]2</u></sup> , unphysical dependence of permeability on viscosity [42–44]. The MRT collision operator is thus employed in our model development. Considering that this work focuses on reactive fluid flows in twodimensional (2D) porous media, the most popular two-dimensional nine-velocity (D2Q9) scheme is applied, with the discrete velocities ei and weight coefficients wi being as follows [34]: fi(x + eiδt, t + δt) − fi(x, t) �−�M <sup>−1</sup> SM�ij�fj(x, t) − f j <sup>eq(x,</sup> <sup>t)</sup> + δt�M <sup>−1</sup> (I − 0.5S)M�ij�F̄ j + C̄ j�. (18) gr,i(x + eiδt, t + δt)− gr,i(x, t) �−�M <sup>−1</sup> SrM�ij�gr,j(x, t)− gr <sup>eq</sup>,j <sup>(x,</sup> <sup>t)</sup> +δtF̄ r,i + 0.5δ <sup>2</sup> t <sup>ztF̄ r,i,</sup> (19) ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ ei - e(0, 0), wi - <sup><u>4</u></sup> i � 0, 9 <sup>~~,~~</sup> ei ei - e�cos <sup><u>(i −</u></sup> <sup><u>1)π</u></sup> <sup><u>1)π</u></sup>, sin <sup><u>(i −</u></sup> <sup><u>1)π</u></sup> 2 2 <sup><u>1</u></sup> i � 1 − 4, 9 <sup>~~,~~</sup> �cos <sup><u>(i −</u></sup> <sup><u>1)π</u></sup>, sin <sup><u>(i −</u></sup> <sup><u>1)π</u></sup> �, wi - <sup><u>1</u></sup> 2 2 9 hi(x + eiδt, t + δt) − hi(x, t) �−�M <sup>−1</sup> STM�ij�hj(x, t) − hj <sup>eq(x,</sup> <sup>t)</sup> , + δtF̄ T,i + 0.5δ <sup>2</sup> t <sup>ztF̄</sup> T,i (20) �cos <sup><u>(2i −</u></sup> <sup><u>1)π</u></sup>, sin <sup><u>(2i −</u></sup> <sup><u>1)π</u></sup> �, wi - <sup><u>1</u></sup> 4 4 36 <sup>~~,~~</sup> <sup>i �</sup> <sup>5 −</sup> <sup>8.</sup> <sup><u>−</u></sup> <sup><u>1)π</u></sup>, sin <sup><u>(2i −</u></sup> <sup><u>1)π</u></sup> 4 4 for i, j - 0, 1, . . ., 8, where fi(x, t), gr,i(x, t), and hi(x, t) are distribution functions for the fluid density, mass fraction of species r, and local temperature, respectively. The corresponding equilibrium distribution functions f <sup>eq</sup> i <sup>,</sup> <sup>g</sup> r <sup>eq</sup>,i <sup>,</sup> <sup>and</sup> h <sup>eq</sup> i are given as follows [34, 46, 47]: √� 2 e�cos <sup><u>(2i −</u></sup> <sup><u>1)π</u></sup> (12) Here, e � δx/δt is the lattice speed, with δx and δt denoting the lattice spacing and the time step, respectively. In this work, e is given as the velocity unit, that is, e - 1. The transformation matrix M corresponding to the D2Q9 scheme is as follows [34]: <sup>eq</sup> i are given as follows [34, 46, 47]: <sup>eq</sup> i <sup>,</sup> <sup>g</sup> r <sup>eq</sup>,i - <sup><u>u2</u></sup> 2c <sup>2</sup> s f <sup>eq</sup> - wi �m + n ~~�~~ <sup><u>ei · u</u></sup> 2c <sup>4</sup> s �m + n ~~�~~ <sup><u>ei · u</u></sup> + <sup><u>ei · u</u></sup> - <sup><u>u2</u></sup> + Λ��, c <sup>2</sup> s + <u>(</u> <sup><u>ei · u</u></sup> <u>)</u> <sup>2</sup> s m � n � ρ, for compressible flows, m � ρp, n � ρ0, for incompressible flows. (21) ⎨⎧ with⎩ s 1 1 1 1 1 1 1 1 1 −4 −1 −1 −1 −1 2 2 2 2 4 −2 −2 −2 −2 1 1 1 1 0 1 0 −1 0 1 −1 −1 1 0 −2 0 2 0 1 −1 −1 1 0 0 1 0 −1 1 1 −1 −1 0 0 −2 0 2 1 1 −1 −1 0 1 −1 1 −1 0 0 0 0 0 0 0 0 0 1 −1 1 −1 . (13) ⎞⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎠ ⎞⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎠ - <sup><u>u2</u></sup> 2c <sup>4</sup> s - <sup>1 +</sup> <sup><u>ei · u</u></sup> + <sup><u>ei · u</u></sup> - <sup><u>u2</u></sup> ~~�~~, (22) c <sup>2</sup> s 2c <sup>4</sup> s 2c <sup>2</sup> s c <sup>2</sup> s M ⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎝⎜⎛⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜ g <sup>eq</sup> r,i <sup>eq</sup> r,i <sup>�</sup> <sup>wiYr</sup> - <sup>1 +</sup> <sup><u>ei · u</u></sup> + <u>(</u> <sup><u>ei · u</u></sup> <u>)</u> <sup>2</sup> s <sup>eq</sup> i <sup>�</sup> <sup>wiT</sup> - <sup>1 +</sup> <sup><u>ei · u</u></sup> + <u>(</u> <sup><u>ei · u</u></sup> <u>)</u> <sup>2</sup> 2c <sup>4</sup> s h <sup>eq</sup> i - <sup>1 +</sup> <sup><u>ei · u</u></sup> + <sup><u>ei · u</u></sup> - <sup><u>u2</u></sup> ~~�~~ . (23) c <sup>2</sup> s 2c <sup>4</sup> s 2c <sup>2</sup> s c <sup>2</sup> s - <sup><u>u2</u></sup> This matrix maps the distribution functions from the physical space ψ - (ψ0, ψ1, ψ2, . . ., ψ8) <sup>T</sup> into the moment space as follows [34]: ψ̂ - M · ψ. (14) Due to the temperature-dependent density and different thermophysical properties between the solid and fluid phases, Eqs. 6, 7 are rewritten as follows [45]: ztYr + ∇ - (Yru) � ∇ - (Dr∇Yr) + Fr, (15) ztT + ∇ - (Tu) � ∇ - (α∇T) + FT. (16) Source terms in the derived species and energy conservation equations are as follows [39]: Here, ρp is a variable related to the√� fluid pressure as p � c <sup>2</sup> s <sup>ρ</sup> p <sup>,</sup> with cs - e/ 3 being the lattice sound velocity. Different Here, ρp is a variable related to the√� fluid pressure as p � c <sup>2</sup> s √� 3 with cs - e/ 3 being the lattice sound velocity. Different expressions of f <sup>eq</sup> i are applied to account for compressible and incompressible fluid flows, respectively. The correlation term Λ is given as follows: Λ � <sup><u>θ −</u></sup> <sup><u>1</u></sup> 2c <sup>2</sup> s s �e <sup>2</sup> i <sup>−</sup> <sup>c</sup> s <sup>2D + ei · u</sup> ~~�~~ <sup><u>e</u></sup> <u>i</u> <sup>2</sup> - D − 2��, θ � <sup><u>r</u></sup> <sup>̄T</sup> c <sup>2</sup> s c <sup>2</sup> s e <sup>2</sup> i <sup>2</sup> i <sup>−</sup> <sup>c</sup> s <sup>2</sup> s <sup>2D + ei · u</sup> ~~�~~ <sup><u>e</u></sup> <u>i</u> <sup>2</sup> <u>i</u> <sup><u>e2</u></sup> c <sup>2</sup> s <u>RYr</u> , Mr s ~~,~~ r̄ - r Fr - Fr1 + Fr2, Fr1 - <sup><u>Sr</u></sup> ρl ~~,~~ Fr2 - <sup><u>Dr</u></sup> ρl ∇Yr · ∇ρl + Yr∇ - u, FT1 - <sup><u>Q</u></sup> ρcp , FT2 - <sup><u>1</u></sup> ρcp FT - FT1 + FT2, ∇�ρcp� - (α∇T − Tu) − <sup><u>T</u></sup> ρcp zt�ρcp�. (17) (24) with D and θ being the model dimension and the dimensionless temperature of a fluid mixture, respectively. The other correction term C̄ j in Eq. 18 is introduced to eliminate the deviation from third-order velocity moments [46]. With these two modifications, thermal expansion effects in compressible fluid flows are realized via the temperature-dependent density. The equation of state to connect the fluid pressure and the temperature is defined as p � ρr ̄T. On the other hand, for incompressible fluid flows, these two correlation terms are reduced to zero, and the dimensionless temperature becomes θ - 1. In evolution Eqs. 18–20, S, Sr, and ST are diagonal relaxation matrices of the relaxation rates si, sr,i, and sT,i in the moment space, respectively. To avoid discrete lattice effects, distribution functions for the force and source terms are defined as follows [34, 36]: More details about the derivation can be found in our recent work [39]. It should be noted that that for compressible fluids with fixed ρl � ρ0, the terms Fr2 and zt(ρcp) in FT2 are reduced to zero. An MRT LB model is developed to solve Eqs 4, 5, 15, 16 for describing reactive fluid flows in porous media. The LB evolution equations are as follows [34, 37, 46]: + <u>(</u> <sup><u>ei · u</u></sup> <u>)(ei · F)</u> c <sup>4</sup> s - <sup><u>u · F</u></sup> ~~�~~ + <sup><u>ei · u</u></sup> - <sup><u>u · F</u></sup> �, (25) c <sup>2</sup> s c <sup>4</sup> s c <sup>2</sup> s F̄ i - wi <u>ei · F</u> c <sup>2</sup> s s s c <sup>2</sup> s F̄ r,i - wiFr�1 + <sup><u>ei · u</u></sup> <u>τr −</u> <u>0.5</u> ̄ �1 + <sup><u>ei · u</u></sup> ~~�~~, (26) c <sup>2</sup> s τr ̄ c <sup>2</sup> s s F̄ T,i - wiFT�1 + <sup><u>ei · u</u></sup> <u>τT</u> <u>−</u> <u>0.5</u> ̄ �1 + <sup><u>ei · u</u></sup> �. (27) c <sup>2</sup> s τT Ĉ - �0, 3�zxQx + zyQy�, − 3�zxQx + zyQy�, 0, 0, 0, 0, zxQx − zyQy, 0), (40) with Qx - ρu(1 − θ − u <sup>2</sup> ) and Qy - ρv(1 − θ − v <sup>2</sup> ). By such an analysis, the gradient terms of the mass fraction and temperature in Eq. 17 are determined as follows [36]: ̄ c <sup>2</sup> s s Time derivative terms in Eqs 19, 20 are treated using the backward-difference scheme as follows [5]: ∇xYr - ~~−~~ <sup><u>ĝr,3 −</u></sup> <sup><u>Yru + 0.5δtFru</u></sup> ~~,~~ <sup>̂</sup> ~~,~~ <u>zzζt</u> <sup>�</sup> <sup><u>ζ(x,</u></sup> <sup><u>t) −</u></sup> <sup><u>ζ</u></sup> δ(t <sup><u>x,</u></sup> <sup><u>t −</u></sup> <sup><u>δt</u></sup> <u>)</u> <sup>̂</sup> c <sup>2</sup> s <sup>̂</sup> c <sup>2</sup> s , �ζ - F̄ r,i, F̄ T,i�. (28) ∇yYr - ~~−~~ <sup><u>ĝr,5 −</u></sup> <sup><u>Yrv + 0.5δtFrv</u></sup> <sup>̂</sup> <sup>2</sup> s <sup>τrδt</sup> <sup>̂</sup> <sup>̂</sup> c <sup>2</sup> s <sup>̂</sup> <sup>2</sup> s <sup>τTδt</sup> <sup>̂</sup> ~~,~~ ∇xT - ~~−~~ <sup><u>h3̂</u></sup> <sup><u>−</u></sup> <sup><u>Tu + 0.5δtFTu</u></sup> ~~,~~ ~~,~~ Based on the transformation equation (14), evolution equations (18–20) are implemented in the moment space as follows: f̂ (x + eiδt, t + δt) � f̂ (x, t) − S�f̂ (x, t) − f̂ eq(x, t)� +δt(I − 0.5S)(F̂ + C ̂), (29) ĝ r(x + eiδt, t + δt) � ĝ r(x, t) - Sr�ĝ r(x, t) − ĝ <sup>eq</sup> r <sup>(x,</sup> <sup>t)</sup> - + δtF̂r + 0.5δt <sup>2ztF̂</sup> r <sup>,</sup> (30) ĥ(x + eiδt, t + δt) � ĥ(x, t) - ST�ĥ(x, t) − ĥeq(x, t)� + δtF̂T + 0.5δt <sup>2ztF̂</sup> T <sup>.</sup> (31) The equilibrium moments f̂ eq, g eqr <sup>,</sup> <sup>and ĥeq are expressed</sup> <sup>as</sup> follows: f̂ eq �(m, (−4 + 2θ)m + 3nu <sup>2</sup>, (3 − 2θ)m − 3nu <sup>2</sup>, (32) un, (−2 + θ)un, vn, (−2 + θ)vn, �u <sup>2</sup> - v <sup>2</sup> �n, uvn�. <sup>̂</sup> <sup>2</sup> s <sup>τrδt</sup> <sup>̂</sup> ∇yT - ~~−~~ <sup><u>h5̂</u></sup> <sup><u>−</u></sup> <sup><u>Tv + 0.5δtFTv</u></sup> <sup>̂</sup> c <sup>2</sup> s <sup>̂</sup> <sup>2</sup> s <sup>τTδt</sup> . (41) The other gradient terms in Eq. 17 are calculated using the isotropic central scheme as follows [48]: ∇ς � i <u>wieiς(x + eiδt)</u> ~~,~~ c <sup>2</sup> s <sup>δt</sup> <sup>2</sup> s <sup>δt</sup> ~~,~~ �ς � ρ, ρcp�. (42) Finally, the heterogeneous reaction at interface I between fluid 1 and solid Bs is modeled by resolving the interface conditions in Eqs. 8–10. On one hand, with the derived thermal source term FT, conjugate heat transfer conditions (Eq. 10) are realized by solving the energy Eq. 7. On the other hand, to solve Eqs 8, 9, the interface mass fraction gradient ∇Y <sup>I</sup> r <sup>is</sup> <sup>first</sup> <sup>determined</sup> <sup>using</sup> <sup>the</sup> <sup>finite-difference</sup> scheme as follows [49]: n · ∇Y <sup>I</sup> r <u>r</u> <sup>I</sup> r <sup>�</sup> <sup><u>Y</u></sup> <sup>l</sup> 0.5 g eqr <sup>�</sup> <sup>Cr</sup> - <sup>1,</sup> <sup>−2 + 3u2,</sup> <sup>1 −</sup> <sup>3u2,</sup> <sup>u,</sup> <sup>−u,</sup> <sup>v,</sup> <sup>−v,</sup> <sup>u2 −</sup> <sup>v2,</sup> <sup>uv</sup> �, (33) <sup><u>Y</u></sup> <sup>l</sup> <u>r</u>, (43) 0.5n · eiδx <u>r</u> <sup>l</sup> <sup><u>−</u></sup> <sup><u>Y</u></sup> <u>r</u> <sup>I</sup> ĥeq � T�1, −2 + 3u <sup>2</sup>, 1 − 3u <sup>2</sup>, u, −u, v, −v, u <sup>2</sup> - v <sup>2</sup>, uv�, (34) and the corresponding moments for the force and source terms are as follows: F̂ - �0, 6u · F, −6u · F, Fx, −Fx, Fy, −Fy, 2�uFx − vFy�, uFy + vFx), (35) F̂r - Fr�1, −2, 1, �1 − 0.5sr,3�u, −�1 − 0.5sr,4�u, �1 − 0.5sr,5�v, −�1 − 0.5sr,6�v, 0, 0), (36) F̂ T - FT�1, −2, 1, �1 − 0.5st,3�u, −�1 − 0.5st,4�u, �1 − 0.5st,5�v, −�1 − 0.5st,6� v, 0, 0). (37) Finally, macroscopic variables are obtained from the distribution functions as follows: where Y <sup>l</sup> r where Y <sup>l</sup> r <sup>is</sup> <sup>the</sup> <sup>species</sup> <sup>mass</sup> <sup>fraction</sup> <sup>at</sup> <sup>the</sup> <sup>fluid</sup> <sup>node</sup> neighboring I. By inserting Eq. 43 into Eq. 9, the value of Y <sup>I</sup> r <sup>is determined. Thus, Eqs. 8, 9 describe a reactive boundary</sup> Y <sup>I</sup> r <sup>is determined. Thus, Eqs. 8, 9 describe a reactive boundary</sup> with no-slip velocity and a given Y <sup>I</sup> r <sup>,</sup> <sup>which</sup> <sup>are</sup> <sup>implemented</sup> via the halfway bounce-back scheme. The unknown distribution functions at the fluid node xf adjacent to I are as follows [49]: m � i fi, nu � i eifi + 0.5δtF, Yr - i gr,i, T - i hi. (38) fı ̄�xf, t + δt� - f i <sup>′</sup> �xf, t�, (44) gr,ı ̄�xf, t + δt� �−gr, <sup>′</sup> i�xf, t� + 2wiY <sup>I</sup> r <sup>,</sup> (45) where eı̄ �−ei, with ei pointing to the solid phase. f i <sup>′</sup> (xf, t) and gr, <sup>′</sup> i(xf, t) denote post-collision values. Compared with recent LB models for porous media flows [32, 35], the present MRT LB model offers several advances. First, by introducing correction terms, both incompressible fluid flows with a fixed fluid density and compressible flows with a temperaturedependent one can be modeled. Second, separate LB equations with reactive source terms are developed to account for homogeneous reactions between multiple solutes, like A + B → C. Third, for heterogeneous reaction at the solid–fluid interface, additional source terms and the bounce-back scheme are built to realize the conjugate heat transfer and species conservation conditions, without iterative calculations. In addition, different from our recent LB models [37–40], the present one offers a capacity to achieve these advances simultaneously. Through the Chapman–Enskog analysis on the present LB equations, the governing equations can be recovered with the relaxation times τ, τr, and τT being as follows [46, 47]: ] � c <sup>2</sup> s c <sup>2</sup> s <sup>(τ −</sup> <sup>0.5)θδt,</sup> Dr - c <sup>2</sup> s <sup>2</sup> s ( <sup>τr −</sup> <sup>0.5</sup> )δt, α � c <sup>2</sup> s <sup>2</sup> s ( <sup>τT</sup> <sup>−</sup> <sup>0.5</sup> )δt. (39) Furthermore, for compressible fluid flows, the constraints on the correction term in the moment space (Ĉ - M · C ̄) are formulated as follows [46]: <u>CA</u> μ � μB exp ~~�~~ CB,0 ~~R~~ A + <sup><u>CC</u></sup> CB,0 ~~�~~ ~~R~~ A + <sup><u>CC</u></sup> ~~R~~ C�, (48) FIGURE 2 | Schematic of the problem: density fingering with the reaction A + B → C in porous media. 4 RESULTS DISCUSSION In the above section, a multicomponent MRT LB model has been presented for studying porous media flows with chemical reactions on the pore scale. Advances of this model over existing ones are introduced. This section conducts simulations of reactive fluid flows in porous media. The obtained results will show the ability of the present LB model in predicting hydrodynamic instabilities at the fluid interface, thermal flows in both pores and solid matrices, and effects of chemical reactions on fluid transport. 4.1 Density Fingering With the Reaction A + B → C This section aims to investigate density fingering with the reaction A+ B → C between two miscible solutions 1 and 2 in porous media. As depicted in Figure 2, a 2D homogeneous structure is constructed, with the geometric parameters lx - 1, ly - 2/3, rx - 27δx, ry - 27δx, d - 12δx, lp - 15δx, and ϕ - 0.69 (in lattice units). Initially, the porous medium is saturated with a host fluid 2 of solute B. Another fluid 1 of solute A is placed upon the medium and in contact with fluid 2 along the top boundary (y - 0). The two solutions are assumed to be incompressible and isothermal. Then, across the partially miscible top boundary, A dissolves into fluid 2, and no mass transfers in the reverse direction. Dissolved A reacts with B to generate a solute C as in Eq. 1, with the reaction rate being as follows [14]: Ro - kCACB. (46) Here, k is the kinetic reaction constant. All three chemical species contribute to fluid density and viscosity changes as follows [13, 14]: ρ � ρ0 + ρ0�βACA + βBCB + βCCC�, (47) where βr is the concentration expansion coefficient of species r. RA - ln(μA/μB) and RC - ln(μC/μB) are log-to-viscosity ratios between pure solutions of species r at concentration Cr,0. Under the gravity field, the body force (or buoyancy force) is calculated as follows [37]: F - ρ0g�βACA + βBCB + βCCC�. (49) Here, g is the acceleration vector of gravity. With such effects, different density stratifications develop, and density fingering may be triggered. In this incompressible system, the thermal flow is not considered. Thus, fluid motion and species evolutions in pore spaces are described using Eqs 4–6. In addition, fluid density is fixed as ρl � ρ0, the reaction source term is defined as Sr � arRo, the heterogeneous reaction at the fluid–solid interface is not considered, and the three species are assumed to diffuse at the same rate Dr - D. For dimensionless parameters in Eq. 11, the characteristic length L, velocity U, concentration Cch, and density ρch are as follows: (51) For such a problem, our recent works have studied fingering dynamics with effects of the reaction A + B → C and differential diffusion [37, 38]. Thus, in the following simulations, we introduce the impact of the three chemical species on fluid viscosity (Eq. 48) and seek to understand how the development of density fingering is affected. The Schmidt number and the Damköhler number are fixed as Sc - 100 and Da � 5, respectively, and different values of RaAB, RaCB, RA, and RC are selected to change test conditions. During LB simulations, the no-slip and no-flux bottom wall and matrix interface are realized using the halfway bounce-back scheme, periodic conditions are set at the two lateral boundaries, and the partially miscible top boundary is implemented using the nonequilibrium extrapolation scheme. The relaxation rates in this simulation case are set as follows: s0 � s3 � s5 � 0, s1 � 1.1, s2 � 1.2, s4 � s6 � (16τ − 8)/(8τ − 1), s7 � s8 � 1/τ, sr,0 � 1, sr,1 � sr,2 � 1.1, sr,3 - sr,4 � sr,5 � sr,6 � 1/τr, and sr,7 � sr,8 � 0.9. A mesh of Nx × Ny � 1,500 × 1,000 lattice size is used after grid convergence validations. We focus on density fingering phenomena with fluid viscosity variations caused by chemical species. Simulations with RaAB � 1, RaCB � 1, RA � 0, and different values of RC are first performed. From our calculated results, different types of density fingering are identified, and fingering is found to be stabilized as C decreases the fluid viscosity (RC < 0). To illustrate such effects, L � lx, U ������� � gβALCB,0, Cch - CB,0, ρch - ρ0. (50) The Rayleigh numbers Rar and the Damköhler number Da are defined as follows: Rar - <sup><u>gβrCchL3</u></sup> RaB <sup><u>CchL3</u></sup>, RaAB - <sup><u>RaA</u></sup> ]D RaB , Da � <sup><u>kCchL</u></sup> . U ~~,~~ RaCB - <sup><u>RaC</u></sup> RaB FIGURE 3 | Density contours ρ* at six time instants for cases with RaAB � 1, RaCB - 1, and RA - 0 and (A) RC �−3, (B) RC - 0, and (C) RC - 3. the results of three cases with RC �−3, 0, 3 are provided and discussed. It should be noted that the three values of RC represent the three different scenarios where the reaction product C decreases, cannot change, or increases the fluid viscosity, respectively. For each of the three cases, Figure 3 depicts density distributions at six time instants, with the dimensionless density being calculated as ρ* - (ρ - ρ0)/ (ρ0βBCB,0). From the constant-viscosity case (RC - 0) in Figures 3A,B, a classical density fingering development pattern is observed, that is, fluid diffusion, individual fingering growth, fingering merge, and new fingering reinitiation [37]. It should be noted that during the initial diffusion stage, dense fluid accumulates near the top boundary to overcome the viscous shear force blow. Fingering develops when the driving force introduced by the accumulated dense fluid is large enough. FIGURE 4 | Contours of species concentrations C <sup>*</sup> r <sup>and fluid viscosity μ*</sup> for cases with RaAB � 1, RaCB � 1, and RA � 0 and (A) RC �−3 at t* � 180, (B) RC - 0 at t* - 600, and (C) RC - 3 at t* - 600. Compared with this constant-viscosity case, the introduction of viscosity variations in Figures 3A,C yields different density fingering dynamics. On one hand, when chemical product C decreases the fluid viscosity (Figure 3A with RC �−3), the classical fingering development pattern is observed. However, fingering starts earlier and grows faster than in the constant-viscosity case (Figure 3B). Such an accelerated fingering propagation finally leads to diluted fingers. On the other hand, in the case with solute C increasing the fluid viscosity (Figure 3C with RC � 3), even though the dissolution of A and the reaction A+ B → C can introduce a buoyantly unstable stratification, the fluid interface remains flat at each time instant, and no density fingering occurs. In order to explain such influence of fluid viscosity variations, distributions of species concentrations (C <sup>*</sup> r <sup>�</sup> <sup>Cr/CB,0)</sup> <sup>and</sup> <sup>fluid</sup> viscosity (μ* � μ/μ2) are calculated and provided in Figure 4. For each case, results in Figure 4 correspond to the density field in Figure 3 at the last time instant. First, in the constant-viscosity case, Figure 4B shows that μ* distributes uniformly and density fingering is introduced by fingers of species A. Then, in the case with RC �−3 (Figure 4A), fingers of A are also observed to be at the origin of density fingering. However, compared with the constant-viscosity case (Figure 4B), μ* (or fluid viscous force) decreases with the generation of C in the top layer. It implies that less A is required to accumulate near the top boundary to overcome the viscous force. Thus, fingers of A start earlier and develop faster in the top layer occupied with C. Finally, in Figure 4C with RC - 3, the chemical product C increases the fluid viscosity and viscous force in the top area. Therefore, even FIGURE 5 | Temporal evolutions of (A) front position lm/lx, (B) volumeaveraged storage of A in the host fluid 〈C <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> <sup>〉,</sup> <sup>and</sup> <sup>(C)</sup> <sup>horizontally</sup> <sup>*</sup> A <sup>+ C*</sup> averaged storage of A in the host fluid 〈C <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> <sup>〉,</sup> <sup>and</sup> <sup>(C)</sup> <sup>horizontally</sup> averaged mass flux of A at the top boundary J* for cases with RaAB - 1, RaCB - 1, RA - 0, and RC �−3, 0, 3. though dissolved A accumulates to overcome the enlarged viscous force, the driving force introduced by the accumulation of A is still not large enough, and the fluid interface remains flat without fingering phenomena. These results explain the observations in Figure 3. To quantitatively compare fingering dynamics in the three cases, Figure 5 plots temporal evolutions of the front position lm/ly, volume-averaged storage of A in the host fluid 〈C <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> <sup>〉,</sup> <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> lm/ly, volume-averaged storage of A in the host fluid 〈C <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> <sup>〉,</sup> and horizontally averaged mass flux of A at the top boundary J*. Here, lm is defined as the most advanced vertical position of density fingering in the host fluid, and J* is calculated as l <sup>*</sup> x √����� J <sup>*</sup> �− �0 <sup>zy*</sup> <sup>C</sup> A <sup>*</sup> <sup>dx*/(l</sup> x <sup>*</sup> RaBSc ). Curves of lm/ly show that the density fingering in the host fluid, and J* is calculated as l <sup>*</sup> x √����� J <sup>*</sup> �− �0 <sup>zy*</sup> <sup>C</sup> A <sup>*</sup> <sup>dx*/(l</sup> x <sup>*</sup> RaBSc ). Curves of lm/ly show that the fingering front keeps growing in a diffusive tendency at RC 3, indicating the stable fluid interface. In the other two cases, however, lm/ly gradually departs from the diffusive tendency due to the onset of density fingering. Moreover, among the three cases, fingering at RC �−3 propagates the fastest. This is because solute C decreases the fluid viscosity and destabilizes fingering development. Results of 〈C <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> <sup>〉</sup> <sup>and</sup> <sup>J*</sup> <sup>also</sup> <sup>suggest</sup> <sup>that</sup> <sup>the</sup> l <sup>*</sup> x l <sup>*</sup> x 0 <sup>zy*</sup> <sup>C</sup> A <sup>*</sup> <sup>dx*/(l</sup> x <sup>*</sup> x <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> development. Results of 〈C <sup>*</sup> A <sup>+ C</sup> C <sup>*</sup> <sup>〉</sup> <sup>and</sup> <sup>J*</sup> <sup>also</sup> <sup>suggest</sup> <sup>that</sup> <sup>the</sup> decreased fluid viscosity at RC �−3 accelerates the storage speed FIGURE 6 | Density contours ρ* at six time instants for cases with RaAB � 0.1 and RA � 0 and (A) RaCB � 1, RC �−3, (B) RaCB � 1, RC � 0, and (C) RaCB � 0.1, RC �−3. of A in the host fluid. Finally, by comparing the status of the three cases with lm/ly � 0.5, the stored amount of A is found to be the smallest in the case RC �−3. This is attributed to the fact that the fast fingering propagation decreases the time period for the dissolution of A from the top boundary. These results quantitatively confirm the above fingering scenarios in Figure 3. In general, when solute C decreases the fluid viscosity (RC < 0), density fingering is destabilized, and the destabilizing intensity ascends with descending RC. To further illustrate this impact, three cases with RaAB - 0.1 are conducted. Different from the above cases with RaAB � 1, the contribution to fluid density of A is smaller than that of B. Thus, in nonreactive cases, the unstable density contrast introduced by the dissolution of A from the top boundary is not large enough to bring in density fingering phenomena. As conducted in cases with RaAB - 1, Figures 6, 7 provide distributions of fluid density, species concentrations, FIGURE 7 | Contours of species concentrations C <sup>*</sup> r <sup>and fluid viscosity μ*</sup> for cases with RaAB � 0.1 and RA � 0 and (A) RaCB � 1, RC �−3, at t* � 800, (B) RaCB - 1, RC - 0, at t* - 900, and (C) RaCB - 0.1, RCB �−3, at t* - 900. and fluid viscosity. In the constant-viscosity case with RaCB - 1 and RC - 0 (Figures 6B, 7B), the uniform fluid viscosity distribution and the flat fluid interface are observed. This indicates that the reaction A + B → C, without viscosity variations, cannot trigger the onset of density fingering. On the contrary, once the unstable viscosity contrast (RC �−3) comes into play in the other two cases, density fingering appears and experiences the classical fingering development stages. First, in the case with RaCB - 1 and RC �−3 (Figures 6A, 7A), the density contrast remains the same as in the constantviscosity case (Figures 6B, 7B), but fluid viscosity in the top layer drops down with the generation of C. As a result, viscous force decreases and fluid mobility increases in the top area, which makes dissolved A grow in a finger-like shape and thus induces the development of density fingering. Second, in the case with RaCB - 0.1 and RC �−3 (Figures 6C, 7C), a buoyantly stable density stratification develops with chemical reaction. Nevertheless, as illustrated in the zoom-in view, the fluid interface is distorted with time and finally becomes fingered. It is because the chemical product C decreases fluid viscosity in the top area and thus helps dissolved A develop into density fingering. These cases with a small density contrast suggest that decreased fluid viscosity with the chemical product C can destabilize or even trigger the development of density fingering. 4.2 Solid Coke Combustion With Viscous Fingering The developed LB model is then applied to explore the solid coke combustion dynamics in porous media, which is a typical FIGURE 8 | Schematic of the problem: coke combustion in porous media. heterogeneous reaction at the interface between hot air and coke. As displayed in Figure 8, a 2D homogeneous structure with porosity ϕ - 0.406 is considered. The geometric parameters are set as lx � 900 μm, ly � 760 μm, d � 18 μm, δ � 3 μm, rx � 42 μm, and ry - 33 μm, respectively. Initially, solid coke is homogeneously deposited on unreactive solid matrices, and the pore spaces are filled with hot nitrogen at the temperature T0 � 773 K. Then, hot air at the temperature T0 and with the oxygen (O2) mass fraction YO2,0 � 0.233 is injected to react with coke by a driving force F � (Fx, 0). For simplicity, coke combustion is assumed to take place at the air–coke interface I as C + O2 → CO2 + Q [50]. The released heat is calculated using Q - Rehr, with hr being the chemical reaction heat. The reaction rate Re is estimated according to the first-order Arrheniusttype Eq. 39 as follows: Re - A exp(−E/RT)Y <sup>I</sup> O2 <sup>ρ/MO</sup> 2 <sup>,</sup> (52) where A, E, and R are the pre-exponential factor, the activation energy, and the ideal gas constant, respectively. As for boundary conditions, zero-gradient conditions are applied for all the scalars at the outlet, and the top and the bottom are periodic. The impact of reaction heat and mass transfer on fluid viscosity is considered as follows [51]: Here, Ry - ln(μ1/μ2) and Rt - ln(μTh/μ2) are the mass and thermal viscosity ratios, respectively. μ1 and μ2 are viscosities of fluids 1 and 2 at T � T0, respectively. μTh is the viscosity of fluid 2 at T � Th. For this case, fluid flow and species evolutions in pore spaces, as well as heat transfer in both pores and solid phases are described using Eqs 4–7. The reaction source term is set as Sr - 0 because homogeneous reaction is not involved. On the other hand, coke combustion is described using Eqs 8–10 and <u>YO2</u> <u>T −</u> <u>T0</u> �Ry + Rt �. (53) YO2,0 Th − T0 μ � μ2 exp�Ry <u>YO2</u> YO2,0 + Rt implemented using the bounce-back scheme in Eqs 44, 45. The conversion between physical and lattice units is based on dimensionless parameters in Eq. 11 and the characteristic parameters are selected as L - 0.5rx, U - αl/L, ρch - ρl,0, and Tch - 3,000 K [39]. In the subsequent simulations, the required parameters are set as A � 9.717 × 10 <sup>6</sup> m/s, E � 131.09 kJ/mol, hr � 388.5 kJ/mol, ρscp,s/ρlcp,l - 368, and αs/αg - 0.119, respectively. The Reynolds, Prandtl, and Peclet numbers are fixed as Re � 1.4, Pr � 0.7, and Pe � 1.5, the driving force is F <sup>*</sup> x <sup>�</sup> <sup>7.3, and a mesh of</sup> size Nx × Ny � 900 × 760 is used after grid convergence tests. In addition, the relaxation rates used in this case are as follows: s0 � s3 � s5 � 1, s1 � s2 � 0.9, s4 � s6 � (16τ − 8)/(8τ − 1), s7 � s8 � 1/τ, sr,0 - 1, sr,1 � sr,2 � 1.1, sr,3 � sr,4 � sr,5 � sr,6 � 1/τr, sr,7 � sr,8 � 0.9, sT,0 � 1, sT,1 � sT,2 � 1.1, sT,3 � sT,4 � sT,5 � sT,6 � 1/τT, and sT,7 � sT,8 � (16τT - 8)/(8τT - 1). Our recent work has investigated the general coke combustion dynamics and evaluated the key influencing conditions, with the fluid viscosity being assumed to be a constant [39]. In practical applications, however, fluid viscosity varies with heat and mass transfer. Therefore, this work extends to studying the impact of viscosity variations on the combustion front stability. A base case with Ry � 0 and Rt � 0 is simulated at first. Figure 9 illustrates the distributions of residual coke, O2 mass fraction YO2, and temperature T/T0 at the time instant t - 5.62 s. As can be seen, the combustion front extends around a grain diameter. In this area, coke and O2 are fully consumed by combustion, and the combustion front remains flat without fingering phenomena. Furthermore, temperature is observed to increase from the inlet and then reaches a peak value at the combustion front and finally drops to T0 on the downstream side. This distribution is attributed to the released combustion heat at the combustion front. It is also noticed that fluid on the downstream side (i.e., the area from the combustion front to the outside) is slightly hotter than that on the upstream side. This is caused by both the flow direction and the heat transfer that is faster than the combustion front movement [39]. In this case, the coke combustion with the stable combustion front, low temperature increase, and full coke and O2 utilization rate can fit engineering requirements. The fluid viscosity remains uniform in the above base case. Thus, two cases with Ry �−4, Rt - 0 and Ry �−4, Rt �−3 are then considered. Other simulation parameters are set to be the same as in the base case, except for the Peclet number Pe - 10. Spatial distributions of residual coke, the O2 mass fraction YO2, and temperature T/T0 for the two cases are provided in Figure 10. Results show that in each of the two cases with Ry �−4, the combustion front proceeds in a finger-like pattern along the x direction. This is different from the flat combustion front in the base case (Figure 9), implying the destabilizing effects of the viscosity contrast Ry �−4. As for the temperature field, the maximum temperature occurs at the combustion front as in the base case. However, compared with the base case, the combustion fronts in these two cases are decelerated, and the temperature of the downstream side is no longer obviously higher than that of the upstream side. This is because the highly viscous fluid on the downstream side prevents the fluid propagation and thus slows down both the front movement and the heat transfer. FIGURE 9 | Contours of residual coke, the O2 mass fraction YO2, and temperature T/T0 for the base case with Ry - 0 and Rt - 0 at t - 5.62 s. FIGURE 10 | Contours of residual coke, the O2 mass fraction YO2, and temperature T/T0 for the two cases at t � 8.14 s with (A) Ry � 4, Rt � 0 and (B) Ry - 4, Rt �−3. In the case with Rt �−3, the fluid viscosity decreases with the increasing temperature. By comparing results in Figures 10A,B, such temperature-induced viscosity variations are found to influence coke combustion properties. On one hand, the fluid prorogation along the x direction is accelerated and more fingers at the combustion front are triggered. This destabilizing impact is attributed to the fact that combustion heat is released to increase the local temperature and decrease the fluid viscosity at the combustion front. Subsequently, the unstable viscosity contrast between fluids at the combustion front and on the downstream side is enlarged, which enhances viscous fingering phenomena. On the other hand, the combustion front temperature increases. It is explained by the fact that in the combustion front area, the high temperature induces the low fluid viscosity and the accelerated fluid flow velocity. Subsequently, the injected O2 can FIGURE 11 | Temporal evolutions of the volume-averaged temperature Tv/T0 and the residual coke ratio Vrc for the two cases with Ry � 4, Rt � 0 and Ry - 4, Rt �−3. easily expand to react with coke and release heat, which leads to the increased combustion front temperature. To further quantify differences between the two cases with viscosity variations, temporal evolutions of the volume-averaged temperature Tv/T0 and the residual coke ratio Vrc are calculated and illustrated in Figure 11. As can be seen, each line of Vrc decreases with time because coke burns out gradually, while every temperature curve shows an increasing pattern due to the released combustion heat. In addition, the inclusion of temperature-induced viscosity variations is found to bring in high burning temperature and fast coke consumption. It is due to the fact that the increased front temperature brings in the decreased fluid viscosity and, hence, the enhanced coke combustion intensity. This quantitatively verifies the above observations in Figure 10. It should be emphasized that these two cases feature finger-like combustion fronts. They are thus undesirable in practical applications because the downstream fluid cannot be efficiently displaced. 5 CONCLUSION Flows of reactive fluids in porous media have been studied on the pore scale. A multicomponent multiple-relaxation-time lattice Boltzmann (LB) model is developed to describe fluid motions and species evolutions in pore spaces, as well as heat transfer in both void pores and the solid phase. In the present model, separate LB equations are built to describe fluids and species evolutions during REFERENCES 1. Stevens JD, Sharp JM, Jr, Simmons CT, and Fenstemaker TR. Evidence of Free Convection in Groundwater: Field-Based Measurements Beneath Wind-Tidal Flats. J Hydrol (2009) 375:394–409. [doi:10.1016/j.jhydrol.2009.06.035](https://doi.org/10.1016/j.jhydrol.2009.06.035) 2. Cardoso SS, and Andres JT. Geochemistry of Silicate-Rich Rocks Can Curtail Spreading of Carbon Dioxide in Subsurface Aquifers. Nat Commun (2014) 5: 5743–6. [doi:10.1038/ncomms6743](https://doi.org/10.1038/ncomms6743) homogeneous reaction between miscible fluids; source terms and boundary schemes are derived to account for heterogeneous reaction at the fluid–solid interface; and additional correlation terms are introduced to model both incompressible and compressible (with temperature-dependent fluid density) fluid flows. Based on this model, two types of physical problems are simulated. One is density fingering with the homogeneous reaction A + B → C. Results show that depending on variations in the fluid viscosity caused by the chemical product C, the development of density fingering can be enhanced, suppressed, or even triggered. To further study effects of thermal flows, solid coke combustion in porous media is carried out. Simulation results successfully capture coke combustion dynamics and the evolution of the porous structure. Furthermore, the viscosity contrast caused by heat and mass transfer is found to change the coke combustion stability considerably. These two cases verify the capability of the proposed LB model in resolving flows of reactive fluids and the coupled viscosity and density instabilities on the pore scale. Extension to 3D porous media flows with chemical reaction is currently underway. The results are expected to clarify the differences and similarities between 2D and 3D simulations. DATA AVAILABILITY STATEMENT The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation. AUTHOR CONTRIBUTIONS TL has conducted the research while KL has supervised the project, with regular discussions with each other. Both authors have contributed to the writing of the manuscript. FUNDING This work was supported by the UK Engineering and Physical Sciences Research Council under grant nos. EP/R029598/1 and EP/S012559/1 and the China Scholarship Council (CSC) under grant no. 201706160161. ACKNOWLEDGMENTS The PhD scholarship for TL from the UCL Mechanical Engineering Department is gratefully acknowledged. 3. Rongy L, Haugen KB, and Firoozabadi A. Mixing from Fickian Diffusion and Natural Convection in Binary Non-Equilibrium Fluid Phases. Aiche J (2012) 58:1336–45. [doi:10.1002/aic.12685](https://doi.org/10.1002/aic.12685) 4. Jiang XZ, Luo KH, and Ventikos Y. Principal Mode of Syndecan-4 Mechanotransduction for the Endothelial Glycocalyx Is a Scissor-Like Dimer Motion. Acta Physiol (Oxf) (2020) 228:e13376. [doi:10.1111/](https://doi.org/10.1111/apha.13376) [apha.13376](https://doi.org/10.1111/apha.13376) 5. He Y-L, Liu Q, Li Q, and Tao W-Q. Lattice Boltzmann Methods for SinglePhase and Solid-Liquid Phase-Change Heat Transfer in Porous Media: A Review. Int J Heat Mass Transf (2019) 129:160–97. [doi:10.1016/](https://doi.org/10.1016/j.ijheatmasstransfer.2018.08.135) [j.ijheatmasstransfer.2018.08.135](https://doi.org/10.1016/j.ijheatmasstransfer.2018.08.135) 6. De Wit A. Chemo-Hydrodynamic Patterns and Instabilities. Annu Rev Fluid Mech (2020) 52:531–55. [doi:10.1146/annurev-fluid-010719-060349](https://doi.org/10.1146/annurev-fluid-010719-060349) 7. Budroni MA, Riolfo LA, Lemaigre L, Rossi F, Rustici M, and De Wit A. Chemical Control of Hydrodynamic Instabilities in Partially Miscible TwoLayer Systems. J Phys Chem Lett (2014) 5:875–81. [doi:10.1021/jz5000403](https://doi.org/10.1021/jz5000403) 8. Thomas C, Loodts V, Rongy L, and De Wit A. Convective Dissolution of CO 2 in Reactive Alkaline Solutions: Active Role of Spectator Ions. Int J Greenh Gas Control (2016) 53:230–42. [doi:10.1016/j.ijggc.2016.07.034](https://doi.org/10.1016/j.ijggc.2016.07.034) 9. Cherezov I, and Cardoso SSS. Acceleration of Convective Dissolution by Chemical Reaction in a Hele-Shaw Cell. Phys Chem Chem Phys (2016) 18: 23727–36. [doi:10.1039/c6cp03327j](https://doi.org/10.1039/c6cp03327j) 10. Wylock C, Rednikov A, Colinet P, and Haut B. Experimental and Numerical Analysis of Buoyancy-Induced Instability During CO2 Absorption in NaHCO3-Na2CO3 Aqueous Solutions. Chem Eng Sci (2017) 157:232–46. [doi:10.1016/j.ces.2016.04.061](https://doi.org/10.1016/j.ces.2016.04.061) 11. Loodts V, Trevelyan PM, Rongy L, and De Wit A. Density Profiles Around A+B→C Reaction-Diffusion Fronts in Partially Miscible Systems: A General [Classification. Phys Rev E (2016) 94:043115. doi:10.1103/PhysRevE.94.043115](https://doi.org/10.1103/PhysRevE.94.043115) 12. Trevelyan PM, Almarcha C, and De Wit A. Buoyancy-Driven Instabilities Around Miscible A+B→C Reaction Fronts: a General Classification. Phys Rev E Stat Nonlin Soft Matter Phys (2015) 91:023001. [doi:10.1103/](https://doi.org/10.1103/PhysRevE.91.023001) [PhysRevE.91.023001](https://doi.org/10.1103/PhysRevE.91.023001) 13. Hejazi SH, Trevelyan PMJ, Azaiez J, and De Wit A. Viscous Fingering of a Miscible Reactive A + B → C Interface: a Linear Stability Analysis. J Fluid Mech (2010) 652:501–28. [doi:10.1017/s0022112010000327](https://doi.org/10.1017/s0022112010000327) 14. Loodts V, Knaepen B, Rongy L, and De Wit A. Enhanced Steady-State Dissolution Flux in Reactive Convective Dissolution. Phys Chem Chem Phys (2017) 19:18565–79. [doi:10.1039/c7cp01372h](https://doi.org/10.1039/c7cp01372h) 15. Loodts V, Saghou H, Knaepen B, Rongy L, and De Wit A. Differential Diffusivity Effects in Reactive Convective Dissolution. Fluids (2018) 3:83. [doi:10.3390/fluids3040083](https://doi.org/10.3390/fluids3040083) 16. Nagatsu Y, and De Wit A. Viscous Fingering of a Miscible Reactive A+B→C Interface for an Infinitely Fast Chemical Reaction: Nonlinear Simulations. Phys Fluids (2011) 23:043103. [doi:10.1063/1.3567176](https://doi.org/10.1063/1.3567176) 17. Szymczak P, and Ladd AJC. Reactive-infiltration Instabilities in Rocks. Part 2. [Dissolution of a Porous Matrix. J Fluid Mech (2014) 738:591–630. doi:10.1017/](https://doi.org/10.1017/jfm.2013.586) [jfm.2013.586](https://doi.org/10.1017/jfm.2013.586) 18. Szymczak P, and Ladd AJC. Reactive-infiltration Instabilities in Rocks. Fracture Dissolution. J Fluid Mech (2012) 702:239–64. [doi:10.1017/](https://doi.org/10.1017/jfm.2012.174) [jfm.2012.174](https://doi.org/10.1017/jfm.2012.174) 19. Fredd CN, and Fogler HS. Influence of Transport and Reaction on Wormhole Formation in Porous Media. Aiche J (1998) 44:1933–49. [doi:10.1002/](https://doi.org/10.1002/aic.690440902) [aic.690440902](https://doi.org/10.1002/aic.690440902) 20. Menke HP, Bijeljic B, and Blunt MJ. Dynamic Reservoir-Condition Microtomography of Reactive Transport in Complex Carbonates: Effect of Initial Pore Structure and Initial Brine Ph. Geochim Cosmochim Acta (2017) 204:267–85. [doi:10.1016/j.gca.2017.01.053](https://doi.org/10.1016/j.gca.2017.01.053) 21. Nagatsu Y, Ishii Y, Tada Y, and De Wit A. Hydrodynamic Fingering Instability Induced by a Precipitation Reaction. Phys Rev Lett (2014) 113:024502. [doi:10.1103/PhysRevLett.113.024502](https://doi.org/10.1103/PhysRevLett.113.024502) 22. Haudin F, and De Wit A. Patterns Due to an Interplay Between Viscous and Precipitation-Driven Fingering. Phys Fluids (2015) 27:113101. [doi:10.1063/](https://doi.org/10.1063/1.4934669) [1.4934669](https://doi.org/10.1063/1.4934669) 23. Hao Y, Smith MM, and Carroll SA. Multiscale Modeling of CO2-Induced Carbonate Dissolution: From Core to Meter Scale. Int J Greenh Gas Control (2019) 88:272–89. [doi:10.1016/j.ijggc.2019.06.007](https://doi.org/10.1016/j.ijggc.2019.06.007) 24. Golfier F, Zarcone C, Bazin B, Lenormand R, Lasseux D, and Quintard M. On the Ability of a Darcy-Scale Model to Capture Wormhole Formation during the Dissolution of a Porous Medium. J Fluid Mech (2002) 457:213–54. [doi:10.1017/s0022112002007735](https://doi.org/10.1017/s0022112002007735) 25. Panga MKR, Ziauddin M, and Balakotaiah V. Two-scale Continuum Model for Simulation of Wormholes in Carbonate Acidization. Aiche J (2005) 51: 3231–48. [doi:10.1002/aic.10574](https://doi.org/10.1002/aic.10574) 26. Sabet N, Mohammadi M, Zirahi A, Zirrahi M, Hassanzadeh H, and Abedi J. Numerical Modeling of Viscous Fingering During Miscible Displacement of Oil by a Paraffinic Solvent in the Presence of Asphaltene Precipitation and Deposition. Int J Heat Mass Transf (2020) 154:119688. [doi:10.1016/](https://doi.org/10.1016/j.ijheatmasstransfer.2020.119688) [j.ijheatmasstransfer.2020.119688](https://doi.org/10.1016/j.ijheatmasstransfer.2020.119688) 27. Sabet N, Hassanzadeh H, and Abedi J. Dynamics of Viscous Fingering in Porous Mdia in the Presence of In Situ Formed Precipitates and Their Subsequent Deposition. Water Resour Res (2020) 56:e2019WR027042. [doi:10.1029/2019wr027042](https://doi.org/10.1029/2019wr027042) 28. Guo K, Li H, and Yu Z. In-Situ Heavy and Extra-Heavy Oil Recovery: A Review. Fuel (2016) 185:886–902. [doi:10.1016/j.fuel.2016.08.047](https://doi.org/10.1016/j.fuel.2016.08.047) 29. Zhu ZY. Efficient Simulation of thermal Enhanced Oil Recovery Processes. Stanford, California, USA: Ph.D. thesis, Stanford University (2011). 30. Srinivasareddy D, and Kumar GS. A Numerical Study on Phase Behavior Effects in Enhanced Oil Recovery by In Situ Combustion. Pet Sci Technology (2015) 33:353–62. [doi:10.1080/10916466.2014.979999](https://doi.org/10.1080/10916466.2014.979999) 31. Zheng H, Shi WP, Ding DL, and Zhang CY. Numerical Simulation of In Situ Combustion of Oil Shale. Geofluids (2017) 2017. [doi:10.1155/2017/](https://doi.org/10.1155/2017/3028974) [3028974](https://doi.org/10.1155/2017/3028974) 32. Xu Q, Long W, Jiang H, Zan C, Huang J, Chen X, et al. Pore-Scale Modelling of the Coupled Thermal and Reactive Flow at the Combustion Front During Crude Oil In-Situ Combustion. Chem Eng J (2018) 350:776–90. [doi:10.1016/](https://doi.org/10.1016/j.cej.2018.04.114) [j.cej.2018.04.114](https://doi.org/10.1016/j.cej.2018.04.114) 33. Li Q, Luo KH, Kang QJ, He YL, Chen Q, and Liu Q. Lattice Boltzmann Methods for Multiphase Flow and Phase-Change Heat Transfer. Prog Energ Combust Sci (2016) 52:62–105. [doi:10.1016/j.pecs.2015.10.001](https://doi.org/10.1016/j.pecs.2015.10.001) 34. Guo Z, and Shu C. Lattice Boltzmann Method and its Applications in Engineering. Singapore, Singapore: World Scientific Publisher (2013). Vol. 3, p. 25–8. 35. Zhang L, Zhang C, Zhang K, Zhang L, Yao J, Sun H, et al. Pore-Scale Investigation of Methane Hydrate Dissociation Using the Lattice Boltzmann Method. Water Resour Res (2019) 55:8422–44. [doi:10.1029/](https://doi.org/10.1029/2019wr025195) [2019wr025195](https://doi.org/10.1029/2019wr025195) 36. Lei T, Meng X, and Guo Z. Pore-scale Study on Reactive Mixing of Miscible Solutions With Viscous Fingering in Porous media. Comput Fluids (2017) 155: 146–60. [doi:10.1016/j.compfluid.2016.09.015](https://doi.org/10.1016/j.compfluid.2016.09.015) 37. Lei T, and Luo KH. Pore-Scale Study of Dissolution-Driven Density Instability With Reaction A + B → C in Porous media. Phys Rev Fluids (2019) 4:063907. [doi:10.1103/physrevfluids.4.063907](https://doi.org/10.1103/physrevfluids.4.063907) 38. Lei TM, and Luo KH. Differential Diffusion Effects on Density-Driven Instability of Reactive Flows in Porous Media. Phys Rev Fluids (2020) 5: 033903. [doi:10.1103/physrevfluids.5.033903](https://doi.org/10.1103/physrevfluids.5.033903) 39. Lei T, Wang Z, and Luo KH. Study of Pore-Scale Coke Combustion in Porous Media Using Lattice Boltzmann Method. Combust Flame (2021) 225:104–19. [doi:10.1016/j.combustflame.2020.10.036](https://doi.org/10.1016/j.combustflame.2020.10.036) 40. Lei T, and Luo KH. Pore-Scale Simulation of Miscible Viscous Fingering With Dissolution Reaction in Porous Media. Phys Fluids (2021) 33:034134. [doi:10.1063/5.0045051](https://doi.org/10.1063/5.0045051) 41. Kang Q, Chen L, Valocchi AJ, and Viswanathan HS. Pore-Scale Study of Dissolution-Induced Changes in Permeability and Porosity of Porous media. J Hydrol (2014) 517:1049–55. [doi:10.1016/j.jhydrol.2014.06.045](https://doi.org/10.1016/j.jhydrol.2014.06.045) 42. d’Humieres D. Multiple-Relaxation-Time Lattice Boltzmann Models in Three Dimensions. Philosophical Trans R Soc Lond Ser A: Math Phys Eng Sci (2002) 360:437–51. [doi:10.1098/rsta.2001.0955](https://doi.org/10.1098/rsta.2001.0955) 43. Guo Z, and Zheng C. Analysis of Lattice Boltzmann Equation for Microscale Gas Flows: Relaxation Times, Boundary Conditions and the Knudsen Layer. Int J Comput Fluid Dyn (2008) 22:465–73. [doi:10.1080/10618560802253100](https://doi.org/10.1080/10618560802253100) 44. Lallemand P, and Luo L-S. Theory of the Lattice Boltzmann Method: Dispersion, Dissipation, Isotropy, Galilean Invariance, and Stability. Phys Rev E (2000) 61:6546–62. [doi:10.1103/physreve.61.6546](https://doi.org/10.1103/physreve.61.6546) 45. Karani H, and Huber C. Lattice Boltzmann Formulation for Conjugate Heat Transfer in Heterogeneous media. Phys Rev E Stat Nonlin Soft Matter Phys (2015) 91:023304. [doi:10.1103/PhysRevE.91.023304](https://doi.org/10.1103/PhysRevE.91.023304) 46. Li Q, Luo KH, He YL, Gao YJ, and Tao WQ. Coupling Lattice Boltzmann Model for Simulation of Thermal Flows on Standard Lattices. Phys Rev E Stat Nonlin Soft Matter Phys (2012) 85:016710. [doi:10.1103/PhysRevE.85.016710](https://doi.org/10.1103/PhysRevE.85.016710) 47. Feng Y, Tayyab M, and Boivin P. A Lattice-Boltzmann Model for Low-Mach Reactive [Flows. Combust Flame (2018) 196:249–54. doi:10.1016/j.combustflame.2018.06.027](https://doi.org/10.1016/j.combustflame.2018.06.027) 48. Guo Z, Zheng C, and Shi B. Force Imbalance in Lattice Boltzmann Equation for Two-phase Flows. Phys Rev E Stat Nonlin Soft Matter Phys (2011) 83:036707. [doi:10.1103/PhysRevE.83.036707](https://doi.org/10.1103/PhysRevE.83.036707) 49. Zhang T, Shi B, Guo Z, Chai Z, and Lu J. General Bounce-Back Scheme for Concentration Boundary Condition in the Lattice-Boltzmann Method. Phys Rev E Stat Nonlin Soft Matter Phys (2012) 85:016701. [doi:10.1103/](https://doi.org/10.1103/PhysRevE.85.016701) [PhysRevE.85.016701](https://doi.org/10.1103/PhysRevE.85.016701) 50. Mailybaev AA, Bruining J, and Marchesin D. Analysis of In Situ Combustion of Oil With Pyrolysis and Vaporization. Combust Flame (2011) 158:1097–108. [doi:10.1016/j.combustflame.2010.10.025](https://doi.org/10.1016/j.combustflame.2010.10.025) 51. Mishra M, Trevelyan PMJ, Almarcha C, and De Wit A. Influence of Double Diffusive Effects on Miscible Viscous Fingering. Phys Rev Lett (2010) 105: 204501. [doi:10.1103/physrevlett.105.204501](https://doi.org/10.1103/physrevlett.105.204501) Conflict of Interest: The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The handling editor declared a past co-authorship with one of the authors KL. Publisher’s Note: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher. Copyright © 2021 Lei and Luo. This is an open-access article distributed under the [terms of the Creative Commons Attribution License (CC BY). The use, distribution](https://creativecommons.org/licenses/by/4.0/) or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

섹션 본문 67문단 · 38,755자

(제목 없음)

1Flows with chemical reactions in porous media are fundamental phenomena encountered in many natural, industrial, and scientific areas. For such flows, most existing studies use continuum assumptions and focus on volume-averaged properties on macroscopic scales. Considering the complex porous structures and fluid-solid interactions in realistic situations, this study develops a sophisticated lattice Boltzmann (LB) model for simulating reactive flows in porous media on the pore scale. In the present model, separate LB equations are built for multicomponent flows and chemical species evolutions, source terms are derived for heat and mass transfer, boundary schemes are formulated for surface reaction, and correction terms are introduced for temperature-dependent density. Thus, the present LB model offers a capability to capture pore-scale information of compressible/incompressible fluid motions, homogeneous reaction between miscible fluids, and heterogeneous reaction at the fluid-solid interface in porous media. Different scenarios of density fingering with homogeneous reaction are investigated, with effects of viscosity contrast being clarified. Furthermore, by introducing thermal flows, the solid coke combustion is modeled in porous media. During coke combustion, fluid viscosity is affected by heat and mass transfer, which results in unstable combustion fronts.

INTRODUCTION

2Flows of miscible fluids in porous media are frequently encountered in natural and industrial processes, like underground water movement [1], geologic carbon sequestration [2], enhanced oil recovery [3], and blood transport [4]. Dynamics of such flows are complex due to the unsteady flow, heat and mass transfer, and porous structure involved [5]. This situation becomes more complicated when chemical reactions are introduced.

3In a porous medium, two fluids containing chemical solutes are put into contact along an interface. Chemical solutes are transported through the interface to react and thereby modify fluid properties, like density and viscosity. Meanwhile, if density or viscosity gradients exist across the interface, density or viscosity fingering may develop during the fluid transport [6]. Thus, interplay between interface instability and chemical reaction ensues. Such phenomena have been studied, for example, in systems containing ester-alkaline or CO 2 -alkaline miscible solutions. Experiments were carried out to show that changes in chemical solutes modified the reaction type and intensity, leading to either enhanced or suppressed density fingering [7][8][9][10]. In parallel, theoretical analyses were conducted to predict viscous or density fingering scenarios with the reaction A + B → C [11][12][13]. In a porous medium with a partially miscible interface between the two fluids, Loodts et al. [11] suggested that different density contributions and diffusion rates of the three chemical species (A, B, and C) could introduce eight types of density profiles. Trevelyan et al. [12] theoretically showed that such a problem with a miscible interface could yield up to sixty-two types of density profiles. Each profile potentially represented a unique type of density fingering. As for viscous fingering with the reaction A + B → C, a linear stability analysis predicted and classified various fingering scenarios in a parameter plane spanned by viscosity ratios [13]. Under the guidance of theoretical predictions, efforts have been devoted to numerical simulations of interface instabilities with chemical reactions in porous media. For instance, Loodts et al. [14] numerically showed that the reaction A + B → C could accelerate, inhibit, or introduce the development of density fingering. They further demonstrated that different species diffusion rates could introduce four fingering types [15]. Numerical simulations were also performed to model viscous fingering dynamics with the reaction A + B → C [16]. Results suggested that the reaction could introduce a non-monotonic viscosity profile and thereby trigger the development of fingering. These simulations provided spatial and temporal properties of interface instabilities with chemical reactions, thus enriching experimental and theoretical findings.

4The above studies focused on porous media flows with a homogeneous reaction between miscible fluids. On the other hand, a heterogeneous reaction can take place between fluid and solid phases. Explicitly, such a type of reaction consumes chemical solutes from the fluid phase and solid matrices to yield dissolved (dissolution reaction) or solid (precipitation reaction) products, which subsequently modifies medium structures and flow motions [17]. Until now, porous media flows with heterogeneous reactions have been extensively investigated. For example, acid dissolution experiments showed that the dissolution reaction increased medium porosity behind the moving fluid interface and thereby triggered fingering phenomena (or infiltration instability) [6,18]. Fredd and Fogler were among the first to experimentally identify different fingering channels under various flow and dissolution rates [19]. The fingering phenomena induced by the dissolution reaction were observed to be destabilized by medium heterogeneity and brine pH [20]. In parallel, experiments on porous media flows with precipitation reactions showed that the reaction could generate a locally adverse mobility gradient to cause the onset of fingering [21]. The interplay between viscous fingering and precipitation reaction was experimentally studied, with the influencing factors and fingering shapes being clarified [22]. In the meantime, numerical simulations of porous media flows with heterogeneous reactions were conducted. For instance, fingering dynamics induced by dissolution reactions were tracked and compared on different simulation length scales [23]. Continuum models were built to describe fingering properties and classify different fingering regimes under the effects of chemical dissolution [24,25]. In the presence of precipitation reactions, viscous fingering was modeled and found to be intensified [26,27]. In some applications, like in situ combustion for heavy oil recovery, the combustion between hot air and solid fuels, as a typical form of heterogeneous reaction, releases heat to change fluid properties [28]. Thus, thermal flows were included in numerical studies on porous media flows with heterogeneous reaction. Field-scale modeling of solid coke combustion suggested the important role of heat conduction in stabilizing the combustion front [29] and identified key factors influencing the coke combustion rate and the front sweep efficiency [30,31].

5Overall, for porous media flows with chemical reactions, existing works focus on using empirical correlations and volume-averaged techniques to determine effective flow and reaction properties on microscopic scales. However, pore-scale information is necessary to provide further understanding of the microscopic phenomena involved [32]. In the past 3 decades, the lattice Boltzmann (LB) method has been developed and has become a powerful solver for porous media flows on the pore scale. This is attributed to its attractive advantages, like its general kinetic foundation, high parallelism, and ability to handle multiphysics and complex boundaries [33,34]. Recently, LB models have been proposed to simulate flows of reactive fluids in porous media, like methane hydrate dissolution [35], solid coke combustion [32], and reactive mixing with viscous fingering [36]. Although these works showed the superior ability of the LB method in modeling porous media flows, some limitations should be noted. For example, changes in fluid density or viscosity with temperature are usually not accounted for, models for multicomponent reactions (like A + B → C) are underdeveloped, and iterative boundary schemes for conjugate heat transfer are complex and time-consuming. We have developed a series of LB models to overcome these shortcomings separately [37][38][39][40]. Nevertheless, a uniform LB model is still needed. This work thus proposes an LB model to simulate pore-scale reactive flows in porous media, with homogeneous and heterogeneous reactions and compressible and incompressible fluid densities being considered.

MATHEMATICAL MODEL

6In a porous medium with porosity ϕ, a fluid 2 of solute B initially fills the pore spaces between solid matrices. Another fluid 1 of solute A is put into contact with fluid 2 along an interface. The two fluids are assumed to be miscible and have their own species concentration, viscosity, temperature, and density, which are noted by subscripts 1 and 2, respectively. As an example, a schematic of the fluid distribution with a vertical interface is shown in Figure 1. Once fluid transport starts, the two solutes A and B come into contact and react in the mixing zone as follows:

7The reaction product C is in the dissolved form, Q is the reaction heat, and the reaction rate of this homogeneous reaction is R o . Meanwhile, the nonreactive solid matrices can be coated with a reactive solid Bs to react with A as follows:

8The product P is in either the dissolved or the solid form, representing the dissolution or the precipitation reaction, respectively. It should be noted that fluid 2 does not contain solute A, and thus, this heterogeneous reaction only takes place at the interface I between fluid 1 and solid Bs. With this heterogeneous reaction, solid Bs is dissolved gradually, and the update of the porous structure is tracked as follows [41]:

9where V B and V Bm are the volume and the molar volume of solid Bs, respectively, and S B is the reactive surface area. The reaction rate of this heterogeneous reaction is noted as R e . The above homogeneous and heterogeneous reactions usually cause variations in fluid properties (like concentration, temperature, density, and viscosity) and medium structures, which subsequently alter flow motions in porous media. We seek to study the fluid transport properties of such a system, focusing on effects of chemical reactions. Evolutions of fluid flow and species concentrations in pore spaces are described by the following conservation equations:

10where u (u, v), ρ l , p, and ] are the fluid velocity, density, pressure, and kinematic viscosity, respectively. t is the time, and F is the body force. Y r is the mass fraction of species r (r A, B, C, P), and it is related to species concentration as C r ρ l Y r /M r , with M r being the species molecular weight. D r and S r are the diffusion coefficient and the homogeneous reaction source term of species r (Eq. 1), respectively. Furthermore, chemical reactions in Eqs 1, 2 usually release heat to change the local temperature, which in turn modifies the reaction rate and fluid properties. For such a consideration, heat transfer in both the fluid and solid phases is built as follows:

11Here T, c p , α, and ρ are the local temperature, specific heat at constant pressure, thermal diffusivity, and density, respectively. In addition, at the interface I between solute A and solid Bs, the heterogeneous reaction Eq. 2 is described as follows [32,41]:

12Species conservation :

13Conjugate heat transfer : T I,+ T I,− , n · k∇T + ρc p uT

14where n is the interface normal pointing to the fluid phase, + and − denote parameters on either side of I, k αρc p is the local thermal conductivity, q is the reaction heat flux, and a r is the stoichiometric coefficient of species r. By introducing the characteristic length L, velocity U, temperature T ch , concentration C ch , and density ρ ch , dimensionless parameters marked by asterisks are derived as follows:

15Key characteristic numbers are as follows: the Reynolds number Re, the Peclet number Pe, the Prandtl number Pr, and the Schmidt number Sc.

16It is emphasized that the above equations consider homogeneous and heterogeneous reactions via the source term S r and boundary conditions Eqs. 8-10, respectively. Evolutions of chemical species are described using Eq. 6 separately, thus allowing for homogeneous reactions between multiple solutes. Furthermore, both compressible and incompressible fluid flows can be taken into account, by setting the fluid density as a constant and a variable, respectively. On one hand, for compressible flows, the inclusion of heat transfer brings in the temperature-dependent fluid density. On the other hand, for incompressible flows, the thermophysical properties in Eq. 7 are fixed as constants in the fluid phase ϑ l ϑ 0 (ϑ c p , α, ρ), which can be different from those in the solid phase, namely, ϑ s ≠ ϑ l .

LATTICE BOLTZMANN MODEL

17An LB model is now developed to solve the above governing equations for porous media flows with chemical reactions. For pore-scale simulations, the multiple-relaxation-time (MRT) scheme was shown to be able to correctly capture the no-slip velocity condition at the fluid-solid boundary and avoid the unphysical dependence of permeability on viscosity [42][43][44]. The MRT collision operator is thus employed in our model development.

18Considering that this work focuses on reactive fluid flows in twodimensional (2D) porous media, the most popular two-dimensional nine-velocity (D2Q9) scheme is applied, with the discrete velocities e i and weight coefficients w i being as follows [34]:

19Here, e δ x /δ t is the lattice speed, with δ x and δ t denoting the lattice spacing and the time step, respectively. In this work, e is given as the velocity unit, that is, e 1. The transformation matrix M corresponding to the D2Q9 scheme is as follows [34]:

20This matrix maps the distribution functions from the physical space ψ (ψ 0 , ψ 1 , ψ 2 , . . . , ψ 8 ) T into the moment space as follows [34]:

21Due to the temperature-dependent density and different thermophysical properties between the solid and fluid phases, Eqs. 6, 7 are rewritten as follows [45]:

22Source terms in the derived species and energy conservation equations are as follows [39]:

23More details about the derivation can be found in our recent work [39]. It should be noted that that for compressible fluids with fixed ρ l ρ 0 , the terms F r2 and z t (ρc p ) in F T2 are reduced to zero. An MRT LB model is developed to solve Eqs 4, 5, 15, 16 for describing reactive fluid flows in porous media. The LB evolution equations are as follows [34,37,46]:

24, and h i (x, t) are distribution functions for the fluid density, mass fraction of species r, and local temperature, respectively. The corresponding equilibrium distribution functions f eq i , g eq r,i , and h eq i are given as follows [34,46,47]:

25Here, ρ p is a variable related to the fluid pressure as p c 2 s ρ p , with c s e/ 3 √ being the lattice sound velocity. Different expressions of f eq i are applied to account for compressible and incompressible fluid flows, respectively. The correlation term Λ is given as follows:

26with D and θ being the model dimension and the dimensionless temperature of a fluid mixture, respectively. The other correction term C̄j in Eq. 18 is introduced to eliminate the deviation from third-order velocity moments [46]. With these two modifications, thermal expansion effects in compressible fluid flows are realized via the temperature-dependent density. The equation of state to connect the fluid pressure and the temperature is defined as p ρrT. On the other hand, for incompressible fluid flows, these two correlation terms are reduced to zero, and the dimensionless temperature becomes θ 1. In evolution Eqs. 18-20, S, S r , and S T are diagonal relaxation matrices of the relaxation rates s i , s r,i , and s T,i in the moment space, respectively. To avoid discrete lattice effects, distribution functions for the force and source terms are defined as follows [34,36]:

27Frontiers in Physics | www.frontiersin.org August 2021 | Volume 9 | Article 715791

28Time derivative terms in Eqs 19, 20 are treated using the backward-difference scheme as follows [5]:

29Based on the transformation equation (14), evolution equations (18)(19)(20) are implemented in the moment space as follows:

30ĥx

31The equilibrium moments fêq, ĝe q r , and hêq are expressed as follows:

32and the corresponding moments for the force and source terms are as follows:

33F̂r F r 1, −2, 1, 1 − 0.5s r,3 u, − 1 − 0.5s r,4 u,

34Finally, macroscopic variables are obtained from the distribution functions as follows:

35Through the Chapman-Enskog analysis on the present LB equations, the governing equations can be recovered with the relaxation times τ, τ r , and τ T being as follows [46,47]:

36Furthermore, for compressible fluid flows, the constraints on the correction term in the moment space (Ĉ M · C) are formulated as follows [46]:

37with Q x ρu(1 − θ − u 2 ) and Q y ρv(1 − θ − v 2 ). By such an analysis, the gradient terms of the mass fraction and temperature in Eq. 17 are determined as follows [36]:

38The other gradient terms in Eq. 17 are calculated using the isotropic central scheme as follows [48]:

39Finally, the heterogeneous reaction at interface I between fluid 1 and solid Bs is modeled by resolving the interface conditions in Eqs. 8-10. On one hand, with the derived thermal source term F T , conjugate heat transfer conditions (Eq. 10) are realized by solving the energy Eq. 7. On the other hand, to solve Eqs 8, 9, the interface mass fraction gradient ∇Y I r is first determined using the finite-difference scheme as follows [49]:

40where Y l r is the species mass fraction at the fluid node neighboring I. By inserting Eq. 43 into Eq. 9, the value of Y I r is determined. Thus, Eqs. 8, 9 describe a reactive boundary with no-slip velocity and a given Y I r , which are implemented via the halfway bounce-back scheme. The unknown distribution functions at the fluid node x f adjacent to I are as follows [49]:

41g r,ı̄x

42where e ı̄ −e i , with e i pointing to the solid phase. f i ′ (x f , t) and g r,i ′ (x f , t) denote post-collision values.

43Compared with recent LB models for porous media flows [32,35], the present MRT LB model offers several advances. First, by introducing correction terms, both incompressible fluid flows with a fixed fluid density and compressible flows with a temperaturedependent one can be modeled. Second, separate LB equations with reactive source terms are developed to account for homogeneous reactions between multiple solutes, like A + B → C. Third, for heterogeneous reaction at the solid-fluid interface, additional source terms and the bounce-back scheme are built to realize the conjugate heat transfer and species conservation conditions, without iterative calculations. In addition, different from our recent LB models [37][38][39][40], the present one offers a capacity to achieve these advances simultaneously.

44In the above section, a multicomponent MRT LB model has been presented for studying porous media flows with chemical reactions on the pore scale. Advances of this model over existing ones are introduced. This section conducts simulations of reactive fluid flows in porous media. The obtained results will show the ability of the present LB model in predicting hydrodynamic instabilities at the fluid interface, thermal flows in both pores and solid matrices, and effects of chemical reactions on fluid transport.

Density Fingering With the Reaction

45This section aims to investigate density fingering with the reaction A+ B → C between two miscible solutions 1 and 2 in porous media. As depicted in Figure 2, a 2D homogeneous structure is constructed, with the geometric parameters l x 1, l y 2/3, r x 27δ x , r y 27δ x , d 12δ x , l p 15δ x , and ϕ 0.69 (in lattice units). Initially, the porous medium is saturated with a host fluid 2 of solute B. Another fluid 1 of solute A is placed upon the medium and in contact with fluid 2 along the top boundary (y 0). The two solutions are assumed to be incompressible and isothermal. Then, across the partially miscible top boundary, A dissolves into fluid 2, and no mass transfers in the reverse direction. Dissolved A reacts with B to generate a solute C as in Eq. 1, with the reaction rate being as follows [14]:

46Here, k is the kinetic reaction constant. All three chemical species contribute to fluid density and viscosity changes as follows [13,14]:

47where β r is the concentration expansion coefficient of species r. R A ln(μ A /μ B ) and R C ln(μ C /μ B ) are log-to-viscosity ratios between pure solutions of species r at concentration C r,0 . Under the gravity field, the body force (or buoyancy force) is calculated as follows [37]:

48Here, g is the acceleration vector of gravity. With such effects, different density stratifications develop, and density fingering may be triggered. In this incompressible system, the thermal flow is not considered. Thus, fluid motion and species evolutions in pore spaces are described using Eqs 4-6. In addition, fluid density is fixed as ρ l ρ 0 , the reaction source term is defined as S r a r R o , the heterogeneous reaction at the fluid-solid interface is not considered, and the three species are assumed to diffuse at the same rate D r D. For dimensionless parameters in Eq. 11, the characteristic length L, velocity U, concentration C ch , and density ρ ch are as follows:

49The Rayleigh numbers Ra r and the Damköhler number Da are defined as follows:

50For such a problem, our recent works have studied fingering dynamics with effects of the reaction A + B → C and differential diffusion [37,38]. Thus, in the following simulations, we introduce the impact of the three chemical species on fluid viscosity (Eq. 48) and seek to understand how the development of density fingering is affected. The Schmidt number and the Damköhler number are fixed as Sc 100 and Da 5, respectively, and different values of Ra AB , Ra CB , R A , and R C are selected to change test conditions. During LB simulations, the no-slip and no-flux bottom wall and matrix interface are realized using the halfway bounce-back scheme, periodic conditions are set at the two lateral boundaries, and the partially miscible top boundary is implemented using the nonequilibrium extrapolation scheme. The relaxation rates in this simulation case are set as follows: s 0 s 3 s 5 0, s 1 1.1, s 2 1.2, s 4 s 6 (16τ − 8)/(8τ − 1), s 7 s 8 1/τ, s r,0 1, s r,1 s r,2 1.1, s r, 3 s r,4 s r,5 s r,6 1/τ r , and s r,7 s r,8 0.9. A mesh of N x × N y 1,500 × 1,000 lattice size is used after grid convergence validations.

51We focus on density fingering phenomena with fluid viscosity variations caused by chemical species. Simulations with Ra AB 1, Ra CB 1, R A 0, and different values of R C are first performed. From our calculated results, different types of density fingering are identified, and fingering is found to be stabilized as C decreases the fluid viscosity (R C < 0). To illustrate such effects, the results of three cases with R C −3, 0, 3 are provided and discussed. It should be noted that the three values of R C represent the three different scenarios where the reaction product C decreases, cannot change, or increases the fluid viscosity, respectively. For each of the three cases, Figure 3 depicts density distributions at six time instants, with the dimensionless density being calculated as ρ* (ρ − ρ 0 )/ (ρ 0 β B C B,0 ). From the constant-viscosity case (R C 0) in Figures 3A,B, a classical density fingering development pattern is observed, that is, fluid diffusion, individual fingering growth, fingering merge, and new fingering reinitiation [37]. It should be noted that during the initial diffusion stage, dense fluid accumulates near the top boundary to overcome the viscous shear force blow. Fingering develops when the driving force introduced by the accumulated dense fluid is large enough.

52Compared with this constant-viscosity case, the introduction of viscosity variations in Figures 3A,C yields different density fingering dynamics. On one hand, when chemical product C decreases the fluid viscosity ( Figure 3A with R C −3), the classical fingering development pattern is observed. However, fingering starts earlier and grows faster than in the constant-viscosity case ( Figure 3B). Such an accelerated fingering propagation finally leads to diluted fingers. On the other hand, in the case with solute C increasing the fluid viscosity ( Figure 3C with R C 3), even though the dissolution of A and the reaction A+ B → C can introduce a buoyantly unstable stratification, the fluid interface remains flat at each time instant, and no density fingering occurs.

53In order to explain such influence of fluid viscosity variations, distributions of species concentrations (C * r C r /C B,0 ) and fluid viscosity (μ* μ/μ 2 ) are calculated and provided in Figure 4. For each case, results in Figure 4 correspond to the density field in Figure 3 at the last time instant. First, in the constant-viscosity case, Figure 4B shows that μ* distributes uniformly and density fingering is introduced by fingers of species A. Then, in the case with R C −3 ( Figure 4A), fingers of A are also observed to be at the origin of density fingering. However, compared with the constant-viscosity case ( Figure 4B), μ* (or fluid viscous force) decreases with the generation of C in the top layer. It implies that less A is required to accumulate near the top boundary to overcome the viscous force. Thus, fingers of A start earlier and develop faster in the top layer occupied with C. Finally, in Figure 4C with R C 3, the chemical product C increases the fluid viscosity and viscous force in the top area. Therefore, even though dissolved A accumulates to overcome the enlarged viscous force, the driving force introduced by the accumulation of A is still not large enough, and the fluid interface remains flat without fingering phenomena. These results explain the observations in Figure 3.

54To quantitatively compare fingering dynamics in the three cases, Figure 5 plots temporal evolutions of the front position l m /l y , volume-averaged storage of A in the host fluid 〈C * A + C * C 〉, and horizontally averaged mass flux of A at the top boundary J*. Here, l m is defined as the most advanced vertical position of density fingering in the host fluid, and J* is calculated as

55). Curves of l m /l y show that the fingering front keeps growing in a diffusive tendency at R C 3, indicating the stable fluid interface. In the other two cases, however, l m /l y gradually departs from the diffusive tendency due to the onset of density fingering. Moreover, among the three cases, fingering at R C −3 propagates the fastest. This is because solute C decreases the fluid viscosity and destabilizes fingering development. Results of 〈C * A + C * C 〉 and J* also suggest that the decreased fluid viscosity at R C −3 accelerates the storage speed of A in the host fluid. Finally, by comparing the status of the three cases with l m /l y 0.5, the stored amount of A is found to be the smallest in the case R C −3. This is attributed to the fact that the fast fingering propagation decreases the time period for the dissolution of A from the top boundary. These results quantitatively confirm the above fingering scenarios in Figure 3.

56In general, when solute C decreases the fluid viscosity (R C < 0), density fingering is destabilized, and the destabilizing intensity ascends with descending R C . To further illustrate this impact, three cases with Ra AB 0.1 are conducted. Different from the above cases with Ra AB 1, the contribution to fluid density of A is smaller than that of B. Thus, in nonreactive cases, the unstable density contrast introduced by the dissolution of A from the top boundary is not large enough to bring in density fingering phenomena. As conducted in cases with Ra AB 1, Figures 6, 7 provide distributions of fluid density, species concentrations, and fluid viscosity. In the constant-viscosity case with Ra CB 1 and R C 0 ( Figures 6B, 7B), the uniform fluid viscosity distribution and the flat fluid interface are observed. This indicates that the reaction A + B → C, without viscosity variations, cannot trigger the onset of density fingering. On the contrary, once the unstable viscosity contrast (R C −3) comes into play in the other two cases, density fingering appears and experiences the classical fingering development stages. First, in the case with Ra CB 1 and R C −3 ( Figures 6A, 7A), the density contrast remains the same as in the constantviscosity case ( Figures 6B, 7B), but fluid viscosity in the top layer drops down with the generation of C. As a result, viscous force decreases and fluid mobility increases in the top area, which makes dissolved A grow in a finger-like shape and thus induces the development of density fingering. Second, in the case with Ra CB 0.1 and R C −3 ( Figures 6C, 7C), a buoyantly stable density stratification develops with chemical reaction. Nevertheless, as illustrated in the zoom-in view, the fluid interface is distorted with time and finally becomes fingered. It is because the chemical product C decreases fluid viscosity in the top area and thus helps dissolved A develop into density fingering. These cases with a small density contrast suggest that decreased fluid viscosity with the chemical product C can destabilize or even trigger the development of density fingering.

Solid Coke Combustion With Viscous Fingering

57The developed LB model is then applied to explore the solid coke combustion dynamics in porous media, which is a typical heterogeneous reaction at the interface between hot air and coke. As displayed in Figure 8, a 2D homogeneous structure with porosity ϕ 0.406 is considered. The geometric parameters are set as l x 900 μm, l y 760 μm, d 18 μm, δ 3 μm, r x 42 μm, and r y 33 μm, respectively. Initially, solid coke is homogeneously deposited on unreactive solid matrices, and the pore spaces are filled with hot nitrogen at the temperature T 0 773 K. Then, hot air at the temperature T 0 and with the oxygen (O 2 ) mass fraction Y O2,0 0.233 is injected to react with coke by a driving force F (F x , 0). For simplicity, coke combustion is assumed to take place at the air-coke interface I as C + O 2 → CO 2 + Q [50]. The released heat is calculated using Q R e h r , with h r being the chemical reaction heat. The reaction rate R e is estimated according to the first-order Arrheniusttype Eq. 39 as follows:

58where A, E, and R are the pre-exponential factor, the activation energy, and the ideal gas constant, respectively. As for boundary conditions, zero-gradient conditions are applied for all the scalars at the outlet, and the top and the bottom are periodic. The impact of reaction heat and mass transfer on fluid viscosity is considered as follows [51]:

59Here, R y ln(μ 1 /μ 2 ) and R t ln(μ T h /μ 2 ) are the mass and thermal viscosity ratios, respectively. μ 1 and μ 2 are viscosities of fluids 1 and 2 at T T 0 , respectively. μ T h is the viscosity of fluid 2 at T T h .

60For this case, fluid flow and species evolutions in pore spaces, as well as heat transfer in both pores and solid phases are described using Eqs 4-7. The reaction source term is set as S r 0 because homogeneous reaction is not involved. On the other hand, coke combustion is described using Eqs 8-10 and implemented using the bounce-back scheme in Eqs 44, 45. The conversion between physical and lattice units is based on dimensionless parameters in Eq. 11 and the characteristic parameters are selected as L 0.5r x , U α l /L, ρ ch ρ l,0 , and T ch 3,000 K [39]. In the subsequent simulations, the required parameters are set as A 9.717 × 10 6 m/s, E 131.09 kJ/mol, hr 388.5 kJ/mol, ρ s c p,s /ρ l c p,l 368, and α s /α g 0.119, respectively. The Reynolds, Prandtl, and Peclet numbers are fixed as Re 1.4, Pr 0.7, and Pe 1.5, the driving force is F * x 7.3, and a mesh of size N x × N y 900 × 760 is used after grid convergence tests. In addition, the relaxation rates used in this case are as follows: s 0 s 3 s 5 1, s 1 s 2 0.9, s 4 s 6 (16τ − 8)/(8τ − 1), s 7 s 8 1/τ, s r,0 1, s r,1 s r,2 1.1, s r,3 s r,4 s r,5 s r, 6 1/τ r , s r,7 s r,8 0.9, s T,0 1, s T,1 s T,2 1.1, s T,3 s T,4 s T,5 s T,6 1/τ T , and s T,7 s T,

61Our recent work has investigated the general coke combustion dynamics and evaluated the key influencing conditions, with the fluid viscosity being assumed to be a constant [39]. In practical applications, however, fluid viscosity varies with heat and mass transfer. Therefore, this work extends to studying the impact of viscosity variations on the combustion front stability. A base case with R y 0 and R t 0 is simulated at first. Figure 9 illustrates the distributions of residual coke, O 2 mass fraction Y O 2 , and temperature T/T 0 at the time instant t 5.62 s. As can be seen, the combustion front extends around a grain diameter. In this area, coke and O 2 are fully consumed by combustion, and the combustion front remains flat without fingering phenomena. Furthermore, temperature is observed to increase from the inlet and then reaches a peak value at the combustion front and finally drops to T 0 on the downstream side. This distribution is attributed to the released combustion heat at the combustion front. It is also noticed that fluid on the downstream side (i.e., the area from the combustion front to the outside) is slightly hotter than that on the upstream side. This is caused by both the flow direction and the heat transfer that is faster than the combustion front movement [39]. In this case, the coke combustion with the stable combustion front, low temperature increase, and full coke and O 2 utilization rate can fit engineering requirements.

62The fluid viscosity remains uniform in the above base case. Thus, two cases with R y −4, R t 0 and R y −4, R t −3 are then considered. Other simulation parameters are set to be the same as in the base case, except for the Peclet number Pe 10. Spatial distributions of residual coke, the O 2 mass fraction Y O 2 , and temperature T/T 0 for the two cases are provided in Figure 10. Results show that in each of the two cases with R y −4, the combustion front proceeds in a finger-like pattern along the x direction. This is different from the flat combustion front in the base case (Figure 9), implying the destabilizing effects of the viscosity contrast R y −4. As for the temperature field, the maximum temperature occurs at the combustion front as in the base case. However, compared with the base case, the combustion fronts in these two cases are decelerated, and the temperature of the downstream side is no longer obviously higher than that of the upstream side. This is because the highly viscous fluid on the downstream side prevents the fluid propagation and thus slows down both the front movement and the heat transfer.

63In the case with R t −3, the fluid viscosity decreases with the increasing temperature. By comparing results in Figures 10A,B, such temperature-induced viscosity variations are found to influence coke combustion properties. On one hand, the fluid prorogation along the x direction is accelerated and more fingers at the combustion front are triggered. This destabilizing impact is attributed to the fact that combustion heat is released to increase the local temperature and decrease the fluid viscosity at the combustion front. Subsequently, the unstable viscosity contrast between fluids at the combustion front and on the downstream side is enlarged, which enhances viscous fingering phenomena. On the other hand, the combustion front temperature increases. It is explained by the fact that in the combustion front area, the high temperature induces the low fluid viscosity and the accelerated fluid flow velocity. Subsequently, the injected O 2 can FIGURE 9 | Contours of residual coke, the O 2 mass fraction Y O2 , and temperature T/T 0 for the base case with R y 0 and R t 0 at t 5.62 s. FIGURE 10 | Contours of residual coke, the O 2 mass fraction Y O2 , and temperature T/T 0 for the two cases at t 8.14 s with (A) R y 4, R t 0 and (B) R y 4, R t −3.

64Frontiers in Physics | www.frontiersin.org August 2021 | Volume 9 | Article 715791 easily expand to react with coke and release heat, which leads to the increased combustion front temperature.

65To further quantify differences between the two cases with viscosity variations, temporal evolutions of the volume-averaged temperature T v /T 0 and the residual coke ratio Vr c are calculated and illustrated in Figure 11. As can be seen, each line of Vr c decreases with time because coke burns out gradually, while every temperature curve shows an increasing pattern due to the released combustion heat. In addition, the inclusion of temperature-induced viscosity variations is found to bring in high burning temperature and fast coke consumption. It is due to the fact that the increased front temperature brings in the decreased fluid viscosity and, hence, the enhanced coke combustion intensity. This quantitatively verifies the above observations in Figure 10. It should be emphasized that these two cases feature finger-like combustion fronts. They are thus undesirable in practical applications because the downstream fluid cannot be efficiently displaced.

CONCLUSION

66Flows of reactive fluids in porous media have been studied on the pore scale. A multicomponent multiple-relaxation-time lattice Boltzmann (LB) model is developed to describe fluid motions and species evolutions in pore spaces, as well as heat transfer in both void pores and the solid phase. In the present model, separate LB equations are built to describe fluids and species evolutions during homogeneous reaction between miscible fluids; source terms and boundary schemes are derived to account for heterogeneous reaction at the fluid-solid interface; and additional correlation terms are introduced to model both incompressible and compressible (with temperature-dependent fluid density) fluid flows. Based on this model, two types of physical problems are simulated. One is density fingering with the homogeneous reaction A + B → C. Results show that depending on variations in the fluid viscosity caused by the chemical product C, the development of density fingering can be enhanced, suppressed, or even triggered. To further study effects of thermal flows, solid coke combustion in porous media is carried out. Simulation results successfully capture coke combustion dynamics and the evolution of the porous structure. Furthermore, the viscosity contrast caused by heat and mass transfer is found to change the coke combustion stability considerably. These two cases verify the capability of the proposed LB model in resolving flows of reactive fluids and the coupled viscosity and density instabilities on the pore scale. Extension to 3D porous media flows with chemical reaction is currently underway. The results are expected to clarify the differences and similarities between 2D and 3D simulations.

DATA AVAILABILITY STATEMENT

67The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.

참고문헌 50건

  1. Chemo-Hydrodynamic Patterns and Instabilities Annual Review of Fluid Mechanics · Annual Reviews · 2019 10.1146/annurev-fluid-010719-060349
  2. Patterns due to an interplay between viscous and precipitation-driven fingering Physics of Fluids · American Institute of Physics · 2015 10.1063/1.4934669
  3. A Numerical Study on Phase Behavior Effects in Enhanced Oil Recovery by In situ Combustion Petroleum Science and Technology · Taylor & Francis · 2015 10.1080/10916466.2014.979999
  4. On the ability of a Darcy-scale model to capture wormhole formation during the dissolution of a porous medium Journal of Fluid Mechanics · Cambridge University Press · 2002 10.1017/s0022112002007735
  5. Geochemistry of silicate-rich rocks can curtail spreading of carbon dioxide in subsurface aquifers Nature Communications · Nature Portfolio · 2014 10.1038/ncomms6743
  6. Chemical Control of Hydrodynamic Instabilities in Partially Miscible Two-Layer Systems The Journal of Physical Chemistry Letters · American Chemical Society · 2014 10.1021/jz5000403
  7. Influence of Double Diffusive Effects on Miscible Viscous Fingering Physical Review Letters · American Physical Society · 2010 10.1103/physrevlett.105.204501
  8. Evidence of free convection in groundwater: Field-based measurements beneath wind-tidal flats Journal of Hydrology · Elsevier BV · 2009 10.1016/j.jhydrol.2009.06.035
  9. Analysis of lattice Boltzmann equation for microscale gas flows: Relaxation times, boundary conditions and the Knudsen layer International journal of computational fluid dynamics · Taylor & Francis · 2008 10.1080/10618560802253100
  10. Hydrodynamic Fingering Instability Induced by a Precipitation Reaction Physical Review Letters · American Physical Society · 2014 10.1103/physrevlett.113.024502
  11. Pore-scale study of dissolution-induced changes in permeability and porosity of porous media Journal of Hydrology · Elsevier BV · 2014 10.1016/j.jhydrol.2014.06.045
  12. Theory of the lattice Boltzmann method: Dispersion, dissipation, isotropy, Galilean invariance, and stability Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2000 10.1103/physreve.61.6546
  13. Two‐scale continuum model for simulation of wormholes in carbonate acidization AIChE Journal · Wiley · 2005 10.1002/aic.10574
  14. Coupling lattice Boltzmann model for simulation of thermal flows on standard lattices Physical Review E · American Physical Society · 2012 10.1103/physreve.85.016710
  15. Force imbalance in lattice Boltzmann equation for two-phase flows Physical Review E · American Physical Society · 2011 10.1103/physreve.83.036707
  16. Buoyancy-driven instabilities around miscible<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>A</mml:mi><mml:mo>+</mml:mo><mml:mi>B</mml:mi><mml:mo>→</mml:mo><mml:mi>C</mml:mi></mml:math>reaction fronts: A general classification Physical Review E · American Physical Society · 2015 10.1103/physreve.91.023001
  17. Analysis of in situ combustion of oil with pyrolysis and vaporization Combustion and Flame · Elsevier BV · 2010 10.1016/j.combustflame.2010.10.025
  18. Multiple–relaxation–time lattice Boltzmann models in three dimensions Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2002 10.1098/rsta.2001.0955
  19. Influence of transport and reaction on wormhole formation in porous media AIChE Journal · Wiley · 1998 10.1002/aic.690440902
  20. Mixing from Fickian diffusion and natural convection in binary non‐equilibrium fluid phases AIChE Journal · Wiley · 2011 10.1002/aic.12685
  21. Reactive-infiltration instabilities in rocks. Fracture dissolution Journal of Fluid Mechanics · Cambridge University Press · 2012 10.1017/jfm.2012.174
  22. Viscous fingering of a miscible reactive <i>A</i> + <i>B</i> → <i>C</i> interface: a linear stability analysis Journal of Fluid Mechanics · Cambridge University Press · 2010 10.1017/s0022112010000327
  23. Reactive-infiltration instabilities in rocks. Part 2. Dissolution of a porous matrix Journal of Fluid Mechanics · Cambridge University Press · 2013 10.1017/jfm.2013.586
  24. Viscous fingering of a miscible reactive A+B→C interface for an infinitely fast chemical reaction: Nonlinear simulations Physics of Fluids · American Institute of Physics · 2011 10.1063/1.3567176
  25. General bounce-back scheme for concentration boundary condition in the lattice-Boltzmann method Physical Review E · American Physical Society · 2012 10.1103/physreve.85.016701
  26. Lattice Boltzmann formulation for conjugate heat transfer in heterogeneous media Physical Review E · American Physical Society · 2015 10.1103/physreve.91.023304
  27. Experimental and numerical analysis of buoyancy-induced instability during CO2 absorption in NaHCO3–Na2CO3 aqueous solutions Chemical Engineering Science · Elsevier BV · 2016 10.1016/j.ces.2016.04.061
  28. Acceleration of convective dissolution by chemical reaction in a Hele–Shaw cell Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2016 10.1039/c6cp03327j
  29. Convective dissolution of CO 2 in reactive alkaline solutions: Active role of spectator ions International journal of greenhouse gas control · Elsevier BV · 2016 10.1016/j.ijggc.2016.07.034
  30. In-situ heavy and extra-heavy oil recovery: A review Fuel · Elsevier BV · 2016 10.1016/j.fuel.2016.08.047
  31. Pore-scale study on reactive mixing of miscible solutions with viscous fingering in porous media Computers & Fluids · Elsevier BV · 2016 10.1016/j.compfluid.2016.09.015
  32. Density profiles around <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>A</mml:mi><mml:mo>+</mml:mo><mml:mi>B</mml:mi><mml:mo>→</mml:mo><mml:mi>C</mml:mi></mml:mrow></mml:math> reaction-diffusion fronts in partially miscible systems: A general classification Physical review. E · American Physical Society · 2016 10.1103/physreve.94.043115
  33. Dynamic reservoir-condition microtomography of reactive transport in complex carbonates: Effect of initial pore structure and initial brine pH Geochimica et Cosmochimica Acta · Elsevier BV · 2017 10.1016/j.gca.2017.01.053
  34. Enhanced steady-state dissolution flux in reactive convective dissolution Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2017 10.1039/c7cp01372h
  35. Numerical Simulation of In Situ Combustion of Oil Shale Geofluids · Hindawi Publishing Corporation · 2017 10.1155/2017/3028974
  36. Pore-scale modelling of the coupled thermal and reactive flow at the combustion front during crude oil in-situ combustion Chemical Engineering Journal · Elsevier BV · 2018 10.1016/j.cej.2018.04.114
  37. A Lattice-Boltzmann model for low-Mach reactive flows Combustion and Flame · Elsevier BV · 2018 10.1016/j.combustflame.2018.06.027
  38. Differential Diffusivity Effects in Reactive Convective Dissolution Fluids · Multidisciplinary Digital Publishing Institute · 2018 10.3390/fluids3040083
  39. Multiscale modeling of CO2-induced carbonate dissolution: From core to meter scale International journal of greenhouse gas control · Elsevier BV · 2019 10.1016/j.ijggc.2019.06.007
  40. Lattice Boltzmann methods for single-phase and solid-liquid phase-change heat transfer in porous media: A review International Journal of Heat and Mass Transfer · Elsevier BV · 2018 10.1016/j.ijheatmasstransfer.2018.08.135
  41. Principal mode of Syndecan‐4 mechanotransduction for the endothelial glycocalyx is a scissor‐like dimer motion Acta Physiologica · Wiley · 2019 10.1111/apha.13376
  42. Pore-scale study of dissolution-driven density instability with reaction <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>A</mml:mi><mml:mo>+</mml:mo><mml:mi>B</mml:mi><mml:mo>→</mml:mo><mml:mi>C</mml:mi></mml:mrow></mml:math> in porous media Physical Review Fluids · American Physical Society · 2019 10.1103/physrevfluids.4.063907
  43. Pore‐Scale Investigation of Methane Hydrate Dissociation Using the Lattice Boltzmann Method Water Resources Research · Wiley · 2019 10.1029/2019wr025195
  44. Differential diffusion effects on density-driven instability of reactive flows in porous media Physical Review Fluids · American Physical Society · 2020 10.1103/physrevfluids.5.033903
  45. Dynamics of Viscous Fingering in Porous Media in the Presence of In Situ Formed Precipitates and Their Subsequent Deposition Water Resources Research · Wiley · 2020 10.1029/2019wr027042
  46. Numerical modeling of viscous fingering during miscible displacement of oil by a paraffinic solvent in the presence of asphaltene precipitation and deposition International Journal of Heat and Mass Transfer · Elsevier BV · 2020 10.1016/j.ijheatmasstransfer.2020.119688
  47. Study of pore-scale coke combustion in porous media using lattice Boltzmann method Combustion and Flame · Elsevier BV · 2020 10.1016/j.combustflame.2020.10.036
  48. Lattice Boltzmann methods for multiphase flow and phase-change heat transfer Progress in Energy and Combustion Science · Elsevier BV · 2015 10.1016/j.pecs.2015.10.001
  49. Pore-scale simulation of miscible viscous fingering with dissolution reaction in porous media Physics of Fluids · American Institute of Physics · 2021 10.1063/5.0045051
  50. Lattice Boltzmann Method and Its Applications in Engineering Advances in computational fluid dynamics · World Scientific · 2013 10.1142/8806