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

A coupled Volume of Fluid and Immersed Boundary Method for simulating 3D multiphase flows with contact line dynamics in complex geometries

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

기본 정보

저자
  1. H.V. Patel — Multiphase Reactors Group, Department of Chemical Engineering and Chemistry, Eindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  2. Saurish Das — Multiphase Reactors Group, Department of Chemical Engineering and Chemistry, Eindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  3. J.A.M. Kuipers — Multiphase Reactors Group, Department of Chemical Engineering and Chemistry, Eindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  4. Johan T. Padding — Intensified Reaction and Separation Systems, Department of Process and Energy, Delft University of Technology, Leeghwaterstraat 39, 2628 CB Delft, The Netherlands|||Multiphase Reactors Group, Department of Chemical Engineering and Chemistry, Eindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  5. E.A.J.F. Peters — Multiphase Reactors Group, Department of Chemical Engineering and Chemistry, Eindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
DOI
10.1016/j.ces.2017.03.012
저널
Chemical Engineering Science
발행년도
2017
발행기관
Elsevier BV
피인용수
74
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.ces.2017.03.012
토픽
Surface Modification and Superhydrophobicity
OpenAlex ID
W2594373077

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
multiphase flows, contact line dynamics, VOF method, immersed boundary method, porous structures
판단 근거
본 논문은 복잡한 기하학적 구조 내 다상 유동(multiphase flow)과 접촉선 역학(contact line dynamics)을 시뮬레이션하는 수치 해석 방법론을 다룹니다. 이는 직접적인 제품 연구는 아니나, 수소연료전지(PEMFC)의 핵심 구성 요소인 중공사막(5) 내의 수분 제어나 MEA(7) 내의 가스/액체 확산 및 계면 거동을 모델링하는 데 응용될 수 있는 공학적 원리를 제공합니다.
R&D 활용 포인트
연료전지용 중공사막(Hollow fiber membrane) 내부의 수분 이동 및 계면 현상을 예측하기 위한 수치 해석 모델링 기술로 활용 가능합니다.
평가 입력
섹션 본문 52,011자 중 30,032자 발췌

초록

초록이 없습니다.

본문 53,297자

