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

POREMAPS: A finite difference based Porous Media Anisotropic Permeability Solver for Stokes flow

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (18) VENT(방수통기 부품)

기본 정보

저자
  1. David Krach
  2. Matthias Ruf
  3. Holger Steeb
DOI
10.69631/ipj.v2i1nr39
저널
InterPore journal.
발행년도
2025
발행기관
InterPore
피인용수
2
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.69631/ipj.v2i1nr39
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W4408058457

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Porous Media, Permeability, Stokes flow, Membranes, Microfluidic
판단 근거
이 논문은 다공성 매질(Porous Media) 내의 유체 흐름과 투과율(Permeability)을 계산하는 수치 해석 알고리즘을 다룹니다. 이는 코오롱인더스트리의 수소연료전지용 중공사막(5)이나 방수통기용 멤브레인(18)의 미세 구조 내 유체 거동 및 성능을 모델링하는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
수소연료전지용 중공사막이나 방수통기 멤브레인의 미세 기공 구조에 따른 가스/수증기 투과 성능을 예측하고 최적화하는 시뮬레이션 모델링에 활용 가능합니다.
평가 입력
본문 92,998자 중 30,032자 발췌

초록

Porous materials are ubiquitous in various engineering and geological applications, where their permeability plays a critical role in viscous fluid flow and transport phenomena. Understanding and characterizing the microscale properties, the effective hydraulic parameters, and also the anisotropy of porous materials are essential for accurate modeling and predicting fluid flow behavior. The study pursues the Digital Rock Physics approach to retrieve intrinsic permeability and its evolution in anisotropic configurations of porous media, which are subjected to pore space alterations. Therefore, we discuss the development and implementation of a computational framework based on the finite difference method to solve the pseudo-unsteady Stokes equations for fluid flow on the pore scale. We present an efficient and highly parallelized implementation of this numerical method for large voxel-based data sets originating from different image-based experimental setups. A comprehensive variety of benchmarks has been conducted to assess and evaluate the performance of the proposed solver. The solver's compatibility with huge domain sizes generated by state-of-the-art imaging techniques is demonstrated. We investigate an open-cell foam undergoing deformation, observing that contrary to initial expectations, no anisotropy emerges. Further, we examine a microfluidic cell experiencing precipitation within its pore space, resulting in clear anisotropic development during the clogging process.

본문 92,998자

