Parallel Modeling of Three-dimensional Variably Saturated Ground Water Flows with Unstructured Mesh using Open Source Finite Volume Platform Openfoam

Abstract We report the development of a three-dimensional open source model suGWFoam, based on the multiphysics platform OpenFOAM for variably saturated flow in porous media. The nonlinear Richards equation is spatially discretized on unstructured meshes using finite volume method in conjunction with the modified Picard iterative method, which inherently guarantees conservation of mass. A switching algorithm between different forms of the Richards equation is implemented and three choices of convergence criteria suitable for different simulation scenarios are provided. The linearized equation results in a symmetric matrix system which can be solved with one of the following Krylov subspace linear solvers: preconditioned conjugate gradient (PCG), incomplete Cholesky preconditioned conjugate gradient (ICCG) and geometric agglomerated algebraic multigrid (GAMG). Various preconditioners are runtime selectable. Parallel computation through domain decomposition shows good speedup for large scale simulations. Comparing to other available codes for ground water, the merits of this model reside in the architecture of OpenFOAM. Built upon the modularized and hierarchical design of the platform, this model has less than several hundreds of lines of code on its top level and yet has the full functionalities for three-dimensional unstructured mesh, parallel computing, and numerous choices of spatial and temporal discretization schemes. This liberates the researchers in the water resource community from the tedious and long process of coding. It is also extremely easy to couple groundwater flow with surface water hydrodynamics using existing flow solvers (such as channel flows and waves) in OpenFOAM. This model is fully functional and validations show excellent agreement with data in literature for a wide range of applications. It can be used for both fundamental researches and real world applications.

[1]  R. H. Brooks,et al.  Hydraulic properties of porous media , 1963 .

[2]  Pierre Perrochet,et al.  On the primary variable switching technique for simulating unsaturated–saturated flows , 1999 .

[3]  Fred J. Molz,et al.  A physically based, two-dimensional, finite-difference algorithm for modeling variably saturated flow , 1994 .

[4]  Nick Croft,et al.  Computational modelling of variably saturated flow in porous media with complex three‐dimensional geometries , 2006 .

[5]  Cass T. Miller,et al.  Robust solution of Richards' equation for nonuniform porous media , 1998 .

[6]  Hrvoje Jasak,et al.  A tensorial approach to computational continuum mechanics using object-oriented techniques , 1998 .

[7]  Robert W. Gillham,et al.  Unsaturated and Saturated Flow in Response to Pumping of an Unconfined Aquifer: Field Evidence of Delayed Drainage , 1992 .

[8]  Farad Kamyabi,et al.  Multiphase Flow in Porous Media , 2014 .

[9]  E. Sudicky,et al.  A Noniterative Technique for the Direct Implementation of Well Bore Boundary Conditions in Three‐Dimensional Heterogeneous Formations , 1995 .

[10]  J. Skopp,et al.  Physical and Chemical Hydrogeology, 2nd edition , 1999 .

[11]  B. Mohanty,et al.  A new convergence criterion for the modified Picard iteration method to solve the variably saturated flow equation , 1996 .

[12]  G. Vachaud,et al.  Experimental and numerical study of a transient, two‐dimensional unsaturated‐saturated water table recharge problem , 1979 .

[13]  Richard L. Cooley,et al.  A Finite Difference Method for Unsteady Flow in Variably Saturated Porous Media: Application to a Single Pumping Well , 1971 .

[14]  A. Doğan,et al.  Saturated-Unsaturated 3D Groundwater Model. I: Development , 2005 .

[15]  Peter A. Forsyth,et al.  Robust numerical methods for saturated-unsaturated flow with dry initial conditions in heterogeneous media , 1996 .

[16]  R. Hinkelmann,et al.  A Comparison of Model Concepts and Experiments for Seepage Processes Through a Dike with a Fault Zone , 2011 .

[17]  R. G. Hills,et al.  Algorithms for solving Richards' equation for variably saturated soils , 1992 .

[18]  Well bore boundary conditions for variably saturated flow modeling , 2000 .

[19]  Vipin Kumar,et al.  A Fast and High Quality Multilevel Scheme for Partitioning Irregular Graphs , 1998, SIAM J. Sci. Comput..

[20]  C. Duffy,et al.  A Second‐Order Accurate, Finite Volume–Based, Integrated Hydrologic Modeling (FIHM) Framework for Simulation of Surface and Subsurface Flow , 2009 .

[21]  D. R. Nielsen,et al.  On describing and predicting the hydraulic properties of unsaturated soils , 1985 .

[22]  Van Genuchten,et al.  A closed-form equation for predicting the hydraulic conductivity of unsaturated soils , 1980 .

[23]  R. G. Hills,et al.  Modeling one‐dimensional infiltration into very dry soils: 1. Model development and evaluation , 1989 .

[24]  A. Doğan,et al.  Saturated-Unsaturated 3D Groundwater Model. II: Verification and Application , 2005 .

[25]  M. Kumar,et al.  Modeling of Flow and Advection Dominant Solute Transport in Variably Saturated Porous Media , 2009 .

[26]  R. Gillham,et al.  Unsaturated and Saturated Flow in Response to Pumping of an Unconfined Aquifer: Numerical Investigation of Delayed Drainage , 1992 .

[27]  J. Dam,et al.  Advances of Modeling Water Flow in Variably Saturated Soils with SWAP , 2008 .

[28]  L. A. Richards Capillary conduction of liquids through porous mediums , 1931 .

[29]  Eric F. Wood,et al.  NUMERICAL EVALUATION OF ITERATIVE AND NONITERATIVE METHODS FOR THE SOLUTION OF THE NONLINEAR RICHARDS EQUATION , 1991 .

[30]  Arlen W. Harbaugh,et al.  A modular three-dimensional finite-difference ground-water flow model , 1984 .

[31]  Xinmei Hao,et al.  A mass-conservative switching method for simulating saturated–unsaturated flow , 2005 .

[32]  Gianmarco Manzini,et al.  Mass-conservative finite volume methods on 2-D unstructured grids for the Richards’ equation , 2004 .

[33]  Hrvoje Jasak,et al.  Error analysis and estimation for the finite volume method with applications to fluid flows , 1996 .

[34]  M. Celia,et al.  A General Mass-Conservative Numerical Solution for the Unsaturated Flow Equation , 1990 .

[35]  R. Healy,et al.  Documentation of computer program VS2D to solve the equations of fluid flow in variably saturated porous media , 1987 .

[36]  P. Domenico,et al.  Physical and chemical hydrogeology , 1990 .