본문 펼치기
h i g h l i g h t sWe present a 3D coupled VOF and sharp interface-implicit IBM for multiphase flows.Contact line dynamic is resolved by applying a contact angle boundary conditions.Extensive validation cases are presented for static and dynamic contact angles.The simulated contact line dynamics with and without using IBM are compared.Pore-scale water flooding process through BCC and FCC structures are presented. Introduction Multiphase flows in complex geometries are encountered widely in nature and technology.Examples include enhanced oil recovery (EOR) (Alvarado and Manrique, 2010), trickle bed reactors (Herskowitz and Smith, 1983), microfluidics devices (Stone et al., 2004) and biological systems (Fauci and Gueron, 2001). Introduction Focusing on oil recovery, during the primary recovery process, oil comes out of the porous rocks automatically due to its own natural pressure.Gradually, the natural pressure of the oil reduces and the automatic flow of the oil stops.There is still a large amount of oil which remains trapped in the porous rocks.To recover this residual oil EOR processes are used.There is a wide variety of EOR processes available e.g.gas injection, thermal processes, water flooding, chemical flooding etc. and the choice is generally based on economy.In water flooding (Sheng, 2014) high pressure and/ or high temperature water is pushed through porous rocks to recover residual oil.Focus of the current work is to devise a methodology for pore-scale simulations of oil-water multiphase flows through complex rock structures during such a water flooding process.To serve this purpose, three different things need to be resolved: (i) oil-water multi-fluid interface tracking, (ii) interactions between fluids (oil and water) and complex solid geometries, and (iii) three-phase contact line dynamics. Introduction Accurate simulations of sharp interface multi-fluid flows are particularly difficult for the following reasons: (i) the fluid-fluid interface needs to be tracked accurately without introducing excessive computational smearing and (ii) accurate calculation of surface tension force is necessary in case of highly curved interfaces.A wide range of numerical methods has been developed and successfully applied to a variety of multi-fluid flow problems (Wörner, 2003).The front tracking (FT) method (Tryggvason et al., 2001) uses triangular shaped markers (in 3D) on the Lagrangian interface to track it.However, the Navier-Stokes equations are solved on a fixed Eulerian grid.Necessary information is exchanged between the Lagrangian interface markers and neighboring Eulerian grid cells for advection of the interface and computation of the surface tension force.This method is very accurate, but it requires dynamic remeshing of the interface markers.Also, interface breakup and coalescence is not automatic and it requires a proper sub-grid model to resolve them.The level set (LS) method (Sussman et al., 1994) defines the interface as the zero level set of a distance function from the interface.A numerical solution is found for the advection of this distance function.The LS method is conceptually simple and relatively easy to implement but it suffers from loss of mass in case of highly deformed interfaces.The volume of fluid (VOF) method (Hirt and Nichols, 1981;Youngs, 1982) uses a color function Fðx; y; z; tÞ which denotes the fractional amount of particular fluid present at spatial location ðx; y; zÞ at time t.Advection of F is governed by the same equation as for the LS method but it is solved by pseudo-Lagrangian geometrical advection schemes to minimize numerical diffusion.This particular feature makes VOF the most mass conservative among all multi-fluid interface tracking methods.Interface reconstruction is required for geometrical advection of F which is done by simple line interface calculation (SLIC) by Noh and Woodward (1976) or piecewise linear interface calculation (PLIC) by Youngs (1982).The accuracy of the PLIC algorithm is higher compared to SLIC and is used in the present work.A drawback of LS and VOF methods are that they produce numerical coalescence when two interfaces are less than one grid cell apart.The surface tension force (Baltussen et al., 2014) can be numerically calculated by the continuum surface force (CSF) model, height function model or tensile force model.The density-scaled CSF model proposed by Brackbill et al. (1992) is used here due to its simplicity and robustness especially in the presence of complex solid boundaries. Introduction Fluid-fluid interfaces in contact with solid boundaries produce a three-phase contact line and thus the contact line dynamics needs to be resolved in addition to solving interface motion.The contact line behavior is determined by microscopic physicochemical interactions between molecules of two different immiscible fluids and the solid substrate, and it can drastically affect the statics and dynamics of the bulk flow (Snoeijer and Andreotti, 2013).The result of these microscopic interactions at the contact line can be seen as an apparent contact angle on macroscopic length scales.Multiple attempts have been made to describe the effect of the contact line on macroscopic length scales by giving a single/static (Renardy et al., 2001) or dynamic (Dussan, 1979) value for apparent contact angle.An interesting review on simulations with moving contact lines is presented by Sui et al. (2014) where the main approach is to apply the apparent contact angle as a boundary condition at the grid cells located at the contact line.However, the majority of the available literature focuses on the numerical simulations of the contact line dynamics for simple solid geometries on a body conformal grid and still a significant amount of work is needed for complex solid geometries. Introduction The immersed boundary method (IBM) is a well-established computational technique which uses non-body conformal structured (mainly Cartesian) grids for simulating flow through com-plex geometries.The main advantages of IBM over the traditional unstructured body conformal grids are simplicity in grid generation and discretization of the Navier-Stokes equations, ease of code development, less memory requirement to store the grid information and higher computational efficiency.An excellent review is presented by Mittal and Iaccarino (2005) on the large variety of IBMs.The methods can be broadly classified in two categories: (i) continuous forcing approach, first proposed by Peskin (1972), where the no-slip condition at the immersed boundary (IB) is applied by introducing a continuous forcing function as a source term in the momentum equation and (ii) discrete (or direct) forcing approaches where the effect of the IB is imposed at the level of the discretized momentum equation.The direct forcing approach produces a sharp solid interface without spatial spreading.So, in the present work the direct forcing implicit IBM is used which is second order accurate, stable, easy to implement and does not require calibration of the geometry, which is useful for complex geometries. Introduction Very few attempts have been made to integrate multi-fluid interface tracking methods with IBMs to simulate multiphase flows with contact line dynamics through complex solid geometries.Deen et al. (2009) used the FT method with direct forcing IBM to simulate interactions of bubbles with a solid particle bed.However, contact line dynamics was not incorporated in their simulations.Suh and Son (2009) used the LS method to describe both fluid-fluid and fluids-solid interface (IB) to simulate a piezoelectric inkjet process.The VOF method with IBM was used by Sun and Sakai (2016) to simulate flow through a twin screw kneader, Washino et al. (2011) for a wet granulation process and Karagadde et al. (2012) for modeling motion and growth of dendrites in a solidifying melt.However, the effect of the IB is explicitly imposed by modifying the velocity using local solid fractions which produces a diffuse fluids-solid interface. Introduction In this paper, a methodology is presented to couple the VOF method with direct forcing, implicit and sharp interface IBM with contact line dynamics.The paper is organized as follows: First, we describe the governing Navier-Stokes and VOF advection equations for multiphase flows.Subsequently, numerical and implementation details are presented for the solution methodology, IBM, VOF and contact line dynamics.Next, an extensive validation of the current numerical model is reported for both static and dynamic contact angles.Last, we present our findings for numerical simulations of a water flooding process through periodic body centered cubic (BCC) and face centered cubic (FCC) structures and estimate the residual oil. Governing equations For incompressible multiphase flows the Navier-Stokes equations can be combined into a single equation for the velocity field u in the entire domain, taking into account the effect of surface tension by a local volumetric surface tension force F r accounting for the presence of a curved deformable fluid-fluid interface.The governing mass and momentum conservation equations for unsteady, incompressible, Newtonian, multiphase flows are expressed as follows: Governing equations where s ¼ l½ru þ ðruÞ T is the fluid stress tensor and g is the acceleration due to gravity.The local averaged density q and dynamic viscosity l depend on the local fluid phase distribution and hence are evaluated from the local phase fraction F between fluid phases.The volumetric surface tension force appearing in the momentum equation acts only in the vicinity of the interface.Advection of F is governed by the following equation: Governing equations This equation expresses that the interface is advected with the local fluid velocity.To evaluate the local averaged density q, linear averaging of the densities of the fluid 1 ðF ¼ 1Þ and fluid 2 ðF ¼ 0Þ is used: Governing equations Similarly, the local average dynamic viscosity l could also be evaluated by linear averaging of the dynamic viscosities of individual fluid phase.Alternatively, following a fundamental approach proposed by Prosperetti (2002), the local average kinematic viscosity is evaluated by harmonic averaging of the kinematic viscosities of the individual fluid phases: Governing equations In all the computations reported in this paper, Eqs. ( 4) and ( 5) are used to evaluate the local average density and dynamic viscosity, respectively. Numerical details In this section numerical details for the coupled VOF and IBM framework are presented.The section is divided into four main parts: (i) solution methodology focusing on discretization and numerical solution of the incompressible Navier-Stokes equations, (ii) IBM dealing with the dynamic interactions between fluids and non-deformable solids, (iii) VOF dealing with the dynamics of deformable fluid-fluid interface, and (iv) contact line dynamics dealing with the coupling of VOF and IBM by appropriate contact angle boundary condition. Solution methodology In the current implementation, the finite volume method (FVM) is used to solve the mass and momentum conservation equations in each control volume (CV) of a staggered computational grid.The time-discretized form of the momentum equation is obtained as: Solution methodology where DV represents the volume of each CV, A and ŝ are surface area and outward pointing unit cell surface normal respectively, superscript k indicates the time index and C indicates the netconvective flux: C ¼ ðu Á ŝÞ u.A deferred correction method has been incorporated in the convection term, where both the first order upwind (FOU) scheme and total variation diminishing (TVD) minmod scheme are used to calculate the convection flux; the flux by the FOU scheme ðC FOU Þ is treated implicitly and, based on the higher order min-mod scheme, a correction is introduced ðC min -mod À C FOU Þ which is treated in an explicit manner.A second order accurate central difference scheme is used for discretizing diffusive terms.The volumetric surface tension force is treated explicitly and its discretization is explained in the subsequent section.Eq. ( 6) is solved by a fractional step method, where at the first-step the tentative velocity field u à is computed from: Solution methodology Here the stress tensor is split into an implicit part and an explicit part.In the momentum equation for each of the 3 directions (i.e., x; y or z), only the velocity component in the direction under consideration is treated implicitly, whereas the other velocity components are treated explicitly.For Eq. ( 7) we need to solve a set of linear equations.The enforcement of the no-slip boundary condition at the IB wall is handled at the level of discretization of the momentum equation which is detailed in the next section.We use a robust and efficient Block-Incomplete Cholesky Conjugate Gradient (B-ICCG) solver that is OpenMP-parallelized to solve the resulting sparse matrix for each velocity component. Solution methodology The velocity at the new time level k þ 1 can be obtained from: Solution methodology where dp ¼ p kþ1 À p k represents the pressure correction.Since u kþ1 needs to satisfy the continuity equation, the pressure Poisson equation is obtained as: Solution methodology which is again solved by the B-ICCG sparse matrix solver.The periodic boundary conditions for both velocity and pressure are taken care of during the flux calculation and treated implicitly in the sparse matrix solving steps.A detailed implementation of periodic boundary condition for pressure-velocity coupling is presented in Das et al. (2017).Note that the periodic boundary condition for the VOF method is applied in an explicit manner. Immersed boundary method (IBM) An implicit (direct) second-order accurate IBM proposed by Deen et al. (2012) and described in details by Das et al. (2017) has been used to apply no-slip boundary conditions for fluidssolid interactions at immersed boundaries.Initially, all the cells are marked/flagged as either 'solid-cell' (cell-center inside the solid body) or 'fluid-cell' (cell-center in the fluid zone) in the staggered computational grid.'IB-cells' are a special type of fluid-cells, as they have at least one neighboring solid-cell.It is in these IBcells where the no-slip boundary condition is imposed as shown in Fig. 1.Note that because staggered positions are used for the velocity components, the CV is different for different components.Fig. 1 shows an example for the case of the x-component of the velocity.The algebraic form of the discretized momentum equation, Eq. ( 7), at the CV center c can be represented as: Immersed boundary method (IBM) where / corresponds to one of the fluid velocity components and nb indicates the cell-center of surrounding neighboring cells.a represents the fluids-and geometry-dependent matrix coefficients and all the explicit terms are collected in b c .From the perspective a fluid-cell c, if one of the surrounding cells nb is a solid-cell, the no-slip condition is imposed by changing the central coefficient (a c ) and neighboring coefficient (a nb ) of Eq. ( 10).An example is given in Fig. 1, where a fluid-cell c is neighboring a solid-cell w.The value of / in the solid-cell is expressed as a linear combination of relevant fluid-cell values, in such a way that it satisfies the no-slip boundary condition at the solid surface (s).For this purpose a quadratic interpolation polynomial is used: Immersed boundary method (IBM) r , where n is a non-dimensional distance from solid-cell w, as shown in Fig. 1.The values of the coefficients p; q and r are obtained from the known values of / at the solid boundary (/ ¼ 0 at n ¼ n s ) and the two nodes in the fluid (/ ¼ / c at n ¼ 1 and / ¼ / e at n ¼ 2).As a result we find the extrapolated value: Immersed boundary method (IBM) where n s corresponds to the non-dimensional distance from the solid-cell to the point where the grid line intersects the solid boundary.The modified coefficients (â) for Eq. ( 10) become Immersed boundary method (IBM) Note that Eq. ( 10) is also solved for solid-cells.To enforce zero velocity for the solid-cells, central coefficient (a c ) is modified to 1 and all other coefficients (i.e. a nb , b c ) to 0. For a complex geometry it is also possible that a fluid-cell near the immersed boundary has more than one neighbor lying inside a solid body.In that case the implementation details are more involved and readers are referred to Das et al. (2017). Volume of Fluid (VOF) The VOF part of the simulation consists of three main subparts: (i) solution of fluid phase fraction F-advection equation, (ii) computation of the volumetric surface tension force, and (iii) smoothing of fluid phase fraction F. Solution of fluid phase fraction F-advection equation The integration of the hyperbolic F-advection equation, Eq. ( 3), is the most critical part of the VOF model and is based on geometrical advection which can be viewed as a pseudo-Lagrangian advection step.The advantage of the geometrical advection is given by the fact that a sharp interface is maintained during the simulations.First, for each Eulerian cell containing an interface the unit normal vector n to the interface is estimated from the gradient of the fluid phase fraction F as Solution of fluid phase fraction F-advection equation In our model first the components of the normal vector are computed at the vertices of the Eulerian cell and then the cellcentered components are computed by averaging over the eight (four in 2D) surrounding vertices.An example is given for a 2D case in Fig. 1, where n at cell-center q is computed by averaging n over vertices 3, 4, 5 and 6.Note that the direction of n points from fluid 2 (F ¼ 0) towards fluid 1 (F ¼ 1).By combining the information of the normal direction in an Eulerian cell and its phase fraction F the PLIC surface cutting through the Eulerian cell is constructed.Here transformations of the coordinate system are applied to reduce the number of possible configurations of a PLIC surface from 64 to 5 generic configurations.These steps are described with all necessary geometrical and mathematical details by Van Sint Annaland et al. (2005). Solution of fluid phase fraction F-advection equation Note that F-advection is carried out for all fluid-cells.In presence of immersed boundaries the VOF method is no longer conservative as a small local mass error may occur due to the presence of partially filled cells at boundaries, which may further accumulate over time.If strict mass conservation is needed, we find the mass error after each time step and compensate for it by subtracting the mean mass error from each cell at the interface (i.e. cells where 0 < F < 1).We observed that this mass compensation does not have a significant influence on the overall flow dynamics.The procedure is similar to that used by Bunner and Tryggvason (2002) for the front-tracking method, Fujita et al. (2015) for the level set method and Sun and Sakai (2016) for the IBM-VOF method.It is important to emphasize that all the validation/verification test cases presented in Section 4.1 have been simulated without such mass compensation and the maximum mass error is merely in the order of 10 À3 % relative to initial mass. Computation of the volumetric surface tension force In the density-scaled continuum surface force (CSF) model (Brackbill et al., 1992) the surface tension force acts via a source term F r in the momentum equation which only acts in the vicinity of the interface.The expression for F r is given by: Computation of the volumetric surface tension force where r is the coefficient of surface tension, n ¼ rF is the interface normal vector and q h iis the average density of the two fluid phases. Computation of the volumetric surface tension force The expression for the curvature j is obtained from the divergence of the unit normal vector to the interface: Computation of the volumetric surface tension force The normal to the interface is actually computed from the gradient of the smoothed phase fraction e F .So, the formulas above hold with n ¼ r e F .The smoothing technique used in this paper will be discussed in the next section.The density scaling used in the CSF model distributes the acceleration due to surface tension (i.e., F r =q) symmetrically across the interface while conserving the total surface tension force.This improves the stability of the numerical model by reducing the parasitic currents (Yokoi, 2014) especially for the case when there is a high density ratio between the two fluid phases. Smoothing of fluid phase fraction F As indicated before, the interface orientation (i.e. the normal to the interface) is computed from the gradient of the fluid phase fraction F according to Eq. ( 13).Basically this involves numerical differentiation of a discontinuous function, leading to inaccuracies.This problem can be overcome by making use of a smoothed phase fraction e F for the computation of the unit interface normal, i.e. using Eq. ( 13) with F replaced by e F obtained from: Smoothing of fluid phase fraction F Here the smoothing function D is given by the polynomial expression proposed by Deen et al. (2004) as follows: Smoothing of fluid phase fraction F where h represents the width of the computational stencil used for the smoothing.We typically use h ¼ 2D where D is the Eulerian grid size, unless otherwise stated.The width of the computational stencil for the smoothing should be selected carefully.When the width is too small numerical instabilities may still arise, especially in the case where coefficient of surface tension is high.On the other hand when the width of the computational stencil is chosen too large, excessive smoothing (thickening) of the interface is obtained, which is undesirable. Smoothing of fluid phase fraction F In presence of immersed boundaries, the smoothing stencil used for the fluid-cells near a boundary may contain some solidcells.However, solid-cells do not have any physical value of the fluid phase fraction F. To overcome this problem, F is extended in the solid region at any general contact angle using a method proposed by Sussman (2001).An 'extension' Eq. ( 18) in the form of advection Eq. ( 3) is solved for the solid region using an artificial extension velocity u extend and artificial timestep Ds.Note that this extension is carried out using the same pseudo-Lagrangian geometrical advection scheme used to advect F in the fluid region as described in Section 3.3.1. Smoothing of fluid phase fraction F For all computations reported in this paper, extension is carried out up to 4 grid cells in the solid region using Ds ¼ 0:5D.Applying this method eliminates the need to modify the smoothing stencil for the fluid-cells near the immersed boundary while maintaining the continuity of e F across it.For more clarification, Fig. 2 For the diffuse interface treatment of the immersed boundary (Sussman, 2001), this procedure would also apply the contact angle boundary condition as the fluid forcing is continuous and spread over few grid cells across the immersed boundary.So, fluid-cells near the boundary can experience the surface tension force due to the interface curvature (governed by extended and smoothed phase fraction e F ) from solid region.However, in the present sharp IBM we have discontinuity at the immersed boundary between fluid and solid regions and hence contact angle boundary condition needs to be explicitly enforced as described in the subsequent section. Contact line dynamics In presence of a fluid-fluid interface with immersed solids, contact line dynamics plays a major role in wetting-dewetting phenomena.It can be easily incorporated in the current framework of CSF model by applying the appropriate contact angle boundary condition at contact lines.The contact angle may have a single value (static) or different values (dynamic) depending upon the local contact parameters and fluid properties.The effect of the contact angle is taken into account by modifying the interface normals at the solid boundaries as follows: Contact line dynamics where h is the contact angle, ns is the unit solid surface normal pointing inside the solid as seen from the fluid and ts is the unit tangent which lies on the solid surface and is normal to both ns and the contact line as shown in Fig. 3. ns can be easily found analytically for simple shapes such as spherical or cylindrical surface.For more complicated geometries it follows from the surface mesh that describes it or can be computed using the solid fraction as proposed by Washino et al. (2011).The tangential unit vector, ts , can be found as in Fig. 1, In this case, the contact angle boundary condition is applied on all the vertices of the solid-cells which have at least one immediate neighbor in the fluid.In this way, the contact angle boundary condition is applied very close to the solid boundaries (if not exactly on it).Fig. 1 shows the solid-cell p has one of its neighbors q as a fluid-cell.So, the contact angle boundary condition is applied on all the vertices 1, 2, 3 and 4 of the solid-cell p. Contact line dynamics Contact line dynamics is a molecular phenomenon, which suggests that the macroscopic flow can be strongly affected by interactions at molecular scales between fluids and solid substrate (Snoeijer and Andreotti, 2013).It is essential to take into account the effect of this sub-grid phenomenon for macroscopic-grid modeling.Different theoretical and experimentally inspired models are available in the literature (consolidated by Saha and Mitra (2009)) and they differ in the approach taken to connect the molecular and macroscopic length scales. Contact line dynamics Apart from molecular scale phenomena, the flow field varies significantly on small (but macroscopic) distances from the contact line.When using a large grid size the flow field near the contact line is under resolved and also hydrodynamic phenomena should be accounted for in the model for the contact line dynamics.As we are interested in flows in complex porous geometries with low Reynolds Re and capillary Ca numbers, a model developed by Voinov (1976) and Cox (1986) has been adopted which links the dynamic contact angle h d with equilibrium contact angle h e using a slip length k and slip capillary number Ca cl as follows: Contact line dynamics where jU cl j is contact line velocity, i.e., the magnitude of the slip velocity parallel to the tangent direction ts which is found out using a density weighted average velocity u cl of the fluid nodes in the vicinity of the contact line.sgn dir signifies the direction of the contact line motion, with: sgn dir ¼ þ1 or À1 for advancing and receding contact lines, respectively.L is the macroscopic or grid length scale. Contact line dynamics For the slip length k, as observed by Lauga et al. (2007), we have taken a fixed value of k ¼ 10 À9 m in Eq. ( 21) for all the simulations reported in this paper. Verification and validation The IBM implementation has been thoroughly tested by Das et al. ( 2017) for various cases.They validated their simulations with existing numerical and/or experimental results from literature.In 2D, they have considered a case of flow past a cylinder and validation has been performed for the non-dimensional drag and lift forces, unsteady vortex shedding frequency and length of the recirculation zone.In 3D, the case of flow past a sphere has been validated by comparing the non-dimensional drag force for Reynolds numbers as high as 500.Implicit implementation of the periodic boundary conditions for IBM has been validated for the case of flow past a simple cubic (SC) array of spheres by comparing the non-dimensional drag force for the Stokes flow regime with two different porosities.The IBM was found to be 2nd order accurate with an error less than 2% for 15 cells across the sphere diameter.They have also simulated the flow through periodic complex porous structures, i.e. an open cell foam for a wide range of porosities, and compared the obtained results with the well-known Carman-Kozeny and Ergun correlations. Verification and validation Van Sint Annaland et al. ( 2005) did an extensive validation of their 3D VOF model, starting from basic problems such as advection tests and the Laplace pressure difference across a curved fluid-fluid interface.They also investigated gas bubbles rising in quiescent viscous liquids and computed the terminal rise velocity and the shape of the rising bubble for high density and viscosity ratios.The obtained results agreed very well with the Grace diagram for a very wide range of Eötvös and Morton numbers.They also tested their model successfully for cases where the interface experiences substantial deformation, i.e. co-axial and oblique coalescence of two gas bubbles rising in a viscous liquid, and obtained good agreement with experimental results published in literature.Baltussen et al. (2014) performed bubble advection test with 30 grid cells across the bubble diameter and found the global mass error to be negligible ð10 À7 %Þ. Verification and validation In this section we present verification/validation test cases for the 3D VOF with contact line dynamics, both with and without IBM.To test the static contact angle boundary condition two problems are investigated: (i) the equilibrium shape of a droplet on a flat surface and (ii) the equilibrium shape of a droplet on a spherical surface.The simulations are compared with known analytical expressions.To check the dynamic contact angle boundary condition we investigate the problem of droplet spreading on a flat surface and compare the temporal evolution of dimensionless droplet contact radius with experimental and other numerical results available in literature.A grid dependence study for the same test case is shown in Appendix A. As our interest lies in oil-water flows through complex structures, oil-water systems are used for these simulations by default, unless otherwise specified.For all simulations reported in this paper, the time step Dt has been chosen such that it satisfies both Courant-Friedrichs-Lewy (CFL) and capillary criteria as follows: Verification and validation Here, Dt CFL and Dt r are the minimum required time steps according to the CFL and capillary criteria, respectively.D is the computational grid size and U max is the maximum fluid velocity in the computational domain. Equilibrium shape of a droplet on a flat surface In this section, we investigate the equilibrium shape of an oil droplet in water on a flat surface with static contact angle h s .Physical properties of an oil-water system used for the simulations are as follows: water density q w ¼ 1000 kg=m 3 , water dynamic viscosity l w ¼ 0:001 Pa s, oil density q o ¼ 950kg=m 3 , oil dynamic viscos- The Eötvös number Eo, defined with respect to initial droplet radius R 0 , has been used to quantify the relative effect of gravitational force compared to surface tension force: Equilibrium shape of a droplet on a flat surface First, simulations are performed for the case where gravity is absent ðEo ¼ 0Þ.Initially, the droplet is placed in the computational domain such that its center is at the distance equal to the initial droplet radius R 0 from the flat surface.In this condition, the droplet will just touch the flat surface.As the initial contact angle is different from the static contact angle, the droplet will spread until it reaches equilibrium.Schematic diagrams of the initial and equilibrium droplet shapes are presented in Fig. 4. All the geometrical and computational parameters used for the simulations are listed in Table 1.No-slip boundary conditions are applied at all computational domain boundaries.Note that the contact angle boundary condition is applied without the use of IBM, because the contact line is located on the lower (flat) boundary of the computational domain.As the total drop volume V ¼ 4 3 pR 3 0 is constant, all equilibrium shape parameters such as droplet contact radius r f , radius of curvature R f and height h f can be derived analytically according to the following relations: Equilibrium shape of a droplet on a flat surface The droplet height h f and contact radius r f for the equilibrium shape have been found numerically and compared with the analytical results of Eqs. ( 25) and ( 26), respectively.The obtained numerical results show an excellent match with the analytical results, as shown in Fig. 5.The numerical and analytical equilibrium droplet shapes are compared in Fig. 6 which shows very satisfactory qualitative matching.Note that the numerical profiles are generated by computing the iso-contours of the smoothed phase fraction e F ¼ 0:5.The quantitative error in equilibrium droplet shape is defined by the mean difference as follows: Equilibrium shape of a droplet on a flat surface where N is the number of points discretizing the interface.y e F ¼0:5 i and y analytical i the are numerical and analytical y-coordinate of the interface point whose x-coordinate is x e F ¼0:5 i .For the shapes shown in Fig. 6, the mean differences are 0.69%, 0.36%, 0.33%, 0.49% and 2.76% for h s ¼ 30 ; 60 ; 90 ; 120 and 150°respectively. Equilibrium shape of a droplet on a flat surface As the CSF model distributes the volumetric surface tension force smoothly across the interface as per Eq. ( 14), one would expect the pressure distribution also to be smooth.However, in reality, a droplet would experience the Laplace pressure difference DP analytical ¼ 2r R f (in 3D) as a step function across the interface (at least at macroscopic scales).The expected value of DP analytical is compared with the numerical pressure difference (Fig. 7), evaluated in three different ways: Equilibrium shape of a droplet on a flat surface 1. DP 0 : Pressure difference between the center of the droplet and boundaries of the simulation domain.This totally eliminates the effect of the interface distribution, because interface cells are excluded from the calculation. 5. Dimensionless droplet parameters for the equilibrium shape of a droplet on a flat surface without gravity ðEo ¼ 0Þ: analytical height (-), numerical height ðÃÞ, analytical contact radius (--), numerical contact radius (◯).Fig. 6.Analytical (-) and numerical (--) equilibrium droplet shapes on a flat surface without gravity ðEo ¼ 0Þ for static contact angles hs = 30°, 60°, 90°, 120°and 150°. 5. 2. DP partial : Average pressure difference between the computational cells in regions for which 0:95 6 F 6 1:0 and regions for which 0:0 6 F 6 0:05.This will only have a partial effect of the interface distribution, because most of the interface cells ð0:05 < F < 0:95Þ are excluded from the calculation. 3. DP total : Average pressure difference between the computational cells in regions for which 0:5 6 F 6 1:0 and regions for which 0:0 6 F 6 0:5.This will have the full effect of the interface distribution, because all interface cells are included in the calculation. 5. There are two main sources of error in the numerical calculation of the pressure difference across the interface: (i) Error due to the inaccuracy in numerical value of R f .Fig. 6 qualitatively shows that this error is highest in the case of h s ¼ 30 and (ii) as pressure varies smoothly across the interface, inclusion of computational cells from and near the interface in the calculation would reduce the numerical pressure difference across the interface.Fig. 7 reports on this behavior with DP 0 > DP partial > DP total . 5. Last, we present the simulations to compute the equilibrium droplet shapes under the influence of gravity ðEo > 0Þ.Simulations have been performed for static contact angle h s ¼ 120 for a wide range of Eötvös numbers.The analytical equilibrium droplet shape for h s ¼ 120 without gravity (shown in Fig. 6) is taken as initial condition to reduce the computation time.The computational domain is divided in ðn x ; n y ; n z Þ ¼ ð300; 80; 300Þ grid cells in x; y and z direction, respectively, with a grid size D ¼ 2:5  10 À5 m.Simulations have been performed with a time step Dt ¼ 5  10 À6 s.No-slip boundary conditions are applied at all computational domain boundaries.At lower Eötvös numbers ðEo ( 1Þ the droplet maintains its original spherical cap shape as the surface tension forces are dominant and the droplet height in this case is controlled by Eq. ( 25).At higher Eötvös numbers ðEo ) 1Þ the droplet forms a puddle under the influence of gravity whose height is proportional to the capillary length scale and given by the following expression: 5. Fig. 8 shows the equilibrium droplet shapes and dimensionless droplet height ðh Ã Þ for a wide range of Eötvös numbers.h à is defined as the ratio of the droplet height for a given Eötvös number to the droplet height without gravity ðEo ¼ 0Þ given by Eq. ( 25).The obtained results show an excellent agreement with two asymptotic solutions given by Eqs. ( 25) and ( 28).As expected, the transition between spherical cap and puddle is observed at Eo $ 1. 5. 4.1.2.Equilibrium shape of a droplet on a spherical surface In this section, we simulate the equilibrium shapes of an oil droplet in water on a spherical surface with different static contact angles h s .The influence of gravity is not taken into account.The physical properties of the oil-water system are the same as used in Section 4.1.1.The radius of the solid sphere is the same as the initial radius of the droplet R 0 . 5. Initially, the droplet is placed in the computational domain such that its center is at a distance equal to R 0 from the spherical surface.In this condition, the droplet will just touch the spherical surface.As the initial contact angle is different from the static contact angle, the droplet will spread until it reaches equilibrium.Schematic diagrams of the initial and equilibrium droplet shapes are presented in Fig. 9.As the total drop volume V ¼ 4 3 pR 3 0 is constant, the final equilibrium shape can be derived analytically by solving the following nonlinear equations: 5. All the geometrical and computational parameters used for the simulations are listed in Table 2.Note that the contact line moves on the spherical surface which is modeled as an immersed boundary.Therefore the IBM implementation of the contact angle boundary condition is applied here.No-slip boundary conditions are applied at all computational domain boundaries as well as at the solid sphere boundary.Numerical and analytical equilibrium droplet shapes are presented in Fig. 10, which shows an excellent qualitative match.Mean differences in equilibrium droplet shape, defined by Eq. ( 27), are 1.35%, 1.03%, 0.78%, 0.57% and 1.57% for h s ¼ 30 ; 60 ; 90 ; 120 and 150°, respectively.The contact radius r f and the droplet height h f for the equilibrium shape have been found numerically and compared with analytical results of Eq. ( 30) and h f ¼ R f ð1 þ cos bÞ À R 0 ð1 À cos aÞ ð 32Þ respectively.The obtained numerical results have an excellent match with the analytical results, as shown in Fig. 11.This validates the coupled IBM-VOF implementation for static contact angles. Droplet spreading on a flat surface In this section, we simulate the transient behavior of a squalene oil droplet in air spreading on a flat surface with a dynamic contact angle.Physical properties used for the simulations are: squalene oil density q sq ¼ 809 kg=m 3 , squalene oil dynamic viscosity l sq ¼ 0:034 Pa s, air density q a ¼ 1:2 kg=m 3 , air dynamic viscosity l a ¼ 2  10 À5 Pa s and air-oil surface tension r ¼ 0:032 N=m.Initially, a droplet with radius R 0 ¼ 0:001 m is placed on a flat surface such that its center is at the height h ¼ 0:95 R 0 from the flat surface.In this condition it has an initial contact radius of r 0 with the flat surface.The droplet will spread with dynamic contact angle h d until it reaches the equilibrium contact angle h e with the flat surface and in this condition the final contact radius is r f .Schematic diagrams of the initial and equilibrium droplet states are presented in Fig. 12. Simulations have been performed in absence of gravity with a grid size D ¼ 5  10 À5 m and time step Dt ¼ 5  10 À7 s.The Cox and Voinov model, given by Eq. ( 21), has been used to calculate the local h d using the value of h e ¼ 41:5 .Lavi and Marmur (2004) performed experiments for different liquids (including squalene oil) droplets spreading on a coated silicon wafer and gave the following relation for the temporal evolution of the contact area: where A f is the final value of the contact area, AðsÞ is the contact area at dimensionless time s ¼ rt=ðl sq V 1 3 Þ, and K and m are fitting parameters which depend on the spreading liquid.Legendre and Maglio (2015) performed 2D axisymmetric VOF simulations for the same test case with different h values (0:99R 0 ; 0:98R 0 and 0:95R 0 ) and showed that the droplet spreading is independent of its initial position for dimensionless contact radius r à defined as: Droplet spreading on a flat surface In the present simulations, a flat surface is defined in two different ways: (i) as a body conformal computational domain boundary where the IBM implementation is not used, and (ii) as a non-body conformal IB plane passing though the computational domain where the IBM implementation is used to apply contact angle boundary condition.Fig. 13 shows the temporal evolution of r à with s for both cases with static and dynamic contact angles.The obtained results are compared with the experimental results of Lavi and Marmur (2004) and numerical results of Legendre and Maglio (2015).A significant difference has been observed between the spreading with dynamic and static contact angles.The total dimensionless spreading time for a dynamic contact angle is almost four times that for a static contact angle.The obtained results with a dynamic contact angle show a very satisfactory match with the results reported in literature.Note that there is a very small difference between the obtained results with and without IBM implementation for a static contact angle, while this difference is somewhat higher in the case of a dynamic contact angle.The reason is that spreading with a dynamic contact angle is greatly influenced by the magnitude of the contact line velocity jU cl j according to Eq. ( 21), and the numerical calculation of jU cl j is more accurate on body conformal grids compared to non-body conformal grids. Droplet spreading on a flat surface For the present simulations with IBM, capillary number based on the maximum magnitude of the spurious velocity in steady state is less than 2  10 À3 .It is in the same order as reported by Baltussen et al. (2014) for the stationary bubble test case (without IBM).So, the presence of immersed solid boundaries doesn't change the order of spurious velocities in the current coupled IBM-VOF implementation. Water flooding simulations In this section, we present pore-scale simulations of a water flooding process such as encountered in enhanced oil recovery.Flooding simulations of periodic body centered cubic (BCC) and face centered cubic (FCC) structures showcase the capabilities of the present method. Water flooding simulations The physical properties of an oil-water system are same as in Section 4.1.1.Initially the BCC and FCC structures are fully saturated with oil, as shown in Fig. 14.Flow parameters are chosen such that the Reynolds number Re ¼ q o U in D=l o and capillary number Ca ¼ l o U in =r defined with respect to the sphere diameter D and water inlet velocity U in are 1 and 0.01, respectively.A neutral (90°) static contact angle is used at the three phase contact line.Inlet and outlet boundary conditions are applied in the flow ðxÞ direction and periodic boundary conditions are applied in the cross-flow (y and z) directions.The domain size for BCC and FCC structures are ðn x ; n y ; n z Þ ¼ ð240; 60; 60Þ and ð288; 72; 72Þ, respectively, and chosen such that the number of grid cells across a sphere radius R is at least 25.Oil from the pores will be displaced as the inlet water front progresses and penetrates into the pores.The Simulations have been performed until a steady state is achieved.Fig. 14 shows the residual oil in the pores after the water flooding process through both BCC and FCC structures. Water flooding simulations To characterize the pore-scale water flooding process in detail, the amount of residual oil present in the porous bed is plotted as a function of dimensionless time s in Fig. 15.For this graph we use a representative fluid volume in the center of each bed that we will refer to as the 'pore' below (indicated in Fig. 16).The dimensionless time is defined as: s ¼ ðt À t 0 Þ=T, where t 0 is the time when water front enters the pore and T ¼ V pore =Q is the residence time scale with V pore and Q are the pore volume and volumetric flow rate, respectively.Note that V pore for the BCC and FCC structure is 8 3 ffiffi Water flooding simulations As shown in Fig. 15, the line AG represents the case where all the pore oil is displaced by the incoming water.This type of oil recovery is called ideal or piston-like recovery.In case of the FCC structure, the oil recovery plot AF almost coincides with the line AG and hence we observe almost piston-like oil recovery for the FCC structure with residual oil amounting to only 1.33% of V pore .However, in the case of the BCC structure, the oil recovery plot ABCDE is a blend of a few different processes.Segments AB and CD are not parallel to the ideal recovery line AG, which suggests that some amount of oil remains in the pore during AB and CD.For a brief period during BC, the slope is almost parallel to line AG which shows that the oil recovery process during BC is almost piston-like.The amount of oil in the BCC pore increases slightly through DE which corresponds to the retracement of oil from surroundings into the pore.The residual oil in the BCC pore is 38.01% of V pore at the end of the recovery process.For extra clarification, Fig. 16 shows subsequent images of the pore-scale water flooding process for the BCC and FCC structures at s ¼ 0; 0:25; 0:5; 0:75 and 1.Note that the oil-water interface makes 90°contact angle with the solid surface in all images. Water flooding simulations The packing factors of BCC and FCC structures are p ffiffi 3 p 8 % 0:6802 and p 3 ffiffi 2 p % 0:7404, respectively.Moreover, the number of solid spheres per pore are 2 and 4 for BCC and FCC structures respec- tively.So, FCC has a higher solid volume and twice the surface area per pore compared to the BCC structure.Thus, one might reason that the residual oil in case of FCC would be higher than BCC.However, the opposite behavior is observed, with the FCC structure showing almost a piston-like recovery whereas the residual oil for BCC is 38.01% of V pore .The main reason for this behavior is the difference in the minimum gap between spheres in the flow direction for the BCC ðS BCC Þ and FCC ðS FCC Þ structures, as shown in Fig. 16.This gap will govern the strength of the local velocity field in the pore and its higher value suggests a stronger local velocity in the pore.In case of higher local velocity, oil is less likely to be held within the pore.From a geometric calculation it can be shown that S BCC ¼ 2 ffiffi 3 p À 1 D % 0:1547D and S FCC ¼ ffiffiffi 2 p À 1 D % 0:4142D.As S FCC is quite high compared to S BCC , the water from the surrounding penetrates easily into the FCC pore compared to BCC and hence oil recovery is higher for FCC than BCC structure. Water flooding simulations It is also important to understand that S FCC and S BCC are dependent on the flow direction and for a different flow direction than the present case residual oil would be different.Thus, the porescale oil recovery is dependent on the flow direction.However, for large heterogeneous porous media (which oil reservoirs generally are) this directional effect would be statistically neutralized. Conclusions In this paper, a novel methodology is presented to numerically simulate multiphase flows through complex geometries, employing a finite volume methodology on a staggered grid.A second order, implicit, direct forcing and sharp interface immersed boundary method (IBM) is used to resolve the complex solid structure on a non-body conformal Cartesian computational grid.The fluid-fluid interface is tracked by a sharp interface and mass conservative volume of fluid (VOF) method.The volumetric surface tension force is numerically calculated using the continuum surface force (CSF) model, which is picked because of its simplicity and robustness especially with complex solid boundaries.Density scaling is used with the CSF model to reduce the parasitic currents.An apparent contact angle (static or dynamic) is applied as a boundary condition at the three-phase contact line in this coupled VOF-IBM framework to effectively reproduce contact line dynamics at macroscopic length scale. Conclusions Different test cases involving static and dynamic contact angles are simulated to validate the developed methodology.Simulation results match quite well with those obtained analytically or from literature.Pore-scale simulations of the water flooding process used for enhanced oil recovery (EOR) have been performed.The dynamics of oil-water flow through periodic body centered cubic (BCC) and face centered cubic (FCC) structures are simulated and the amount of residual oil is estimated.The present work provides a framework to further investigate the effect of Reynolds number, capillary number, contact angle/wettability, viscosity ratio, porosity etc. on the water flooding process.The developed methodology can also be extended for other EOR processes e.g.polymer or chemical flooding through complex porous structures. Fig. 1 . Fig. 1. 2D schematic representation of the fluid-fluid interface in contact with a solid surface in a Cartesian computational grid to illustrate implementation details. d = scalar (pressure/phase fraction) CV, j = x-velocity CV on the staggered grid and  = cell vertices.Interface between two fluids is piecewise linear according to the PLIC algorithm. Fig. 1 . (a)-(c) represents original fluid phase fraction F, extended fluid phase fraction and smoothed fluid phase fraction e F , respectively. Fig. 2 . Fig. 2. Stepwise evolution of fluid phase fraction field: (a) Original fluid phase fraction F, (b) extended fluid phase fraction and (c) smoothed fluid phase fraction e F . Fig. 3 . Fig. 3. Contact angle boundary condition implementation at solid boundaries.The fluid-fluid-solid contact line runs perpendicular to this figure. Fig. 4 . Fig.4.Schematic representation of the initial (-) and equilibrium (--) shapes of the a droplet on a flat surface with static contact angle without gravity ðEo ¼ 0Þ. Fig. 8 . Fig.8.Equilibrium droplet shapes and dimensionless droplet height ðh Ã Þ on a flat surface with Eötvös number: numerical results ðÃÞ, asymptotic solutions of Eq. (25) (-) and Eq.(28) (--). Fig. 7 . Fig. 7. Dimensionless pressure difference for a droplet on a flat surface in equilibrium without gravity ðEo ¼ 0Þ : DP analytical (-), DP0 (), DP partial ðÃÞ and DP total ðDÞ. Fig. 9 . Fig. 9. Schematic representation of the initial (left) and equilibrium (right) shapes of the a droplet on a spherical surface with static contact angle. Fig. 11 . Fig. 11.Dimensionless droplet parameters for the equilibrium shape of a droplet on a spherical surface: analytical height (-), numerical height ðÃÞ, analytical contact radius (--), numerical contact radius ðÞ. Fig. 12 . Fig. 12. Schematic representation of the initial (-) and equilibrium (--) states of the a droplet spreading on a flat surface with dynamic contact angle. Fig. 13 . Fig. 13.Dimensionless contact radius r à with dimensionless time s for Dynamic contact angle: present without IBM (-), present with IBM ðÂÞ, experiments by Lavi and Marmur (2004) ðÞ, simulations by Legendre and Maglio (2015) ðÁ Á ÁÞ and Static contact angle: present without IBM (--), present with IBM ðÃÞ. Fig. 14 . Fig. 14.Initial (top) and steady state (bottom) conditions for the pore-scale water flooding process through periodic BCC (left) and FCC (right) structures.Oil, water and solid spheres are represented by gray, transparent blue and brown color respectively.(For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.) Fig. 16 . Fig.16.Pore-scale water flooding process for BCC (left) and FCC (right) structures at s = 0, 0.25, 0.5, 0.75 and 1 (from top to bottom). 1 and 2 are BCC and FCC pores used for calculation of residual oil.SBCC and SFCC are the minimum pore gap in flow direction for BCC and FCC structures respectively. Fig. 16 . H.V. Patel et al. / Chemical Engineering Science 166 (2017) 28-41 Table 1 Geometrical and computational parameters used for the simulations of equilibrium shape of a droplet on a flat surface without gravity ðEo ¼ 0Þ. Table 2 Geometrical and computational parameters used for the simulations of equilibrium shape of a droplet on a spherical surface.