본문 펼치기
## POREMAPS: A finite difference based Porous Media Anisotropic Permeability Solver for Stokes flow David Krach <sup>1,2</sup>, Matthias Ruf <sup>1</sup>, and Holger Steeb <sup>1,2</sup> 1University of Stuttgart, Institute of Applied Mechanics (CE), Pfaffenwaldring 7, 70569 Stuttgart, Germany. 2University of Stuttgart, Stuttgart Center for Simulation Science, Pfaffenwaldring 5A, 70569 Stuttgart, Germany. July 30, 2024 ### Abstract Porous materials are ubiquitous in various engineering and geological applications, where their permeability plays a critical role in viscous fluid flow and transport phenomena. Understanding and characterizing the microscale properties, the effective hydraulic parameters, and also the anisotropy of porous materials are essential for accurate modeling and predicting fluid flow behavior. The study pursues the Digital Rock Physics approach to retrieve intrinsic permeability and its evolution in anisotropic configurations of porous media, which are subjected to pore space alterations. Therefore, we discuss the development and implementation of a computational framework based on the finite difference method to solve the pseudo-unsteady Stokes equations for fluid flow on the pore scale. We present an efficient and highly parallelized implementation of this numerical method for large voxel-based data sets originating from different image-based experimental setups. A comprehensive variety of benchmarks has been conducted to assess and evaluate the performance of the proposed solver. The solver’s compatibility with huge domain sizes generated by state-of-the-art imaging techniques is demonstrated. We investigate an open-cell foam undergoing deformation, observing that contrary to initial expectations, no anisotropy emerges. Further, we examine a microfluidic cell experiencing precipitation within its pore space, resulting in clear anisotropic development during the clogging process. _Keywords—_ Pore-scale resolved modeling, Digital Rock Physics, Permeability, FDM, Anisotropy, X-Ray Comupted Tomography (XRCT) ### 1 Introduction Experimental investigations and numerical simulations of fluid flow through porous materials with a large variety of hydro-mechanical properties are of interest in many fields such as hydrosystems modeling, groundwater flow and contaminant transport (Bear & Verruijt, 1987; Helmig, 1997), oil reservoir exploitation (Aziz & Wong, 1989; Cantisano et al., 2013) and industrial applications like membranes for water desalination (Thomas & Corry, 2016). The majority of all investigations operate at the macro, i.e., Darcy scale, and use a coarse-grained continuum theory, which means that individual pore geometries are not physically resolved. Further, the correlation between viscous fluid flow and corresponding driving force is assumed to be linear. Porosity _ϕ_ and the intrinsic permeability tensor k = _kij_ e _i_ _⊗_ e _j_ serve as input parameters for these models. Regimes where the components of the permeability tensor _kij_ do not linearly depend on the driving force are denoted as non-Darcian and are beyond the scope of this contribution. In general, _ϕ_ and effective hydraulic properties like k of the porous material are highly sensitive to the distinct porous microstructure. This work primarily centers on the assessment and determination of the intrinsic permeability tensor k . There are numerous experimental, semi-analytical and numerical methodologies for permeability determination documented in the literature. Given the expense and complexity of flow experiments and their limitations, and the limited applicability of semi-analytical models it is preferable to assess these parameters with computer simulations. Advances in three-dimensional (3D) imaging techniques like micro X-Ray Computed Tomography (µXRCT) and the meanwhile widespread availability of appropriate devices (Withers et al., 2021; Wildenschild, Vaz, Rivers, Rikard, & Christensen, 2002; Wildenschild & Sheppard, 2013; Ruf & Steeb, 2020) allow to fully resolve 3D pore geometries at high-resolution and allow for the flow problem to be solved directly at the pore scale for many porous materials (Blunt et al., 2013). Moreover, two-dimensional (2D) data, e.g., generated from images of microfluidic experiments acquired by optical microscopy, extended in the third spatial direction can provide further input data (Hommel, Gehring, Weinhardt, Ruf, & Steeb, 2022; Weinhardt, Deng, Hommel, et al., 2022). Deformation of the pore space or precipitation and a corresponding decrease in porosity have a direct influence on hydro-mechanical properties of a material. Certainly, the process of experimentally determining anisotropic permeability in the course of an experiment is inherently intricate. Acquiring the complete permeability tensor k is mostly impossible. Nonetheless, this investigation is particularly significant due to the non-trivial implications of deformation or precipitation on the principal directions of hydraulic properties or the material’s anisotropic characteristics. In the literature, numerical solvers are applied to porous materials undergoing changes in pore space, cf. for geochemical alteration like calcite precipitation (Noiriel, Steefel, Yang, & Bernard, 2016), carbonate precipitation for carbon capture and storage applications (Jiang & Tsuji, 2014) or external strain causing deformation (Bakhshian & Sahimi, 2016; Hilliard, Evans, & Peszynska, 2024). Another field of interest is the benchmark of specially designed materials whereby the permeability can be controlled via the manufacturing parameters on Al-Cu alloys (Bernard, Øyvind Nielsen, Salvo, & Cloetens, 2005). Due to the limitations of experimentally viable boundary conditions, e.g. undrained boundary conditions along the cylinder of the sample in conventional triaxial cells, a priori assumption has to be made for the orientation of principal directions of k . The utilization of the aforementioned imaging techniques combined with computer simulations provides a way for achieving this in a systematic way while circumventing any a priori assumption. However, in order to determine changes in anisotropy or computing porosity-permeability relationships, for example, many data points and correspondingly many individual simulations are required. While various numerical methods like Finite Element Method (FEM) (Borujeni, Lane, Thompson, & Tyagi, 2013; Chareyre, Cortis, Catalano, & Barth´elemy, 2012), Finite Volume Method (FVM) (Chareyre et al., 2012; Liao et al., 2024) and Lattice-Boltzmann Methods (LBM) (Borujeni et al., 2013; Liu, Pereira, & Regenauer-Lieb, 2014), Smoothed Particle Hydrodynamics (SPH)(Osorno et al., 2021; Tartakovsky et al., 2016; Holmes, Williams, Tilke, & Leonardi, 2016) or Pore Network Modeling (PNM) (Dong & Blunt, 2009; Piovesan, Achille, Ameloot, Nicolai, & Verboven, 2019; Blunt, 2017) have been employed to simulate pore-scale fluid flow, each method comes with its own set of limitations and advantages. In this work, we present an efficient and reliable solver for the Stokes equations by implementing a Finite Difference Method (FDM) based algorithm. In terms of numerical efficiency, the solver is tuned for voxel-based cartesian grids as directly obtained from image-based characterization methods like XRCT or microfluidics. It stands out as a versatile and well-established choice due to its straightforward implementation and suitability for complex geometries (Peyret & Taylor, 1983; Bentz & Martys, 2007; Gerke et al., 2018; Lemaitre & Adler, 1990; Adler, Jacquin, & Quiblier, 1990). In addition, FDM is a simple approach in terms of the algorithm, has advantages when using regular grids, and can be effectively parallelized due to its local nature. The objective is to develop a resilient and modular open-source tool that advances our comprehension of fluid flow at the pore-scale and addresses the issue of evolving anisotropies in porous media under varying conditions. The software tool should be able to handle state-of-the-art data sets from XRCT scans (up to 2000 <sup>3</sup> voxels) on various computing architectures and should allow for further extensions. Besides research codes which do not allow for further extensions (only executable of the software available (Gerke et al., 2018)) or commercial solvers such as GeoDict (Math2Market GmbH, 2023), there are common opensource packages such as OpenFoam, e.g. used in Icardi, Boccardo, Marchisio, Tosco, and Sethi (2014); Guibert, Horgue, Debenest, and Quintard (2016), which are extremely flexible but therefore not tuned for the mentioned demands. Others, like the tool from the National Institute for Standards and Technology (Bentz & Martys, 2007) which is written in Fortran, are not multi-node parallelized. The rationale behind developing a new solver, despite the existence of current solutions, is multilayered. We present a FDM solver, exclusively dependent on the Message Passing Interface (MPI), that is fully open source and platform independent and works directly on binarized data sets which essentially is an important tool in porous media research. Moreover, its full integration into existing experimental setups streamlines the research process, promoting a more cohesive and comprehensive approach to investigate complex phenomena. Since large domains (state-of-the-art XRCT data-sets comprise up to 10 <sup>9</sup> –10 <sup>10</sup> voxels) have to be simulated, in combination with several snapshots for time-resolved investigations, the efficiency and performance as well as the simplicity of the presented FDM solver is the main focus. The code is written in procedural, functional C++ and is parallelized with the MPI to run on multi-node, multi-core CPU systems. For these reasons, in addition to the permeability determination derivation (Sec. 2), the mathematical basics (Sec. 3), and the numerical principles (Sec. 4), it is particularly important for us to address the implementation and technical aspects (Sec. 5) as well as to provide a detailed validation against various benchmark cases (Sec. 6). In Sec. 7, we demonstrate the developed solver to investigate two distinct materials characterized by alterations in their pore space. These alterations are anticipated to result in changes not only in the magnitude of the permeability but also in the permeability anisotropy ratio. Specifically, our study focuses on an open-cell foam, which defies expectations by not exhibiting anisotropy as it undergoes deformation. Additionally, we investigate a porous micro-structure exposed to mineral precipitation and subsequently clogging, revealing a development of anisotropy that is notably influenced by the boundary conditions of the underlying experiment. ### 2 Permeability tensor and principal permeabilities Permeability is defined as a proportionality factor between pressure gradient across the examined sample and fluid fluxes (grad _p_ _∝_ q ). For homogeneous materials, that are known to have isotropic material behavior a scalar value is used for the hydraulic permeability. Intrinsic permeability quantifies viscous losses in continuum-based Darcy-type models. In the generic case, the effective permeability k is a second order tensor   e _i ⊗_ e _j_ (1) k = _kij_ e _i ⊗_ e _j_ =  _k_ 11 _k_ 12 _k_ 13  _k_ 21 _k_ 22 _k_ 23 _k_ 31 _k_ 32 _k_ 33 where _kij_ are the components and the cartesian basis vectors e _i_ build the tensorial basis through its dyadic product. Bold notation is employed to represent tensors and vectors, with the implicit assumption that equations in index notation abide by Einstein’s summation convention. The coefficient matrix is symmetric and positive definite (Bear, 1988; Scheidegger, 1957). In contrast to the experimental determination of permeability, the numerical approach is capable of computing secondary diagonal elements of _kij_, which is required for a complete hydraulic characterization. Solving the characteristic polynomial det ( k _−_ _λ_ I ) = 0 for the eigenvalues _λi_ (also referred to principal permeabilities _kI_, _kII_, _kIII_ ) we obtain the permeability tensor in its spectral form k = 3 _i_ =1 _λi_ ˜ e _i ⊗_ e ˜ _i,_ (2) expressed in a basis system with the principle axes e ˜ _i_, that are computed by solving ( k _−_ _λi_ I ) _·_ ˜ e _i_ = 0 . I is the second order identity tensor. The orientation of the principal axes with respect to the basis system e _i_ is computed via the rotation tensor R = _Rik_ ( e _i ⊗_ e _k_ ) whereby e ˜ _i_ = R _·_ e _i_ and _Rki_ = cos ∢ ( e _k,_ ˜ e _i_ ) hold. Determining the principal permeabilities enables categorization of the material into one of the following classes: 1. Isotropy : _kI_ = _kII_ = _kIII_ Same hydraulic properties in all three principal directions. 2. Orthotropy : _kI̸_ = _kII_ _∧_ _kI̸_ = _kIII_ _∧_ _kII̸_ = _kIII_ Unique and independent hydraulic properties in three mutually perpendicular directions. 3. Transverse anisotropy : _kI̸_ = _kII_ = _kIII_ _∨_ _kI_ = _kII̸_ = _kIII_ _∨_ _kI_ = _kIII̸_ = _kII_ Same hydraulic properties in one plane. Thus, there are two independent constants in the permeability tensor. Typical examples of this material class are wood, unidirectional fiber composites or sedimentary sandstones. ### 3 Governing equations on the pore scale Pore scale refers to the length scale at which individual pores and their geometrical features, such as pore size and shape, are significant. At this scale, the fluid flow pattern is strongly influenced by the morphology of the pores, as well as the viscous momentum interactions between the fluid phase and the solid skeleton. Pore scale simulations are used to study fundamental aspects of porous media flow as well as the determination of properties, used in coarse-grained Darcy scale methods. We are interested on solving for intrinsic effective permeability and therefore consider solving fluid flow at stationary creeping flow conditions. Accordingly, the following applies for the Reynolds number Re = <sup>_<u>ρ</u>_</sup> <sup><u>0 V L</u></sup> _<_ 1 (3) _µ_ [ _−_ ] _,_ and the fundamental equations to be solved are the Stokes equations consisting of the balance of linear momentum for an incompressible Newtonian fluid (Peyret & Taylor, 1983) 0 = _µ_ div(grad v ) _−_ grad _p_ (4) and the balance of mass div v = 0 (5) where _ρ_, _ρ_ 0, v, _µ_, _p_, V, L are the fluid density, the rest density of the fluid, fluid velocity vector, (constant) dynamic viscosity of the fluid, pore fluid pressure and the characteristic velocity and length, respectively. No body force is used. In porous media L is assumed as the characteristic (mean) pore diameter and V is calculated from the applied/measured flux q . In addition to characteristic properties, indicated by notation in script typestyle, to scale physical quantities we denote dimensionless variables and operators by ( _•_ ) <sup>_∗_</sup> . It is well known that solving Eqs. (4) and (5) causes problems due to the special role of pressure. Therefore, this set of governing equations is extended with an artificial time derivative and a so-called pseudo-unsteady method is used (Peyret & Taylor, 1983). In this manner, for the numerical implementation, we do not fulfill the incompressibility condition as an algebraic constraint. Instead a artificial compressibility formulation will considered with an equation of state for the fluid pressure _p_ ( _ρ_ ). Hence, we obtain for the nondimensional equations to be solved _ρ_ <sup>_∗_</sup> ( v _∗_ <sup>_∗_</sup> ) <sup>_·_</sup> = <sup><u>1</u></sup> Re _∗_ div _∗_ grad ( v <sup>_∗_</sup> ) _−_ _∗_ grad( _p_ <sup>_∗_</sup> ) and _∗_ _∗_ ( _p_ <sup>_∗_</sup> ) <sup>_·_</sup> = _−c_ <sup>_∗_</sup> <sup>2</sup> div( v <sup>_∗_</sup> ) _,_ (6) where _c_ <sup>_∗_</sup> is the dimensionless speed of sound also referred to artificial compressibility parameter. This numerical approach solves the steady-state Stokes equations by transforming them into a pseudo-time dependent problem which is feasible when dealing with low Reynolds number fluid flows in porous media. It provides a computationally efficient alternative to directly solving the steady-state equations and it can be shown that the solution converges for _t →∞_ to the steady-state solution of the original problem (Chorin, 1967; Gerke et al., 2018; Peyret & Taylor, 1983). The detailed nondimesionalization with introduction of all quantities, dimensionless differential operators and constitutive equations can be found in Appendix A. ### 4 Finite difference scheme for Stokes equations Simulation parametrization: We introduce the reference length L = 1 vx (voxel) and the reference velocity V = <u>1vxs</u> <sup>.</sup> <sup>As</sup> <sup>driving</sup> <sup>force</sup> <sup>a</sup> <sup>constant</sup> <sup>pressure</sup> <sup>gradient</sup> <sup>across</sup> <sup>the</sup> <sup>domain</sup> <sup>is</sup> <sup>employed</sup> <sup>and</sup> <sup>as</sup> _∗_ initial conditions we set grad( _p_ <sup>_∗_</sup> ) = vx1 <sup>.</sup> Furthermore, no body force is present ( b = 0 ). We require small Reynolds number and fix Re = 0 _._ 01 and _c_ <sup>_∗_</sup> <sup>2</sup> = 1 _._ 5 _×_ 10 <sup>6</sup> as in Bentz and Martys (2007). Note that the dimension _c_ <sup>_∗_</sup> <sup>2</sup> _≈_ 10 <sup>6</sup> fits well to the physical ratio of the speed of sound in water to the assumed characteristic velocity of creeping flow conditions. Grid: Space is discretized with a regular staggered Marker-and-Cell (MAC) grid (Harlow & Welch, 1965), where fluid velocities are stored on the faces of the cells, while the pressure values are stored at the cell centers. Storing different quantities on different locations within each cell, allowing for an efficient and accurate computation of the pressure gradients and additionally for the exact modeling of no-penetration conditions at the fluid-solid interfaces. Boundary in the numerically considered domain and second order derivatives: For the outer boundaries we apply periodic conditions to simulate a periodic or repeating behavior of the physical system in a unit cell being modeled or use no-slip no-penetration boundary conditions initially assumed to be not suitable for anisotropy investigations since the transverse flow would be zero. The outer boundary in direction of the pressure gradient is always periodic for the local flux. In main flow direction we employ fixed pressure conditions. Fluid-solid boundaries correspond to the pixel boundaries of the binary 3D image and we use no-slip no-penetration boundary conditions on the interfaces, cf. Fig. 1. Second-order derivatives perpendicular to the local flow direction are analytically determined based on Taylor series approximations. This ensures that the no-slip condition is fulfilled on the fluid-solid voxel surfaces. We distinguish 8 basis cases, whereas the last two ones are special cases of cases 4 and 5, and are only required for the second voxel layers used for the boundary conditions. Therefore, we have theoretically the same number of 6 cases as in Bentz and Martys (2007); Gerke et al. (2018). In Fig. 1 the eight distinguished cases are exemplary illustrated for the flow direction e _k_ and the perpendicular direction e _i_ . Case 1 _vk_ 2 Case 2 Case 3 Case 4 _vk_ 2 _vk_ 4 _vk_ 2 _vk_ 4 _vk_ 2 _vk_ 4 _vk_ 1 _vk_ 3 _vk_ 1 _vk_ 3 _vk_ 1 _vk_ 3 _vk_ 1 _vk_ 3 Case 5 Case 6 Case 7 (4b) Case 8 (5b) _vk_ 2 _vk_ 4 _vk_ 2 _vk_ 2 _vk_ 2 _vk_ 1 _vk_ 3 _vk_ 1 _vk_ 3 _vk_ 1 _vk_ 3 _vk_ 1 _vk_ 3 e _j_ e _k_ e _i_ fluid voxel solid voxel fluid voxel considered Figure 1: Different cases for the identification of the voxel neighborhood to calculate the secondorder derivatives ( <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ <sup>)</sup> <sup>in</sup> <sup>the</sup> <sup>perpendicular</sup> <sup>directions</sup> <sup>to</sup> <sup>the</sup> <sup>considered</sup> <sup>flow</sup> <sup>velocity</sup> <sup>direction</sup> for _i, j, k_ = (1 _,_ 2 _,_ 3) _,_ (2 _,_ 3 _,_ 1) _,_ (3 _,_ 1 _,_ 2). Based on the velocity definitions in Fig. 1, the second-order derivatives for the different cases can be computed by solving a resulting system of equations. For instance, for case 2 we get a set of three equations to compute <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> <sup>_<u>k</u>_</sup> as follows: <sup>2</sup> _i_ _∂x_ <sup>2</sup> _i_ _<u>∂vk</u>_ 2 <sup><u>1</u></sup> _∂xi_ <sup>+</sup> 8 <sup><u>1</u></sup> _i_ _vk_ 1 _≈_ _vk_ 2 _−_ 2 <sup><u>1</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 8 <sup><u>1</u></sup> _∂x_ <sup>2</sup> _i_ _i_    _∂x_ <sup>2</sup> _i_ _−_ 48 <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 48 <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ _∂x_ <sup>3</sup> _i_ = 0 = 0 _vk_ 3 _≈_ _vk_ 2 + <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 2 _∂x_ <sup>2</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> <sup><u>1</u></sup> 2 _i_ _∂x_ <sup>3</sup> _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>1</u></sup> _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> = <sup><u>8</u></sup> 3 <sup>_vk_</sup> <sup>3</sup> <sup>_−_</sup> <sup><u>16</u></sup> 3 <sup>_vk_</sup> <sup>2</sup> (7) <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 _∂x_ <sup>3</sup> _i_ _i_ _∂x_ <sup>2</sup> _i_ _i_ _<u>∂vk</u>_ 2 <sup><u>3</u></sup> _∂xi_ <sup>+</sup> 8 <sup><u>9</u></sup> _i_ _vk_ 4 _≈_ _vk_ 2 + 2 <sup><u>3</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 8 <sup><u>9</u></sup> _∂x_ <sup>2</sup> _i_ _∂x_ <sup>3</sup> _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>9</u></sup> <sup><u>9</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 16 _∂x_ <sup>3</sup> _i_ _i_ An overview of all cases of neighborhood consideration can be found in the Appendix B. Permeability computation: In the so-called creeping flow regime, characterized by low Reynolds numbers, Re _<_ 1 _._ 0, it is valid to employ Darcy’s law (Darcy, 1856) q = <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> _qi_ e _i_ = <sup><u>1</u></sup> _µ_ <sup>k</sup> <sup>_·_</sup> <sup>h</sup> _→_ _µ_ <sup><u>1</u></sup> _µ_ <sup>_kij_</sup> <sup>(</sup> <sup>e</sup> <sup>_i ⊗_</sup> <sup>e</sup> <sup>_j_</sup> <sup>)</sup> <sup>_· hk_</sup> <sup>e</sup> <sup>_k_</sup> <sup>=</sup> _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_kikhk_</sup> <sup>e</sup> <sup>_i_</sup> (8) to compute the entries of the second order permeability tensor where _hi_ = _−_ _∂x_ <sup>_<u>∂p</u>_</sup> _i_ <sup>=</sup> <sup>_−p,i_</sup> <sup>is</sup> <sup>the</sup> <sup>pressure</sup> gradient. In order to determine the nine entries in the coefficient matrix of the permeability tensor, three numerical simulations must be performed. The following pressure gradients _hi_ are specified for the different simulations _a_ ) _h_ 1 _̸_ = 0 _∧_ _h_ 2 = _h_ 3 = 0 ; _b_ ) _h_ 2 _̸_ = 0 _∧_ _h_ 1 = _h_ 3 = 0 ; _c_ ) _h_ 3 _̸_ = 0 _∧_ _h_ 1 = _h_ 2 = 0 ; (9) and we measure three fluxes _qi_ for each case. For case _c)_, all properties are illustrated in Fig. 2. By comparing the coefficients (Eq. (8), right), nine equations are obtained for nine entries of the coefficient matrix of the permeability tensor. A detailed list of the equations for determining the complete permeability tensor k can be found in Appendix C. Figure 2: Illustration of the components of Darcy’s law with the given boundary values for the pressure _p_ in and _p_ out used to compute the gradient _h_ 3. Volumetric fluxes _q_ 2, _q_ 3 are evaluated over the respective boundaries _A_ 2, _A_ 3. In e 1-direction, the volumetric flux is not shown here, but is handled analogously. With given pressure gradients _h_ 3 _̸_ = 0 and _h_ 1 = _h_ 2 = 0, this represents case _c)_ in Eq. (9). ### 5 Computational aspects 5.1 Processing input data Binarized 3D image data (8-bit file format) distinguishing between solid phase and pore space are employed as input for the solver. Typically performed image pre-processing steps depending on the exact imaging technique (e.g, denoising and segmentation) are well-documented in the literature, e.g., Andr¨a et al. (2013b, 2013a); Burger and Burge (2016); Iassonov, Gebrenegus, and Tuller (2009); Russ and Neal (2016); Schl¨uter, Sheppard, Brown, and Wildenschild (2014); Tuller, Kulkarni, and Fink (2013) and will not be further elaborated upon here. Depending on the boundary conditions and material, a few pre-processing steps need to be conducted, such as mirroring for symmetric periodicity, domain cropping, or the elimination of disconnected pore spaces. This depends upon the specific problem at hand, a topic that will be delved into within the dedicated application sections. The solver operates under the assumption that the percolation condition is met. 5.2 Implementation The solver is completely implemented in C++ and parallelized with OpenMPI (version 4 _._ 1 _._ 5) (Message Passing Interface Forum, 2021) to employ it on distributed memory architectures. Special emphasis is put on keeping the code as simple as possible. For the domain decomposition we use a communicator on a Cartesian topology ( `MPI` ~~`C`~~ `art` `create` ) which is particularly well suited for regular meshes and 3D geometries. The file IO is fully parallelized and communication between the ranks is executed by blocking send-receive operations. We work directly with binary data which is RAM-efficient allows for a concise. The source code of POREMAPS is published in Krach, Ruf, and Steeb (2024). <u>Algorithm</u> <u>1:</u> <u>Program</u> <u>Flow</u> <u>Stokes</u> <u>Solver</u> Data: Binarized 3D image data Result: Velocity and pressure fields Initalize MPI; Domain decomposition, read partial domains, add halos; Impose initial pressure gradient; Evaluate neighborhood; while div v _> ε_ do Compute velocity field v _i,j,k_ ; Compute pressure field _pi,j,k_ ; if _i_ mod _CommFrequency_ _≡_ 0 then Communicate halos end Evaluate permeability and convergence criterion _ε_ ; Write log file; end <u>Write</u> <u>pressure</u> <u>and</u> <u>velocity</u> <u>fields;</u> The inherent domain decomposition of MPI optimizes communication by embedding the virtual topology onto the physical machine as efficient as possible but is not necessarily suitable for domains with high aspect ratios (see Sec. 7.3). Therefore, it is possible to include the desired number of ranks in each direction directly in the input file. 5.3 Scaling The scalability of FDM codes has been studied extensively in the literature. Several factors contribute to weak scalability, including the communication overhead, memory requirements, and load balancing. For the scaling test we use a 50 <sup>3</sup> voxel regular sphere packing per core and the hardware of the experimental compute cluster ”ehlers” of the EXC 2075 ”SimTech” Cluster of Excellence (University of Stuttgart). The CPU partition is comprised of 8 nodes with 128 cores (2 _×_ 64 cores, AMD EPYC 7702) each and 200 Gb _/_ s Infiniband interconnect and 2 TB of RAM. 80 70 60 50 40 30 20 10 0 #### Weak Scaling on one node 0 25 50 75 100 125 number of cores 30 25 20 15 10 5 0 #### Weak Scaling on multiple nodes 0 2 4 6 8 number of nodes Figure 3: Weak scaling on one node using 1, 2, 4, 8, 16, 32, 64, 128 cores (left) and 1–8 nodes with 128 cores each (right). The algorithm is very communication-heavy. The influence of increasing core-to-core (Fig. 3, left) or node-to-node communication (Fig. 3, right) causes a decrease in performance. However, as soon as com munication in all three spatial directions is required ( _>_ 8 cores), the computed time steps per second (TPS) are almost constant. Accordingly, the results are satisfactory for the problems at hand. Considering targeted domain sizes, tests beyond 1024 cores are not significant for our applications and therefore not considered here. ### 6 Benchmarks The code has been developed to be able to study complex, heterogeneous porous materials. To justify the application of the solver to diverse domains, a multi-layered benchmark and validation program is conducted. We validate the code against analytical solutions such as Poiseuille flow and channel flow as well as empirical relations such as the Kozeny-Carman equation for sphere packings with different porosities. We further evaluate our workflow for the determination of the anisotropy and the secondary diagonal elements of the permeability tensor. Finally, we compare our code with other solvers like LBM, FEM or mathematical homogenization for different types of porous materials. 6.1 Hagen-Poiseuille equation The laminar creeping flow of a Newtonian fluid through a pipe is a standard benchmark for CFD codes. The tube is per definition periodic in direction of the pressure gradient. We compare results for different resolutions and the analytical Hagen-Poiseuille equation presented in Batchelor (1967) _v_ 3( _r_ ) = 4 <sup><u>∆</u></sup> _Lµ_ <sup>_<u>p</u>_</sup> <sup>(</sup> <sup>_R_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_r_</sup> <sup>2)</sup> (10) with the radial coordinate _r_ . Length and radius of the tube are _L_ = 0 _._ 01 m and _R_ = 0 _._ 001 m. The no-slip condition on the fluid-solid interface results in _v_ 3( _r_ = _R_ ) = 0. 6 5 4 3 2 1 0 _<u>×</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup>10</sup> _L/dx_ = 5 _L/dx_ = 10 _L/dx_ = 20 _L/dx_ = 50 _L/dx_ = 100 analytical 0 _._ 0000 0 _._ 0002 0 _._ 0004 0 _._ 0006 0 _._ 0008 0 _._ 0010 _x_ 1 _−_ position in tube [m] 0 20 40 60 80 0 20 40 60 80 voxels in e 1 _−_ direction 6 5 4 3 2 1 0 Figure 4: Resolution dependent velocity profiles through a tube compared to the analytical solution (left) and velocity pattern in one cross-section (right). We compare simulation results obtained for different resolutions ( _L/_ d _x_ = _{_ 5 _,_ 10 _,_ 20 _,_ 50 _,_ 100 _}_ ) and present the velocity profiles through the center of the tube, see Fig. 4, left. All resolutions deliver very similar solutions and are in line with the analytical solution Eq. (10). Fig. 4, right, gives the cross-section through the tube visualizing the radially symmetric velocity pattern. 6.2 Channel flow – rectangular cross section To benchmark slightly more complex structures, we analyze the flow through a rectangular channel. It has an advantage over the tube in Sec. 6.1, since it can be discretized on a cubic lattice without introducing a discretization error. The benchmark provides information about the resolution at which we can expect valid results from the solver. That is of particular interest for the study of microfluidic experiments in order to resolve the channels sufficiently. Presented are simulation results for different resolutions ( _h/_ d _x_ = _{_ 3 _,_ 5 _,_ 10 _,_ 25 _,_ 50 _,_ 100 _}_ ) for the channel height _h_ . The width of the channel equals _b_ = 2 _h_ . Already with a resolution of the channel cross-section using 5 _×_ 10 voxels, the volumetric flow rate _Q_ = _q_ _· A_ corresponds with results for higher resolutions. Although the solution depends on the discretization, it converges already for low resolutions. 2 _._ 0 1 _._ 8 1 _._ 6 1 _._ 4 1 _._ 2 1 _._ 0 0 _._ 8 0 20 40 60 80 100 voxel number on channel height [ _−_ ] 0 10 20 30 40 50 2 _._ 5 2 _._ 0 1 _._ 5 1 _._ 0 0 _._ 5 0 _._ 0 0 20 40 60 80 100 voxels in e 1 _−_ direction Figure 5: Deviation of the volumetric flux _Q_ from its analytical solution _Qan_ according to White and Majdalani (2006) through rectangular cross section channel for different resolutions (left) and corresponding velocity pattern (right). 6.3 Regular sphere packings Due to the periodicity of regular sphere packings, the simulation of flow can be reduced to a cubic unit cell of side-length _L_ . It is therefore possible to simulate representative porous structures without pushing the domain size too far. In addition, the permeability in direction of the cubic unit cell edges is identical and semi-analytical estimates exist. Therefore, we investigate differently arranged sphere packings (Simple Cubic (SC), Body-Centered Cubic (BCC), Face-Centered Cubic (FCC)) for a sweep over a wide range for the porosity _ϕ_ = _{_ 0 _._ 1 _,_ 0 _._ 2 _,_ 0 _._ 3 _,_ 0 _._ 4 _,_ 0 _._ 5 _,_ 0 _._ 6 _,_ 0 _._ 7 _,_ 0 _._ 8 _,_ 0 _._ 9 _}_ . In addition, all simulations are run at three 1 by different resolutions _L/_ d _x_ = _{_ 60 _,_ 100 _,_ 200 _}_ . The results are compared with permeability estimates _k_ <sup>_KC_</sup> the semi-analytical, semi-empirical Kozeny-Carman equation (Carman, 1997; Kozeny, 1927) 1 <sup>_KC_</sup> = <sup>_<u>D</u>_</sup> <sup>2</sup> _k_ 1 <sup>_KC_</sup> _cKC_ _<u>ϕ</u>_ <sup>3</sup> (1 _−_ _ϕ_ ) <sup>2</sup> <sup>_,_</sup> (11) where _D_, _cKC_ are the sphere diameter and the Kozeny-Carman constant for which the value _cKC_ = 180 is set. In addition, the Stokes solution is further compared with results from a SPH solver that performs simulations based on weakly compressible Navier-Stokes equations (Osorno et al., 2021). 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>6</sup> 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>6</sup> 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>6</sup> <u>Body</u> _<u>−</u>_ <u>Centered Cubic</u> _k_ 1 <sup>_KC_</sup> <u>Face</u> _<u>−</u>_ <u>Centered Cubic</u> _k_ 1 <sup>_KC_</sup> <u>Simple Cubic</u> _k_ 1 <sup>_KC_</sup> SPH FD 60 FD 100 FD 200 0 _._ 2 0 _._ 4 0 _._ 6 0 _._ 8 _φ_ [ _−_ ] 1 SPH FD 60 FD 100 FD 200 1 SPH FD 60 FD 100 FD 200 0 _._ 2 0 _._ 4 0 _._ 6 0 _._ 8 _φ_ [ _−_ ] 0 _._ 2 0 _._ 4 0 _._ 6 0 _._ 8 _φ_ [ _−_ ] Figure 6: Comparison of Stokes solver results of normalized permeabilities with Karman-Cozeny equation and SPH solver. The results of the two solvers and also in comparison with the semi-analytical solution match almost perfectly. It can be concluded that the solver is capable for a wide range of porosities. A single simulation for a resolution of _L/_ d _x_ = 100 takes in average 40 minutes on a desktop PC using 4 cores (11th Gen Intel(R) Core(TM) i7-11700KF @ 3.60GHz). 6.4 Permeability tensor and principal permabilities To compute the anisotropic permeability behavior of various materials, we must not only consider standard benchmarks and those for simple porous materials but also include benchmarks with known or adjustable principal directions. For this purpose, we create a cube with 100 <sup>3</sup> voxels corresponding to 1 mm <sup>3</sup> and place an ellipsoid in the center. It has the following semi-axes in Cartesian coordinates e _i_ each given in absolute voxel numbers: e 1 : _a_ = 35; e 2 : _b_ = 10; e 3 : _c_ = 35 _._ By using this per se periodic structure, one does not have to consider the difficulties that would arise from symmetrical or translational periodization (Guibert et al., 2016). We rotate the single ellipsoid around e 1-axis in 5 <sup>_◦_</sup> steps for 0 <sup>_◦_</sup> _≤_ _α ≤_ 90 <sup>_◦_</sup> and compute fluid flow and permeability, whereby the consideration of the permeability in e 1-direction does not play a role in our evaluation for the time being. Thus the computation of the permeability tensor in Eq.(1) is reduced to a two-dimensional problem and eigenvalues as well as principal directions can be represented by an ellipse. 0 20 40 60 80 0 20 40 60 80 voxels in e 3 _−_ direction 0 20 40 60 80 voxels in e 3 _−_ direction 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 Figure 7: Normalized magnitude of velocity around an ellipsoid with 20 <sup>_◦_</sup> (left) and 70 <sup>_◦_</sup> inclination (right). The same pressure gradient in e 3-direction is applied, which explains differences in the maximum velocities. Both figures show a cross-section ( e 2 _−_ e 3 plane) in the center of the domain. Each simulation of a domain described above allows us to determine one column of the coefficient matrix _kij_, or in our simplified case two entries. The other two entries are obtained from the simulation for which the direction of the imposed pressure gradient relative to the ellipsoid is rotated by 90 <sup>_◦_</sup> . Alternative, instead of rotating the imposed pressure gradient the ellipsoid is rotated. For example, considering a rotation of _α_ <sup>1</sup> = 20 <sup>_◦_</sup>, _α_ <sup>2</sup> = _−_ 70 <sup>_◦_</sup> follows. Due to symmetry, also _α_ <sup>2</sup> = 70 <sup>_◦_</sup> can be set and we get the velocity patterns, illustrated in Fig.7, and compute the following coefficient matrix _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> (12) _kij_ = �4 _._ 54 1 _._ 76 1 _._ 96 8 _._ 71 - �4 _._ 54 1 _._ 86 _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> _≈_ 1 _._ 86 8 _._ 71 and finally receive the coefficient matrix for the principle axes system �3 _._ 82 0 _k_ ˜ _ij_ = (13) 0 9 _._ 42 _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> _._ Numerically determined, one obtains slightly different values for two corresponding secondary diagonal elements. These are therefore averaged _k_ 12 = _k_ 21 = 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_k_</sup> <sup>12 +</sup> <sup>_k_</sup> <sup>21).</sup> <sup>The</sup> <sup>same</sup> <sup>procedure</sup> <sup>would</sup> <sup>adopted</sup> <sup>for</sup> _k_ 13, _k_ 31 and _k_ 23, _k_ 32. In this reduced case, the angle _φ_ between the axes in the original basis system and the principal directions is computed by _φ_ = <sup><u>1</u></sup> - <u>2</u> _<u>k</u>_ <u>23</u> 2 <sup>tan</sup> <sup>_−_</sup> <sup>1</sup> _k_ 22 + _k_ 33 <sup><u>1</u></sup> - <u>2</u> _<u>·</u>_ <u>1</u> _<u>.</u>_ <u>86</u> _<u>·</u>_ <u>10</u> <sup>_−_</sup> <sup>9</sup> <u>m</u> <sup>2</sup> 2 <sup>tan</sup> <sup>_−_</sup> <sup>1</sup> 8 _._ 71 _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> + 4 _._ 54 _·_ - = <sup><u>1</u></sup> 2 8 _._ 71 _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> + 4 _._ 54 _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> = 0 _._ 364 _≈_ 20 _._ 8 <sup>_◦_</sup> (14) which matches very well to what was being specified. The listing of all values can be found in Table 1 and a selection is visualized in Fig. 8. Table <u>1:</u> <u>Permeabilities,</u> <u>principal</u> <u>permeabilities</u> <u>and</u> <u>principal</u> <u>directions</u> <u>for</u> <u>all</u> <u>simulations.</u> _α_ [ <sup>_◦_</sup> ] 0 5 10 15 20 25 30 35 40 45 _k_ 33 [ _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> ] 9 _._ 43 9 _._ 33 9 _._ 19 8 _._ 99 8 _._ 71 8 _._ 36 7 _._ 97 7 _._ 51 7 _._ 12 6 _._ 63 _k_ 22 [ _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> ] 3 _._ 85 3 _._ 92 4 _._ 04 4 _._ 25 4 _._ 54 4 _._ 91 5 _._ 29 5 _._ 70 6 _._ 17 6 _._ 63 _k_ 23 [ _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> ] 4 _._ 57 0 _._ 83 1 _._ 14 1 _._ 50 1 _._ 86 2 _._ 21 2 _._ 47 2 _._ 59 2 _._ 80 2 _._ 83 _kIII_ [ _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> ] 9 _._ 46 9 _._ 45 9 _._ 43 9 _._ 43 9 _._ 42 9 _._ 44 9 _._ 44 9 _._ 36 9 _._ 49 9 _._ 46 _kII_ [ _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> ] 3 _._ 81 3 _._ 79 3 _._ 80 3 _._ 81 3 _._ 82 3 _._ 83 3 _._ 82 3 _._ 86 3 _._ 80 3 _._ 80 _φ_ [ <sup>_◦_</sup> ] 4 _._ 6 8 _._ 5 11 _._ 9 16 _._ 1 20 _._ 8 26 _._ 0 30 _._ 8 35 _._ 4 40 _._ 1 45 _._ 0 We observe a clearly recognizable trend for increase of the permeability _k_ 22 and decrease of _k_ 33 with increasing rotation _α_ . Performing the transformation, we obtain the same eigenvalues for the permeability, except for minimal differences, which can be explained by the numerical aspects and issues related to discretization. The calculated angles for small _α_ still exhibit noticeable deviations from the geometrically prescribed angles, with a maximum deviation of up to 4 _._ 6 <sup>_◦_</sup> . An error arises since the analysis for _α_ <sup>1</sup> = 0 <sup>_◦_</sup> includes a simulation _α_ <sup>2</sup> = 90 <sup>_◦_</sup> where the flow approaches the ellipsoid from its wide side. In Table 1 we can also see two outliers for the secondary diagonal elements for _α_ = 0 <sup>_◦_</sup> and _α_ = 5 <sup>_◦_</sup> . The larger the #### Rotation 0 ◦ 1 _._ 0 #### Rotation 10 ◦ 1 _._ 0 0 _._ 5 0 _._ 0 _−_ 0 _._ 5 _kIII_ _kII_ 0 _._ 5 0 _._ 0 _−_ 0 _._ 5 numeric geometric _−_ 1 _._ 0 _−_ 1 0 1 _−_ 1 _._ 0 _−_ 1 0 1 #### Rotation 40 ◦ 1 _._ 0 0 _._ 5 0 _._ 0 _−_ 0 _._ 5 _−_ 1 _._ 0 _−_ 1 0 1 Figure 8: Plots of the coefficient matrices of the permeability tensors for rotations _α_ = _{_ 0 <sup>_◦_</sup> _,_ 10 <sup>_◦_</sup> _,_ 40 <sup>_◦_</sup> _}_ . Absolute values of two semi-axes of the ellipse represent the eigenvalues of the tensor. The angle of inclination (geometric information) and the computed angle of the eigenvector highlighted with a green and red line, respectively. inclination, the more precisely the simulation result reproduces the angle presupposed in the real geometry. For _α_ = 40 <sup>_◦_</sup> the error corresponds to only 0 _._ 1 <sup>_◦_</sup> . For this comparably straightforward benchmark geometry, we can demonstrate the overall effectiveness of the workflow. It is worth highlighting that when the flow approaches the ellipsoid at _α_ = 90 <sup>_◦_</sup>, it leads to deviations in the secondary diagonal elements. This intriguingly results in enhanced solution accuracy when the system is maximally distant from one based on the principal directions. 6.5 Testing against other codes Regular thin porous media (2D microfluidic devices): In Sec. 7.3 we investigate structures that have a small thickness compared to their lateral dimensions. The dimensions of such thin (”2D”) porous materials, which are often used in microfluidic characterization of porous media flow, pose problems for numerical methods in terms of efficiency and convergence. To ensure the applicability of the solver for such requirements, we compare it with benchmarks for regular 2D porous materials described in (Wagner et al., 2021). The dimension of the simulated unit cell is 1 mm _×_ 0 _._ 091 mm _×_ 1 mm and is discretized by 250 _×_ 27 _×_ 250 voxels, with a solid frame of two voxels thick each, included in the e 2 direction. All results align with the solutions provided in the benchmark paper. Table 2: Comparison with different types of pore scale solvers (SPH, FEM, LBM from Wagner et al. (2021)) for <u>thin</u> <u>porous</u> <u>media</u> <u>samples</u> <u>and</u> <u>comparison</u> <u>of</u> <u>computed</u> <u>permeabilities.</u> Radius _ϕ_ _k_ 11 range from Wagner et al. (2021) _k_ 11 (POREMAPS) 0 _._ 35 mm 0 _._ 62 22 _._ 9 _−_ 26 _._ 7 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 26 _._ 1 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 0 _._ 40 mm 0 _._ 50 16 _._ 4 _−_ 17 _._ 7 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 17 _._ 5 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 0 _._ 45 mm 0 _._ 36 7 _._ 54 _−_ 8 _._ 59 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 8 _._ 08 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 0 _._ 47 mm 0 _._ 31 3 _._ 62 _−_ 5 _._ 35 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 3 _._ 83 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 0 _._ 49 mm 0 _._ 25 0 _._ 46 _−_ 0 _._ 54 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 0 _._ 39 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> To illustrate the performance of the solver, the SPH solver used in Wagner et al. (2021) needs approximately 17 hours on a 4-core CPU, the presented Stokes solver, at the same resolution and on same hardware takes about 10 minutes. Table 3: Properties for different types of 3D benchmarks (range of LBM results from Saxena et al. (2017)) <u>and</u> <u>comparison</u> <u>of</u> <u>computed</u> <u>permeabilities.</u> Sample _ϕ_ Voxel size Domain size _k_ 11 (Saxena et al., 2017) _k_ 11 (POREMAPS) Sphere packing 0 _._ 34 7 _._ 0 µm 788 _×_ 791 _×_ 793 2 _._ 438 _−_ 2 _._ 903 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> 2 _._ 512 _·_ 10 <sup>_−_</sup> <sup>10</sup> m <sup>2</sup> Berea 0 _._ 18 2 _._ 114 µm 1024 _×_ 1024 _×_ 1024 4 _._ 569 _−_ 6 _._ 889 _·_ 10 <sup>_−_</sup> <sup>13</sup> m <sup>2</sup> 5 _._ 772 _·_ 10 <sup>_−_</sup> <sup>13</sup> m <sup>2</sup> Fontainebleau 0 _._ 09 2 _._ 072 µm 1024 _×_ 1024 _×_ 1024 0 _._ 642 _−_ 1 _._ 411 _·_ 10 <sup>_−_</sup> <sup>13</sup> m <sup>2</sup> 9 _._ 200 _·_ 10 <sup>_−_</sup> <sup>14</sup> m <sup>2</sup> Irregular sphere packings and porous rock: There are several benchmark papers providing suitable geometries (Andr¨a et al., 2013b, 2013a; Saxena et al., 2017). The solver is compared with different 3D benchmarks where permeabilities are computed with, among others, different LBM solvers (Saxena et al., 2017). We compute the sphere packing, one Berea sandstone ( _Rock1_ ), and one Fontainebleau sandstone ( _Rock3_ ) sample. The characteristics of the geometries and a comparison of the computed permeabilities _k_ 11 are summarized in Table 3. The results for _k_ 11 are in accordance with the solutions determined by LBM and thus we consider the benchmarking to be succesful and completed. ### 7 Applications In this section, three different application scenarios are shown to demonstrate the capabilities of POREMAPS. The corresponding domain sizes and computational times are summarized in Table 4. Table <u>4:</u> <u>Overview</u> <u>of</u> <u>computation</u> <u>times</u> <u>of</u> <u>considered</u> <u>application</u> <u>examples.</u> Domain size Hardware and resources Computation time Example 1 “Berea” and “sphere packing” (Sec. 6.5 and Sec. 7.1) 2048 _×_ 2048 _×_ 2048 SimTech Cluster, 2 Nodes 36 hrs. 1576 _×_ 1582 _×_ 1586 SimTech Cluster, 2 Nodes 24 hrs. 3152 _×_ 3164 _×_ 3172 SimTech Cluster, 4 Nodes _≈_ 80 hrs. Example 2 “Open-cell foam ( _ε_ 33 = 0 _._ 0 and _ε_ 33 = _−_ 0 _._ 5)” (Sec. 7.2) 800 _×_ 800 _×_ 1186 SimTech Cluster, 4 Nodes 8 hrs. 800 _×_ 800 _×_ 526 SimTech Cluster, 4 Nodes 3 hrs. Example 3 “Calcite precipitation” (Sec. 7.3) 12 _×_ 1200 _×_ 1200 SimTech Cluster, 1 Node 0.5–2 hrs. 7.1 Characterization of large 3D images 3172 vx 3152 vx 3164 vx Figure 9: Illustration of the large sized computable domains using the example of a double-mirrored 3D image of a sphere packing (blue) with originally 788 _×_ 791 _×_ 793 voxel (yellow). The original 3D image (yellow) is taken from Saxena et al. (2017). The solver is primarily designed to analyze large, high-resolved 3D images of porous materials typically acquired by 3D imaging methods like µXRCT (Stock, 2019; Ruf & Steeb, 2020; Withers et al., 2021). This allows the digital characterization of porous materials with regard to hydraulic permeability and can be integrated into the imaging workflow as a subsequent standard procedure. In µXRCT imaging, resolution of REVs is often given by 3D images having more than 1000 <sup>3</sup> voxel. High-resolution X-ray flat panel detectors having around 3000 _×_ 3000 pixel and more are not uncommon anymore. This means in terms of the reconstructed 3D images, that they can have _≈_ 3000 <sup>3</sup> voxel. With appropriate hardware (large memory), the presented code is capable to handle such big 3D images. To demonstrate this, we use the 3D image of the Berea sandstone (1024 _×_ 1024 _×_ 1024 voxel), and the sphere packing (788 _×_ 791 _×_ 793 voxel) from Saxena et al. (2017), already considered for the benchmark tests, cf. Table 3. Both data sets are mirrored in all three spatial directions resulting in 2048 _×_ 2048 _×_ 2048 voxel and 1576 _×_ 1582 _<u>×</u>_ <u>∆</u> _<u>|</u>_ 1586 voxel. <u>q</u> _<u>|</u>_ The corresponding computation times are given in Table 4 for a convergence criteria of _ϵ_ = _|_ q _|_ _<_ 10 <sup>_−_</sup> <sup>6</sup> . Latter data set is mirrored a second time in each direction resulting in 3152 _×_ 3164 _×_ 3172 voxel (equals 64 times the original geometry), cf. Figure 9. Due to parallelized IO routines, this can be implemented using 4 nodes, with a total of 512 cores, requiring a total of _≈_ 1 _._ 5 TB RAM. 7.2 Deformation-dependent permeability and permeability anisotropy – uniaxial compression of an open-cell foam The deformation-dependent permeability of open-cell foams has been studied experimentally by several researches. Different theoretical models were proposed to predict the effect of strain on permeability, cf. Dawson, Germaine, and Gibson (2007); Markert (2007) and therein cited literature. In experimental studies, often uniaxial compression loading is imposed on a foam sample and the deformation-depending permeability is measured in one direction, often in the same direction as the imposed load. Measuring the permeability in different directions is technically challenging. Using non-destructive µXRCT imaging is a possible approach to overcome this problem when the fluid-solid interaction is negligible and the foam can be considered as rigid at a given deformation state. In this case, the foam structure is imaged under different loading conditions in 3D. Based on the time-series of 3D images followed by a subsequent postprocessing provides the possibility to perform virtual experiments and to characterize the structure and the deformation-dependency in more detail. (a) (b) <u>52</u> <u>mm</u> e 3 e 1 e 2 _ε_ 33 = 0.0 _ε_ 33 = _−_ 0.1 _ε_ 33 = _−_ 0.2 _ε_ 33 = _−_ 0.3 _ε_ 33 = _−_ 0.4 _ε_ 33 = _−_ 0.5 2 _._ 0 1 _._ 8 1 _._ 6 1 _._ 4 1 _._ 2 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 _<u>×</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup>11</sup> _<u>×</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup>11</sup> _k_ 11 _k_ 22 _k_ 33 _<u>|σ</u>_ 33 _<u>|</u>_ _kI_ _kII_ _kIII_ 8 7 6 5 4 3 2 1 0 2 _._ 0 1 _._ 8 1 _._ 6 1 _._ 4 1 _._ 2 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 0 0 _._ 1 0 _._ 2 0 _._ 3 0 _._ 4 0 _._ 5 compressive strain _|ε_ 33 _|_ [ _−_ ] 0 _._ 96 0 _._ 94 0 _._ 92 0 _._ 90 0 _._ 88 porosity _φ_ [ _−_ ] Figure 10: Deformation-dependent permeability and anisotropy of an open-cell PUR foam sample (10 PPI) based on µXRCT images (Ruf, Steeb, & Karadimitriou, 2023; Ruf & Steeb, 2024). (a) Segmented µXRCT images for different uniaxial compression loading states. (b) Determined permeabilities in e 1-, e 2-, e 3-direction and principle permeabilities. This is exemplary shown for an open-cell Polyurethane (PUR) cylindrical foam sample with 10 PPI subjected to uniaxial compressive loading and imaged at discrete loading states (engineering compressive strain _ε_ 33 = _−{_ 0 _._ 0 _,_ 0 _._ 1 _,_ 0 _._ 2 _,_ 0 _._ 3 _,_ 0 _._ 4 _,_ 0 _._ 5 _}_ ), see Figure 10(a). For the imaging, the system presented in Ruf and Steeb (2020); Ruf, Lee, and Steeb (2023) was employed. For the series of 3D images, the permeability tensor is determined using cubic subvolumes of size 800 _×_ 800 _×_ 526–1186 voxel with a uniform voxel size of 74.8 µm. The permeability tensor (three simulations) for each loading condition is determined in _≈_ 3-8 hrs.. The permeability in axial direction ( e 3) and radial directions ( e 1, e 2) and the principle values are shown in Figure 10(b) over the applied strain (left) and the foam porosity (right). At all deformation states, the radial permeabilities _k_ 11 and _k_ 22 are quite similar and differ slightly from the axial permeability _k_ 33 of the cylindrical sample. In general, it can be said that the permeability anisotropy does not correlate in a systematic way, neither with the strain nor with the porosity, which contradicts the expectation. 7.3 Anisotropy development during calcite precipitiation Predicting pore-scale clogging phenomena in heterogeneous porous materials presents a significant challenge. These processes can occur inadvertently, and if they cannot be prevented, there is a need to manage them, such as in the case of clogged filters. Conversely, these processes might also be intentional, such as in the case of blocking subsurface cracks. We focus our investigation on a specific scenario where pore spaces gradually become obstructed due to a chemically induced precipitation process. The experimental data set, Weinhardt, Deng, Steeb, and Class (2022), serves as the basis for our study, and the details of data acquisition and the experimental arrangement are elaborated upon in Weinhardt et al. (2021); Weinhardt (2022); Weinhardt, Deng, Hommel, et al. (2022). We have already described this procedure of investigation on a smaller extent as a proof of concept in Krach and Steeb (2023). 0 100 200 300 400 500 0 100 200 300 400 500 0 100 200 300 400 500 0 100 200 300 400 500 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 0 200 400 voxels in e 3 _−_ direction 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 Figure 11: Geometry and flow patterns at different times (increasing from top to bottom) during the experiment. The left column represents the input domain (black - solid columns, gray precipitate). For the simulations, the precipitates are attributed to the solid. Column 2 and 3 show the normalized absolute velocities based on pressure gradients in e 3- and e 2-direction. Unlike the experimental procedure, we can determine the permeability _k_ 33 in the e 3-direction (aligned with the pressure gradient in the experiment) and the permeability _k_ 22 in the e 2-direction (perpendicular to the pressure gradient) at various time steps during the experiment. This investigation includes 137 individual simulations, where for 57 time steps the domain is percolating in both directions, resulting in 2 simulations per time step. In e 3-direction a flow path remains unblocked for a longer time and 80 time 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> _kII/kmax_ _kIII/kmax_ 0 _._ 40 0 _._ 35 0 _._ 30 0 _._ 25 Porosity _φ_ [ _−_ ] 6 5 4 3 2 1 _kIII/kII_ 0 _._ 40 0 _._ 38 0 _._ 36 0 _._ 34 0 _._ 32 0 _._ 30 0 _._ 28 Porosity _φ_ [ _−_ ] Figure 12: Normalized eigenvalues of the permeability tensor ( _kII_, _kIII_ ) over the course of a decreasing porosity (left) and the relation of both ( _kIII_ _/kII_ ) illustrating a clear development of anisotropic hydraulic properties (right). steps are investigated. A simulation (12 _×_ 1200 _×_ 1200 voxel) typically runs for an average of 2 hours on a node using 121 CPU-cores. We explicitly fix the domain decomposition to 1 _×_ 11 _×_ 11 ranks. 2D image data is used as basis and replicated in the third spatial direction to simulate the original dimensions of the microfluidic experiment in 3D. We are particularly interested in a preferential flow path that forms in the upper region of the domain and stays almost free during the experiment. Accordingly a subdomain is extracted. In the course of the experiment, more and more precipitate is accumulated in the domain, thus increasing the solid fraction and decreasing porosity and permeability. Fig. 11 shows the geometries (black - solid body, gray - precipitate) and the velocity patterns. Note that we simulate the same domain twice with pressure gradient from left to right ( e 3-direction: Fig. 11, center column) and pressure gradient from top to bottom ( e 2-direction: Fig. 11, right column). The simulations include all time steps of the experiment up to the point where there is no flow path through the porous material at all. The material clogs first in the e 2-direction, at a porosity of _ϕ_ = 27 _._ 7 %, while at this time a flow path remains open in the e 3-direction. The focus of the analysis lies on the development of the degree of anisotropy in the course of the experiment. For this purpose, the eigenvalues of the 2 _×_ 2 permeability tensor are determined. Fig. 12 shows the eigenvalues _kII_ and _kIII_ plotted against the porosity _ϕ_ . The principal permeability _kII_ decreases significantly faster than _kIII_ . The degree of anisotropy, the ratio of the eigenvalues <sup>_<u>k</u>_</sup> _k_ <sup>_<u>III</u>_</sup> _II_ (Fig. 12, right) increases stepwise linear in the course of the experiment up to a ration of 6. Thus, this analysis provides an additional benefit that experiments cannot provide. ### 8 Conclusion A FDM solver, POREMAPS, for the incompressible Stokes equations using the artificially compressible method was presented to compute the permeability tensor k of various porous materials. Different benchmarks have been performed, which demonstrate that the solver can handle a variety of problems for a range of porosities swiftly and robustly. We present two compelling applications that perfectly align with the capabilities of the solver, demonstrating its versatility in tackling complex scenarios that demand extensive simulations. The first application focuses on open-cell foams, where we establish that any anisotropy in permeability is unlikely to develop during deformation up to _ε_ 33 = _−_ 0 _._ 5. Our findings underscore the absence of permeability directionality, what we would have expected otherwise. The second application addresses plugging porous materials, characterized by a distinct preferred orientation. In this context, we not only quantify the resulting anisotropy but also offer insights that highlight the solvers key advantages and experimental constraints. While acknowledging the computational time and hardware prerequisites, it’s worth noting that they remain modest when contrasted with alternative methodologies. The solver’s user-friendly nature, coupled with its direct compatibility with experimental imaging data, opens up promising avenues in various domains. ### Acknowledgement D.K. and H.S. acknowledge funding from the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy - EXC 2075 - 390740016. M.R. and H.S. acknowledge funding from the DFG through the project STE 969/13-1 (Project No. 357361983) and supporting this work within the SFB 1313 (Project No. 327154368). We acknowledge the support by the Stuttgart Center for Simulation Science (SC SimTech). ### Conflicts of Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. ### Author Contributions D. Krach: Conceptualization, Methodology, Investigation, Software, Validation, Data Curation, Writing - Original Draft, Visualization, Project administration. M. Ruf: Investigation, Software, Data Curation, Writing - Original Draft, Writing - Review & Editing, Visualization. H. Steeb: Conceptualization, Writing - Review & Editing, Supervision, Funding acquisition. ### Data, Code & Protocol Availability The complete source code including input data of the shown application examples that support the findings of this study is openly available in the Data Repository of the University of Stuttgart (DaRUS) at https:// doi.org/10.18419/darus-3676 (Krach et al., 2024). ### A Nondimensional balance equations: Nondimensional quantities and operators We introduce the dimensionless length _l_ <sup>_∗_</sup>, velocity v <sup>_∗_</sup>, and time _t_ <sup>_∗_</sup> by the ratio of physical property divided by characteristic property (L, V, _T_ = L _/_ V) _l_ <sup>_∗_</sup> = <sup>_<u>l</u>_</sup> <sup><u>v</u></sup> v = v <sup>_∗_</sup> V and _t_ <sup>_∗_</sup> = <sup>_<u>t</u>_</sup> V _→_ _T_ <sup><u>L</u></sup> (15) V <sup>_._</sup> <sup>_<u>l</u>_</sup> _l_ = _l_ <sup>_∗_</sup> L _,_ v <sup>_∗_</sup> = <sup><u>v</u></sup> L _→_ V <sup>_<u>t</u>_</sup> _t_ = <sup>_<u>t∗</u>_</sup> <sup><u>L</u></sup> _T_ _→_ V _∗_ _∗_ _∗_ The nondimensional differential operators grad( _•_ ) and div( _•_ ) and time derivative ( _•_ ) <sup>_·_</sup> are given as follows: _∗_ div( _•_ ) and time derivative The nondimensional differential operators _∗_ grad( _•_ ) and _∗_ grad( _•_ ) = L grad( _•_ ) _→_ grad( _•_ ) = L <sup><u>1</u></sup> _∗_ grad( _•_ ) _,_ _∗_ div( _•_ ) = L div( _•_ ) _→_ div( _•_ ) = L <sup><u>1</u></sup> _∗_ div( _•_ ) (16) ( _•∗_ ) <sup>_·_</sup> = _T_ ( _•_ ) <sup>_·_</sup> = <sup><u>L</u></sup> V <sup><u>L</u></sup> V <sup>(</sup> <sup>_•_</sup> <sup>)</sup> <sup>_·_</sup> _→_ ( _•_ ) <sup>_·_</sup> = L <sup><u>V</u></sup> L ( _•∗_ ) <sup>_·_</sup> _._ This allows for the selection of the pressure and density scale _<u>p</u>_ _ρ_ <sup>_∗_</sup> = <sup>_<u>ρ</u>_</sup> _ρ_ = _ρ_ 0 _ρ_ <sup>_∗_</sup> and _p_ <sup>_∗_</sup> = _p_ = _p_ <sup>_∗_</sup> _ρ_ 0V <sup>2</sup> _,_ (17) _ρ_ 0 _→_ _ρ_ 0V <sup>2</sup> _→_ where _ρ_ 0 is the rest density of the fluid. Nondimensional governing equations For the mutual dependence of pressure _p_ and density _ρ_ we employ the constitutive equation and its derivative - _<u>p</u>_ <u>˙</u> _→_ _ρ_ ˙ = _ρ_ 0 _K_ <sup>_F_</sup> <sup>_._</sup> (18) _ρ_ = _ρ_ 0 - _<u>p</u>_ _K_ <sup>_F_</sup> <sup>+ 1</sup> Artificial compressibility for pseudo-unsteady Stokes equations is introduced by considering the linearized balance of mass (Eq. (5)) for a compressible fluid _ρ_ ˙ + _ρ_ 0 div v = 0 _,_ (19) where for steady state _ρ_ ˙ _→_ 0 holds. The Stokes equations (Eq. (4)) are analogously extended _ρ_ ˙v = _µ_ div(grad v ) _−_ grad _p_ (20) where _ρ_ ˙v _→_ 0 holds for steady state. We apply the dimensionless divergence operator, dimensionless velocity and density to Eq. (19) and receive _∗_ div( v <sup>_∗_</sup> V) = 0 _→_ _∗_ div( v <sup>_∗_</sup> ) = 0 _._ (21) <u>V</u> L ( _ρ_ 0 _∗ρ_ <sup>_∗_</sup> ) <sup>_·_</sup> + <sup>_<u>ρ</u>_</sup> <sup><u>0</u></sup> L ( _ρ∗_ <sup>_∗_</sup> ) <sup>_·_</sup> + Using the speed of sound for a compression-type wave _c_ = ~~�~~ _<u>Kρ</u>_ 0 <sup>_F_</sup> <sup>with</sup> <sup>its</sup> <sup>dimensionless</sup> <sup>form</sup> <sup>_c_</sup> <sup>=</sup> <sup>_c∗_</sup> <sup>V</sup> <sup>the</sup> constitutive equation for the pressure Eq. (18) is transformed in the same way, yielding Using the speed of sound for a compression-type wave _c_ = ~~�~~ _<u>K</u>_ <sup>_F_</sup> _∗_ <u>(</u> _<u>p</u>_ <sup>_∗_</sup> <u>)</u> <sup>_·_</sup> (22) _c_ <sup>_∗_</sup> <sup>2</sup> _<u>p</u>_ <u>˙</u> _<u>p</u>_ <u>˙</u> <u>V</u> _ρ_ ˙ = _ρ_ 0 _ρ_ ˙ = _K_ <sup>_F_</sup> _→_ _c_ <sup>2</sup> _→_ L ( _ρ_ 0 _∗ρ_ <sup>_∗_</sup> ) <sup>_·_</sup> = <sup><u>V</u></sup> _∗_ <u>(</u> _<u>p</u>_ <sup>_∗_</sup> _<u>ρ</u>_ <u>0V</u> <sup>2</sup> <u>)</u> <sup>_·_</sup> L _c_ <sup>_∗_</sup> <sup>2</sup> V <sup>2</sup> _→_ ( _ρ∗_ <sup>_∗_</sup> ) <sup>_·_</sup> = Plugging Eq. (22) in Eq. (21) the nondimensional balance of mass is obtained _∗_ _∗_ ( _p_ <sup>_∗_</sup> ) <sup>_·_</sup> = _−c_ <sup>_∗_</sup> <sup>2</sup> div( v <sup>_∗_</sup> ) _._ (23) The nondimensional form of the pseudo-unsteady Stokes problem (Eq. (20)) yields _<u>ρ</u>_ <u>0</u> _<u>ρ</u>_ <sup>_∗_</sup> <u>V</u> L ( v <sup>_∗_</sup> _∗_ V) <sup>_·_</sup> = <sup>_<u>µ</u>_</sup> L <sup>2</sup> _∗_ grad ( v <sup>_∗_</sup> ) _−_ _∗_ grad( _p_ <sup>_∗_</sup> ) _._ (24) _∗_ div _∗_ grad( v <sup>_∗_</sup> V) _−_ L <sup><u>1</u></sup> _∗_ grad( v <sup>_∗_</sup> V) _−_ L <sup><u>1</u></sup> grad( _∗_ _p_ <sup>_∗_</sup> _ρ_ 0V <sup>2</sup> ) _ρ_ <sup>_∗_</sup> ( v _∗_ <sup>_∗_</sup> ) <sup>_·_</sup> = <sup><u>1</u></sup> _→_ Re grad( _∗_ _p_ <sup>_∗_</sup> _ρ_ 0V <sup>2</sup> ) _ρ_ <sup>_∗_</sup> ( v _∗_ <sup>_∗_</sup> ) <sup>_·_</sup> = <sup><u>1</u></sup> _→_ Re _∗_ div ### B Implementation of fluid-solid boundary conditions The Taylor expansion around the point _x_ 0 is generally given by the following series: (25) 2 <sup><u>1</u></sup> <sup>_f_</sup> <sup>(2)(</sup> <sup>_x −_</sup> <sup>_x_</sup> <sup>0)2 +</sup> <sup>_· · ·_</sup> <sup>_._</sup> _f_ ( _x_ ) = _∞_ _n_ =0 _<u>f</u>_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> <u>(</u> _<u>x</u>_ <u>0)</u> <sup>)</sup> <u>(</u> _<u>x</u>_ <u>0)</u> _n_ ! ( _x −_ _x_ 0) <sup>_n_</sup> = _f_ <sup>(0)</sup> + _f_ <sup>(1)</sup> ( _x −_ _x_ 0) <sup>1</sup> + 2 <sup><u>1</u></sup> As briefly described in Sec. 4 for case 2 depicted in Fig. 1, for the other given cases following system of equations can be derived. By solving the given sets of equation systems, the corresponding second-order derivatives ( <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ <sup>)</sup> <sup>in</sup> <sup>the</sup> <sup>perpendicular</sup> <sup>directions</sup> <sup>to</sup> <sup>the</sup> <sup>considered</sup> <sup>flow</sup> <sup>velocity</sup> <sup>direction</sup> <sup>for</sup> <sup>_i, j, k_</sup> <sup>=</sup> <sup>_<u>k</u>_</sup> <sup>2</sup> _i_ <sup>)</sup> <sup>in</sup> <sup>the</sup> <sup>perpendicular</sup> <sup>directions</sup> <sup>to</sup> <sup>the</sup> <sup>considered</sup> <sup>flow</sup> <sup>velocity</sup> <sup>direction</sup> <sup>for</sup> <sup>_i, j, k_</sup> <sup>=</sup> _∂x_ <sup>2</sup> (1 _,_ 2 _,_ 3) _,_ (2 _,_ 3 _,_ 1) _,_ (3 _,_ 1 _,_ 2) can be determined. Case 1: _<u>∂vk</u>_ 2 <sup><u>1</u></sup> _∂xi_ <sup>+</sup> <sup><u>1</u></sup> 8 _<u>∂vk</u>_ 2 <sup><u>1</u></sup> _∂xi_ <sup>+</sup> <sup><u>1</u></sup> 8 _i_ _vk_ 1 _≈_ _vk_ 2 _−_ 2 <sup><u>1</u></sup> _vk_ 3 _≈_ _vk_ 2 + 2 <sup><u>1</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 8 _∂x_ <sup>2</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 8 _∂x_ <sup>2</sup> _i_ _∂x_ <sup>3</sup> _i_    _∂x_ <sup>2</sup> _i_ _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _i_ _−_ 48 <sup><u>1</u></sup> + <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ _i_ _∂x_ <sup>2</sup> _i_ _i_ = _−_ 8 _vk_ 2 (26) _∂x_ <sup>2</sup> _i_ = 0 = 0       _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 48 <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 48 _∂x_ <sup>3</sup> _i_ _i_ Case 2: Case 3: Case 4: Case 5: _<u>∂vk</u>_ <sup><u>1</u></sup> 2 _∂xi_ <sup>+</sup> 8 <sup><u>1</u></sup> _i_ _vk_ 1 _≈_ _vk_ 2 _−_ <sup><u>1</u></sup> 2 _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 8 <sup><u>1</u></sup> _∂x_ <sup>2</sup> _i_ _i_ _∂x_ <sup>2</sup> _i_ _−_ 48 <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 48 <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ _∂x_ <sup>3</sup> _i_ _vk_ 3 _≈_ _vk_ 2 + <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 2 _∂x_ <sup>2</sup> _i_ _∂x_ <sup>3</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> <sup><u>1</u></sup> 2 _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>1</u></sup> _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ _i_ = <sup><u>8</u></sup> 3 <sup>_vk_</sup> <sup>3</sup> <sup>_−_</sup> <sup><u>16</u></sup> 3 <sup>_vk_</sup> <sup>2</sup> (27) <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 _∂x_ <sup>3</sup> _i_ _i_ _<u>∂vk</u>_ 2 <sup><u>3</u></sup> _∂xi_ <sup>+</sup> 8 <sup><u>9</u></sup> _i_ _vk_ 4 _≈_ _vk_ 2 + 2 <sup><u>3</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 8 <sup><u>9</u></sup> _∂x_ <sup>2</sup> _i_ _∂x_ <sup>3</sup> _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>9</u></sup> <sup><u>9</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 16 _∂x_ <sup>3</sup> _i_ _i_ _<u>∂vk</u>_ 2 <sup><u>3</u></sup> _∂xi_ <sup>+</sup> 8 <sup><u>9</u></sup> _i_ _i_ _vk_ 1 _≈_ _vk_ 3 _−_ 2 <sup><u>3</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 8 <sup><u>9</u></sup> _∂x_ <sup>2</sup> _i_ _∂x_ <sup>2</sup> _i_ _−_ 16 <sup><u>9</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 16 <sup><u>9</u></sup> _∂x_ <sup>3</sup> _i_ _∂x_ <sup>3</sup> _i_ = 0 = 0 = 0 = 0 _vk_ 2 _≈_ _vk_ 3 _−_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 2 _∂x_ <sup>2</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> <sup><u>1</u></sup> 2 _i_ _i_ _∂x_ <sup>2</sup> _i_ _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ _i_ = <sup><u>8</u></sup> 3 <sup>_vk_</sup> <sup>2</sup> <sup>_−_</sup> <sup><u>16</u></sup> 3 <sup>_vk_</sup> <sup>3</sup> (28) _−_ 6 <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ _∂x_ <sup>3</sup> _i_ _<u>∂vk</u>_ 2 <sup><u>1</u></sup> _∂xi_ <sup>+</sup> 8 <sup><u>1</u></sup> _i_ _vk_ 4 _≈_ _vk_ 3 + 2 <sup><u>1</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 8 <sup><u>1</u></sup> _∂x_ <sup>2</sup> _i_ _∂x_ <sup>3</sup> _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>1</u></sup> <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 48 _∂x_ <sup>3</sup> _i_ _i_ _<u>∂vk</u>_ 2 <sup><u>1</u></sup> _∂xi_ <sup>+</sup> <sup><u>1</u></sup> 8 _i_ _vk_ 1 _≈_ _vk_ 2 _−_ 2 <sup><u>1</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 8 _∂x_ <sup>2</sup> _i_ _i_ _∂x_ <sup>2</sup> _i_ _−_ 48 <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 48 <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ _∂x_ <sup>3</sup> _i_  = 0    = 0 <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 _∂x_ <sup>3</sup> _i_ _i_ _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ _i_ _vk_ 3 _≈_ _vk_ 2 + <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 2 <sup><u>1</u></sup> _∂x_ <sup>2</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> 2 <sup><u>1</u></sup> _i_ _∂x_ <sup>3</sup> _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>1</u></sup> = 2 _vk_ 3 _−_ 5 _vk_ 2 _−_ 5 <sup><u>1</u></sup> <sup>_vk_</sup> <sup>4</sup> (29) <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+ 2</sup> <sup>_<u>∂</u>_</sup> _∂x_ <sup>2</sup> <sup>_<u>v</u>_</sup> <sup>2</sup> _i_ <sup>_<u>k</u>_</sup> <sup><u>8</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 _∂x_ <sup>3</sup> _i_ _i_ _vk_ 4 _≈_ _vk_ 2 + 2 <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _∂x_ <sup>3</sup> _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>8</u></sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+ 2</sup> <sup>_<u>∂</u>_</sup> _∂x_ <sup>2</sup> <sup>_<u>v</u>_</sup> <sup>2</sup> _i_ <sup>_<u>k</u>_</sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 <sup><u>8</u></sup> _∂x_ <sup>3</sup> _i_ _vk_ 1 _≈_ _vk_ 3 _−_ 2 <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _i_ _∂x_ <sup>2</sup> _i_ _i_ _−_ 6 <sup><u>8</u></sup> _∂x_ <sup>3</sup> _i_ _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ _∂x_ <sup>3</sup> _i_ _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ _i_ _vk_ 2 _≈_ _vk_ 3 _−_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ 2 <sup><u>1</u></sup> _∂x_ <sup>2</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> 2 <sup><u>1</u></sup> _i_ _i_ _∂x_ <sup>2</sup> _i_ _−_ 6 <sup><u>1</u></sup> (30) = 2 _vk_ 2 _−_ 5 <sup><u>1</u></sup> <sup>_vk_</sup> <sup>1</sup> <sup>_−_</sup> <sup>5</sup> <sup>_vk_</sup> <sup>3</sup> _<u>∂vk</u>_ 2 <sup><u>1</u></sup> _∂xi_ <sup>+</sup> <sup><u>1</u></sup> 8 _i_ _vk_ 4 _≈_ _vk_ 3 + 2 <sup><u>1</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 8 _∂x_ <sup>2</sup> _i_ _∂x_ <sup>3</sup> _i_ _∂x_ <sup>2</sup> _i_ + <sup><u>1</u></sup> <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 48 _∂x_ <sup>3</sup> _i_ _i_ Case 6: Case 7 (4b): Case 8 (5b): _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ <sup><u>1</u></sup> _<u>∂</u>_ <sup>3</sup> _<u>vk</u>_ 6 _∂x_ <sup>3</sup> _i_ _∂x_ <sup>3</sup> _i_ _i_ _vk_ 1 _≈_ _vk_ 2 _−_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _vk_ 3 _≈_ _vk_ 2 + <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 2 _∂x_ <sup>2</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 2 _∂x_ <sup>2</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> <sup><u>1</u></sup> 2 _i_ _∂x_ <sup>2</sup> _i_ _i_ _−_ 6 <sup><u>1</u></sup> + <sup><u>1</u></sup> _∂x_ <sup>3</sup> _i_ _i_ _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ _i_ _∂x_ <sup>2</sup> _i_    _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _<u>∂vk</u>_ 2 <sup><u>1</u></sup> _∂xi_ <sup>+</sup> <sup><u>1</u></sup> 8 _i_ _vk_ 1 _≈_ _vk_ 2 _−_ 2 <sup><u>1</u></sup> _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 8 _∂x_ <sup>2</sup> _i_ _∂x_ <sup>2</sup> _i_ _∂x_ <sup>2</sup> _i_ _vk_ 3 _≈_ _vk_ 2 + <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 2 _∂x_ <sup>2</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> <sup><u>1</u></sup> 2 _i_ _i_ _∂x_ <sup>2</sup> _i_ _vk_ 1 _≈_ _vk_ 2 _−_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 2 _∂x_ <sup>2</sup> _i_ <sup>_<u>∂v</u>_</sup> _∂x_ <sup>_<u>k</u>_</sup> _i_ <sup>+</sup> <sup><u>1</u></sup> 2 _i_ _∂x_ <sup>2</sup> _i_  = 0    = 0 _;_ <sup>_<u>∂</u>_</sup> <sup>2</sup> <sup>_<u>vk</u>_</sup> _∂x_ <sup>2</sup> _i_ _<u>∂vk</u>_ <sup><u>1</u></sup> 2 _∂xi_ <sup>+</sup> <sup><u>1</u></sup> 8 _i_ _vk_ 3 _≈_ _vk_ 2 + <sup><u>1</u></sup> 2 _<u>∂</u>_ <sup>2</sup> _<u>vk</u>_ <sup><u>1</u></sup> 8 _∂x_ <sup>2</sup> _i_ _i_ = _vk_ 1 _−_ 2 _vk_ 2 + _vk_ 3 (31) = <sup><u>4</u></sup> 3 <sup>_vk_</sup> <sup>3</sup> <sup>_−_</sup> <sup>4</sup> <sup>_vk_</sup> <sup>2</sup> (32) = <sup><u>4</u></sup> 3 <sup>_vk_</sup> <sup>1</sup> <sup>_−_</sup> <sup>4</sup> <sup>_vk_</sup> <sup>2</sup> (33) _∂x_ <sup>2</sup> _i_ ### C Permeability computation For Re _<_ 1 _._ 0 the entries of the permeability tensor can be computed using Darcy‘s law (Darcy, 1856) q = <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> _µ_ <sup>k</sup> <sup>_ij_</sup> <sup>(</sup> <sup>e</sup> <sup>_i ⊗_</sup> <sup>e</sup> <sup>_j_</sup> <sup>)</sup> <sup>_· hk_</sup> <sup>e</sup> <sup>_k_</sup> <sup>=</sup> _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>k</sup> <sup>_ikhk_</sup> <sup>e</sup> <sup>_i_</sup> (34) <sup><u>1</u></sup> _qi_ e _i_ = <sup><u>1</u></sup> _µ_ <sup>k</sup> <sup>_·_</sup> <sup>h</sup> _→_ _µ_ where _hi_ = _−_ _∂x_ <sup>_<u>∂p</u>_</sup> _i_ <sup>=</sup> <sup>_−p,i_</sup> <sup>is</sup> <sup>the</sup> <sup>hydraulic</sup> <sup>gradient.</sup> <sup>Three</sup> <sup>numerical</sup> <sup>experiments</sup> <sup>must</sup> <sup>be</sup> <sup>performed</sup> <sup>to</sup> determine the nine entries in the coefficient matrix of the second order permeability tensor. Thereby, the following pressure gradients are applied for the different cases _a_ ) _h_ 1 _̸_ = 0 _∧_ _h_ 2 = _h_ 3 = 0 ; _b_ ) _h_ 2 _̸_ = 0 _∧_ _h_ 1 = _h_ 3 = 0 ; _c_ ) _h_ 3 _̸_ = 0 _∧_ _h_ 1 = _h_ 2 = 0 ; (35) and we measure three fluxes _qi_ for each case. By comparing the coefficients for the three equations for the flow _qi_ (Eq. (34), right) we receive _qi_ = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_kikhk_</sup> _→_ _i_ ) _q_ 1 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>[</sup> <sup>_k_</sup> <sup>11</sup> <sup>_h_</sup> <sup>1 +</sup> <sup>_k_</sup> <sup>12</sup> <sup>_h_</sup> <sup>2 +</sup> <sup>_k_</sup> <sup>13</sup> <sup>_h_</sup> <sup>3]</sup> _→_ _ii_ ) _q_ 2 = _−_ _µ_ <sup><u>1</u></sup> <sup>[</sup> <sup>_k_</sup> <sup>21</sup> <sup>_h_</sup> <sup>1 +</sup> <sup>_k_</sup> <sup>22</sup> <sup>_h_</sup> <sup>2 +</sup> <sup>_k_</sup> <sup>23</sup> <sup>_h_</sup> <sup>3]</sup> _→_ _iii_ ) _q_ 3 = _−_ _µ_ <sup><u>1</u></sup> <sup>[</sup> <sup>_k_</sup> <sup>31</sup> <sup>_h_</sup> <sup>1 +</sup> <sup>_k_</sup> <sup>32</sup> <sup>_h_</sup> <sup>2 +</sup> <sup>_k_</sup> <sup>33</sup> <sup>_h_</sup> <sup>3]</sup> wherefrom arise the following nine equations by means of the constraints _a)_ - _c)_ given in Eq. (35): (36) (37) _a_ ) _q_ 1 = _−_ _µ_ <sup><u>1</u></sup> _b_ ) _q_ 1 = _−_ _µ_ <sup><u>1</u></sup> _c_ ) _q_ 1 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>11</sup> <sup>_h_</sup> <sup>1</sup> <sup>_,_</sup> _q_ 2 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>12</sup> <sup>_h_</sup> <sup>2</sup> <sup>_,_</sup> _q_ 2 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>13</sup> <sup>_h_</sup> <sup>3</sup> <sup>_,_</sup> _q_ 2 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>21</sup> <sup>_h_</sup> <sup>1</sup> <sup>_,_</sup> _q_ 3 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>22</sup> <sup>_h_</sup> <sup>2</sup> <sup>_,_</sup> _q_ 3 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>23</sup> <sup>_h_</sup> <sup>3</sup> <sup>_,_</sup> _q_ 3 = _−_ _µ_ <sup><u>1</u></sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>31</sup> <sup>_h_</sup> <sup>1</sup> <sup>_,_</sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>32</sup> <sup>_h_</sup> <sup>2</sup> <sup>_,_</sup> _µ_ <sup><u>1</u></sup> <sup>_k_</sup> <sup>33</sup> <sup>_h_</sup> <sup>3</sup> <sup>_._</sup> It results in nine equations for nine unknown entries of the coeffiecient matrix of the second order permeability tensor. Numerically determined, one obtains slightly different values for two corresponding secondary diagonal elements. These are therefore averaged _k_ 12 = _k_ 21 = 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_k_</sup> <sup>12 +</sup> <sup>_k_</sup> <sup>21).</sup> <sup>The</sup> <sup>same</sup> <sup>procedure</sup> is adopted for _k_ 13, _k_ 31 and _k_ 23, _k_ 32. ### References Adler, P., Jacquin, C., & Quiblier, J. (1990). Flow in simulated porous media. _International_ _Journal_ _of_ _Multiphase_ _Flow_, _16_ (4), 691-712. doi: 10.1016/0301-9322(90)90025-E Andr¨a, H., Combaret, N., Dvorkin, J., Glatt, E., Han, J., Kabel, M., . . . Zhan, X. (2013a). Digital rock physics benchmarks—Part II: Computing effective properties. _Computers_ _&_ _Geosciences_, _50_, 33-43. doi: 10.1016/j.cageo.2012.09.008 Andr¨a, H., Combaret, N., Dvorkin, J., Glatt, E., Han, J., Kabel, M., . . . Zhan, X. (2013b). Digital rock physics benchmarks—Part I: Imaging and segmentation. _Computers_ _&_ _Geosciences_, _50_, 25-32. doi: 10.1016/j.cageo.2012.09.005 Aziz, K., & Wong, T. (1989). Considerations in the development of multipurpose reservoir simu lation models. In _First_ _and_ _Second_ _Forum_ _on_ _Reservoir_ _Simulation_ (pp. 77–208). Bakhshian, S., & Sahimi, M. (2016). Computer simulation of the effect of deformation on the morphology and flow properties of porous media. _Physical_ _Review_ _E_, _94_, 042903. doi: 10.1103/PhysRevE.94.042903 Batchelor, G. K. (1967). _An_ _Introduction_ _to_ _Fluid_ _Dynamics_ . Cambridge University Press. Bear, J. (1988). _Dynamics_ _of_ _Fluids_ _in_ _Porous_ _Media_ . Dover. Bear, J., & Verruijt, A. (1987). _Modeling_ _Groundwater_ _Flow_ _and_ _Pollution_ . Springer Science & Business Media. Bentz, D., & Martys, N. (2007). _A_ _Stokes_ _Permeability_ _Solver_ _for_ _Three-Dimensional_ _Porous_ _Media_ (Techreport No. NISTIR 7416). Bernard, D., Øyvind Nielsen, Salvo, L., & Cloetens, P. (2005). Permeability assessment by 3D interdendritic flow simulations on microtomography mappings of Al–Cu alloys. _Materials_ _Science_ _and_ _Engineering:_ _A_, _392_ (1), 112-120. doi: 10.1016/j.msea.2004.09.004 Blunt, M. J. (2017). _Multiphase_ _Flow_ _in_ _Permeable_ _Media:_ _A_ _Pore-Scale_ _Perspective_ . Cambridge University Press. Blunt, M. J., Bijeljic, B., Dong, H., Gharbi, O., Iglauer, S., Mostaghimi, P., . . . Pentland, C. (2013). Pore-scale imaging and modelling. _Advances_ _in_ _Water_ _Resources_, _51_, 197-216. doi: 10.1016/j.advwatres.2012.03.003 Borujeni, A. T., Lane, N., Thompson, K., & Tyagi, M. (2013). Effects of image resolution and numerical resolution on computed permeability of consolidated packing using LB and FEM pore-scale simulations. _Computers_ _&_ _Fluids_, _88_, 753-763. doi: 10.1016/j.compfluid.2013.05 .019 Burger, W., & Burge, M. J. (2016). _Digital_ _Image_ _Processing_ . London: Springer. doi: 10.1007/ 978-1-4471-6684-9 Cantisano, M. T., Restrepo, D. P., Cespedes, S., Toelke, J., Grader, A., Suhrer, M., & Walls, J. (2013). _Relative_ _Permeability_ _in_ _a_ _Shale_ _Formation_ _in_ _Colombia_ _Using_ _Digital_ _Rock_ _Physics_ (Vol. All Days). doi: 10.1190/urtec2013-092 Carman, P. C. (1997). Fluid flow through granular beds. _Chemical_ _Engineering_ _Research_ _and_ _Design_, _75_, S32–S48. doi: 10.1016/S0263-8762(97)80003-2 Chareyre, B., Cortis, A., Catalano, E., & Barth´elemy, E. (2012). Pore-scale modeling of viscous flow and induced forces in dense sphere packings. _Transport_ _in_ _Porous_ _Media_, _94_, 595–615. doi: 10.1007/s11242-012-0057-2 Chorin, A. J. (1967). A numerical method for solving incompressible viscous flow problems. _Journal_ _of_ _Computational_ _Physics_, _2_ (1), 12–26. doi: 10.1016/0021-9991(67)90037-x Darcy, H. (1856). _Les_ _fontaines_ _publiques_ _de_ _la_ _ville_ _de_ _Dijon:_ _Exposition_ _et_ _application_ _des_ _principes_ _`a_ _suivre_ _et_ _des_ _formules_ _`a_ _employer_ _dans_ _les_ _questions_ _de_ _distribution_ _d’eau_ . Paris: Victor Dalmont. Dawson, M. A., Germaine, J. T., & Gibson, L. J. (2007). Permeability of open-cell foams under compressive strain. _International_ _Journal_ _of_ _Solids_ _and_ _Structures_, _44_ (16), 5133–5145. doi: 10.1016/j.ijsolstr.2006.12.025 Dong, H., & Blunt, M. J. (2009). Pore-network extraction from micro-computerized-tomography images. _Physical_ _Review_ _E_, _80_, 036307. doi: 10.1103/PhysRevE.80.036307 Gerke, K. M., Vasilyev, R. V., Khirevich, S., Collins, D., Karsanina, M. V., Sizonenko, T. O., . . . Mallants, D. (2018). Finite-difference method Stokes solver (FDMSS) for 3D pore geometries: Software development, validation and case studies. _Computers_ _&_ _Geosciences_, _114_, 41–58. doi: 10.1016/j.cageo.2018.01.005 Guibert, R., Horgue, P., Debenest, G., & Quintard, M. (2016). A comparison of various methods for the numerical evaluation of porous media permeability tensors from pore-scale geometry. _Mathematical_ _Geosciences_, _48_, 329–347. doi: 10.1007/s11004-015-9587-9 Harlow, F. H., & Welch, J. E. (1965). Numerical calculation of time-dependent viscous incom pressible flow of fluid with free surface. _The_ _Physics_ _of_ _Fluids_, _8_ (12), 2182–2189. Helmig, R. (1997). _Multiphase_ _Flow_ _and_ _Transport_ _Processes_ _in_ _the_ _Subsurface:_ _A_ _Contribution_ _to_ _the_ _Modeling_ _of_ _Hydrosystems_ . Springer. Hilliard, Z., Evans, T. M., & Peszynska, M. (2024). Modeling flow and deformation in porous media from pore-scale to the Darcy-scale. _Results_ _in_ _Applied_ _Mathematics_, _22_, 100448. doi: 10.1016/j.rinam.2024.100448 Holmes, D. W., Williams, J. R., Tilke, P., & Leonardi, C. R. (2016). Characterizing flow in oil reservoir rock using SPH: absolute permeability. _Computational_ _Particle_ _Mechanics_, _3_, 141–154. doi: 10.1007/s40571-015-0038-7 Hommel, J., Gehring, L., Weinhardt, F., Ruf, M., & Steeb, H. (2022). Effects of enzymatically induced carbonate precipitation on capillary pressure–saturation relations. _Minerals_, _12_ (10). doi: 10.3390/min12101186 Iassonov, P., Gebrenegus, T., & Tuller, M. (2009). Segmentation of X-ray computed tomography images of porous materials: A crucial step for characterization and quantitative analysis of pore structures. _Water_ _Resources_ _Research_, _45_ (9), W09415. doi: 10.1029/2009wr008087 Icardi, M., Boccardo, G., Marchisio, D. L., Tosco, T., & Sethi, R. (2014). Pore-scale simulation of fluid flow and solute dispersion in three-dimensional porous media. _Physical_ _Review_ _E_, _90_, 013032. doi: 10.1103/PhysRevE.90.013032 Jiang, F., & Tsuji, T. (2014). Changes in pore geometry and relative permeability caused by carbonate precipitation in porous media. _Physical_ _Review_ _E_, _90_, 053306. doi: 10.1103/ PhysRevE.90.053306 Kozeny, J. (1927). ¨Uber die kapillare Leitung des Wassers im Boden. _Sitz._ _b._ _Sitzungberichte,_ _Mathematik,_ _Astronomie,_ _Physik_ _und_ _Meteorologie_, _136_, 271–306. Krach, D., Ruf, M., & Steeb, H. (2024). _POREMAPS_ _1.0.0:_ _Code,_ _Benchmarks,_ _Applications._ DaRUS. doi: 10.18419/darus-3676 Krach, D., & Steeb, H. (2023). Comparing methods for permeability computation of porous materials and their limitations. _PAMM_, _23_ (1), e202200225. doi: 10.1002/pamm.202200225 Lemaitre, R., & Adler, P. (1990). Fractal porous media IV: Three-dimensional stokes flow through random media and regular fractals. _Transport_ _in_ _Porous_ _Media_, _5_, 325–340. doi: 10.1007/ BF01141990 Liao, Q., Wei, Z., Yan, Z., You, S., Cui, M., Liu, X., . . . Guo, X. (2024). Parallelizable permeability estimation of digital porous media for sandstone using subvolume properties for flow in porous media. _Journal_ _of_ _Energy_ _Engineering_, _150_ (5), 04024023. doi: 10.1061/JLEED9.EYENG -5390 Liu, J., Pereira, G. G., & Regenauer-Lieb, K. (2014). From characterisation of pore-structures to simulations of pore-scale fluid flow and the upscaling of permeability using microtomography: A case study of heterogeneous carbonates. _Journal_ _of_ _Geochemical_ _Exploration_, _144_, 84-96. doi: 10.1016/j.gexplo.2014.01.021 Markert, B. (2007). A constitutive approach to 3-d nonlinear fluid flow through finite deformable porous continua. _Transport_ _in_ _Porous_ _Media_, _70_ (3), 427–450. doi: 10.1007/s11242-007-9107 -6 Math2Market GmbH. (2023). _GeoDict_ _Simulation_ _Software_ _Release_ _2023._ 10.30423/release .geodict2023. Message Passing Interface Forum. (2021). _MPI:_ _A_ _message-passing_ _interface_ _standard_ _version_ _4.0._ Retrieved from https://www.mpi-forum.org/docs/mpi-4.0/mpi40-report.pdf Noiriel, C., Steefel, C. I., Yang, L., & Bernard, D. (2016). Effects of pore-scale precipitation on permeability and flow. _Advances_ _in_ _Water_ _Resources_, _95_, 125-137. doi: 10.1016/j.advwatres .2015.11.013 Osorno, M., Schirwon, M., Kijanski, N., Sivanesapillai, R., Steeb, H., & G¨oddeke, D. (2021). A cross-platform, high-performance sph toolkit for image-based flow simulations on the pore scale of porous media. _Computer_ _Physics_ _Communications_, _267_, 108059. doi: 10.1016/ j.cpc.2021.108059 Peyret, R., & Taylor, T. D. (1983). _Computational_ _Methods_ _for_ _Fluid_ _Flow_ . Springer Berlin Heidelberg. doi: 10.1007/978-3-642-85952-6 Piovesan, A., Achille, C., Ameloot, R., Nicolai, B., & Verboven, P. (2019). Pore network model for permeability characterization of three-dimensionally-printed porous materials for passive microfluidics. _Physical_ _Review_ _E_, _99_, 033107. doi: 10.1103/PhysRevE.99.033107 Ruf, M., Lee, D., & Steeb, H. (2023). A multifunctional mechanical testing stage for micro x ray computed tomography. _Review_ _of_ _Scientific_ _Instruments_, _94_ (8), 085115. doi: 10.1063/ 5.0153042 Ruf, M., & Steeb, H. (2020). An open, modular, and flexible micro X-ray computed tomography system for research. _Review_ _of_ _Scientific_ _Instruments_, _91_ (11), 113102. doi: 10.1063/5.0019541 Ruf, M., & Steeb, H. (2024). _In_ _situ_ _micro-XRCT_ _data_ _set_ _of_ _an_ _open-cell_ _polyurethane_ _foam_ _sample_ _under_ _uniaxial_ _compression_ _load._ DaRUS. doi: 10.18419/darus-3010 Ruf, M., Steeb, H., & Karadimitriou, N. (2023). Visualization of the uniaxial compression of open cell foams. In _Album_ _of_ _Porous_ _Media:_ _Structure_ _and_ _Dynamics_ (pp. 117–117). Springer. Russ, J. C., & Neal, F. B. (2016). _The_ _Image_ _Processing_ _Handbook_ (7th ed.). Boca Raton, FL: CRC Press. Saxena, N., Hofmann, R., Alpak, F. O., Berg, S., Dietderich, J., Agarwal, U., . . . Wilson, O. B. (2017). References and benchmarks for pore-scale flow simulated using micro-ct images of porous media and digital rocks. _Advances_ _in_ _Water_ _Resources_, _109_, 211-235. doi: 10.1016/ j.advwatres.2017.09.007 Scheidegger, A. E. (1957). _The_ _Physics_ _of_ _Flow_ _through_ _Porous_ _Media_ . University of Toronto press. Schl¨uter, S., Sheppard, A., Brown, K., & Wildenschild, D. (2014). Image processing of multiphase images obtained via X-ray microtomography: A review. _Water_ _Resources_ _Research_, _50_ (4), 3615–3639. doi: 10.1002/2014wr015256 Stock, S. R. (2019). _MicroComputed_ _Tomography:_ _Methodology_ _and_ _Applications_ (2nd ed.). Boca Raton, FL: CRC Press. Tartakovsky, A. M., Trask, N., Pan, K., Jones, B., Pan, W., & Williams, J. R. (2016). Smoothed particle hydrodynamics and its applications for multiphase flow and reactive transport in porous media. _Computational_ _Geosciences_, _20_, 807–834. doi: 10.1007/s10596-015-9468-9 Thomas, M., & Corry, B. (2016). A computational assessment of the permeability and salt rejec tion of carbon nanotube membranes and their application to water desalination. _Philosoph-_ _ical_ _Transactions_ _of_ _the_ _Royal_ _Society_ _A:_ _Mathematical,_ _Physical_ _and_ _Engineering_ _Sciences_, _374_ (2060), 20150020. doi: 10.1098/rsta.2015.0020 Tuller, M., Kulkarni, R., & Fink, W. (2013). Segmentation of X-ray CT data of porous materials: A review of global and locally adaptive algorithms. In S. H. Anderson & J. W. Hopmans (Eds.), _Soil–water–root_ _processes:_ _Advances_ _in_ _tomography_ _and_ _imaging_ (pp. 157–182). American Society of Agronomy and Soil Science Society of America. doi: 10.2136/sssaspecpub61.c8 Wagner, A., Eggenweiler, E., Weinhardt, F., Trivedi, Z., Krach, D., Lohrmann, C., . . . Rybak, I. (2021). Permeability estimation of regular porous structures: A benchmark for comparison of methods. _Transport_ _in_ _Porous_ _Media_, _138_, 1–23. doi: 10.1007/s11242-021-01586-2 Weinhardt, F. (2022). _Porosity_ _and_ _Permeability_ _Alterations_ _in_ _Processes_ _of_ _Biomineralization_ _in_ _Porous_ _Media-Microfluidic_ _Investigations_ _and_ _Their_ _Interpretation_ (Doctoral dissertation, University of Stuttgart). doi: 10.18419/opus-12822 Weinhardt, F., Class, H., Vahid Dastjerdi, S., Karadimitriou, N., Lee, D., & Steeb, H. (2021). Ex perimental methods and imaging for enzymatically induced calcite precipitation in a microfluidic cell. _Water_ _Resources_ _Research_, _57_ (3), e2020WR029361. doi: 10.1029/2020WR029361 Weinhardt, F., Deng, J., Hommel, J., Vahid Dastjerdi, S., Gerlach, R., Steeb, H., & Class, H. (2022). Spatiotemporal distribution of precipitates and mineral phase transition during biomineralization affect porosity–permeability relationships: Microfluidic investigations. _Transport_ _in_ _Porous_ _Media_, _143_ (2), 527–549. doi: 10.1007/s11242-022-01782-8 Weinhardt, F., Deng, J., Steeb, H., & Class, H. (2022). _Optical_ _Microscopy_ _and_ _log_ _data_ _of_ _En-_ _zymatically_ _Induced_ _Calcite_ _Precipitation_ _(EICP)_ _in_ _microfluidic_ _cells_ _(Quasi-2D-structure)._ DaRUS. doi: 10.18419/darus-1799 White, F. M., & Majdalani, J. (2006). _Viscous_ _Fluid_ _Flow_ . McGraw-Hill New York. Wildenschild, D., & Sheppard, A. P. (2013). X-ray imaging and analysis techniques for quantifying pore-scale structure and processes in subsurface porous medium systems. _Advances_ _in_ _Water_ _Resources_, _51_, 217-246. (35th Year Anniversary Issue) doi: 10.1016/j.advwatres.2012.07.018 Wildenschild, D., Vaz, C., Rivers, M., Rikard, D., & Christensen, B. (2002). Using X-ray com puted tomography in hydrology: systems, resolutions, and limitations. _Journal_ _of_ _Hydrology_, _267_ (3), 285-297. doi: 10.1016/S0022-1694(02)00157-9 Withers, P. J., Bouman, C., Carmignato, S., Cnudde, V., Grimaldi, D., Hagen, C. K., . . . Stock, S. R. (2021). X-ray computed tomography. _Nature_ _Reviews_ _Methods_ _Primers_, _1_ (18). doi: 10.1038/s43586-021-00015-4

