Pore-Scale Level Set Simulations of Capillary-Controlled Displacement with Adaptive Mesh Refinement
- 55 Downloads
Multiphase flow simulations on imaged porous rock structures require numerical methods that are accurate and robust when applied on complex geometries. A key element in this context is to investigate how simulations behave under grid refinement. In this work, we couple an existing software for structured adaptive mesh refinement (AMR) and parallelism to a previously developed level set method for capillary-controlled displacement on the pore scale. The level set method accounts for wettability by using different evolution velocities in pore and solid space rather than implementing it as a boundary condition on the pore walls. We perform simulations with up to three nested refinement levels on idealized pore geometries to validate the AMR technology. Based on simulations, we identify suitable cell refinement criteria for our applications. We demonstrate effects of AMR in simulations relevant for drainage in porous media, such as in the computation of capillary entry pressures in pore throats with different shapes and wetting states, and obtain excellent agreement with analytic results. Finally, we investigate the effects of AMR during simulation of quasi-static drainage on sandstone. The comparison of capillary equilibrium fluid configurations, capillary pressure, and specific fluid/fluid interfacial area–saturation relationships for drainage with and without AMR shows differences that diminish for less water-wet states. The general behavior is that the capillary pressure and interfacial area for a given saturation increase in simulations with AMR. The largest deviation occurs for small water saturations, suggesting AMR can be an important component in simulation tools to describe more accurately capillary behavior in the low water saturation regime where interface curvature is high.
KeywordsAdaptive mesh refinement Level set method Capillary pressure Wettability Rock image
Financial support was provided by the Research Council of Norway under Petromaks2 project 234131/E30 “Three-phase capillary pressure, hysteresis, and trapping in mixed-wet rock” and ConocoPhillips through the research center COREC. Maša Prodanović acknowledges support from NSF EAR CAREER Grant 1255622. The computations (Sects. 4–6) were performed on resources provided by UNINETT Sigma2—the National Infrastructure for High Performance Computing and Data Storage in Norway. We acknowledge PRACE for awarding us access to MareNostrum 4 at Barcelona Supercomputing Center (BSC), Spain, which made it possible to explore scaling behavior of our code with a large number of CPUs (Appendix A). Rahul Verma (UT Austin) provided the sphere pack pore geometry files used in Sect. 5.1.
- Adams, M., Colella, P., Graves, D.T., Johnson, J.N., Johansen, H.S., Keen, N.D., Ligocki, T.J., Martin, D.F., McCorquodale, P.W., Modiano, D., Schwartz, P.O., Sternberg, T.D., Van Straalen, B.: Chombo software package for AMR applications—design document. Technical Report LBNL-6616E, Computational Research Division, Lawrence Berkeley National Laboratory, Berkeley, CA (2015)Google Scholar
- Ahrenholz, B., Tölke, J., Lehmann, P., Peters, A., Kaestner, A., Krafczyk, M., Durner, W.: Prediction of capillary hysteresis in a porous material using lattice-boltzmann methods and comparison to experimental data and a morphological pore network model. Adv. Water Resour. 31, 1151–1173 (2008)CrossRefGoogle Scholar
- Alpak, F., Samardžić, A., Frank, F.: A distributed parallel direct simulator for pore-scale two-phase flow on digital rock images using a finite difference implementation of the phase-field method. J. Pet. Sci. Eng. 166, 806–824 (2018). https://doi.org/10.1016/j.petrol.2017.11.022 CrossRefGoogle Scholar
- Anderson, R.W., Arrighi, W.J., Elliott, N.S., Gunney, B.T., Hornung, R.D.: SAMRAI concepts and software design. Technical Report LLNL-SM-617092-DRAFT, Center for Applied Scientific Computing (CASC), Lawrence Livermore National Laboratory, Livermore, CA (2013)Google Scholar
- Baden, S.B., Chrisochides, N.P., Gannon, D.B., Norman, M.L.: Structured Adaptive Mesh Refinement (SAMR) Grid Methods. Springer, New York, NY (1999)Google Scholar
- Bear, J., Bachmat, Y.: Mass transport of multiple fluid phases under isothermal conditions. In: Introduction to Modeling of Transport Phenomena in Porous Media. Theory and Applications of Transport in Porous Media, vol. 4, pp. 327–398. Springer, Dordrecht (1990) https://doi.org/10.1007/978-94-009-1926-6_5
- Berg, S., Ott, H., Klapp, S.A., Schwing, A., Neiteler, R., Brussee, N., Makurat, A., Leu, L., Enzmann, F., Schwartz, J.O., Kersten, M., Irvine, S., Stampanoni, M.: Real-time 3D imaging of Haines jumps in porous media flow. Proc. Natl. Acad. Sci. USA 110, 3755–3759 (2013). https://doi.org/10.1073/pnas.1221373110 CrossRefGoogle Scholar
- Childs, H., Brugger, E., Whitlock, B., Meredith, J., Ahern, S. Pugmire, D., Biagas, K., Miller, M., Harrison, C., Weber, G.H., Krishnan, H., Fogal, T., Sanderson, A., Garth, C., Bethel, E., Camp, D., Rübel, O., Durant, M., Favre, J., Navrátil, V.: VisIt: An end-user tool for visualizing and analyzing very large data. In: High Performance Visualization—Enabling Extreme-Scale Scientific Insight, pp. 357–372 (2012)Google Scholar
- Hornung, R.D., Kohn, S.R.: Managing application complexity in the SAMRAI object-oriented framework. Concurr. Comput. Pract. Exp. 14, 347–368. http://www.llnl.gov/CASC/SAMRAI] (2002)
- Lin, Q., Bijeljic, B., Rieke, H., Blunt, M.J.: Visualization and quantification of capillary drainage in the pore space of laminated sandstone by a porous plate method using differential imaging X-ray microtomography. Water Resour. Res. 53, 7457–7468 (2017). https://doi.org/10.1002/2017WR021083 CrossRefGoogle Scholar
- Sheppard, A., Schroeder-Turk, G.: Network Generation Comparison Forum [Data set]. Digital Rocks Portal (2015). https://doi.org/10.17612/P7059V