섹션 본문 89문단 · 51,142자

(제목 없음)

1h i g h l i g h t sWe present a 3D coupled VOF and sharp interface-implicit IBM for multiphase flows.Contact line dynamic is resolved by applying a contact angle boundary conditions.Extensive validation cases are presented for static and dynamic contact angles.The simulated contact line dynamics with and without using IBM are compared.Pore-scale water flooding process through BCC and FCC structures are presented.

Introduction

2Multiphase flows in complex geometries are encountered widely in nature and technology.Examples include enhanced oil recovery (EOR) (Alvarado and Manrique, 2010), trickle bed reactors (Herskowitz and Smith, 1983), microfluidics devices (Stone et al., 2004) and biological systems (Fauci and Gueron, 2001).

3Focusing on oil recovery, during the primary recovery process, oil comes out of the porous rocks automatically due to its own natural pressure.Gradually, the natural pressure of the oil reduces and the automatic flow of the oil stops.There is still a large amount of oil which remains trapped in the porous rocks.To recover this residual oil EOR processes are used.There is a wide variety of EOR processes available e.g.gas injection, thermal processes, water flooding, chemical flooding etc. and the choice is generally based on economy.In water flooding (Sheng, 2014) high pressure and/ or high temperature water is pushed through porous rocks to recover residual oil.Focus of the current work is to devise a methodology for pore-scale simulations of oil-water multiphase flows through complex rock structures during such a water flooding process.To serve this purpose, three different things need to be resolved: (i) oil-water multi-fluid interface tracking, (ii) interactions between fluids (oil and water) and complex solid geometries, and (iii) three-phase contact line dynamics.