섹션 본문 95문단 · 46,108자

(제목 없음)

1Porous materials are ubiquitous in various engineering and geological applications, where their permeability plays a critical role in viscous fluid flow and transport phenomena.Understanding and characterizing the microscale properties, the effective hydraulic parameters, and also the anisotropy of porous materials are essential for accurate modeling and predicting fluid flow behavior.The study pursues the Digital Rock Physics approach to retrieve intrinsic permeability and its evolution in anisotropic configurations of porous media, which are subjected to pore space alterations.Therefore, we discuss the development and implementation of a computational framework based on the finite difference method to solve the pseudo-unsteady Stokes equations for fluid flow on the pore scale.We present an efficient and highly parallelized implementation of this numerical method for large voxel-based data sets originating from different image-based experimental setups.A comprehensive variety of benchmarks has been conducted to assess and evaluate the performance of the proposed solver.The solver's compatibility with huge domain sizes generated by state-of-the-art imaging techniques is demonstrated.We investigate an open-cell foam undergoing deformation, observing that contrary to initial expectations, no anisotropy emerges.Further, we examine a microfluidic cell experiencing precipitation within its pore space, resulting in clear anisotropic development during the clogging process.

Introduction

2Experimental investigations and numerical simulations of fluid flow through porous materials with a large variety of hydro-mechanical properties are of interest in many fields such as hydrosystems modeling, groundwater flow and contaminant transport (Bear & Verruijt, 1987;Helmig, 1997), oil reservoir exploitation (Aziz & Wong, 1989;Cantisano et al., 2013) and industrial applications like membranes for water desalination (Thomas & Corry, 2016).The majority of all investigations operate at the macro, i.e., Darcy scale, and use a coarse-grained continuum theory, which means that individual pore geometries are not physically resolved.Further, the correlation between viscous fluid flow and corresponding driving force is assumed to be linear.Porosity ϕ and the intrinsic permeability tensor k = kij ei ⊗ ej serve as input parameters for these models.Regimes where the components of the permeability tensor kij do not linearly depend on the driving force are denoted as non-Darcian and are beyond the scope of this contribution.In general, ϕ and effective hydraulic properties like k of the porous material are highly sensitive to the distinct porous microstructure.This work primarily centers on the assessment and determination of the intrinsic permeability tensor k.There are numerous experimental, semi-analytical and numerical methodologies for permeability determination documented in the literature.Given the expense and complexity of flow experiments and their limitations, and the limited applicability of semi-analytical models it is preferable to assess these parameters with computer simulations.Advances in three-dimensional (3D) imaging techniques like micro X-Ray Computed Tomography (µXRCT) and the meanwhile widespread availability of appropriate devices (Withers et al., 2021;Wildenschild, Vaz, Rivers, Rikard, & Christensen, 2002;Wildenschild & Sheppard, 2013;Ruf & Steeb, 2020) allow to fully resolve 3D pore geometries at high-resolution and allow for the flow problem to be solved directly at the pore scale for many porous materials (Blunt et al., 2013).

