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 条
  • [21] A Finite Difference, Multipoint Flux Numerical Approach to Flow in Porous Media: Numerical Examples
    Osman, Hossam
    Salama, Amgad
    Sun, Shuyu
    Bao, Kai
    POROUS MEDIA AND ITS APPLICATIONS IN SCIENCE, ENGINEERING, AND INDUSTRY, 2012, 1453 : 217 - 222
  • [22] A high order finite difference solver for massively parallel simulations of stably stratified turbulent channel flows
    He, Ping
    COMPUTERS & FLUIDS, 2016, 127 : 161 - 173
  • [23] AVERAGING METHODS FOR NUMERICAL SIMULATIONS OF FLOWS THROUGH HETEROGENEOUS POROUS-MEDIA
    SHAW, DC
    DAWE, RA
    TRANSPORT IN POROUS MEDIA, 1987, 2 (03) : 241 - 267
  • [24] Numerical Simulations of Gravity Driven Reversible Reactive Flows in Homogeneous Porous Media
    Alhumade, H.
    Azaiez, J.
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2015, 2015
  • [25] Numerical Simulations of Non-Newtonian Viscoelastic Flows Through Porous Media
    Liu Yong
    Wu Songping
    FLOW IN POROUS MEDIA - FROM PHENOMENA TO ENGINEERING AND BEYOND, 2009, : 187 - 193
  • [26] POROUS-MEDIA FLOWS THAT DO NOT OBEY DARCY LAW
    AMIRAT, Y
    ESAIM-MATHEMATICAL MODELLING AND NUMERICAL ANALYSIS-MODELISATION MATHEMATIQUE ET ANALYSE NUMERIQUE, 1991, 25 (03): : 273 - 306
  • [27] NON-DARCY FLOWS THROUGH FIBROUS POROUS MEDIA
    EMANUEL, G
    JONES
    JOURNAL OF APPLIED MECHANICS, 1970, 37 (02): : 556 - &
  • [28] A Block-Centered Finite Difference Method for Slightly Compressible Darcy–Forchheimer Flow in Porous Media
    Hongxing Rui
    Hao Pan
    Journal of Scientific Computing, 2017, 73 : 70 - 92
  • [29] Numerical modelling of non-Darcy convective flow in a porous medium
    Kuwahara, F
    Nakayama, A
    HEAT TRANSFER 1998, VOL 4: GENERAL PAPERS, 1998, : 411 - 416
  • [30] Numerical simulations of convective accretion flows in three dimensions
    Igumenshchev, IV
    Abramowicz, MA
    Narayan, R
    ASTROPHYSICAL JOURNAL, 2000, 537 (01): : L27 - L30