4Accurate simulations of sharp interface multi-fluid flows are particularly difficult for the following reasons: (i) the fluid-fluid interface needs to be tracked accurately without introducing excessive computational smearing and (ii) accurate calculation of surface tension force is necessary in case of highly curved interfaces.A wide range of numerical methods has been developed and successfully applied to a variety of multi-fluid flow problems (Wörner, 2003).The front tracking (FT) method (Tryggvason et al., 2001) uses triangular shaped markers (in 3D) on the Lagrangian interface to track it.However, the Navier-Stokes equations are solved on a fixed Eulerian grid.Necessary information is exchanged between the Lagrangian interface markers and neighboring Eulerian grid cells for advection of the interface and computation of the surface tension force.This method is very accurate, but it requires dynamic remeshing of the interface markers.Also, interface breakup and coalescence is not automatic and it requires a proper sub-grid model to resolve them.The level set (LS) method (Sussman et al., 1994) defines the interface as the zero level set of a distance function from the interface.A numerical solution is found for the advection of this distance function.The LS method is conceptually simple and relatively easy to implement but it suffers from loss of mass in case of highly deformed interfaces.The volume of fluid (VOF) method (Hirt and Nichols, 1981;Youngs, 1982) uses a color function Fðx; y; z; tÞ which denotes the fractional amount of particular fluid present at spatial location ðx; y; zÞ at time t.Advection of F is governed by the same equation as for the LS method but it is solved by pseudo-Lagrangian geometrical advection schemes to minimize numerical diffusion.This particular feature makes VOF the most mass conservative among all multi-fluid interface tracking methods.Interface reconstruction is required for geometrical advection of F which is done by simple line interface calculation (SLIC) by Noh and Woodward (1976) or piecewise linear interface calculation (PLIC) by Youngs (1982).The accuracy of the PLIC algorithm is higher compared to SLIC and is used in the present work.A drawback of LS and VOF methods are that they produce numerical coalescence when two interfaces are less than one grid cell apart.The surface tension force (Baltussen et al., 2014) can be numerically calculated by the continuum surface force (CSF) model, height function model or tensile force model.The density-scaled CSF model proposed by Brackbill et al. (1992) is used here due to its simplicity and robustness especially in the presence of complex solid boundaries.