3Moreover, two-dimensional (2D) data, e.g., generated from images of microfluidic experiments acquired by optical microscopy, extended in the third spatial direction can provide further input data (Hommel, Gehring, Weinhardt, Ruf, & Steeb, 2022;Weinhardt, Deng, Hommel, et al., 2022).Deformation of the pore space or precipitation and a corresponding decrease in porosity have a direct influence on hydro-mechanical properties of a material.Certainly, the process of experimentally determining anisotropic permeability in the course of an experiment is inherently intricate.Acquiring the complete permeability tensor k is mostly impossible.Nonetheless, this investigation is particularly significant due to the non-trivial implications of deformation or precipitation on the principal directions of hydraulic properties or the material's anisotropic characteristics.In the literature, numerical solvers are applied to porous materials undergoing changes in pore space, cf. for geochemical alteration like calcite precipitation (Noiriel, Steefel, Yang, & Bernard, 2016), carbonate precipitation for carbon capture and storage applications (Jiang & Tsuji, 2014) or external strain causing deformation (Bakhshian & Sahimi, 2016;Hilliard, Evans, & Peszynska, 2024).Another field of interest is the benchmark of specially designed materials whereby the permeability can be controlled via the manufacturing parameters on Al-Cu alloys (Bernard, Øyvind Nielsen, Salvo, & Cloetens, 2005).Due to the limitations of experimentally viable boundary conditions, e.g.undrained boundary conditions along the cylinder of the sample in conventional triaxial cells, a priori assumption has to be made for the orientation of principal directions of k.The utilization of the aforementioned imaging techniques combined with computer simulations provides a way for achieving this in a systematic way while circumventing any a priori assumption.However, in order to determine changes in anisotropy or computing porosity-permeability relationships, for example, many data points and correspondingly many individual simulations are required.While various numerical methods like Finite Element Method (FEM) (Borujeni, Lane, Thompson, & Tyagi, 2013;Chareyre, Cortis, Catalano, & Barthélemy, 2012), Finite Volume Method (FVM) (Chareyre et al., 2012;Liao et al., 2024) and Lattice-Boltzmann Methods (LBM) (Borujeni et al., 2013;Liu, Pereira, & Regenauer-Lieb, 2014), Smoothed Particle Hydrodynamics (SPH) (Osorno et al., 2021;Tartakovsky et al., 2016;Holmes, Williams, Tilke, & Leonardi, 2016) or Pore Network Modeling (PNM) (Dong & Blunt, 2009;Piovesan, Achille, Ameloot, Nicolai, & Verboven, 2019;Blunt, 2017) have been employed to simulate pore-scale fluid flow, each method comes with its own set of limitations and advantages.In this work, we present an efficient and reliable solver for the Stokes equations by implementing a Finite Difference Method (FDM) based algorithm.In terms of numerical efficiency, the solver is tuned for voxel-based cartesian grids as directly obtained from image-based characterization methods like XRCT or microfluidics.It stands out as a versatile and well-established choice due to its straightforward implementation and suitability for complex geometries (Peyret & Taylor, 1983;Bentz & Martys, 2007;Gerke et al., 2018;Lemaitre & Adler, 1990;Adler, Jacquin, & Quiblier, 1990).In addition, FDM is a simple approach in terms of the algorithm, has advantages when using regular grids, and can be effectively parallelized due to its local nature.The objective is to develop a resilient and modular open-source tool that advances our comprehension of fluid flow at the pore-scale and addresses the issue of evolving anisotropies in porous media under varying conditions.The software tool should be able to handle state-of-the-art data sets from XRCT scans (up to 2000 3 voxels) on various computing architectures and should allow for further extensions.Besides research codes which do not allow for further extensions (only executable of the software available (Gerke et al., 2018)) or commercial solvers such as GeoDict (Math2Market GmbH, 2023), there are common opensource packages such as OpenFoam, e.g.used in Icardi, Boccardo, Marchisio, Tosco, and Sethi (2014); Guibert, Horgue, Debenest, and Quintard (2016), which are extremely flexible but therefore not tuned for the mentioned demands.Others, like the tool from the National Institute for Standards and Technology (Bentz & Martys, 2007) which is written in Fortran, are not multi-node parallelized.The rationale behind developing a new solver, despite the existence of current solutions, is multilayered.We present a FDM solver, exclusively dependent on the Message Passing Interface (MPI), that is fully open source and platform independent and works directly on binarized data sets which essentially is an important tool in porous media research.Moreover, its full integration into existing experimental setups streamlines the research process, promoting a more cohesive and comprehensive approach to investigate complex phenomena.Since large domains (state-of-the-art XRCT data-sets comprise up to 10 9 -10 10 voxels) have to be simulated, in combination with several snapshots for time-resolved investigations, the efficiency and performance as well as the simplicity of the presented FDM solver is the main focus.The code is written in procedural, functional C++ and is parallelized with the MPI to run on multi-node, multi-core CPU systems.For these reasons, in addition to the permeability determination derivation (Sec.2), the mathematical basics (Sec.3), and the numerical principles (Sec.4), it is particularly important for us to address the implementation and technical aspects (Sec.5) as well as to provide a detailed validation against various benchmark cases (Sec.6).In Sec. 7, we demonstrate the developed solver to investigate two distinct materials characterized by alterations in their pore space.These alterations are anticipated to result in changes not only in the magnitude of the permeability but also in the permeability anisotropy ratio.Specifically, our study focuses on an open-cell foam, which defies expectations by not exhibiting anisotropy as it undergoes deformation.Additionally, we investigate a porous micro-structure exposed to mineral precipitation and subsequently clogging, revealing a development of anisotropy that is notably influenced by the boundary conditions of the underlying experiment.

