Abstract
Simulating groundwater flow in complex, multi-layer aquifer systems involves solving highly nonlinear and often non-smooth governing equations. Traditional Newton-Raphson solvers require the explicit construction and storage of a Jacobian matrix, which becomes a significant computational bottleneck for large-scale models. This paper introduces a Jacobian-Free Newton-Krylov (JFNK) method equipped with a globalization scheme and smoothing techniques. By approximating Jacobian-vector products through finite differences, JFNK eliminates the need for explicit Jacobian storage. The method was tested on synthetic benchmarks and the large-scale C2VSim model. While JFNK demonstrates superior memory efficiency and robustness, its overall speed is contingent on the computational cost of the residual function.
Introduction: The Challenge of Multi-Layer Aquifers
Simulating groundwater flow in multi-layer aquifers is a computationally intensive task. The governing equations, such as the Boussinesq equation, are inherently nonlinear. Furthermore, physical thresholds—such as the transition of an aquifer from confined to unconfined states or the cessation of pumping at "dry" limits—introduce non-smoothness into the system.
Standard numerical solvers typically employ the Newton-Raphson method, which necessitates calculating and storing a Jacobian matrix of partial derivatives. For massive hydrological models with millions of degrees of freedom, the memory and processing requirements for the Jacobian become prohibitive. This research explores JFNK as a "matrix-free" alternative to overcome these limitations.
Methodology
The proposed Jacobian-Free Newton-Krylov (JFNK) approach leverages the fact that Krylov subspace solvers (e.g., GMRES) only require the result of a Jacobian-vector product ($J \cdot v$), rather than the matrix $J$ itself.
Jacobian-Vector Approximation
JFNK approximates this product using a finite-difference of the residual function $F(h)$: $$J \cdot v \approx \frac{F(h + \epsilon v) - F(h)}{\epsilon}$$ where $\epsilon$ is a small perturbation.
Enhancements for Robustness
To ensure convergence and handle physical discontinuities, the authors integrated several key techniques:
- Globalization: A backtracking line search method ensures the solver converges even when the initial guess is far from the true solution.
- Smoothing: The Chen-Harker-Kanzow-Smale method is used to smooth non-differentiable functions (like
maxoperators used for dry nodes), preventing the Newton method from stalling. - Dynamic Forcing: The linear solver tolerance is adjusted dynamically to prevent "oversolving" the linear system during early nonlinear iterations.
Experimental Evaluation
The JFNK method was evaluated against three benchmarks:
- Test Case 1: A synthetic, unconfined single-layer aquifer.
- Test Case 2: A synthetic two-layer aquifer system with an intervening aquitard (illustrated in the figure above).
- C2VSim: The California Central Valley Groundwater-Surface Water Simulation Model, a massive real-world model covering over 20,000 square miles with 32,537 finite element cells across four layers.
Key Results and Discussion
The study revealed a critical trade-off between memory efficiency and computational speed.
Accuracy and Iteration Efficiency
In all test cases, JFNK matched the results of standard Newton-Krylov (NK) methods with high precision (errors between $10^{-4}$ and $10^{-11}$). Notably, JFNK often required fewer outer nonlinear iterations than NK, particularly in the complex C2VSim model.
The RHS Bottleneck
A major finding was that JFNK's speed is entirely dependent on the efficiency of the "Right-Hand Side" (RHS) or residual function. In a streamlined Matlab implementation, JFNK was 17% faster than NK. However, when integrated into the production-grade Integrated Water Flow Model (IWFM), JFNK was 48% slower. This is because IWFM’s RHS function is computationally expensive due to numerous physical "checks and balances," and JFNK requires significantly more RHS calls than standard NK.
Memory Advantages
Despite the speed trade-off in certain software environments, JFNK remains the clear winner for memory-constrained simulations, as it avoids the storage of large, sparse Jacobian matrices.
Conclusion and Future Work
The JFNK method provides a robust, memory-efficient framework for solving large-scale groundwater models. The primary limitation identified is the lack of preconditioning, which is traditionally derived from the Jacobian. Future research will focus on developing "matrix-free" or physics-based preconditioners and optimizing RHS subroutines through parallelization to make JFNK more competitive in production environments like IWFM.
Summary updated