5Fluid-fluid interfaces in contact with solid boundaries produce a three-phase contact line and thus the contact line dynamics needs to be resolved in addition to solving interface motion.The contact line behavior is determined by microscopic physicochemical interactions between molecules of two different immiscible fluids and the solid substrate, and it can drastically affect the statics and dynamics of the bulk flow (Snoeijer and Andreotti, 2013).The result of these microscopic interactions at the contact line can be seen as an apparent contact angle on macroscopic length scales.Multiple attempts have been made to describe the effect of the contact line on macroscopic length scales by giving a single/static (Renardy et al., 2001) or dynamic (Dussan, 1979) value for apparent contact angle.An interesting review on simulations with moving contact lines is presented by Sui et al. (2014) where the main approach is to apply the apparent contact angle as a boundary condition at the grid cells located at the contact line.However, the majority of the available literature focuses on the numerical simulations of the contact line dynamics for simple solid geometries on a body conformal grid and still a significant amount of work is needed for complex solid geometries.

6The immersed boundary method (IBM) is a well-established computational technique which uses non-body conformal structured (mainly Cartesian) grids for simulating flow through com-plex geometries.The main advantages of IBM over the traditional unstructured body conformal grids are simplicity in grid generation and discretization of the Navier-Stokes equations, ease of code development, less memory requirement to store the grid information and higher computational efficiency.An excellent review is presented by Mittal and Iaccarino (2005) on the large variety of IBMs.The methods can be broadly classified in two categories: (i) continuous forcing approach, first proposed by Peskin (1972), where the no-slip condition at the immersed boundary (IB) is applied by introducing a continuous forcing function as a source term in the momentum equation and (ii) discrete (or direct) forcing approaches where the effect of the IB is imposed at the level of the discretized momentum equation.The direct forcing approach produces a sharp solid interface without spatial spreading.So, in the present work the direct forcing implicit IBM is used which is second order accurate, stable, easy to implement and does not require calibration of the geometry, which is useful for complex geometries.

7Very few attempts have been made to integrate multi-fluid interface tracking methods with IBMs to simulate multiphase flows with contact line dynamics through complex solid geometries.Deen et al. (2009) used the FT method with direct forcing IBM to simulate interactions of bubbles with a solid particle bed.However, contact line dynamics was not incorporated in their simulations.Suh and Son (2009) used the LS method to describe both fluid-fluid and fluids-solid interface (IB) to simulate a piezoelectric inkjet process.The VOF method with IBM was used by Sun and Sakai (2016) to simulate flow through a twin screw kneader, Washino et al. (2011) for a wet granulation process and Karagadde et al. (2012) for modeling motion and growth of dendrites in a solidifying melt.However, the effect of the IB is explicitly imposed by modifying the velocity using local solid fractions which produces a diffuse fluids-solid interface.

8In this paper, a methodology is presented to couple the VOF method with direct forcing, implicit and sharp interface IBM with contact line dynamics.The paper is organized as follows: First, we describe the governing Navier-Stokes and VOF advection equations for multiphase flows.Subsequently, numerical and implementation details are presented for the solution methodology, IBM, VOF and contact line dynamics.Next, an extensive validation of the current numerical model is reported for both static and dynamic contact angles.Last, we present our findings for numerical simulations of a water flooding process through periodic body centered cubic (BCC) and face centered cubic (FCC) structures and estimate the residual oil.

Governing equations

9For incompressible multiphase flows the Navier-Stokes equations can be combined into a single equation for the velocity field u in the entire domain, taking into account the effect of surface tension by a local volumetric surface tension force F r accounting for the presence of a curved deformable fluid-fluid interface.The governing mass and momentum conservation equations for unsteady, incompressible, Newtonian, multiphase flows are expressed as follows:

10where s ¼ l½ru þ ðruÞ T is the fluid stress tensor and g is the acceleration due to gravity.The local averaged density q and dynamic viscosity l depend on the local fluid phase distribution and hence are evaluated from the local phase fraction F between fluid phases.The volumetric surface tension force appearing in the momentum equation acts only in the vicinity of the interface.Advection of F is governed by the following equation:

11This equation expresses that the interface is advected with the local fluid velocity.To evaluate the local averaged density q, linear averaging of the densities of the fluid 1 ðF ¼ 1Þ and fluid 2 ðF ¼ 0Þ is used:

12Similarly, the local average dynamic viscosity l could also be evaluated by linear averaging of the dynamic viscosities of individual fluid phase.Alternatively, following a fundamental approach proposed by Prosperetti (2002), the local average kinematic viscosity is evaluated by harmonic averaging of the kinematic viscosities of the individual fluid phases:

13In all the computations reported in this paper, Eqs. ( 4) and ( 5) are used to evaluate the local average density and dynamic viscosity, respectively.

Numerical details

14In this section numerical details for the coupled VOF and IBM framework are presented.The section is divided into four main parts: (i) solution methodology focusing on discretization and numerical solution of the incompressible Navier-Stokes equations, (ii) IBM dealing with the dynamic interactions between fluids and non-deformable solids, (iii) VOF dealing with the dynamics of deformable fluid-fluid interface, and (iv) contact line dynamics dealing with the coupling of VOF and IBM by appropriate contact angle boundary condition.

Solution methodology

15In the current implementation, the finite volume method (FVM) is used to solve the mass and momentum conservation equations in each control volume (CV) of a staggered computational grid.The time-discretized form of the momentum equation is obtained as:

16where DV represents the volume of each CV, A and ŝ are surface area and outward pointing unit cell surface normal respectively, superscript k indicates the time index and C indicates the netconvective flux: C ¼ ðu Á ŝÞ u.A deferred correction method has been incorporated in the convection term, where both the first order upwind (FOU) scheme and total variation diminishing (TVD) minmod scheme are used to calculate the convection flux; the flux by the FOU scheme ðC FOU Þ is treated implicitly and, based on the higher order min-mod scheme, a correction is introduced ðC min -mod À C FOU Þ which is treated in an explicit manner.A second order accurate central difference scheme is used for discretizing diffusive terms.The volumetric surface tension force is treated explicitly and its discretization is explained in the subsequent section.Eq. ( 6) is solved by a fractional step method, where at the first-step the tentative velocity field u à is computed from:

17Here the stress tensor is split into an implicit part and an explicit part.In the momentum equation for each of the 3 directions (i.e., x; y or z), only the velocity component in the direction under consideration is treated implicitly, whereas the other velocity components are treated explicitly.For Eq. ( 7) we need to solve a set of linear equations.The enforcement of the no-slip boundary condition at the IB wall is handled at the level of discretization of the momentum equation which is detailed in the next section.We use a robust and efficient Block-Incomplete Cholesky Conjugate Gradient (B-ICCG) solver that is OpenMP-parallelized to solve the resulting sparse matrix for each velocity component.

18The velocity at the new time level k þ 1 can be obtained from:

19where dp ¼ p kþ1 À p k represents the pressure correction.Since u kþ1 needs to satisfy the continuity equation, the pressure Poisson equation is obtained as:

20which is again solved by the B-ICCG sparse matrix solver.The periodic boundary conditions for both velocity and pressure are taken care of during the flux calculation and treated implicitly in the sparse matrix solving steps.A detailed implementation of periodic boundary condition for pressure-velocity coupling is presented in Das et al. (2017).Note that the periodic boundary condition for the VOF method is applied in an explicit manner.

Immersed boundary method (IBM)

21An implicit (direct) second-order accurate IBM proposed by Deen et al. (2012) and described in details by Das et al. (2017) has been used to apply no-slip boundary conditions for fluidssolid interactions at immersed boundaries.Initially, all the cells are marked/flagged as either 'solid-cell' (cell-center inside the solid body) or 'fluid-cell' (cell-center in the fluid zone) in the staggered computational grid.'IB-cells' are a special type of fluid-cells, as they have at least one neighboring solid-cell.It is in these IBcells where the no-slip boundary condition is imposed as shown in Fig. 1.Note that because staggered positions are used for the velocity components, the CV is different for different components.Fig. 1 shows an example for the case of the x-component of the velocity.The algebraic form of the discretized momentum equation, Eq. ( 7), at the CV center c can be represented as:

22where / corresponds to one of the fluid velocity components and nb indicates the cell-center of surrounding neighboring cells.a represents the fluids-and geometry-dependent matrix coefficients and all the explicit terms are collected in b c .From the perspective a fluid-cell c, if one of the surrounding cells nb is a solid-cell, the no-slip condition is imposed by changing the central coefficient (a c ) and neighboring coefficient (a nb ) of Eq. ( 10).An example is given in Fig. 1, where a fluid-cell c is neighboring a solid-cell w.The value of / in the solid-cell is expressed as a linear combination of relevant fluid-cell values, in such a way that it satisfies the no-slip boundary condition at the solid surface (s).For this purpose a quadratic interpolation polynomial is used:

23r , where n is a non-dimensional distance from solid-cell w, as shown in Fig. 1.The values of the coefficients p; q and r are obtained from the known values of / at the solid boundary (/ ¼ 0 at n ¼ n s ) and the two nodes in the fluid (/ ¼ / c at n ¼ 1 and / ¼ / e at n ¼ 2).As a result we find the extrapolated value:

24where n s corresponds to the non-dimensional distance from the solid-cell to the point where the grid line intersects the solid boundary.The modified coefficients (â) for Eq. ( 10) become

25Note that Eq. ( 10) is also solved for solid-cells.To enforce zero velocity for the solid-cells, central coefficient (a c ) is modified to 1 and all other coefficients (i.e. a nb , b c ) to 0. For a complex geometry it is also possible that a fluid-cell near the immersed boundary has more than one neighbor lying inside a solid body.In that case the implementation details are more involved and readers are referred to Das et al. (2017).

Volume of Fluid (VOF)

26The VOF part of the simulation consists of three main subparts: (i) solution of fluid phase fraction F-advection equation, (ii) computation of the volumetric surface tension force, and (iii) smoothing of fluid phase fraction F.

Solution of fluid phase fraction F-advection equation

27The integration of the hyperbolic F-advection equation, Eq. ( 3), is the most critical part of the VOF model and is based on geometrical advection which can be viewed as a pseudo-Lagrangian advection step.The advantage of the geometrical advection is given by the fact that a sharp interface is maintained during the simulations.First, for each Eulerian cell containing an interface the unit normal vector n to the interface is estimated from the gradient of the fluid phase fraction F as