Permeability tensor and principal permeabilities

4Permeability is defined as a proportionality factor between pressure gradient across the examined sample and fluid fluxes (grad p ∝ q).For homogeneous materials, that are known to have isotropic material behavior a scalar value is used for the hydraulic permeability.Intrinsic permeability quantifies viscous losses in continuum-based Darcy-type models.In the generic case, the effective permeability k is a second order tensor

5where kij are the components and the cartesian basis vectors ei build the tensorial basis through its dyadic product.Bold notation is employed to represent tensors and vectors, with the implicit assumption that equations in index notation abide by Einstein's summation convention.The coefficient matrix is symmetric and positive definite (Bear, 1988;Scheidegger, 1957).In contrast to the experimental determination of permeability, the numerical approach is capable of computing secondary diagonal elements of kij, which is required for a complete hydraulic characterization.Solving the characteristic polynomial det (k − λI) = 0 for the eigenvalues λi (also referred to principal permeabilities kI , kII , kIII ) we obtain the permeability tensor in its spectral form

6expressed in a basis system with the principle axes ẽi, that are computed by solving (k − λiI) • ẽi = 0.I is the second order identity tensor.The orientation of the principal axes with respect to the basis system ei is computed via the rotation tensor R = R ik (ei ⊗ e k ) whereby ẽi = R • ei and R ki = cos ∢ (e k , ẽi) hold.

