Abstract
In this paper, two mesh-free CFD solvers for pore-scale fluid flow through porous media are considered, namely the Lattice Boltzmann Method with the two relaxation time collision term and the direct Navier–Stokes solver under the artificial compressibility limit. The porous media is built with a regular arrangement of spherical grains with variable radii, which allows control of the porosity. Both solvers use the same h-refined meshless spatial discretization to adequately capture the underlying geometry and the same Radial Basis Function (RBF) method to approximate the involved fields and partial differential operators. First, the results are compared with the data from the literature in terms of drag coefficient and permeability at different porosities achieving excellent agreement with the reported results. Next, the simulations are extended beyond the porosity range reported in the literature using proposed h-refined CFD solvers. The results are supported by convergence and timing analyses and discussions on meshless parameters such as stencil size and refinement settings.
Similar content being viewed by others
Introduction
Porous media are ubiquitous and the fluid flow through them is of paramount importance for science, technology, and life. It concerns such fundamental issues as the health and performance of the human body, which is composed of \(70 \%\) fluids, where the lungs and the arterial system can indeed be treated as porous systems1, or solidification processes, where the transport of solutes in mushy (porous) regime governs the macrosegregation effect2, and after all, study of radioactive waste seepage in radioactive waste disposal facilities3, to name just a few examples.
Research in the field of fluid dynamics (porous or free fluid) is not possible with analytical methods and therefore requires sophisticated experimental methods, complex differential calculus methods, or the use of numerical methods. Traditionally, problems in fluid dynamics have been approached numerically using mesh-based methods, where, despite the long history of research on mesh generators4, meshing remains a difficult problem that cannot be fully automated and therefore often requires significant human assistance. As a matter of fact, the meshing of irregularly shaped 3D geometries, especially when dealing with complex geometries such as porous media5, is one of the most complex and time-consuming steps in the overall mesh-based numerical solution6.
In response to the complexity of meshing, the development of numerical methods took two principal directions. In addition to the development of specific methods and algorithms for meshing4, a class of numerical methods based on the meshless principle has been developed7. The conceptual difference between mesh-based and meshless methods lies in the consideration of the relationships between the computational nodes. Meshless methods define the relationship between the nodes completely using only the internodal distances, thus freeing themselves from the constraints of using meshes. An important implication of this simplification is that meshless methods can work with scattered nodes. Although it is generally recognized that certain rules must be followed when generating such scattered nodes8, the positioning of the nodes is significantly less complex compared to meshing9 and can be automated regardless of the dimensionality or shape of the domain under consideration8,10. Moreover, the h-adaptivity in the meshless setup is almost free, since the nodes can be distributed with variable internodal distance without any special treatment8,11,12. In recent years, a specific meshless method has gained popularity, namely a radial basis function (RBF) generated finite differences (FD)13. The hallmark of the RBF-FD is an approximation based on the combination of polynomials that ensure consistency up to their order14 and RBF (typically polyharmonic splines) that help stabilize the method. Although the idea is not entirely new, recent theoretical and experimental research has taken the understanding of such a numerical approach to a new level11,12,14,15,16.
In fluid dynamics, different meshless approaches have been successfully applied to the Navier–Stokes problem, namely methods based on direct solving of Navier–Stokes equation using different meshless approximations and pressure-velocity couplings16,17,18 and Meshless lattice Boltzmann methods19,20. Each of these methods has different properties and is used differently for certain physical problems. It is important to understand and employ them in a proper way to utilize their strengths and avoid weaknesses in the given context, which in our case is the fluid flow through the irregular, complex pores of porosity-dependent porous media.
The aim of this work is to formulate and implement a direct meshless Navier–Stokes solver under the artificial compressibility limit and meshless Lattice Boltzmann Method with the two relaxation time collision. Both methods use the same h-refined meshless spatial discretization and the same RBF method to approximate the involved fields and partial differential operators21 for a fair comparison. We test both methods on the classical problem of flow through idealized three-dimensional porous media represented as a periodic array of spheres and compare meshless results with the previously recognized benchmarks, i.e. smoothed particle hydrodynamics method based solution provided by Holmes, et al.22 and solution provided by Larson and Higdon23. We are particularly interested in extending the simulations to the limiting cases of the model, i.e. low porosity, high porosity, and touching limit of the singularity contact point. Under these conditions, we discuss the strengths and weaknesses of both formulations in terms of numerical accuracy and stability, convergence rate, complexity, and robustness using refined scattered nodes. Furthermore, we identify regions where both approaches have problems and discuss possible overlaps and gap-filling between the two. Finally, we extend the spectra of available benchmark data by expanding the range of porosity in the simulations.
Methods
We study the pore scale flow through a porous medium by modeling it with the incompressible Navier–Stokes system of equations
where \(\varvec{v}(t,\varvec{x})\) is the velocity field, \(p(t,\varvec{x})\) is the pressure field, and \(\rho\), \(\nu\) and \(\varvec{g}\) are the density, the kinematic viscosity and the body force, respectively. To solve the equations, we take two approaches. The first is to solve the Boltzmann transport equation with the meshless Lattice Boltzmann Method (MLBM) described in Sect. 2.2 and then, by the virtue of Chapman-Enskog expansion24, derive \(\varvec{v}\) and p fields from its solution. The other is to solve Eq. (1) directly, using a meshless Navier–Stokes (MNS) solver described in Sect. 2.3. The pseudocodes for MNS and MLBM are provided in Appendix 1. Both methods rely on the meshless RBF-FD approximation framework; either to interpolate values between the Eulerian and the Lagrangian nodes in LBM or to approximate the spatial derivatives in MNS. The principles of the approximation method and the description of the node positioning algorithm used in the present study are provided in Sect. 2.1.
Meshless discretization and approximation
The discretization of the computational domain for the meshless approximation is achieved by positioning N scattered computational nodes \(\boldsymbol{x}_i \in \mathbb {R}^D\), with D denoting the spatial dimension. The nodes are placed with a variable density, defined with the inter-nodal distance functionh(x), utilizing a dedicated meshless dimension-independent variable density (DIVG) node positioning algorithm25 with an extension to account for the periodic nature of the domain. DIVG is an iterative algorithm based on an expansion queue that results in discretization proceeding as an advancing front away from the initial nodes used to seed the queue. At each iteration, we attempt to expand the discretization with candidate nodes laying on a circle with radius \(h(\boldsymbol{x}_\textrm{d})\) around the de-queued node position \(\boldsymbol{x}_\textrm{d}\). The candidates that fall inside the domain and not too close to existing nodes, based on their local \(h(\boldsymbol{x}_i)\), are then added to the discretization and to the queue for further expansion which continues until the queue is empty.
No further information, e.g. meshing, regarding the node cloud is required as the stencil \(S_i\), i.e. the domain for the local approximation in the i-th computational node, is constructed solely based on the inter-nodal distance. Although more complex strategies for stencil construction exist26 we use the simplest and populate \(S_i\) with indices of \(N_L\) closest neighbors to the i-th computational node.
After the stencils for computational nodes are constructed we can use them to form a generalized finite difference approximation that numerically approximates the linear differential operator \(\mathscr {L}\) in the central node
based on the function values u in stencil nodes and weights w that are pre-computed by demanding the exactness of Eq. (2) for a set of basis functions. Note that the same general framework used for differential operators can also be used with \(\mathscr {L} = 1\) for approximation of function values. We use radial basis functions
with a local scaling factor \(\delta _i\) that decouples the approximation from the choice of the coordinate system (especially important for RBF with a shape parameter27). It can be set to an arbitrary local measure of distance, e.g., the distance between the central node and its closest neighbor. Replacing u with the RBF in the exact form of Eq. (2) leads to a local linear system \({A} {w}_i = {b}\)
for each stencil with the solution providing approximation weights \({w}_i\). The right hand side vector b is formed by applying the linear operator \(\mathscr {L}\) to the basis function and evaluating the result with an argument analogous to Eq. (3).
We use an RBF with no shape parameter, the polyharmonic spline (PHS)
with odd order k, to avoid additional problems with parameter tuning. Local matrices constructed with polyharmonic RBF are only conditionally positive definite and need to be augmented with monomials28,29. The system is expanded with \(N_p = \left( {\begin{array}{c}m + D\\ m\end{array}}\right)\) monomials (The 10 monomials in \(D=3\) case with \(m=2\) would be \(p = \{1, x, y, z, x^2, xy, xz , y^2, yz, z^2\}\)) \(p_l\), where m denotes the monomial order. The monomials are scaled similarly to RBFs in Eq. (3)
The linear system from Eq. (4) is augmented with monomials
with the additional weights \({\lambda }\) treated as Lagrange multipliers and discarded after computation.
Augmentation with an order of at least \(m = \frac{k - 1}{2}\) is required to guarantee the positive definiteness for a PHS with order k. Higher orders provide better convergence characteristics30 at the cost of increased computational complexity, since the required stencil size is \(N_L \ge N_p\), with \(N_L> 2N_p\) as the often recommended value14. We use a slightly larger stencil size \(N_L = 25\) than the recommended minimum 20 based on observations in 3.5. In the remainder of the paper, we use approximations with \(k=3\) and \(m=2\) unless otherwise specified.
Meshless Lattice Boltzmann method
In the present study we use the meshless Lattice Boltzmann Method the principles of which are outlined in20,31. It solves the discrete velocity Boltzmann equation32:
in a semi-Lagrangian way. In the above equation, \(f_k\) is the k-th distribution function, \(\varvec{e}_k=-\varvec{e}_{k'}\) is the k-th streaming direction and its opposite, respectively, and superscript ”post” denotes post-collision distribution. We implement compressible D3Q15 model (\(q\!=\!15\)) with the following set of discrete streaming directions:
In the present work we use the two relaxation time kernel (TRT)24,33. As we are concerned with the Stokes flow, the stability provided by TRT collision is satisfactory. We note that should higher velocities occur in the system, one can choose from more stable kernels, such as regularized two-relaxation time model34,35. The post-collision distributions \(f^\text {post}_k\) in TRT-LBM have the form of
where \(\tau ^+\) and \(\tau ^-\) are symmetric and anti-symmetric relaxation parameters related by
with the values of \(\Lambda =1\) and \(\tau ^+=1\) used in the present study. \(f_k^+\) and \(f_k^-\) are the symmetric and anti-symmetric components of the k-the distribution function and \(f_k^{\text {eq},+}\), \(f_k^{\text {eq},-}\) are symmetric and anti-symmetric components of the k-th equilibrium distribution function
The relaxation time \(\tau ^+\) define the kinematic viscosity of the considered fluid in each LBM model
where the lattice speed of sound is \(c_s=1/\sqrt{3}\) and the subscript lb denotes a macroscopic quantity in LBM model units (non-dimensional), to distinguish it from the same quantity in physical units which will be denoted without any subscript. We use the second-order discretization of the equilibrium distribution function
where lattice weights \(\omega _k\) have the values of:
and \(\rho _{lb}\) and \(\varvec{v}_{lb}\) are local fluid macroscopic density and velocity vector, respectively:
To obtain the relative pressure we use the ideal gas equation of state with the deviation of the density from its mean:
We implement acceleration using first-order discretization in velocity space:
where \(\varvec{F}_{lb}=\rho _{lb} \varvec{g}_{lb}\) is the body force defined in terms of acceleration \(\varvec{g}_{lb}\).
The conversion from LBM units to physical units is achieved by the multiplication of a quantity by a suitable conversion factor:
where \(\delta x\), \(\delta t\), \(\rho _{ref}\) are the streaming distance length, the timestep length and the reference density, respectively, all in physical units. By virtue of Chapman-Enskog expansion24, the macroscopic velocities and pressure obtained from the solution of the discrete velocity Boltzmann equation are the solution to the weakly compressible Navier–Stokes equation.
Since the flow domain is discretized with a set of scattered nodes, it is convenient to reformulate the streaming step (Eq. (8)) into physical units and speak of the streaming distances \(\delta \varvec{x}_k=\varvec{e}_k \delta x\) rather than streaming directions (see Fig. 1). At the same time, the collision step (Eq. (10)) is still solved non-dimensionalized. In this way, the positions of the departure (Lagrangian) nodes for \(f_k^\text {post}\) can be related to the meshless space discretization (Eulerian) nodes as \(\varvec{x}+\delta \varvec{x}_{k'}\). In contrast to the lattice-based LBM, they do not need to coincide with the Eulerian nodes. Unless otherwise stated, in the presented MLBM setups we used the streaming distance equal to half of the minimal internodal distance, i.e. \(\delta x = h_\text {min}/2\) (compare with Eq. (25)). Along with the relaxation time \(\tau\) and the physical kinematic viscosity \(\nu\) it determines the timestep length \(\delta t\) according to the viscosity conversion from Eq. (19) (The actual values of \(\delta t\) that we use range from \(1.04\cdot 10^{-6}\) to \(1.67\cdot 10^{-5}\)).
To obtain the value of the post-collision distribution function in such a case, we use a method of meshless interpolation described in Sect. 2.1 (\(\mathscr {L}=1\) in Eq. (2)).
Graphical interpretation of differences between the space discretization of a circle in standard (lattice-based) LBM (left) and MLBM (right). The open symbols in LBM case represent the nodes whose links are cut by the circle’s boundary. In MLBM the open symbols represent the boundary nodes lying exactly on the circle’s surface.
In MLBM the no-slip condition is achieved through the interpolated bounce-back36 applied to the boundary nodes. As the discretization nodes lie exactly on the boundary, the formula for the bounce-back simplifies to:
The initial conditions for all simulations presented in this work were equilibrium populations (Eq. (14)) parametrized with zero macroscopic velocities \(\varvec{v}_{lb}\) and unit density \(\rho _{lb}\). The Mach number did not exceed \(2\cdot 10^{-4}\) in all simulations in the steady state.
Meshless Navier–Stokes solver
One of the main problems in directly solving the Eq. (1) lies in implementing the pressure-velocity coupling procedure that ensure continuity. We use one of the fundamental approaches, the artificial compressibility method (ACM)37,38, first introduced by Chorin39 in 1967, that relies on transiently introducing a slight compressibility into the system. The main benefit of this method from the computational standpoint is that it avoids solving the global pressure Poisson equation required by pressure projection40, the other main class of pressure-velocity coupling methods, thus allowing for perfect parallelization within a single time step. Additionally, the selection of ACM for pressure-velocity coupling is motivated by its innate similarities to LBM41. In this paper we resorted to a relatively simple implementation of the ACM, but advanced versions, like the entropically damped artificial compressibility42, could resolve some of the issues with oscillatory pressure in the stagnant regions that we observed in the results.
We use the explicit Euler method for the temporal discretization of the Navier–Stokes equation
where \(\delta t\) is the time step, \(\mu\) the the viscosity and \(\rho\) the density. The time step (The actual values of \(\delta t\) that we range from \(1.25 \cdot 10^{-6}\) to \(2 \cdot 10^{-5}\)) \(\delta t = 0.1\frac{h_\text {min}^2}{2 \nu }\) is set as a function of the smallest inter-nodal distance \(h_\text {min}\). Note that the pressure term is omitted while calculating the intermediate velocity \({v}'\). This is because the subsequent pressure-velocity coupling
is done iteratively. The magnitude of the AC is determined with the artificial speed of sound C43
where \(\beta\) is the compressibility parameter, and \(\boldsymbol{v}_{ref}\) a reference velocity that prevents instabilities due to C reaching zero in stagnation points. We use \(\beta = 10\) for all computations presented in this paper. If we sought a time-accurate solution the pressure-velocity coupling iteration would have to be iterated until the maximum divergence of the velocity field dropped below a pre-determined threshold, but since we are dealing with a steady state problem, the number of iterations can be limited. We chose to perform \(n_p=3\) pressure correction iterations for each velocity iteration as a reasonable compromise that empirically provided the fastest convergence to a steady state.
The non-slip boundary condition (BC) is enforced by setting boundary node values according to the Dirichlet BC \({v} = 0\) for velocity and the Neumann BC \(\frac{\partial p}{\partial {n}} = 0\) for pressure.
Case definition
We consider a flow through a three-dimensional, infinite, periodic, simple cubic (SC) array of spheres. All the spheres in the domain have the same radius and we consider cases with radii ranging from \(r=0.04\) to \(r=0.69\). This gives the porosity range \(\varphi \in [0.05,0.9997]\) and a natural transition from the overlapping to the diluted regime of the system. The flow is forced with a constant acceleration \(\varvec{g}=[0.1,0,0]\). In actual computations, it is thus sufficient to reduce the computational domain to the fluid-occupied part of a single periodic cell with the side length \(d=1\). The no-slip boundary condition is imposed on the spheres’ walls and periodic boundary conditions are imposed in all three directions via the periodic search of stencils’ members.
The discretization is refined locally by decreasing the internodal distance towards the spheres’ surface. We implement the refinement by specifying the function of the target distance between the nodes:
where \(\phi _\text {sdf}(\varvec{x})\) is the distance of the point \(\varvec{x}\) to the closest spherical obstacle, \(h_\text {min}\) and \(h_\text {max}\) are minimum and maximum values of the target distance, respectively and \(\varepsilon\) is the shape parameter. Note that \(h(\varvec{x})\) reaches the minimum on the spheres’ surface (\(\phi _\text {sdf}(\varvec{x})=0\)) and maximum away from it. The shape of the refinement function for a selection of parameters is shown in (Fig. 2). Unless otherwise stated we use the values of \(h_\text {min}=0.5h_\text {max}\) and \(\varepsilon =0.295\). Example visualizations of the discretizations are shown in Fig. 3.
Meshless space discretizations used in the calculations. Two leftmost pictures: \(r=0.062\), two rightmost pictures: \(r=0.6526\). Each pair consists of the visualization of the boundary discretization and the subset of nodes with \(y \in [0.45;0.55]\) viewed along +y direction. The spheres’ boundaries are rendered as grey surfaces.
To allow for a reliable comparison between MLBM and meshless Navier–Stokes results we use the stopping criterion based on the relative change of permeability \(k/d^2\)
calculated every \(10^4\) timesteps with \(\Delta t = 10^4 \delta t\) and we stop the simulations when \(|\Delta |_{k/d^2}<10^{-2}\). The permeability is defined as:
where q is the mean x-component of the velocity averaged over five cross-sections \(P_i = \left\{ (x, y, z) \in \Omega : x \in \{0,0.2,0.4,0.6,0.8\}\right\}\).
In both methods, for the calculation of surface forces acting on the spheres we use the stress tensor \(\sigma _{ij}\) at boundary nodes:
The integration of the stresses over the spheres’ surface assumes equal area \(\Delta A\) assigned to each boundary node:
where \(N_b\) is the number of boundary nodes and A is the area of the obstacles in a unit cell. To obtain the hydrodynamic force on the obstacle we sum:
where \(\hat{n}_i\) is a local normal vector and \(I_b\) is the set of boundary nodes indices.
Results and discussion
Analysis of the velocity and stresses fields
We first present the visualizations of the velocity fields obtained for diluted and overlapping systems in Fig. 4. For the small sphere case, we observe an undisturbed flow away from the obstacle and a boundary layer near the sphere’s surface. For the large sphere case, a strong channelization is visible with a considerable portion of the fluid volume excluded from the percolation where recirculation occurs. Also, the value of the maximum velocity magnitude differs by two orders of magnitude between the two cases.
Initially, we performed a set of simulations for \(|\varvec{g}|=49\) as indicated in22. We noticed, however, that both results obtained with MLBM and MNS for \(|\varvec{g}|=49\) exhibit an asymmetry about the \(x=0.5\) plane in the x-component of the velocity field at high porosities (data not shown). It can be associated with inertial effects in the flow. If we define the Reynolds number as:
we find that for \(g=49\) and \(r=0.062\) the Reynolds number is approximately 4. This is already when inertial effects appear in the flow past a single sphere44. This motivated us to decrease the acceleration to \(|\varvec{g}|=0.1\) to ensure Darcy regime in the whole range of porosities. Now, for the lower acceleration, the Reynolds number for the same system is on the order of \(10^{-2}\).
Figure 5 shows the isocontours of pressure and tangent force magnitude on the sphere’s surface for \(r=0.062\) and \(r=0.6526\). Results obtained with both methods are compliant with each other in terms of the values of the quantities. The most pronounced difference between the two methods is visible in the tangent force isocontours for \(r=0.062\) case, where MNS records values \(\ge 2\), not present in MLBM solution. Note that the MNS solution exhibits more fluctuations in pressure isocontours, which is consistent with the known ACM problems where pressure oscillations appear in the low Reynolds regime42. Nevertheless, this level of compliance between the methods is satisfactory, especially as MLBM and MNS use vastly different strategies to calculate the pressure (see Sect. 2). Moreover, the use of boundary-compliant discretization in MLBM allows for a direct comparison of \(\sigma _{ij}\) with the Navier–Stokes solver, inaccessible in the lattice-based LBM due to the staircase approximation of boundaries45,46.
Pressure (top) and tangent force (Eq. (30)) magnitude (bottom) contours on the sphere’s surface for \(r=0.062\) (left) and \(r=0.6526\) (right) obtained with MLBM and MNS. The contours are presented in a spherical coordinate system with the origin at the sphere’s center. \(\theta _s\) is the polar angle measured from the negative direction of the x-axis and \(\phi _s\) is the azimuthal angle measured from the positive direction of the z-axis. The blank ellipses in the right column result from the intersection between the obstacle and the periodic cubic cell.
Convergence of permeability and drag coefficient
We next check the convergence of the permeability \(k/d^2\) (Eq. (27)) and the drag coefficient K with the space discretization refinement for various sphere radii. The drag coefficient is the non-dimensionalized drag force:
We use the minimal distance between nodes \(h_\text {min}\in \{0.02, 0.014, 0.01, 0.007, 0.005\}\).
The results are presented in Fig. 6 along with literature data22,23. For \(r=0.49\) (near the touching limit) we interpolate the reference values of K from the above works. To calculate the reference \(k/d^2\) we use the relation:
For \(r=0.062\), in the considered range of discretization parameters and for both tested methods, the values of permeability \(k/d^2\) comply with the reference values within about \(1\%\) relative difference. The drag coefficient K converges towards the reference values in a stable manner. The significant discrepancy in convergence of K for the MNS is most likely a result of pressure oscillations seen in Fig. 5 and further discussed in Sect. 3.6.
The convergence of the dimensionless permeability \(k/d^2\) and drag coefficient K obtained with MLBM and MNS in 3D case for sphere radii \(r=0.062\) (left), \(r=0.49\) (middle) and \(r=0.6526\) (right). The horizontal dashed lines are the values obtained by Larson and Higdon23 and Holmes et al.22 (interpolated for \(r=0.49\)).
For \(r=0.49\), both methods converge to values of the permeability slightly off the reference values (\(<\!3\%\) relative difference). The results of the drag force coefficient show a much higher discrepancy for MLBM (about \(10\%\) compared to the reference). We note that for MLBM the \(h_\text {min}=0.02\) (\(N\approx 3\cdot 10^4\)) case went unstable. To obtain stable solutions, the streaming distance needed to be changed to \(\delta x=0.005\) for \(h_\text {min}=0.014\) and the stencil size to \(N_L=26\) for \(h_\text {min}=0.01\) and to \(N_L=35\) for \(h_\text {min}=0.007\). The possible causes of the instability are further investigated in Sect. 3.3.
When large spheres are considered, permeability, as well as the drag coefficient obtained with both methods, converge to values close to those from the references. However, bigger differences from the reference values for coarse discretizations are visible in MNS. For the three considered cases we provide a quantitative analysis of the convergence in Appendix 2.
Concerning those results, one can assess the efficiency advantage of the use of space discretization refinement as follows. The work of Holmes and others22 reports the internodal distance approximately equal to \(\tilde{h}=4.1 \cdot 10^{-3}\) for the porosity \(\varphi =0.1\) (\(r=0.6526\)). Our results show that to achieve similar values of \(k/d^2\) and K for this case we need to have \(h_\text {min}=7 \cdot 10^{-3}\), which gives \(N\approx 1.7 \cdot 10^5\) nodes. Assuming the least dense, simple cubic packing of points in Holmes and others’ work one can estimate the lower bound for the number of nodes in their simulation as about an order of magnitude higher:
Further in the text, we show that the number of nodes in the meshless solutions can be further decreased with no significant rise in the error of K.
Permeability and drag coefficient for various porosities
Next, we calculate the permeability and drag coefficient in a wide range of solid volume fractions. We choose the range \(r \in [0.04,0.69]\). Figure 7 shows the values of \(k/d^2\) and K obtained for \(h_\text {min}=0.01\) compared to the results of Holmes and others22. An excellent match between the two methods and the reference values is seen. This can be referred to the results of He and others47 where steady-state LBM and ACM solutions of the velocity and the pressure field are compliant with each other. MLBM and MNS are capable of extending the analysis range beyond those investigated by the previous authors (denoted by red dashed lines) without any changes to the refinement function, Eq. (25). The meshless discretization with a proper refinement of the the narrow pore throats could open the possibilities to consider even lower porosities. The lack of MLBM data at \(\varphi =0.4\) (\(r=0.528\)) was caused by the divergence of the simulation. We note that for \(r = 0.49\) we used the stencil size \(N_L=26\) for MLBM simulations.
The values of the dimensionless permeability \(k/d^2\) and drag coefficient K obtained with MLBM and MNS as a function of porosity. The solid line denotes the values obtained by Holmes et al.22 in the range from \(\varphi =0.1\) to \(\varphi =0.999\) (indicated by vertical dashed lines).
To further investigate this issue we show the permeability and the drag coefficient values obtained for the near-touching limit cases (\(r\approx 0.5\)) in Fig. 8. For MLBM we use the discretizations with \(h_\text {min}=0.007\) and the streaming distance length \(\delta x=0.0035\). Away from the \(r=0.5\) the values obtained with both methods are compliant with one another. For \(r\rightarrow 0.5\) MNS faces no problems with the solution stability, nor does it exhibit irregular behavior of the coefficients’ values. On the other hand, MLBM simulations go unstable for the cases \(r=0.5,0.505\) and 0.510. To obtain a stable solution for radii close to the problematic range (i.e. \(0.495 \le r \le 0.535\)) we need to increase the stencil size (maximal considered value—\(N_L=45\)) and change the rule for determining which populations of the boundary nodes are assumed unknown during the streaming. We no longer use the local normal vectors at the boundary nodes, rather we explicitly check which Lagrangian nodes lie inside the solid. Those altered MLBM setups are denoted with filled symbols in Fig. 8. We attribute the difference in the behavior of the two methods in the touching limit case to the implementation of the no-slip boundary condition. In MNS, the Dirichlet boundary \(\varvec{v}=\varvec{0}\) needs no approximation or information about the orientation of the local normal on the boundary, thus it introduces no error to the velocity field. MLBM faces growing approximation errors as the spheres get closer to each other and in the narrow volumes adjacent to the obstacle’s intersections for \(r>0.5\) which might produce unbalanced stencils due to visibility criterion48. Those can be further amplified by too few discretization points across the narrow fluid volumes compared to the minimal number of nodes used in the literature in e.g. Poiseuille flow24,49.
The values of the permeability (left) and the drag coefficient (right) in the near-touching limit cases. The filled symbols denote the MLBM cases where the bounceback criterion or the interpolation parameters needed to be changed in order to obtain stable simulations. The dashed line indicates the touching limit.
Node placement sensitivity
Meshless methods inherently exhibit variability, as there are virtually infinite possible node layouts for a given target internodal distance50. This stems from differences in the number and placement of seed nodes, the number of expansion candidates, and the use of different randomization (random seeds) during candidate generation (see Sect. 2.1). In this section, we analyze the effect of this variability on the results. In particular, we consider the systems of porosities in the same range as in Sect. 3.3 discretized using \(h_\text {min}=0.01\). For each sphere radius, we generate 5 discretizations differing from one another only in the value of the initial seed, the same for both solvers. We execute simulations with the stencil size \(N_L=25\) on such a set of point clouds and for each porosity we calculate the standard deviation of the obtained values of \(k/d^2\) and K normalized by the estimated mean, see Fig. 9. First of all, one sees that MLBM could not obtain converged results for all 5 realizations in several radii closest to the touching limit (\(\varphi \sim 0.48\)), thus those values are not shown in the Figure. On the other hand, MNS successfully reached the steady state in all considered cases. This corresponds to the results shown in Figs. 6, 7, 8, where—at least with the default approximation setup—the problems with stability in MLBM were also evident. For the radii for which the converged results were obtained with each method, the values of the relative standard deviation are confined within the range \([5 \cdot 10^{-5};0.1]\). The three limiting cases—extremely low and high porosity, as well as the touching limit—give significantly higher values of the relative standard deviation of the coefficients. This is most likely caused by the small size of the discretized geometry details compared to the boundary internodal distance \(h_\text {min}\), meaning that the individual placements play a much larger role. The surface of the smallest considered sphere with \(r=0.04\) is discretized with \(\sim 175\) nodes, less that \(0.01\%\) of all nodes, and the narrow throat in the case with the largest considered \(r=0.69\) sphere is spanned by \(\sim 4\) nodes.This directly points to the fact that those areas are bottlenecks for the precision of the simulations and local refinement there should be performed to obtain less varying results. In the intermediate porosities, MLBM solutions seem to be less dependent on the nodes placement than those of MNS.
The standard deviations of permeability (top) and drag coefficient (bottom) values normalized by the mean values of those parameters obtained on five realizations of discretizations for each radius of spheres. The realizations differed only in the value of the initial seed input to the discretization algorithm and were the same for both solvers.
Influence of the refinement parameters and the stencil size
The advantage of meshless discretizations lies in the flexible positioning of nodes and easy manipulation of the approximation accuracy via the number of stencil members. First, we investigate the stability of the simulations and the relative errors of the drag coefficient K obtained with various combinations of \(\varepsilon\) and \(h_\text {max}/h_\text {min}\) ratio (Eq. (25)) for small and large spheres. In general, lower values of \(\varepsilon\) and higher values of \(h_\text {max}/h_\text {min}\) correspond to more aggressive refinement from the bulk towards the sphere’s surface (Fig. 2). The relative error, defined as:
is shown in Fig. 10. \(K_\text {ref}\equiv K(1,1)\) is the value of K for the constant nodes density in space. For all simulations, we used \(h_\text {min}=0.01\). No error value is plotted for setups when the simulations diverged or when \(E>2\). On top of the errors map we plot isolines of several chosen numbers of nodes in the domain N. For comparison, in Fig. 10 we also report the number of nodes for the non-refined case, \(N_{1,1}\).
Relative error of the drag coefficient for MLBM and MNS solution (Eq. (35)) for various refinement function parameters. \(N_{1,1}\) is the number of nodes in the non-refined discretization. Dashed lines with labels are isocontours of the number of Eulerian nodes N.
For the considered refinement parameters, both methods show similar regions of stable solutions. This suggests that this is by large the meshless approximation stability/accuracy which determines the stability for both methods. The values of error E approximately follow the isocontours of the number of nodes with a noticeable drop of the error for large \(\varepsilon\) at a constant \(h_\text {max}/h_\text {min}\) ratio in the case of \(r=0.062\). This is most probably due to a too small volume of fine discretization near the sphere to properly handle gradients in the relatively thick boundary layer. In this case, MLBM exhibits an extended area of stability compared to MNS. For the convergent cases of \(r=0.6526\), the error values are comparable between the methods. For \(r=0.6526\), MNS exhibits a larger set of stable solutions for low \(h_\text {max}/h_\text {min}\) and \(\varepsilon\) than MLBM, with higher values of errors in the range of medium values of those parameters. A comparison with the number of nodes in the non-refined case (\(N_{1,1}\)) reveals that the local refinement brings great advantages in the case of high-porosity sample—approximately 15-fold reduction of the node count comes with the cost of less than \(1\%\) error for \(h_\text {max}/h_\text {min}=4\), \(\varepsilon =0.3\) case. Also, in the high-porosity system, increasing the shape parameter \(\varepsilon\) (making the refinement function less peaked) up to the value of \(\approx 0.2\) lowers the relative error E with little change in the number of nodes. It suggests that increasing the volume near the walls where the discretization is refined is more beneficial than increasing the nodes density on the wall, which points to the proper resolution of gradients near the obstacle while the solution in the bulk varies slowly in space. In the low-porosity system, the number of nodes depends equally strong on both refinement measures, thus the increase in the computational burden is rather inevitable when the precision is to be improved.
Figure 11 shows the obtained values of the drag coefficient for various stencil sizes \(N_L\) and refinement function shape parameters \(\varepsilon\). In the case of MLBM, the value of K shows no significant dependence on the stencil size, regardless of the refinement aggressiveness. MNS can provide stable solutions with smaller stencil sizes but exhibits a stronger dependence of K on \(N_L\). This can be explained by the fact that smaller \(\varepsilon\), i.e. large gradients in node density, result in unbalanced stencils due to them being constructed from \(N_L\) closest nodes irrespective of direction. Unbalanced stencils are not as problematic for the RBF-FD method in value interpolation used by MLBM but can cause significant problems for 1st and 2nd-order derivative approximation used in MNS.
Pointwise comparison of the meshless solvers
We next investigate the pointwise relative difference between the velocity fields obtained with MLBM and MNS. A single simulation with \(r=0.062\) and \(r=0.6526\) was run with each solver using exactly the same space discretization. We define the pointwise difference of the velocity field as:
where the subscript denotes the method used to obtain the velocity value and \(|\cdot |\) is the Euclidean vector norm. Figure 12 shows isosurfaces of \(\delta (\varvec{x})\) for each sphere radius. For \(r=0.062\) the lowest difference isosurface corresponds to the boundary layer around the sphere, being stretched in the x-direction. The larger values of \(\delta (\varvec{x})\) towards the surface are caused by the normalization by near-zero velocity values (compare with the right subplot of Fig. 13 showing that the absolute value of the difference falls down towards the surface) with the maxima occurring in the same places as the maxima of the tangent force of MNS solution in Fig. 5. More drag in the MNS solution may explain the slightly lower x-velocity visible in the right plot of Fig. 13. In the case of \(r=0.6526\) the largest differences occur in the concave parts of the domain, near the spheres’ intersections, where vortices are expected to emerge in the velocity field, even for a very low Reynolds number51. The fact that the main point-wise differences shown in Figs. 12 and 13 occur in areas with stagnant flow indicates that it may be caused by known ACM problems with pressure oscillations in the low Reynolds regime42. This is supported by the oscillations in the surface pressure field shown in Fig. 5, where the fluctuations in pressure isocountours appear noticeably larger in areas where the tangent force is lower, indicating a stagnant flow.
Relative pointwise velocity difference between the two solvers \(\delta (\varvec{x})\) for \(r=0.062\) (left) and \(r=0.6526\) (right). The isocontours correspond to the values: 0.1, 0.05, 0.01 for \(r=0.062\) and 1, 0.25, 0.05 for \(r=0.6526\), from the darkest to the brightest. Note the sphere surface is not rendered but the isosurfaces are trimmed by it.
Complexity and timings analysis
Algorithmical complexity
The cost of a single timestep of the described MLBM algorithm with the TRT collision kernel can be expressed as:
where terms denoted by I, II, and III correspond to the collision, the interpolation, and the calculation of the macroscopic variables according to Eq. (16), respectively. In the case of the present MNS implementation, it is:
where the terms denoted by I and II correspond to the update of the velocity field and the pressure correction steps, respectively. It is immediately seen that the number of the stencil members \(N_L\) contributes significantly to both values. In MLBM its contribution is multiplied by the number of discrete velocities q, while in MNS by terms corresponding to the number of macroscopic fields and pressure correction steps \(n_p\). In MLBM, q multiplies also a large factor of 62 related to the calculation of the equilibrium distributions. In fact, the asymptotic complexity of each method is \(\mathscr {O}(NN_Lq)\) for MLBM (in line with the findings of e.g. Musavi and Ashrafizaadeh19) and \(\mathscr {O}(NN_Ln_p)\) for MNS. However, for the asymptotic regimes to be reached, extremely large values of \(N_L\), q and \(n_p\) would need to be used. It is therefore more useful to consider the values of complexities for some certain, smaller values of those parameters. Figure 14 shows the ratio of the two complexities for a constant number of pressure correction steps \(n_p\) and discrete velocities q. The complexity of both methods depends on the choice of the free parameters. For small stencils, the overhead from the calculation of equilibrium in MLBM makes it more complex than MNS.
It is important to notice that the size of the monomial subset of the interpolation basis does not influence the approximation step’s complexity directly. It does, however, impose limits on the minimal number of nodes in interpolation supports, as noted in Sect. 2.1. The approximation step makes use of the weights vectors, Eq. (7), which need to be calculated only once, in the preprocessing step. The computational cost of this is of the order of \(\mathscr {O}(N(N_L+m)^3)\) which has to be multiplied by the number of populations in MLBM or the number of approximated operators in MNS.
Timings
To provide a more practical quantification of the performance of the presented methods we measure the time needed to achieve a converged solution (defined as in the previous tests) with each of them. Figure 15 shows the algorithms’ execution times for the case of \(r=0.062\) and \(r=0.6526\) versus the number of nodes in the discretization N. We perform the analysis for single-threaded runs on 2x Intel E5520 (2.27 GHz) with 12GB of RAM machine. We observing that the scaling is of the order 1.5 for both methods and compliant with the theoretical predictions. In the large sphere case, the MNS needs approximately 3-folds more time to complete the calculations compared to the MLBM. We note, however, that the presented execution time implicitly contains the amount of the physical time needed for the system to reach steady-state. MLBM needed about 3.57s and 0.04s to reach the stopping criterion for \(r=0.062\) and \(r=0.6526\), respectively, at \(h_\text {min}=0.007\). Those times for MNS are 3.58s and 0.39s. In the case of \(r=0.6526\), the difference of 0.35s in the physical time is what accounts for the larger execution times of MNS in Fig. 15. In case \(r=0.062\), where the physical time of the simulations is comparable between the methods, the estimated execution times were about three times larger for MLBM than for MNS. The issues of pressure oscillations mentioned in Sect. 3.6 may explain the difference in the physical time required to reach a steady state in the \(r=0.6526\) case with large areas of stagnant flow.
Execution times in seconds of \(r=0.062\) (left) and \(r=0.6526\) (right) case for single-threaded runs versus the number of nodes in the domain N. Open symbols denote meshless Navier–Stokes timings and filled symbols denote MLBM timings. The stopping criterion was the same as in the remaining tests. In both methods, the execution time is inversely proportional to the timestep length \(\delta t\). In both methods the diffusive scaling of the timestep length was used (\(\delta t \propto h(\varvec{x})^2\) in MNS and \(\delta t \propto \delta x^2 \propto h(\varvec{x})^2\) in MLBM) and as \(\delta x \propto N^{1/3}\) one obtains that the execution time should scale as \(N^{1.5}\). The dashed lines denote the 1.5-order slope. The execution times for \(r=0.062\) were extrapolated based on the physical time at which the simulation reached the stopping criterion and the execution time for a fixed number of iterations.
Conclusions
The paper compares two meshless CFD solvers for the simulation of fluid flow through porous media, the meshless Lattice-Boltzmann method with two relaxation-time collision terms and a direct Navier–Stokes solver under the artificial compressibility limit, focusing on a periodic 3D porous medium modeled as a cubic array of spheres. Both methods utilize point clouds of the same point density in space, provided by an iterative, advancing-front dimension-independent algorithm that allows variable internodal distances (needed for h-refinement) and Radial Basis Function (RBF) approximation for the field and operator approximation. In terms of methods, the paper discusses the meshless discretization and approximation techniques as well as the specifics of the implementation of the considered CFD methods.
Through a convergence analysis of the permeability and drag coefficient analysis across various porosities, we demonstrate the effectiveness of both methods in accurately predicting the flow characteristics. Both methods are convergent and provide results that agree with reference data from the literature. This has encouraged us to extend the range of solvable problems beyond the available benchmark data to lower porosities.
Furthermore, we investigate the sensitivity of the drag coefficient to the refinement parameters, with both methods showing a similar stability range. We demonstrate the advantages of meshless refined discretization by significantly reducing the number of nodes with minimal increase in error.
When analyzing the effect of the stencil size, we find that the meshless Lattice-Boltzmann method achieves good results even with a relatively small stencil size compared to the direct solver. This is to some extent to be expected, since the Lattice-Boltzmann method uses the RBF approximation only for field approximation, while the direct solver approximates all differential operators involved.
The paper also delves into the complexity and timing analyses of both solvers. We find the complexity of both methods linearly dependent on the stencil size and the space discretization size with coefficients related to the equilibrium VDF form (LBM) and the number of pressure steps (MNS). Although the MNS is seemingly less complex in terms of the sheer number of operations, it requires a larger stencil size for stability reasons. Moreover, the actual execution times strongly depend on the number of iterations required to reach the steady state, which is different for both methods for different porosities. The message here is that both methods are in the same order of magnitude in terms of computational complexity.
Data availability
The full raw datasets and codes used to generate them and analyzed during the current study are available in two public repositories: https://zenodo.org/records/14979637 and https://zenodo.org/records/14979739.
References
Miguel, A. F. Lungs as a natural porous media: architecture, airflow characteristics and transport of suspended particles. In Heat and Mass Transfer in Porous Media 115–137 (Springer, 2011).
Whitesell, H. & Overfelt, R. Influence of solidification variables on the microstructure, macrosegregation, and porosity of directionally solidified mar-m247. Mater. Sci. Eng. A 318, 264–276 (2001).
Patel, R. A. et al. A three-dimensional lattice Boltzmann method based reactive transport model to simulate changes in cement paste microstructure due to calcium leaching. Constr. Build. Mater. 166, 158–170 (2018).
Singh, A. K., Gupta, R. K., Kumar, M. & Yadav, K. Review of finite element mesh generation methods. In AIP Conference Proceedings, vol. 2782 (AIP Publishing, 2023).
Klostermann, J., Schwarze, R. & Brücker, C. Meshing of porous foam structures on the micro-scale. Eng. Comput. 29, 95–110 (2013).
Liu, G.-R. & Gu, Y.-T. An Introduction to Meshfree Methods and Their Programming (Springer Science & Business Media, 2005).
Nguyen, V. P., Rabczuk, T., Bordas, S. & Duflot, M. Meshless methods: A review and computer implementation aspects. Math. Comput. Simul. 79, 763–813. https://doi.org/10.1016/j.matcom.2008.01.003 (2008).
Slak, J. & Kosec, G. Medusa: A C++ Library for solving PDEs using Strong Form Mesh-Free methods (2019). arXiv:1912.13282.
Zienkiewicz, O. C., Taylor, R. L. & Zhu, J. Z. The Finite Element Method: Its Basis and Fundamentals (Elsevier, 2005).
Depolli, M., Slak, J. & Kosec, G. Parallel domain discretization algorithm for RBF-FD and other meshless numerical methods for solving PDEs. Comput. Struct. 264, 106773. https://doi.org/10.1016/j.compstruc.2022.106773 (2022).
Oanh, D. T. & Tuong, N. M. An approach to adaptive refinement for the RBF-FD method for 2D elliptic equations. Appl. Numer. Math. 178, 123–154. https://doi.org/10.1016/j.apnum.2022.03.015 (2022).
Jančič, M. & Kosec, G. Strong form mesh-free hp-adaptive solution of linear elasticity problem. Eng. Comput. 40, 1027–1047 (2024).
Tolstykh, A. I. & Shirobokov, D. A. On using radial basis functions in a “finite difference mode” with applications to elasticity problems. Comput. Mech. 33, 68–79. https://doi.org/10.1007/s00466-003-0501-9 (2003).
Bayona, V., Flyer, N., Fornberg, B. & Barnett, G. A. On the role of polynomials in RBF-FD approximations: II. Numerical solution of elliptic PDEs. J. Comput. Phys. 332, 257–273. https://doi.org/10.1016/j.jcp.2016.12.008 (2016).
Slak, J. & Kosec, G. Adaptive radial basis function-generated finite differences method for contact problems. Int. J. Numer. Methods Eng. 119, 661–686. https://doi.org/10.1002/nme.6067 (2019).
Chu, T. & Schmidt, O. T. RBF-FD discretization of the Navier–Stokes equations on scattered but staggered nodes. J. Comput. Phys. 474, 11175. https://doi.org/10.1016/j.jcp.2022.111756 (2023).
Chinchapatnam, P. P., Djidjeli, K., Nair, P. B. & Tan, M. A compact RBF-FD based meshless method for the incompressible Navier–Stokes equations. Proc. Inst. Mech. Eng. Part M J. Eng. Marit. Environ. 223, 275–290. https://doi.org/10.1243/14750902JEME151 (2009).
Zamolo, R., Miotti, D. & Nobile, E. Accurate rbf-fd meshless numerical simulation of thermo-fluid problems for generic 3d geometries. J. Phys. Conf. Ser. 2509, 012002 (2023).
Musavi, S. H. & Ashrafizaadeh, M. Meshless lattice Boltzmann method for the simulation of fluid flows. Phys. Rev. E 91, 023310 (2015).
Strzelczyk, D. & Matyka, M. Study of the convergence of the meshless lattice Boltzmann method in Taylor–Green, annular channel and a porous medium flows. Comput. Fluids 269, 106122. https://doi.org/10.1016/j.compfluid.2023.106122 (2024).
Slak, J. & Kosec, G. Medusa: A C++ library for solving PDEs using strong form mesh-free methods. ACM Trans. Math. Softw. 47, 1–25. https://doi.org/10.1145/3450966 (2021).
Holmes, D. W., Williams, J. R. & Tilke, P. Smooth particle hydrodynamics simulations of low Reynolds number flows through porous media. Int. J. Numer. Anal. Methods Geomech. 35, 419–437. https://doi.org/10.1002/nag.898 (2011).
Larson, R. E. & Higdon, J. A periodic grain consolidation model of porous media. Phys. Fluids A 1, 38–46. https://doi.org/10.1063/1.857545 (1989).
Krüger, T. et al.The Lattice Boltzmann Method: Principles and Practice (2016).
Slak, J. & Kosec, G. On generation of node distributions for meshless PDE discretizations. SIAM J. Sci. Comput. 41, A3202–A3229. https://doi.org/10.1137/18M1231456 (2019).
Davydov, O., Oanh, D. T. & Tuong, N. M. Improved stencil selection for meshless finite difference methods in 3d. J. Comput. Appl. Math. 425, 115031. https://doi.org/10.1016/j.cam.2022.115031 (2023).
Lehto, E., Shankar, V. & Wright, G. B. A radial basis function (rbf) compact finite difference (fd) scheme for reaction–diffusion equations on surfaces. SIAM J. Sci. Comput. 39, A2129–A2151. https://doi.org/10.1137/16M1095457 (2017).
Flyer, N., Fornberg, B., Bayona, V. & Barnett, G. A. On the role of polynomials in rbf-fd approximations: I. Interpolation and accuracy. J. Comput. Phys. 321, 21–38. https://doi.org/10.1016/j.jcp.2016.05.026 (2016).
Slak, J. Adaptive RBF-FD method. Ph.D. thesis, University of Ljubljana (2020).
Jančič, M., Slak, J. & Kosec, G. Monomial augmentation guidelines for rbf-fd from accuracy versus computational time perspective. J. Sci. Comput. 87, 9. https://doi.org/10.1007/s10915-020-01401-y (2021).
Lin, X., Wu, J. & Zhang, T. A mesh-free radial basis function-based semi-Lagrangian lattice Boltzmann method for incompressible flows. Int. J. Numer. Methods Fluids 91, 198–211. https://doi.org/10.1002/fld.4749 (2019).
Succi, S. The Lattice Boltzmann Equation: For Complex States of Flowing Matter (Oxford University Press, 2018).
Ginzburg, I. Two-relaxation-time lattice boltzmann scheme: About parametrization, velocity, pressure and mixed boundary conditions. Commun. Comput. Phys. 3, 427–478 (2008).
Yu, Y., Qin, Z., Chen, S., Shu, S. & Yuan, H. Two-relaxation-time regularized lattice Boltzmann model for Navier–Stokes equations. Adv. Appl. Math. Mech. 17, 489–516. https://doi.org/10.4208/aamm.OA-2024-0203 (2024).
Yu, Y., Qin, Z., Yuan, H. & Shu, S. Two-relaxation-time regularized lattice Boltzmann model for convection–diffusion equation with spatially dependent coefficients. Appl. Math. Comput. 488, 129135. https://doi.org/10.1016/j.amc.2024.129135 (2025).
Pan, C., Luo, L.-S. & Miller, C. T. An evaluation of lattice Boltzmann schemes for porous medium flow simulation. Comput. Fluids 35, 898–909. https://doi.org/10.1016/j.compfluid.2005.03.008 (2006).
Trojak, W., Vadlamani, N., Tyacke, J., Witherden, F. & Jameson, A. Artificial compressibility approaches in flux reconstruction for incompressible viscous flow simulations. Comput. Fluids 247, 105634. https://doi.org/10.1016/j.compfluid.2022.105634 (2022).
Kosec, G. A local numerical solution of a fluid-flow problem on an irregular domain. Adv. Eng. Softw. 120, 36–44. https://doi.org/10.1016/j.advengsoft.2016.05.010 (2018).
Chorin, A. J. A numerical method for solving incompressible viscous flow problems. J. Comput. Phys. 2, 12–26. https://doi.org/10.1016/0021-9991(67)90037-X (1967).
Ma, Q. W., Zhou, Y. & Yan, S. A review on approaches to solving Poisson’s equation in projection-based meshless methods for modelling strongly nonlinear water waves. J. Ocean Eng. Mar. Energy 2, 279–299. https://doi.org/10.1007/s40722-016-0063-5 (2016).
Ohwada, T., Asinari, P. & Yabusaki, D. Artificial compressibility method and lattice Boltzmann method: Similarities and differences. Comput. Math. Appl. 61, 3461–3474. https://doi.org/10.1016/j.camwa.2010.08.032 (2011).
Clausen, J. R. Entropically damped form of artificial compressibility for explicit simulation of incompressible flow. Phys. Rev. E 87, 013309. https://doi.org/10.1103/PhysRevE.87.013309 (2013).
Rahman, M. M. & Siikonen, T. An artificial compressibility method for viscous incompressible and low Mach number flows. Int. J. Numer. Methods Eng. 75, 1320–1340. https://doi.org/10.1002/nme.2302 (2008).
Almedeij, J. Drag coefficient of flow around a sphere: Matching asymptotically the wide trend. Powder Technol. 186, 218–223 (2008).
Stahl, B., Chopard, B. & Latt, J. Measurements of wall shear stress with the lattice Boltzmann method and staircase approximation of boundaries. Comput. Fluids 39, 1625–1633. https://doi.org/10.1016/j.compfluid.2010.05.015 (2010).
Matyka, M., Koza, Z. & Mirosław, Ł. Wall orientation and shear stress in the lattice boltzmann model. Comput. Fluids 73, 115–123 (2013).
He, X., Doolen, G. D. & Clark, T. Comparison of the lattice Boltzmann method and the artificial compressibility method for Navier–Stokes equations. J. Comput. Phys. 179, 439–451 (2002).
Jacquemin, T. & Bordas, S. A unified algorithm for the selection of collocation stencils for convex, concave, and singular problems. Int. J. Numer. Methods Eng. 122, 4292–4312. https://doi.org/10.1002/nme.6703 (2021).
He, X., Zou, Q., Luo, L.-S. & Dembo, M. Analytic solutions of simple flows and analysis of nonslip boundary conditions for the lattice Boltzmann BGK model. J. Stat. Phys. 87, 115–136. https://doi.org/10.1007/BF02181482 (1997).
Strniša, F., Jančič, M. & Kosec, G. Numerical analysis of small-strain elasto-plastic deformation using local radial basis function approximation with picard iteration. Appl. Math. Model. 137, 115714. https://doi.org/10.1016/j.apm.2024.115714 (2025).
Agnaou, M., Lasseux, D. & Ahmadi, A. Origin of the inertial deviation from darcy’s law: An investigation from a microscopic flow analysis on two-dimensional model structures. Phys. Rev. E 96, 043105. https://doi.org/10.1103/PhysRevE.96.043105 (2017).
Acknowledgements
The authors acknowledge the financial support from the Slovenian Research and Innovation Agency (ARIS) research core funding No. P2-0095 and the Young Researcher programme PR-10468. Funded by National Science Centre, Poland under the OPUS call in the Weave programme 2021/43/I/ST3/00228. This research was funded in whole or in part by National Science Centre (2021/43/I/ST3/00228). For the purpose of Open Access, the author has applied a CC-BY public copyright licence to any Author Accepted Manuscript (AAM) version arising from this submission.
Author information
Authors and Affiliations
Contributions
D.S. developed the meshless LBM method, M.R. developed a meshless NS solver, and G.K. and M.M. formulated the research problem. G.K. and M.M. organized funding and equipment to perform computations. All authors analyzed the results. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Strzelczyk, D., Rot, M., Kosec, G. et al. Cross-validation of meshless Navier–Stokes solvers in porous media flows. Sci Rep 15, 33837 (2025). https://doi.org/10.1038/s41598-025-05272-x
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-025-05272-x

