28In our model first the components of the normal vector are computed at the vertices of the Eulerian cell and then the cellcentered components are computed by averaging over the eight (four in 2D) surrounding vertices.An example is given for a 2D case in Fig. 1, where n at cell-center q is computed by averaging n over vertices 3, 4, 5 and 6.Note that the direction of n points from fluid 2 (F ¼ 0) towards fluid 1 (F ¼ 1).By combining the information of the normal direction in an Eulerian cell and its phase fraction F the PLIC surface cutting through the Eulerian cell is constructed.Here transformations of the coordinate system are applied to reduce the number of possible configurations of a PLIC surface from 64 to 5 generic configurations.These steps are described with all necessary geometrical and mathematical details by Van Sint Annaland et al. (2005).

29Note that F-advection is carried out for all fluid-cells.In presence of immersed boundaries the VOF method is no longer conservative as a small local mass error may occur due to the presence of partially filled cells at boundaries, which may further accumulate over time.If strict mass conservation is needed, we find the mass error after each time step and compensate for it by subtracting the mean mass error from each cell at the interface (i.e. cells where 0 < F < 1).We observed that this mass compensation does not have a significant influence on the overall flow dynamics.The procedure is similar to that used by Bunner and Tryggvason (2002) for the front-tracking method, Fujita et al. (2015) for the level set method and Sun and Sakai (2016) for the IBM-VOF method.It is important to emphasize that all the validation/verification test cases presented in Section 4.1 have been simulated without such mass compensation and the maximum mass error is merely in the order of 10 À3 % relative to initial mass.

Computation of the volumetric surface tension force

30In the density-scaled continuum surface force (CSF) model (Brackbill et al., 1992) the surface tension force acts via a source term F r in the momentum equation which only acts in the vicinity of the interface.The expression for F r is given by:

31where r is the coefficient of surface tension, n ¼ rF is the interface normal vector and q h iis the average density of the two fluid phases.

32The expression for the curvature j is obtained from the divergence of the unit normal vector to the interface:

33The normal to the interface is actually computed from the gradient of the smoothed phase fraction e F .So, the formulas above hold with n ¼ r e F .The smoothing technique used in this paper will be discussed in the next section.The density scaling used in the CSF model distributes the acceleration due to surface tension (i.e., F r =q) symmetrically across the interface while conserving the total surface tension force.This improves the stability of the numerical model by reducing the parasitic currents (Yokoi, 2014) especially for the case when there is a high density ratio between the two fluid phases.

Smoothing of fluid phase fraction F

34As indicated before, the interface orientation (i.e. the normal to the interface) is computed from the gradient of the fluid phase fraction F according to Eq. ( 13).Basically this involves numerical differentiation of a discontinuous function, leading to inaccuracies.This problem can be overcome by making use of a smoothed phase fraction e F for the computation of the unit interface normal, i.e. using Eq. ( 13) with F replaced by e F obtained from:

35Here the smoothing function D is given by the polynomial expression proposed by Deen et al. (2004) as follows:

36where h represents the width of the computational stencil used for the smoothing.We typically use h ¼ 2D where D is the Eulerian grid size, unless otherwise stated.The width of the computational stencil for the smoothing should be selected carefully.When the width is too small numerical instabilities may still arise, especially in the case where coefficient of surface tension is high.On the other hand when the width of the computational stencil is chosen too large, excessive smoothing (thickening) of the interface is obtained, which is undesirable.

37In presence of immersed boundaries, the smoothing stencil used for the fluid-cells near a boundary may contain some solidcells.However, solid-cells do not have any physical value of the fluid phase fraction F. To overcome this problem, F is extended in the solid region at any general contact angle using a method proposed by Sussman (2001).An 'extension' Eq. ( 18) in the form of advection Eq. ( 3) is solved for the solid region using an artificial extension velocity u extend and artificial timestep Ds.Note that this extension is carried out using the same pseudo-Lagrangian geometrical advection scheme used to advect F in the fluid region as described in Section 3.3.1.

38For all computations reported in this paper, extension is carried out up to 4 grid cells in the solid region using Ds ¼ 0:5D.Applying this method eliminates the need to modify the smoothing stencil for the fluid-cells near the immersed boundary while maintaining the continuity of e F across it.For more clarification, Fig. 2 For the diffuse interface treatment of the immersed boundary (Sussman, 2001), this procedure would also apply the contact angle boundary condition as the fluid forcing is continuous and spread over few grid cells across the immersed boundary.So, fluid-cells near the boundary can experience the surface tension force due to the interface curvature (governed by extended and smoothed phase fraction e F ) from solid region.However, in the present sharp IBM we have discontinuity at the immersed boundary between fluid and solid regions and hence contact angle boundary condition needs to be explicitly enforced as described in the subsequent section.

Contact line dynamics

39In presence of a fluid-fluid interface with immersed solids, contact line dynamics plays a major role in wetting-dewetting phenomena.It can be easily incorporated in the current framework of CSF model by applying the appropriate contact angle boundary condition at contact lines.The contact angle may have a single value (static) or different values (dynamic) depending upon the local contact parameters and fluid properties.The effect of the contact angle is taken into account by modifying the interface normals at the solid boundaries as follows:

40where h is the contact angle, ns is the unit solid surface normal pointing inside the solid as seen from the fluid and ts is the unit tangent which lies on the solid surface and is normal to both ns and the contact line as shown in Fig. 3. ns can be easily found analytically for simple shapes such as spherical or cylindrical surface.For more complicated geometries it follows from the surface mesh that describes it or can be computed using the solid fraction as proposed by Washino et al. (2011).The tangential unit vector, ts , can be found as in Fig. 1, In this case, the contact angle boundary condition is applied on all the vertices of the solid-cells which have at least one immediate neighbor in the fluid.In this way, the contact angle boundary condition is applied very close to the solid boundaries (if not exactly on it).Fig. 1 shows the solid-cell p has one of its neighbors q as a fluid-cell.So, the contact angle boundary condition is applied on all the vertices 1, 2, 3 and 4 of the solid-cell p.

41Contact line dynamics is a molecular phenomenon, which suggests that the macroscopic flow can be strongly affected by interactions at molecular scales between fluids and solid substrate (Snoeijer and Andreotti, 2013).It is essential to take into account the effect of this sub-grid phenomenon for macroscopic-grid modeling.Different theoretical and experimentally inspired models are available in the literature (consolidated by Saha and Mitra (2009)) and they differ in the approach taken to connect the molecular and macroscopic length scales.

42Apart from molecular scale phenomena, the flow field varies significantly on small (but macroscopic) distances from the contact line.When using a large grid size the flow field near the contact line is under resolved and also hydrodynamic phenomena should be accounted for in the model for the contact line dynamics.As we are interested in flows in complex porous geometries with low Reynolds Re and capillary Ca numbers, a model developed by Voinov (1976) and Cox (1986) has been adopted which links the dynamic contact angle h d with equilibrium contact angle h e using a slip length k and slip capillary number Ca cl as follows:

43where jU cl j is contact line velocity, i.e., the magnitude of the slip velocity parallel to the tangent direction ts which is found out using a density weighted average velocity u cl of the fluid nodes in the vicinity of the contact line.sgn dir signifies the direction of the contact line motion, with: sgn dir ¼ þ1 or À1 for advancing and receding contact lines, respectively.L is the macroscopic or grid length scale.

44For the slip length k, as observed by Lauga et al. (2007), we have taken a fixed value of k ¼ 10 À9 m in Eq. ( 21) for all the simulations reported in this paper.

Verification and validation

45The IBM implementation has been thoroughly tested by Das et al. ( 2017) for various cases.They validated their simulations with existing numerical and/or experimental results from literature.In 2D, they have considered a case of flow past a cylinder and validation has been performed for the non-dimensional drag and lift forces, unsteady vortex shedding frequency and length of the recirculation zone.In 3D, the case of flow past a sphere has been validated by comparing the non-dimensional drag force for Reynolds numbers as high as 500.Implicit implementation of the periodic boundary conditions for IBM has been validated for the case of flow past a simple cubic (SC) array of spheres by comparing the non-dimensional drag force for the Stokes flow regime with two different porosities.The IBM was found to be 2nd order accurate with an error less than 2% for 15 cells across the sphere diameter.They have also simulated the flow through periodic complex porous structures, i.e. an open cell foam for a wide range of porosities, and compared the obtained results with the well-known Carman-Kozeny and Ergun correlations.

46Van Sint Annaland et al. ( 2005) did an extensive validation of their 3D VOF model, starting from basic problems such as advection tests and the Laplace pressure difference across a curved fluid-fluid interface.They also investigated gas bubbles rising in quiescent viscous liquids and computed the terminal rise velocity and the shape of the rising bubble for high density and viscosity ratios.The obtained results agreed very well with the Grace diagram for a very wide range of Eötvös and Morton numbers.They also tested their model successfully for cases where the interface experiences substantial deformation, i.e. co-axial and oblique coalescence of two gas bubbles rising in a viscous liquid, and obtained good agreement with experimental results published in literature.Baltussen et al. (2014) performed bubble advection test with 30 grid cells across the bubble diameter and found the global mass error to be negligible ð10 À7 %Þ.

47In this section we present verification/validation test cases for the 3D VOF with contact line dynamics, both with and without IBM.To test the static contact angle boundary condition two problems are investigated: (i) the equilibrium shape of a droplet on a flat surface and (ii) the equilibrium shape of a droplet on a spherical surface.The simulations are compared with known analytical expressions.To check the dynamic contact angle boundary condition we investigate the problem of droplet spreading on a flat surface and compare the temporal evolution of dimensionless droplet contact radius with experimental and other numerical results available in literature.A grid dependence study for the same test case is shown in Appendix A. As our interest lies in oil-water flows through complex structures, oil-water systems are used for these simulations by default, unless otherwise specified.For all simulations reported in this paper, the time step Dt has been chosen such that it satisfies both Courant-Friedrichs-Lewy (CFL) and capillary criteria as follows:

48Here, Dt CFL and Dt r are the minimum required time steps according to the CFL and capillary criteria, respectively.D is the computational grid size and U max is the maximum fluid velocity in the computational domain.

Equilibrium shape of a droplet on a flat surface

49In this section, we investigate the equilibrium shape of an oil droplet in water on a flat surface with static contact angle h s .Physical properties of an oil-water system used for the simulations are as follows: water density q w ¼ 1000 kg=m 3 , water dynamic viscosity l w ¼ 0:001 Pa s, oil density q o ¼ 950kg=m 3 , oil dynamic viscos- The Eötvös number Eo, defined with respect to initial droplet radius R 0 , has been used to quantify the relative effect of gravitational force compared to surface tension force:

50First, simulations are performed for the case where gravity is absent ðEo ¼ 0Þ.Initially, the droplet is placed in the computational domain such that its center is at the distance equal to the initial droplet radius R 0 from the flat surface.In this condition, the droplet will just touch the flat surface.As the initial contact angle is different from the static contact angle, the droplet will spread until it reaches equilibrium.Schematic diagrams of the initial and equilibrium droplet shapes are presented in Fig. 4. All the geometrical and computational parameters used for the simulations are listed in Table 1.No-slip boundary conditions are applied at all computational domain boundaries.Note that the contact angle boundary condition is applied without the use of IBM, because the contact line is located on the lower (flat) boundary of the computational domain.As the total drop volume V ¼ 4 3 pR 3 0 is constant, all equilibrium shape parameters such as droplet contact radius r f , radius of curvature R f and height h f can be derived analytically according to the following relations:

51The droplet height h f and contact radius r f for the equilibrium shape have been found numerically and compared with the analytical results of Eqs. ( 25) and ( 26), respectively.The obtained numerical results show an excellent match with the analytical results, as shown in Fig. 5.The numerical and analytical equilibrium droplet shapes are compared in Fig. 6 which shows very satisfactory qualitative matching.Note that the numerical profiles are generated by computing the iso-contours of the smoothed phase fraction e F ¼ 0:5.The quantitative error in equilibrium droplet shape is defined by the mean difference as follows:

52where N is the number of points discretizing the interface.y e F ¼0:5 i and y analytical i the are numerical and analytical y-coordinate of the interface point whose x-coordinate is x e F ¼0:5 i .For the shapes shown in Fig. 6, the mean differences are 0.69%, 0.36%, 0.33%, 0.49% and 2.76% for h s ¼ 30 ; 60 ; 90 ; 120 and 150°respectively.