7Determining the principal permeabilities enables categorization of the material into one of the following classes:

81. Isotropy: kI = kII = kIII Same hydraulic properties in all three principal directions.

92. Orthotropy: kI ̸ = kII ∧ kI ̸ = kIII ∧ kII ̸ = kIII Unique and independent hydraulic properties in three mutually perpendicular directions.

Transverse anisotropy: kI

10Same hydraulic properties in one plane.Thus, there are two independent constants in the permeability tensor.Typical examples of this material class are wood, unidirectional fiber composites or sedimentary sandstones.

113 Governing equations on the pore scale

12Pore scale refers to the length scale at which individual pores and their geometrical features, such as pore size and shape, are significant.At this scale, the fluid flow pattern is strongly influenced by the morphology of the pores, as well as the viscous momentum interactions between the fluid phase and the solid skeleton.Pore scale simulations are used to study fundamental aspects of porous media flow as well as the determination of properties, used in coarse-grained Darcy scale methods.We are interested on solving for intrinsic effective permeability and therefore consider solving fluid flow at stationary creeping flow conditions.Accordingly, the following applies for the Reynolds number

13and the fundamental equations to be solved are the Stokes equations consisting of the balance of linear momentum for an incompressible Newtonian fluid (Peyret & Taylor, 1983)

