AFiD-Darcy: A finite difference solver for numerical simulations of convective porous media flows

被引:0
|
作者
De Paoli, Marco [1 ,2 ,3 ,4 ]
Yerragolam, Guru Sreevanshu [1 ,2 ,3 ]
Lohse, Detlef [1 ,2 ,3 ]
Verzicco, Roberto [1 ,2 ,3 ,5 ,6 ]
机构
[1] Univ Twente, Phys Fluids Grp, POB 217, NL-7500 AE Enschede, Netherlands
[2] Univ Twente, Max Planck Ctr Complex Fluid Dynam, POB 217, NL-7500 AE Enschede, Netherlands
[3] Univ Twente, JM Burgers Ctr Fluid Dynam, POB 217, NL-7500 AE Enschede, Netherlands
[4] TU Wien, Inst Fluid Mech & Heat Transfer, A-1060 Vienna, Austria
[5] Univ Roma Tor Vergata, Dipartimento Ingn Ind, I-00133 Rome, Italy
[6] Gran Sasso Sci Inst, I-67100 Laquila, Italy
关键词
Finite-difference scheme; Convection; Porous media; Parallelization; LARGE-EDDY SIMULATIONS; TURBULENT-FLOW; SOLUTAL-CONVECTION; TRANSPORT; ERRORS;
D O I
10.1016/j.cpc.2025.109579
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We present an efficient solver for massively-parallel simulations of convective, wall-bounded and incompressible porous media flows. The algorithm consists of a second-order finite-difference pressure-correction scheme, allowing the use of an efficient FFT-based solver in problems with different boundary conditions. The parallelization method is implemented in a two-dimensional pencil-like domain decomposition, which enables efficient parallel large-scale simulations. The original version of the code presented by van der Poel et al. (2015) [35] has been modified to solve the Darcy equation for the momentum transport, representative of porous media flows driven by buoyancy. Two schemes are implemented to treat the diffusive term of the advection-diffusion equation, namely a fully implicit and semi-implicit formulation. Despite exhibiting a higher computational cost per time step, the fully implicit scheme allows an efficient simulation of transient flows, leading to a smaller time- to-solution compared to the semi-implicit scheme. The implementation was verified against different canonical flows, and the computational performance was examined. To show the code's capabilities, the maximal driving strength explored has been doubled as compared to state-of-art simulations, corresponding to an increase of the associated computational effort of about 8 to 16 times. Excellent strong scaling performance is demonstrated for both schemes developed and for domains with more than 1010 spatial degrees of freedom. Program summary Program Title: AFiD-Darcy CPC Library link to program files: https://doi.org/10.17632/xhx3gzpj6n.1 Developer's repository link: https://github.com/depaolimarco/AFiD-Darcy Licensing provisions: CC BY 4.0 Programming language: Fortran 90, MPI External routines: FFTW3, HDF5 Nature of problem: Solving two- and three-dimensional Darcy equation coupled with a scalar field in a box bounded between two walls in one-direction and with periodic boundary conditions in the other two directions. Solution method: Second order finite difference method for spatial discretization, third order Runge-Kutta scheme in combination with Crank-Nicolson for the implicit terms for time advancement, two dimensional pencil distributed MPI parallelization. Implicit and semi-implicit formulations for the solution of the diffusive terms in the scalar transport equation.
引用
收藏
页数:13
相关论文
共 50 条
  • [31] A high-order finite difference method for numerical simulations of supersonic turbulent flows
    Li, Zhaorui
    Jaberi, Farhad A.
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2012, 68 (06) : 740 - 766
  • [32] Some pitfalls in the modelling of convective flows in porous media
    Nield, DA
    TRANSPORT IN POROUS MEDIA, 2001, 43 (03) : 597 - 601
  • [33] Some Pitfalls in the Modelling of Convective Flows in Porous Media
    D. A. Nield
    Transport in Porous Media, 2001, 43 : 597 - 601
  • [34] Analysis of a finite volume-finite element method for Darcy-Brinkman two-phase flows in porous media
    El Dine, Houssein Nasser
    Saad, Mazen
    JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2018, 337 : 51 - 72
  • [35] Finite-Difference Time-Domain Simulations of Radon Transport in Porous Media
    Tayebi, A.
    Bezzout, H.
    El Maghraoui, M.
    El Faylali, H.
    ATOM INDONESIA, 2020, 46 (03) : 171 - 175
  • [36] Numerical simulations of flows in a heterogeneous porous medium
    Chen, CY
    Tsai, ZR
    Hsu, L
    INTERNATIONAL JOURNAL OF COMPUTATIONAL FLUID DYNAMICS, 2004, 18 (05) : 431 - 435
  • [37] A Block-Centered Finite Difference Method for Slightly Compressible Darcy-Forchheimer Flow in Porous Media
    Rui, Hongxing
    Pan, Hao
    JOURNAL OF SCIENTIFIC COMPUTING, 2017, 73 (01) : 70 - 92
  • [38] An Efficient XFEM Approximation of Darcy Flows in Arbitrarily Fractured Porous Media
    Fumagalli, Alessio
    Scotti, Anna
    OIL & GAS SCIENCE AND TECHNOLOGY-REVUE D IFP ENERGIES NOUVELLES, 2014, 69 (04): : 555 - 564
  • [39] Gradient discretization of hybrid dimensional Darcy flows in fractured porous media
    Konstantin Brenner
    Mayya Groza
    Cindy Guichard
    Gilles Lebeau
    Roland Masson
    Numerische Mathematik, 2016, 134 : 569 - 609
  • [40] Gradient discretization of hybrid dimensional Darcy flows in fractured porous media
    Brenner, Konstantin
    Groza, Mayya
    Guichard, Cindy
    Lebeau, Gilles
    Masson, Roland
    NUMERISCHE MATHEMATIK, 2016, 134 (03) : 569 - 609