53As the CSF model distributes the volumetric surface tension force smoothly across the interface as per Eq. ( 14), one would expect the pressure distribution also to be smooth.However, in reality, a droplet would experience the Laplace pressure difference DP analytical ¼ 2r R f (in 3D) as a step function across the interface (at least at macroscopic scales).The expected value of DP analytical is compared with the numerical pressure difference (Fig. 7), evaluated in three different ways:

541. DP 0 : Pressure difference between the center of the droplet and boundaries of the simulation domain.This totally eliminates the effect of the interface distribution, because interface cells are excluded from the calculation.

5.

55Dimensionless droplet parameters for the equilibrium shape of a droplet on a flat surface without gravity ðEo ¼ 0Þ: analytical height (-), numerical height ðÃÞ, analytical contact radius (--), numerical contact radius (◯).Fig. 6.Analytical (-) and numerical (--) equilibrium droplet shapes on a flat surface without gravity ðEo ¼ 0Þ for static contact angles hs = 30°, 60°, 90°, 120°and 150°.

562. DP partial : Average pressure difference between the computational cells in regions for which 0:95 6 F 6 1:0 and regions for which 0:0 6 F 6 0:05.This will only have a partial effect of the interface distribution, because most of the interface cells ð0:05 < F < 0:95Þ are excluded from the calculation. 3. DP total : Average pressure difference between the computational cells in regions for which 0:5 6 F 6 1:0 and regions for which 0:0 6 F 6 0:5.This will have the full effect of the interface distribution, because all interface cells are included in the calculation.

57There are two main sources of error in the numerical calculation of the pressure difference across the interface: (i) Error due to the inaccuracy in numerical value of R f .Fig. 6 qualitatively shows that this error is highest in the case of h s ¼ 30 and (ii) as pressure varies smoothly across the interface, inclusion of computational cells from and near the interface in the calculation would reduce the numerical pressure difference across the interface.Fig. 7 reports on this behavior with DP 0 > DP partial > DP total .

58Last, we present the simulations to compute the equilibrium droplet shapes under the influence of gravity ðEo > 0Þ.Simulations have been performed for static contact angle h s ¼ 120 for a wide range of Eötvös numbers.The analytical equilibrium droplet shape for h s ¼ 120 without gravity (shown in Fig. 6) is taken as initial condition to reduce the computation time.The computational domain is divided in ðn x ; n y ; n z Þ ¼ ð300; 80; 300Þ grid cells in x; y and z direction, respectively, with a grid size D ¼ 2:5 Â 10 À5 m.Simulations have been performed with a time step Dt ¼ 5 Â 10 À6 s.No-slip boundary conditions are applied at all computational domain boundaries.At lower Eötvös numbers ðEo ( 1Þ the droplet maintains its original spherical cap shape as the surface tension forces are dominant and the droplet height in this case is controlled by Eq. ( 25).At higher Eötvös numbers ðEo ) 1Þ the droplet forms a puddle under the influence of gravity whose height is proportional to the capillary length scale and given by the following expression:

59Fig. 8 shows the equilibrium droplet shapes and dimensionless droplet height ðh Ã Þ for a wide range of Eötvös numbers.h à is defined as the ratio of the droplet height for a given Eötvös number to the droplet height without gravity ðEo ¼ 0Þ given by Eq. ( 25).The obtained results show an excellent agreement with two asymptotic solutions given by Eqs. ( 25) and ( 28).As expected, the transition between spherical cap and puddle is observed at Eo $ 1.

604.1.2.Equilibrium shape of a droplet on a spherical surface In this section, we simulate the equilibrium shapes of an oil droplet in water on a spherical surface with different static contact angles h s .The influence of gravity is not taken into account.The physical properties of the oil-water system are the same as used in Section 4.1.1.The radius of the solid sphere is the same as the initial radius of the droplet R 0 .

61Initially, the droplet is placed in the computational domain such that its center is at a distance equal to R 0 from the spherical surface.In this condition, the droplet will just touch the spherical surface.As the initial contact angle is different from the static contact angle, the droplet will spread until it reaches equilibrium.Schematic diagrams of the initial and equilibrium droplet shapes are presented in Fig. 9.As the total drop volume V ¼ 4 3 pR 3 0 is constant, the final equilibrium shape can be derived analytically by solving the following nonlinear equations:

62All the geometrical and computational parameters used for the simulations are listed in Table 2.Note that the contact line moves on the spherical surface which is modeled as an immersed boundary.Therefore the IBM implementation of the contact angle boundary condition is applied here.No-slip boundary conditions are applied at all computational domain boundaries as well as at the solid sphere boundary.Numerical and analytical equilibrium droplet shapes are presented in Fig. 10, which shows an excellent qualitative match.Mean differences in equilibrium droplet shape, defined by Eq. ( 27), are 1.35%, 1.03%, 0.78%, 0.57% and 1.57% for h s ¼ 30 ; 60 ; 90 ; 120 and 150°, respectively.The contact radius r f and the droplet height h f for the equilibrium shape have been found numerically and compared with analytical results of Eq. ( 30) and h f ¼ R f ð1 þ cos bÞ À R 0 ð1 À cos aÞ ð 32Þ respectively.The obtained numerical results have an excellent match with the analytical results, as shown in Fig. 11.This validates the coupled IBM-VOF implementation for static contact angles.

Droplet spreading on a flat surface

63In this section, we simulate the transient behavior of a squalene oil droplet in air spreading on a flat surface with a dynamic contact angle.Physical properties used for the simulations are: squalene oil density q sq ¼ 809 kg=m 3 , squalene oil dynamic viscosity l sq ¼ 0:034 Pa s, air density q a ¼ 1:2 kg=m 3 , air dynamic viscosity l a ¼ 2  10 À5 Pa s and air-oil surface tension r ¼ 0:032 N=m.Initially, a droplet with radius R 0 ¼ 0:001 m is placed on a flat surface such that its center is at the height h ¼ 0:95 R 0 from the flat surface.In this condition it has an initial contact radius of r 0 with the flat surface.The droplet will spread with dynamic contact angle h d until it reaches the equilibrium contact angle h e with the flat surface and in this condition the final contact radius is r f .Schematic diagrams of the initial and equilibrium droplet states are presented in Fig. 12. Simulations have been performed in absence of gravity with a grid size D ¼ 5  10 À5 m and time step Dt ¼ 5  10 À7 s.The Cox and Voinov model, given by Eq. ( 21), has been used to calculate the local h d using the value of h e ¼ 41:5 .Lavi and Marmur (2004) performed experiments for different liquids (including squalene oil) droplets spreading on a coated silicon wafer and gave the following relation for the temporal evolution of the contact area: where A f is the final value of the contact area, AðsÞ is the contact area at dimensionless time s ¼ rt=ðl sq V 1 3 Þ, and K and m are fitting parameters which depend on the spreading liquid.Legendre and Maglio (2015) performed 2D axisymmetric VOF simulations for the same test case with different h values (0:99R 0 ; 0:98R 0 and 0:95R 0 ) and showed that the droplet spreading is independent of its initial position for dimensionless contact radius r à defined as:

64In the present simulations, a flat surface is defined in two different ways: (i) as a body conformal computational domain boundary where the IBM implementation is not used, and (ii) as a non-body conformal IB plane passing though the computational domain where the IBM implementation is used to apply contact angle boundary condition.Fig. 13 shows the temporal evolution of r à with s for both cases with static and dynamic contact angles.The obtained results are compared with the experimental results of Lavi and Marmur (2004) and numerical results of Legendre and Maglio (2015).A significant difference has been observed between the spreading with dynamic and static contact angles.The total dimensionless spreading time for a dynamic contact angle is almost four times that for a static contact angle.The obtained results with a dynamic contact angle show a very satisfactory match with the results reported in literature.Note that there is a very small difference between the obtained results with and without IBM implementation for a static contact angle, while this difference is somewhat higher in the case of a dynamic contact angle.The reason is that spreading with a dynamic contact angle is greatly influenced by the magnitude of the contact line velocity jU cl j according to Eq. ( 21), and the numerical calculation of jU cl j is more accurate on body conformal grids compared to non-body conformal grids.

65For the present simulations with IBM, capillary number based on the maximum magnitude of the spurious velocity in steady state is less than 2 Â 10 À3 .It is in the same order as reported by Baltussen et al. (2014) for the stationary bubble test case (without IBM).So, the presence of immersed solid boundaries doesn't change the order of spurious velocities in the current coupled IBM-VOF implementation.

Water flooding simulations

66In this section, we present pore-scale simulations of a water flooding process such as encountered in enhanced oil recovery.Flooding simulations of periodic body centered cubic (BCC) and face centered cubic (FCC) structures showcase the capabilities of the present method.

67The physical properties of an oil-water system are same as in Section 4.1.1.Initially the BCC and FCC structures are fully saturated with oil, as shown in Fig. 14.Flow parameters are chosen such that the Reynolds number Re ¼ q o U in D=l o and capillary number Ca ¼ l o U in =r defined with respect to the sphere diameter D and water inlet velocity U in are 1 and 0.01, respectively.A neutral (90°) static contact angle is used at the three phase contact line.Inlet and outlet boundary conditions are applied in the flow ðxÞ direction and periodic boundary conditions are applied in the cross-flow (y and z) directions.The domain size for BCC and FCC structures are ðn x ; n y ; n z Þ ¼ ð240; 60; 60Þ and ð288; 72; 72Þ, respectively, and chosen such that the number of grid cells across a sphere radius R is at least 25.Oil from the pores will be displaced as the inlet water front progresses and penetrates into the pores.The Simulations have been performed until a steady state is achieved.Fig. 14 shows the residual oil in the pores after the water flooding process through both BCC and FCC structures.

68To characterize the pore-scale water flooding process in detail, the amount of residual oil present in the porous bed is plotted as a function of dimensionless time s in Fig. 15.For this graph we use a representative fluid volume in the center of each bed that we will refer to as the 'pore' below (indicated in Fig. 16).The dimensionless time is defined as: s ¼ ðt À t 0 Þ=T, where t 0 is the time when water front enters the pore and T ¼ V pore =Q is the residence time scale with V pore and Q are the pore volume and volumetric flow rate, respectively.Note that V pore for the BCC and FCC structure is 8 3 ffiffi

69As shown in Fig. 15, the line AG represents the case where all the pore oil is displaced by the incoming water.This type of oil recovery is called ideal or piston-like recovery.In case of the FCC structure, the oil recovery plot AF almost coincides with the line AG and hence we observe almost piston-like oil recovery for the FCC structure with residual oil amounting to only 1.33% of V pore .However, in the case of the BCC structure, the oil recovery plot ABCDE is a blend of a few different processes.Segments AB and CD are not parallel to the ideal recovery line AG, which suggests that some amount of oil remains in the pore during AB and CD.For a brief period during BC, the slope is almost parallel to line AG which shows that the oil recovery process during BC is almost piston-like.The amount of oil in the BCC pore increases slightly through DE which corresponds to the retracement of oil from surroundings into the pore.The residual oil in the BCC pore is 38.01% of V pore at the end of the recovery process.For extra clarification, Fig. 16 shows subsequent images of the pore-scale water flooding process for the BCC and FCC structures at s ¼ 0; 0:25; 0:5; 0:75 and 1.Note that the oil-water interface makes 90°contact angle with the solid surface in all images.

70The packing factors of BCC and FCC structures are p ffiffi 3 p 8 % 0:6802 and p 3 ffiffi 2 p % 0:7404, respectively.Moreover, the number of solid spheres per pore are 2 and 4 for BCC and FCC structures respec- tively.So, FCC has a higher solid volume and twice the surface area per pore compared to the BCC structure.Thus, one might reason that the residual oil in case of FCC would be higher than BCC.However, the opposite behavior is observed, with the FCC structure showing almost a piston-like recovery whereas the residual oil for BCC is 38.01% of V pore .The main reason for this behavior is the difference in the minimum gap between spheres in the flow direction for the BCC ðS BCC Þ and FCC ðS FCC Þ structures, as shown in Fig. 16.This gap will govern the strength of the local velocity field in the pore and its higher value suggests a stronger local velocity in the pore.In case of higher local velocity, oil is less likely to be held within the pore.From a geometric calculation it can be shown that S BCC ¼ 2 ffiffi 3 p À 1 D % 0:1547D and S FCC ¼ ffiffiffi 2 p À 1 D % 0:4142D.As S FCC is quite high compared to S BCC , the water from the surrounding penetrates easily into the FCC pore compared to BCC and hence oil recovery is higher for FCC than BCC structure.