14and the balance of mass div v = 0 (5)

15where ρ, ρ0, v, µ, p, V, L are the fluid density, the rest density of the fluid, fluid velocity vector, (constant) dynamic viscosity of the fluid, pore fluid pressure and the characteristic velocity and length, respectively.No body force is used.In porous media L is assumed as the characteristic (mean) pore diameter and V is calculated from the applied/measured flux q.In addition to characteristic properties, indicated by notation in script typestyle, to scale physical quantities we denote dimensionless variables and operators by (•) * .It is well known that solving Eqs. ( 4) and ( 5) causes problems due to the special role of pressure.Therefore, this set of governing equations is extended with an artificial time derivative and a so-called pseudo-unsteady method is used (Peyret & Taylor, 1983).In this manner, for the numerical implementation, we do not fulfill the incompressibility condition as an algebraic constraint.Instead a artificial compressibility formulation will considered with an equation of state for the fluid pressure p(ρ).Hence, we obtain for the nondimensional equations to be solved

16where c * is the dimensionless speed of sound also referred to artificial compressibility parameter.This numerical approach solves the steady-state Stokes equations by transforming them into a pseudo-time dependent problem which is feasible when dealing with low Reynolds number fluid flows in porous media.It provides a computationally efficient alternative to directly solving the steady-state equations and it can be shown that the solution converges for t → ∞ to the steady-state solution of the original problem (Chorin, 1967;Gerke et al., 2018;Peyret & Taylor, 1983).The detailed nondimesionalization with introduction of all quantities, dimensionless differential operators and constitutive equations can be found in Appendix A.

Finite difference scheme for Stokes equations

17Simulation parametrization: We introduce the reference length L = 1 vx (voxel) and the reference velocity V = 1vx s .As driving force a constant pressure gradient across the domain is employed and as initial conditions we set * grad(p * ) = 1 vx .Furthermore, no body force is present (b = 0).We require small Reynolds number and fix Re = 0.01 and c * 2 = 1.5 × 10 6 as in Bentz and Martys (2007).Note that the dimension c * 2 ≈ 10 6 fits well to the physical ratio of the speed of sound in water to the assumed characteristic velocity of creeping flow conditions.

18Grid: Space is discretized with a regular staggered Marker-and-Cell (MAC) grid (Harlow & Welch, 1965), where fluid velocities are stored on the faces of the cells, while the pressure values are stored at the cell centers.Storing different quantities on different locations within each cell, allowing for an efficient and accurate computation of the pressure gradients and additionally for the exact modeling of no-penetration conditions at the fluid-solid interfaces.

19Boundary in the numerically considered domain and second order derivatives: For the outer boundaries we apply periodic conditions to simulate a periodic or repeating behavior of the physical system in a unit cell being modeled or use no-slip no-penetration boundary conditions initially assumed to be not suitable for anisotropy investigations since the transverse flow would be zero.The outer boundary in direction of the pressure gradient is always periodic for the local flux.In main flow direction we employ fixed pressure conditions.Fluid-solid boundaries correspond to the pixel boundaries of the binary 3D image and we use no-slip no-penetration boundary conditions on the interfaces, cf.Fig. 1.Second-order derivatives perpendicular to the local flow direction are analytically determined based on Taylor series approximations.This ensures that the no-slip condition is fulfilled on the fluid-solid voxel surfaces.We distinguish 8 basis cases, whereas the last two ones are special cases of cases 4 and 5, and are only required for the second voxel layers used for the boundary conditions.Therefore, we have theoretically the same number of 6 cases as in Bentz and Martys (2007); Gerke et al. (2018).In Fig. 1 the eight distinguished cases are exemplary illustrated for the flow direction e k and the perpendicular direction ei.

20Case 1

Case 2

21Case 3 Case 4

22Case 5 Case 6 Case 7 (4b) Case 8 (5b) ) in the perpendicular directions to the considered flow velocity direction for i, j, k = (1, 2, 3), (2, 3, 1), (3, 1, 2).

23Based on the velocity definitions in Fig. 1, the second-order derivatives for the different cases can be computed by solving a resulting system of equations.For instance, for case 2 we get a set of three

24An overview of all cases of neighborhood consideration can be found in the Appendix B.

25Permeability computation: In the so-called creeping flow regime, characterized by low Reynolds numbers, Re < 1.0, it is valid to employ Darcy's law (Darcy, 1856)

26to compute the entries of the second order permeability tensor where hi = − ∂p ∂x i = −p,i is the pressure gradient.In order to determine the nine entries in the coefficient matrix of the permeability tensor, three numerical simulations must be performed.The following pressure gradients hi are specified for the different simulations

27(9) and we measure three fluxes qi for each case.For case c), all properties are illustrated in Fig. 2. By comparing the coefficients (Eq.( 8), right), nine equations are obtained for nine entries of the coefficient matrix of the permeability tensor.A detailed list of the equations for determining the complete permeability tensor k can be found in Appendix C.

28Figure 2: Illustration of the components of Darcy's law with the given boundary values for the pressure p in and p out used to compute the gradient h 3 .Volumetric fluxes q 2 , q 3 are evaluated over the respective boundaries A 2 , A 3 .In e 1 -direction, the volumetric flux is not shown here, but is handled analogously.With given pressure gradients h 3 ̸ = 0 and h 1 = h 2 = 0, this represents case c) in Eq. ( 9).

295 Computational aspects

Processing input data

30Binarized 3D image data (8-bit file format) distinguishing between solid phase and pore space are employed as input for the solver.Typically performed image pre-processing steps depending on the exact imaging technique (e.g, denoising and segmentation) are well-documented in the literature, e.g., Andrä et al. (2013bAndrä et al. ( , 2013a)); Burger and Burge (2016); Iassonov, Gebrenegus, and Tuller (2009); Russ and Neal (2016); Schlüter, Sheppard, Brown, and Wildenschild (2014); Tuller, Kulkarni, and Fink (2013) and will not be further elaborated upon here.Depending on the boundary conditions and material, a few pre-processing steps need to be conducted, such as mirroring for symmetric periodicity, domain cropping, or the elimination of disconnected pore spaces.This depends upon the specific problem at hand, a topic that will be delved into within the dedicated application sections.The solver operates under the assumption that the percolation condition is met.

Implementation

31The solver is completely implemented in C++ and parallelized with OpenMPI (version 4.1.5)(Message Passing Interface Forum, 2021) to employ it on distributed memory architectures.Special emphasis is put on keeping the code as simple as possible.For the domain decomposition we use a communicator on a Cartesian topology (MPI Cart create) which is particularly well suited for regular meshes and 3D geometries.The file IO is fully parallelized and communication between the ranks is executed by blocking send-receive operations.We work directly with binary data which is RAM-efficient allows for a concise.The source code of POREMAPS is published in Krach, Ruf, and Steeb (2024).

32Algorithm The inherent domain decomposition of MPI optimizes communication by embedding the virtual topology onto the physical machine as efficient as possible but is not necessarily suitable for domains with high aspect ratios (see Sec. 7.3).Therefore, it is possible to include the desired number of ranks in each direction directly in the input file.

Scaling

33The scalability of FDM codes has been studied extensively in the literature.Several factors contribute to weak scalability, including the communication overhead, memory requirements, and load balancing.For the scaling test we use a 50 3 voxel regular sphere packing per core and the hardware of the experimental compute cluster "ehlers" of the EXC 2075 "SimTech" Cluster of Excellence (University of Stuttgart).The CPU partition is comprised of 8 nodes with 128 cores (2 × 64 cores, AMD EPYC 7702) each and 200 Gb/s Infiniband interconnect and 2 TB of RAM.Weak Scaling on multiple nodes

34Figure 3: Weak scaling on one node using 1, 2, 4, 8, 16, 32, 64, 128 cores (left) and 1-8 nodes with 128 cores each (right).

35The algorithm is very communication-heavy.The influence of increasing core-to-core (Fig. 3, left) or node-to-node communication (Fig. 3, right) causes a decrease in performance.However, as soon as com-munication in all three spatial directions is required (> 8 cores), the computed time steps per second (TPS) are almost constant.Accordingly, the results are satisfactory for the problems at hand.Considering targeted domain sizes, tests beyond 1024 cores are not significant for our applications and therefore not considered here.

Benchmarks

36The code has been developed to be able to study complex, heterogeneous porous materials.To justify the application of the solver to diverse domains, a multi-layered benchmark and validation program is conducted.We validate the code against analytical solutions such as Poiseuille flow and channel flow as well as empirical relations such as the Kozeny-Carman equation for sphere packings with different porosities.We further evaluate our workflow for the determination of the anisotropy and the secondary diagonal elements of the permeability tensor.Finally, we compare our code with other solvers like LBM, FEM or mathematical homogenization for different types of porous materials.

Hagen-Poiseuille equation

37The laminar creeping flow of a Newtonian fluid through a pipe is a standard benchmark for CFD codes.

38The tube is per definition periodic in direction of the pressure gradient.We compare results for different resolutions and the analytical Hagen-Poiseuille equation presented in Batchelor ( 1967) We compare simulation results obtained for different resolutions (L/dx = {5, 10, 20, 50, 100}) and present the velocity profiles through the center of the tube, see Fig. 4, left.All resolutions deliver very similar solutions and are in line with the analytical solution Eq. ( 10).Fig. 4, right, gives the cross-section through the tube visualizing the radially symmetric velocity pattern.

Channel flow -rectangular cross section

39To benchmark slightly more complex structures, we analyze the flow through a rectangular channel.It has an advantage over the tube in Sec.6.1, since it can be discretized on a cubic lattice without introducing a discretization error.The benchmark provides information about the resolution at which we can expect valid results from the solver.That is of particular interest for the study of microfluidic experiments in order to resolve the channels sufficiently.Presented are simulation results for different resolutions (h/dx = {3, 5, 10, 25, 50, 100}) for the channel height h.The width of the channel equals b = 2h.Already with a resolution of the channel cross-section using 5 × 10 voxels, the volumetric flow rate Q = q • A corresponds with results for higher resolutions.Although the solution depends on the discretization, it converges already for low resolutions.

Regular sphere packings

40Due to the periodicity of regular sphere packings, the simulation of flow can be reduced to a cubic unit cell of side-length L. It is therefore possible to simulate representative porous structures without pushing the domain size too far.In addition, the permeability in direction of the cubic unit cell edges is identical and semi-analytical estimates exist.Therefore, we investigate differently arranged sphere packings (Simple Cubic (SC), Body-Centered Cubic (BCC), Face-Centered Cubic (FCC)) for a sweep over a wide range for the porosity ϕ = {0.1,0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}.In addition, all simulations are run at three different resolutions L/dx = {60, 100, 200}.The results are compared with permeability estimates k KC 1 by the semi-analytical, semi-empirical Kozeny-Carman equation (Carman, 1997;Kozeny, 1927)

41where D, cKC are the sphere diameter and the Kozeny-Carman constant for which the value cKC = 180 is set.In addition, the Stokes solution is further compared with results from a SPH solver that performs simulations based on weakly compressible Navier-Stokes equations (Osorno et al., 2021).The results of the two solvers and also in comparison with the semi-analytical solution match almost perfectly.It can be concluded that the solver is capable for a wide range of porosities.A single simulation for a resolution of L/dx = 100 takes in average 40 minutes on a desktop PC using 4 cores (11th Gen Intel(R) Core(TM) i7-11700KF @ 3.60GHz).

Permeability tensor and principal permabilities

42To compute the anisotropic permeability behavior of various materials, we must not only consider standard benchmarks and those for simple porous materials but also include benchmarks with known or adjustable principal directions.For this purpose, we create a cube with 100 3 voxels corresponding to 1 mm 3 and place an ellipsoid in the center.It has the following semi-axes in Cartesian coordinates ei each given in absolute voxel numbers: e1 : a = 35; e2 : b = 10; e3 : c = 35 .By using this per se periodic structure, one does not have to consider the difficulties that would arise from symmetrical or translational periodization (Guibert et al., 2016).We rotate the single ellipsoid around e1-axis in 5 • steps for 0 • ≤ α ≤ 90 • and compute fluid flow and permeability, whereby the consideration of the permeability in e1-direction does not play a role in our evaluation for the time being.Thus the computation of the permeability tensor in Eq.( 1) is reduced to a two-dimensional problem and eigenvalues as well as principal directions can be represented by an ellipse.and finally receive the coefficient matrix for the principle axes system kij = 3.82 0 0 9.42

43Numerically determined, one obtains slightly different values for two corresponding secondary diagonal elements.These are therefore averaged k12 = k21 = 1 2 (k12 + k21).The same procedure would adopted for k13, k31 and k23, k32.In this reduced case, the angle φ between the axes in the original basis system and the principal directions is computed by

44which matches very well to what was being specified.The listing of all values can be found in Table 1 and a selection is visualized in Fig. 8.We observe a clearly recognizable trend for increase of the permeability k22 and decrease of k33 with increasing rotation α.Performing the transformation, we obtain the same eigenvalues for the permeability, except for minimal differences, which can be explained by the numerical aspects and issues related to discretization.The calculated angles for small α still exhibit noticeable deviations from the geometrically prescribed angles, with a maximum deviation of up to 4.6

45• .An error arises since the analysis for α 1 = 0 • includes a simulation α 2 = 90 • where the flow approaches the ellipsoid from its wide side.In Table 1 we can also see two outliers for the secondary diagonal elements for α = 0 • and α = 5 • .The larger the inclination, the more precisely the simulation result reproduces the angle presupposed in the real geometry.For α = 40 • the error corresponds to only 0.1 • .For this comparably straightforward benchmark geometry, we can demonstrate the overall effectiveness of the workflow.It is worth highlighting that when the flow approaches the ellipsoid at α = 90 • , it leads to deviations in the secondary diagonal elements.This intriguingly results in enhanced solution accuracy when the system is maximally distant from one based on the principal directions.

Testing against other codes

46Regular thin porous media (2D microfluidic devices): In Sec.7.3 we investigate structures that have a small thickness compared to their lateral dimensions.The dimensions of such thin ("2D") porous materials, which are often used in microfluidic characterization of porous media flow, pose problems for numerical methods in terms of efficiency and convergence.To ensure the applicability of the solver for such requirements, we compare it with benchmarks for regular 2D porous materials described in (Wagner et al., 2021).The dimension of the simulated unit cell is 1 mm × 0.091 mm × 1 mm and is discretized by 250 × 27 × 250 voxels, with a solid frame of two voxels thick each, included in the e2 direction.All results align with the solutions provided in the benchmark paper.Irregular sphere packings and porous rock: There are several benchmark papers providing suitable geometries (Andrä et al., 2013b(Andrä et al., , 2013a;;Saxena et al., 2017).The solver is compared with different 3D benchmarks where permeabilities are computed with, among others, different LBM solvers (Saxena et al., 2017).We compute the sphere packing, one Berea sandstone (Rock1 ), and one Fontainebleau sandstone (Rock3 ) sample.The characteristics of the geometries and a comparison of the computed permeabilities k11 are summarized in Table 3.The results for k11 are in accordance with the solutions determined by LBM and thus we consider the benchmarking to be succesful and completed.

Applications

47In this section, three different application scenarios are shown to demonstrate the capabilities of POREMAPS.

48The corresponding domain sizes and computational times are summarized in Table 4.The solver is primarily designed to analyze large, high-resolved 3D images of porous materials typically acquired by 3D imaging methods like µXRCT (Stock, 2019;Ruf & Steeb, 2020;Withers et al., 2021).This allows the digital characterization of porous materials with regard to hydraulic permeability and can be integrated into the imaging workflow as a subsequent standard procedure.In µXRCT imaging, resolution of REVs is often given by 3D images having more than 1000 3 voxel.High-resolution X-ray flat panel detectors having around 3000 × 3000 pixel and more are not uncommon anymore.This means in terms of the reconstructed 3D images, that they can have ≈ 3000 3 voxel.With appropriate hardware (large memory), the presented code is capable to handle such big 3D images.

49To demonstrate this, we use the 3D image of the Berea sandstone (1024×1024×1024 voxel), and the sphere packing × 791 × 793 voxel) from Saxena et al. (2017), already considered for the benchmark tests, cf.Table 3.Both data sets are mirrored in all three spatial directions resulting in 2048 × 2048 × 2048 voxel and 1576 × 1582 × 1586 voxel.The corresponding computation times are given in Table 4 for a convergence criteria of ϵ = ∆|q| |q| < 10 −6 .Latter data set is mirrored a second time in each direction resulting in 3152 × 3164 × 3172 voxel (equals 64 times the original geometry), cf. Figure 9. Due to parallelized IO routines, this can be implemented using 4 nodes, with a total of 512 cores, requiring a total of ≈ 1.5 TB RAM.

Deformation-dependent permeability and permeability anisotropyuniaxial compression of an open-cell foam

50The deformation-dependent permeability of open-cell foams has been studied experimentally by several researches.Different theoretical models were proposed to predict the effect of strain on permeability, cf.Dawson, Germaine, and Gibson (2007); Markert (2007) and therein cited literature.In experimental studies, often uniaxial compression loading is imposed on a foam sample and the deformation-depending permeability is measured in one direction, often in the same direction as the imposed load.Measuring the permeability in different directions is technically challenging.Using non-destructive µXRCT imaging is a possible approach to this problem when the fluid-solid interaction is negligible and the foam can be considered as rigid at a given deformation state.In this case, the foam structure is imaged under different loading conditions in 3D.Based on the time-series of 3D images followed by a subsequent postprocessing provides the possibility to perform virtual experiments and to characterize the structure and the deformation-dependency in more detail.(Ruf, Steeb, & Karadimitriou, 2023;Ruf & Steeb, 2024).(a) Segmented µXRCT images for different uniaxial compression loading states.(b) Determined permeabilities in e 1 -, e 2 -, e 3 -direction and principle permeabilities.This is exemplary shown for an open-cell Polyurethane (PUR) cylindrical foam sample with 10 PPI subjected to uniaxial compressive loading and imaged at discrete loading states (engineering compressive strain ε33 = −{0.0,0.1, 0.2, 0.3, 0.4, 0.5}), see Figure 10(a).For the imaging, the system presented in Ruf and Steeb (2020); Ruf, Lee, and Steeb (2023) was employed.For the series of 3D images, the permeability tensor is determined using cubic subvolumes of size 800 × 800× 526-1186 voxel with a uniform voxel size of 74.8 µm.The permeability tensor (three simulations) for each loading condition is determined in ≈ 3-8 hrs..The permeability in axial direction (e3) and radial directions (e1, e2) and the principle values are shown in Figure 10(b) over the applied strain (left) and the foam porosity (right).At all deformation states, the radial permeabilities k11 and k22 are quite similar and differ slightly from the axial permeability k33 of the cylindrical sample.In general, it can be said that the permeability anisotropy does not correlate in a systematic way, neither with the strain nor with the porosity, which contradicts the expectation.

Anisotropy development during calcite precipitiation

51Predicting pore-scale clogging phenomena in heterogeneous porous materials presents a significant challenge.These processes can occur inadvertently, and if they cannot be prevented, there is a need to manage them, such as in the case of clogged filters.Conversely, these processes might also be intentional, such as in the case of blocking subsurface cracks.We focus our investigation on a specific scenario where pore spaces gradually become obstructed due to a chemically induced precipitation process.The experimental data set, Weinhardt, Deng, Steeb, and Class (2022), serves as the basis for our study, and the details of data acquisition and the experimental arrangement are elaborated upon in Weinhardt et al. (2021); Weinhardt (2022); Weinhardt, Deng, Hommel, et al. (2022).We have already described this procedure of investigation on a smaller extent as a proof of concept in Krach and Steeb (2023).steps are investigated.A simulation (12 × 1200 × 1200 voxel) typically runs for an average of 2 hours on a node using 121 CPU-cores.We explicitly fix the domain decomposition to 1 × 11 × 11 ranks.2D image data is used as basis and replicated in the third spatial direction to simulate the original dimensions of the microfluidic experiment in 3D.We are particularly interested in a preferential flow path that forms in the upper region of the domain and stays almost free during the experiment.Accordingly a subdomain is extracted.In the course of the experiment, more and more precipitate is accumulated in the domain, thus increasing the solid fraction and decreasing porosity and permeability.Fig. 11 shows the geometries (black -solid body, gray -precipitate) and the velocity patterns.Note that we simulate the same domain twice with pressure gradient from left to right (e3-direction: Fig. 11, center column) and pressure gradient from top to bottom (e2-direction: Fig. 11, right column).The simulations include all time steps of the experiment up to the point where there is no flow path through the porous material at all.The material clogs first in the e2-direction, at a porosity of ϕ = 27.7 %, while at this time a flow path remains open in the e3-direction.The focus of the analysis lies on the development of the degree of anisotropy in the course of the experiment.For this purpose, the eigenvalues of the 2 × 2 permeability tensor are determined.Fig. 12 shows the eigenvalues kII and kIII plotted against the porosity ϕ.The principal permeability kII decreases significantly faster than kIII .The degree of anisotropy, the ratio of the eigenvalues k III k II (Fig. 12, right) increases stepwise linear in the course of the experiment up to a ration of 6.Thus, this analysis provides an additional benefit that experiments cannot provide.

Conclusion

52A FDM solver, POREMAPS, for the incompressible Stokes equations using the artificially compressible method was presented to compute the permeability tensor k of various porous materials.Different benchmarks have been performed, which demonstrate that the solver can handle a variety of problems for a range of porosities swiftly and robustly.We present two compelling applications that perfectly align with the capabilities of the solver, demonstrating its versatility in tackling complex scenarios that demand extensive simulations.The first application focuses on open-cell foams, where we establish that any anisotropy in permeability is unlikely to develop during deformation up to ε33 = −0.5.Our findings underscore the absence of permeability directionality, what we would have expected otherwise.The second application addresses plugging porous materials, characterized by a distinct preferred orientation.In this context, we not only quantify the resulting anisotropy but also offer insights that highlight the solvers key advantages and experimental constraints.While acknowledging the computational time and hardware prerequisites, it's worth noting that they remain modest when contrasted with alternative methodologies.The solver's user-friendly nature, coupled with its direct compatibility with experimental imaging data, opens up promising avenues in various domains.

Data, Code & Protocol Availability

53The complete source code including input data of the shown application examples that support the findings of this study is openly available in the Data Repository of the University of Stuttgart (DaRUS) at https:// doi.org/10.18419/darus-3676(Krach et al., 2024).

A Nondimensional balance equations:

54Nondimensional quantities and operators We introduce the dimensionless length l * , velocity v * , and time t * by the ratio of physical property divided by characteristic property (L, V, T = L/V)

55This allows for the selection of the pressure and density scale

56where ρ0 is the rest density of the fluid.

57Nondimensional governing equations For the mutual dependence of pressure p and density ρ we employ the constitutive equation and its derivative

58Artificial compressibility for pseudo-unsteady Stokes equations is introduced by considering the linearized balance of mass (Eq.( 5)) for a compressible fluid

59where for steady state ρ → 0 holds.The Stokes equations (Eq.( 4)) are analogously extended

60where ρ v → 0 holds for steady state.We apply the dimensionless divergence operator, dimensionless velocity and density to Eq. ( 19) and receive

61Using the speed of sound for a compression-type wave c = K F ρ 0 with its dimensionless form c = c * V the constitutive equation for the pressure Eq. ( 18) is transformed in the same way, yielding ρ

62Plugging Eq. ( 22) in Eq. ( 21) the nondimensional balance of mass is obtained

63The nondimensional form of the pseudo-unsteady Stokes problem (Eq.( 20)) yields

64B Implementation of fluid-solid boundary conditions

65The Taylor expansion around the point x0 is generally given by the following series:

66As briefly described in Sec. 4 for case 2 depicted in Fig. 1, for the other given cases following system of equations can be derived.By solving the given sets of equation systems, the corresponding second-order derivatives (

67) in the perpendicular directions to the considered flow velocity direction for i, j, k =

68(1, 2, 3), (2, 3, 1), (3, 1, 2) can be determined.Case 1:

69Case 2:

70Case 3:

71Case 4:

72Case 5:

73Case 6:

74Case 7 (4b):

75Case 8 (5b):

C Permeability computation

76For Re < 1.0 the entries of the permeability tensor can be computed using Darcy's law (Darcy, 1856)

77where hi = − ∂p ∂x i = −p,i is the hydraulic gradient.Three numerical experiments must be performed to determine the nine entries in the coefficient matrix of the second order permeability tensor.Thereby, the following pressure gradients are applied for the different cases a) h1 ̸ = 0 ∧ h2 = h3 = 0 ; b) h2 ̸ = 0 ∧ h1 = h3 = 0 ; c) h3 ̸ = 0 ∧ h1 = h2 = 0 ;

78(35) and we measure three fluxes qi for each case.By comparing the coefficients for the three equations for the flow qi (Eq.( 34), right) we receive

79wherefrom arise the following nine equations by means of the constraints a) -c) given in Eq. ( 35):

80It results in nine equations for nine unknown entries of the coeffiecient matrix of the second order permeability tensor.Numerically determined, one obtains slightly different values for two corresponding secondary diagonal elements.These are therefore averaged k12 = k21 = 1 2 (k12 + k21).The same procedure is adopted for k13, k31 and k23, k32.

Figure 1 :

81Figure 1: Different cases for the identification of the voxel neighborhood to calculate the secondorder derivatives ( ∂ 2 v k ∂x 2 i

Figure 4 :

82Figure 4: Resolution dependent velocity profiles through a tube compared to the analytical solution (left) and velocity pattern in one cross-section (right).

Figure 5 :

83Figure 5: Deviation of the volumetric flux Q from its analytical solution Q an according to White and Majdalani (2006) through rectangular cross section channel for different resolutions (left) and corresponding velocity pattern (right).

Figure 6 :

84Figure 6: Comparison of Stokes solver results of normalized permeabilities with Karman-Cozeny equation and SPH solver.

Figure 7 :

85Figure 7: Normalized magnitude of velocity around an ellipsoid with 20 • (left) and 70 • inclination (right).The same pressure gradient in e 3 -direction is applied, which explains differences in the maximum velocities.Both figures show a cross-section (e 2 − e 3 plane) in the center of the domain.Each simulation of a domain described above allows us to determine one column of the coefficient matrix kij, or in our simplified case two entries.The other two entries are obtained from the simulation for which the direction of the imposed pressure gradient relative to the ellipsoid is rotated by 90 • .Alternative, instead of rotating the imposed pressure gradient the ellipsoid is rotated.For example, considering a rotation of α 1 = 20 • , α 2 = −70 • follows.Due to symmetry, also α 2 = 70 • can be set and we get the velocity patterns, illustrated in Fig.7, and compute the following coefficient matrix kij = 4.54 1.76 1.96 8.71 • 10 −9 m 2 ≈ 4.54 1.86 1.86 8.71 • 10 −9 m 2 (12)

Figure 8 :

86Figure 8: Plots of the coefficient matrices of the permeability tensors for rotations α = {0 • , 10 • , 40 • }.Absolute values of two semi-axes of the ellipse represent the eigenvalues of the tensor.The angle inclination (geometric information) and the computed angle of the eigenvector highlighted with a green and red line, respectively.

Example 2 "Figure 9 :

87Figure 9: Illustration of the large sized computable domains using the example of a double-mirrored 3D image of a sphere packing (blue) with originally 788 × 791 × 793 voxel (yellow).The original 3D image (yellow) is taken from Saxena et al. (2017).

Figure 10 :

88Figure 10: Deformation-dependent permeability and anisotropy of an open-cell PUR foam sample (10 PPI) based on µXRCT images (Ruf, Steeb, & Karadimitriou, 2023; Ruf & Steeb, 2024).(a) Segmented µXRCT images for different uniaxial compression loading states.(b) Determined permeabilities in e 1 -, e 2 -, e 3 -direction and principle permeabilities.

Figure 11 :Figure 12 :

89Figure 11: Geometry and flow patterns at different times (increasing from top to bottom) during the experiment.The left column represents the input domain (black -solid columns, grayprecipitate).For the simulations, the precipitates are attributed to the solid.Column 2 and 3 show the normalized absolute velocities based on pressure gradients in e 3 -and e 2 -direction.Unlike the experimental procedure, we can determine the permeability k33 in the e3-direction (aligned with the pressure gradient in the experiment) and the permeability k22 in the e2-direction (perpendicular to the pressure gradient) at various time steps during the experiment.This investigation includes 137 individual simulations, where for 57 time steps the domain is percolating in both directions, resulting in 2 simulations per time step.In e3-direction a flow path remains unblocked for a longer time and 80 time

)

90The nondimensional differential operators * grad(•) and * div(•) and time derivative * (•) • are given as follows: * grad

Table 1 :

91Permeabilities, principal permeabilities and principal directions for all simulations.

Table 2 :

92Wagner et al. (2021)erent types of pore scale solvers (SPH, FEM, LBM fromWagner et al. (2021)) for thin porous media samples and comparison of computed permeabilities.To illustrate the performance of the solver, the SPH solver used inWagner et al. (2021)needs approximately 17 hours on a 4-core CPU, the presented Stokes solver, at the same resolution and on same hardware takes about 10 minutes.

Table 3 :

93Saxena et al. (2017)rent types of 3D benchmarks (range of LBM results fromSaxena et al. (2017)) and comparison of computed permeabilities.

941024 × 1024 × 1024 0.642 − 1.411 • 10 −13 m 2 9.200 • 10 −14 m 2

Table 4 :

95Overview of computation times of considered application examples.

참고문헌

참고문헌 정보가 없습니다.