71It is also important to understand that S FCC and S BCC are dependent on the flow direction and for a different flow direction than the present case residual oil would be different.Thus, the porescale oil recovery is dependent on the flow direction.However, for large heterogeneous porous media (which oil reservoirs generally are) this directional effect would be statistically neutralized.

Conclusions

72In this paper, a novel methodology is presented to numerically simulate multiphase flows through complex geometries, employing a finite volume methodology on a staggered grid.A second order, implicit, direct forcing and sharp interface immersed boundary method (IBM) is used to resolve the complex solid structure on a non-body conformal Cartesian computational grid.The fluid-fluid interface is tracked by a sharp interface and mass conservative volume of fluid (VOF) method.The volumetric surface tension force is numerically calculated using the continuum surface force (CSF) model, which is picked because of its simplicity and robustness especially with complex solid boundaries.Density scaling is used with the CSF model to reduce the parasitic currents.An apparent contact angle (static or dynamic) is applied as a boundary condition at the three-phase contact line in this coupled VOF-IBM framework to effectively reproduce contact line dynamics at macroscopic length scale.

73Different test cases involving static and dynamic contact angles are simulated to validate the developed methodology.Simulation results match quite well with those obtained analytically or from literature.Pore-scale simulations of the water flooding process used for enhanced oil recovery (EOR) have been performed.The dynamics of oil-water flow through periodic body centered cubic (BCC) and face centered cubic (FCC) structures are simulated and the amount of residual oil is estimated.The present work provides a framework to further investigate the effect of Reynolds number, capillary number, contact angle/wettability, viscosity ratio, porosity etc. on the water flooding process.The developed methodology can also be extended for other EOR processes e.g.polymer or chemical flooding through complex porous structures.

Fig. 1 .

74Fig. 1. 2D schematic representation of the fluid-fluid interface in contact with a solid surface in a Cartesian computational grid to illustrate implementation details. d = scalar (pressure/phase fraction) CV, j = x-velocity CV on the staggered grid and  = cell vertices.Interface between two fluids is piecewise linear according to the PLIC algorithm.

75(a)-(c) represents original fluid phase fraction F, extended fluid phase fraction and smoothed fluid phase fraction e F , respectively.

Fig. 2 .

76Fig. 2. Stepwise evolution of fluid phase fraction field: (a) Original fluid phase fraction F, (b) extended fluid phase fraction and (c) smoothed fluid phase fraction e F .

Fig. 3 .

77Fig. 3. Contact angle boundary condition implementation at solid boundaries.The fluid-fluid-solid contact line runs perpendicular to this figure.

Fig. 4 .

78Fig.4.Schematic representation of the initial (-) and equilibrium (--) shapes of the a droplet on a flat surface with static contact angle without gravity ðEo ¼ 0Þ.

Fig. 8 .

79Fig.8.Equilibrium droplet shapes and dimensionless droplet height ðh Ã Þ on a flat surface with Eötvös number: numerical results ðÃÞ, asymptotic solutions of Eq. (25) (-) and Eq.(28) (--).

Fig. 7 .

80Fig. 7. Dimensionless pressure difference for a droplet on a flat surface in equilibrium without gravity ðEo ¼ 0Þ : DP analytical (-), DP0 (), DP partial ðÃÞ and DP total ðDÞ.

Fig. 9 .

81Fig. 9. Schematic representation of the initial (left) and equilibrium (right) shapes of the a droplet on a spherical surface with static contact angle.

Fig. 11 .

82Fig. 11.Dimensionless droplet parameters for the equilibrium shape of a droplet on a spherical surface: analytical height (-), numerical height ðÃÞ, analytical contact radius (--), numerical contact radius ðÞ.

Fig. 12 .

83Fig. 12. Schematic representation of the initial (-) and equilibrium (--) states of the a droplet spreading on a flat surface with dynamic contact angle.

Fig. 13 .

84Fig. 13.Dimensionless contact radius r à with dimensionless time s for Dynamic contact angle: present without IBM (-), present with IBM ðÂÞ, experiments by Lavi and Marmur (2004) ðÞ, simulations by Legendre and Maglio (2015) ðÁ Á ÁÞ and Static contact angle: present without IBM (--), present with IBM ðÃÞ.

Fig. 14 .

85Fig. 14.Initial (top) and steady state (bottom) conditions for the pore-scale water flooding process through periodic BCC (left) and FCC (right) structures.Oil, water and solid spheres are represented by gray, transparent blue and brown color respectively.(For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)

Fig. 16 .

86Fig.16.Pore-scale water flooding process for BCC (left) and FCC (right) structures at s = 0, 0.25, 0.5, 0.75 and 1 (from top to bottom). 1 and 2 are BCC and FCC pores used for calculation of residual oil.SBCC and SFCC are the minimum pore gap in flow direction for BCC and FCC structures respectively.

87H.V. Patel et al. / Chemical Engineering Science 166 (2017) 28-41

Table 1

88Geometrical and computational parameters used for the simulations of equilibrium shape of a droplet on a flat surface without gravity ðEo ¼ 0Þ.

Table 2

89Geometrical and computational parameters used for the simulations of equilibrium shape of a droplet on a spherical surface.

참고문헌 41건

  1. Navier-Stokes Numerical Algorithms for Free-Surface Flow Computations: An Overview Courses and lectures · Springer Vienna · 2002 10.1007/978-3-7091-2594-6_8
  2. A compact introduction to the numerical modeling of multiphase flows Wissenschaftliche Berichte FZKA · 2003 10.5445/ir/270056199
  3. Proceedings of the Fifth International Conference on Numerical Methods in Fluid Dynamics June 28 – July 2, 1976 Twente University, Enschede Lecture notes in physics · Springer Science+Business Media · 1976 10.1007/3-540-08004-x
  4. Springer Handbook of Experimental Fluid Mechanics 2007 10.1007/978-3-540-30299-5
  5. SLIC (Simple Line Interface Calculation) Lecture notes in physics · Springer Science+Business Media · 1976 10.1007/3-540-08004-x_336
  6. Hydrodynamics of wetting Fluid Dynamics · Pleiades Publishing · 1976 10.1007/bf01012963
  7. Effect of dynamic contact angle in a volume of fluid (VOF) model for a microfluidic capillary flow Journal of Colloid and Interface Science · Elsevier BV · 2009 10.1016/j.jcis.2009.07.071
  8. Flow patterns around heart valves: A numerical method Journal of Computational Physics · Elsevier BV · 1972 10.1016/0021-9991(72)90065-4
  9. The dynamics of the spreading of liquids on a solid surface. Part 1. Viscous flow Journal of Fluid Mechanics · Cambridge University Press · 1986 10.1017/s0022112086000332
  10. Direct numerical simulation of flow and heat transfer in dense fluid–particle systems Chemical Engineering Science · Elsevier BV · 2012 10.1016/j.ces.2012.06.055
  11. A critical comparison of surface tension models for the volume of fluid method Chemical Engineering Science · Elsevier BV · 2014 10.1016/j.ces.2013.12.045
  12. Volume of fluid (VOF) method for the dynamics of free boundaries Journal of Computational Physics · Elsevier BV · 1981 10.1016/0021-9991(81)90145-5
  13. A density-scaled continuum surface force model within a balanced force formulation Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.08.034
  14. Moving Contact Lines: Scales, Regimes, and Dynamical Transitions Annual Review of Fluid Mechanics · Annual Reviews · 2013 10.1146/annurev-fluid-011212-140734
  15. Comparison between numerical models for the simulation of moving contact lines Computers & Fluids · Elsevier BV · 2014 10.1016/j.compfluid.2014.09.018
  16. A Level Set Approach for Computing Solutions to Incompressible Two-Phase Flow Journal of Computational Physics · Elsevier BV · 1994 10.1006/jcph.1994.1155
  17. The exponential power law: partial wetting kinetics and dynamic contact angles Colloids and Surfaces A Physicochemical and Engineering Aspects · Elsevier BV · 2004 10.1016/j.colsurfa.2004.04.079
  18. Numerical Simulation of Moving Contact Line Problems Using a Volume-of-Fluid Method Journal of Computational Physics · Elsevier BV · 2001 10.1006/jcph.2001.6785
  19. A Sharp-Interface Level-Set Method for Simulation of a Piezoelectric Inkjet Process Numerical Heat Transfer Part B Fundamentals · Taylor & Francis · 2009 10.1080/10407790902724552
  20. Direct simulation of drying colloidal suspension on substrate using immersed free surface model Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.10.042
  21. Enhanced Oil Recovery: An Update Review Energies · Multidisciplinary Digital Publishing Institute · 2010 10.3390/en3091529
  22. Critical review of low-salinity waterflooding Journal of Petroleum Science and Engineering · Elsevier BV · 2014 10.1016/j.petrol.2014.05.026
  23. A continuum method for modeling surface tension Journal of Computational Physics · Elsevier BV · 1992 10.1016/0021-9991(92)90240-y
  24. A coupled VOF–IBM–enthalpy approach for modeling motion and growth of equiaxed dendrites in a solidifying melt Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.02.001
  25. Direct numerical simulation of solid–liquid–gas three-phase flow: Fluid–solid interaction Powder Technology · Elsevier BV · 2010 10.1016/j.powtec.2010.07.015
  26. A Front-Tracking Method for the Computations of Multiphase Flow Journal of Computational Physics · Elsevier BV · 2001 10.1006/jcph.2001.6726
  27. Engineering Flows in Small Devices: Microfluidics Toward a Lab-on-a-Chip Annual Review of Fluid Mechanics · Annual Reviews · 2003 10.1146/annurev.fluid.36.050802.122124
  28. On the Spreading of Liquids on Solid Surfaces: Static and Dynamic Contact Lines Annual Review of Fluid Mechanics · Annual Reviews · 1979 10.1146/annurev.fl.11.010179.002103
  29. Trickle‐bed reactors: A review AIChE Journal · Wiley · 1983 10.1002/aic.690290102
  30. Microfluidics: The No-Slip Boundary Condition Springer eBooks · Springer Nature · 2007 10.1007/978-3-540-30299-5_19
  31. Dynamics of homogeneous bubbly flows Part 1. Rise velocity and microstructure of the bubbles Journal of Fluid Mechanics · Cambridge University Press · 2002 10.1017/s0022112002001179
  32. Direct numerical simulation of complex multi-fluid flows using a combined front tracking and immersed boundary method Chemical Engineering Science · Elsevier BV · 2009 10.1016/j.ces.2009.01.029
  33. Numerical Simulations of Flows with Moving Contact Lines Annual Review of Fluid Mechanics · Annual Reviews · 2013 10.1146/annurev-fluid-010313-141338
  34. IMMERSED BOUNDARY METHODS Annual Review of Fluid Mechanics · Annual Reviews · 2005 10.1146/annurev.fluid.37.061903.175743
  35. Multi-scale modeling of dispersed gas–liquid two-phase flow Chemical Engineering Science · Elsevier BV · 2004 10.1016/j.ces.2004.01.038
  36. Drop-Surface Interactions Courses and lectures · Springer Vienna · 2002 10.1007/978-3-7091-2594-6
  37. Numerical simulation of gas bubbles behaviour using a three-dimensional volume of fluid method Chemical Engineering Science · Elsevier BV · 2005 10.1016/j.ces.2005.01.031
  38. Numerical simulation of two-phase flows in complex geometries by using the volume-of-fluid/immersed-boundary method Chemical Engineering Science · Elsevier BV · 2015 10.1016/j.ces.2015.09.031
  39. An Adaptive Mesh Algorithm for Free Surface Flows in General Geometries Chapman and Hall/CRC eBooks · Informa · 2001 10.1201/9781420035612-10
  40. Immersed boundary method (IBM) based direct numerical simulation of open‐cell solid foams: Hydrodynamics AIChE Journal · Wiley · 2016 10.1002/aic.15487
  41. Time-Dependent Multi-Material Flow with Large Fluid Distortion 1982