Impact of time and spatial discretization on adjoint operators: Example of stationary and transient saturated flows


Collet A. Sin I. Chauris H. Langlais V. Regnault O.
November 2025Elsevier Ltd

Advances in Water Resources
2025#205

This study compares the continuous (differentiate - then - discretize) and discrete (discretize - then - differentiate) adjoint derivation approaches in the context of adjoint-based automatic optimization. The objective is to study some of the pitfalls associated with spatial and temporal discretization of the adjoint state method, the accuracy of the resulting gradient estimate, and its impact on the convergence cost to reach the optimum solution. It is illustrated in the context of a classical and well documented saturated flow problem. We first present insights of the complete formulations and discretizations of the saturated transient and stationary flow equations, the continuous adjoint equations and their counterparts the discrete adjoint equations for the finite volume method, showing it on the example of Voronoi type mesh. The reference gradient to check both derivation and implementation is computed by finite difference approximation. The consistency between the continuous and discrete adjoint methods is found to depend on the discretization scheme used to solve the forward problem. The time discretization scheme used in the forward problem is preserved in the adjoint equations, and affects both the adjoint terminal condition and the gradient expressions. This is not apparent in the continuous approach. Reproductible numerical applications are provided through the PyRTID python code. The use of a variable time step affects the time derivative of the adjoint equations, and also impacts the analytical expression of the gradient with respect to the initial hydraulic head (initial state). The discretization of the adjoint sources is also critical when simulated values are interpolated both spatially and temporally to match observations. The derivations become more complex when observation errors are correlated and when the observation sampler is non-linear. Numerical experiments show that the use of an incorrect adjoint formulation can lead to incorrect gradients with shifts in both amplitude and localization. Investigation of agreement with the finite difference approximation shows that, if implemented correctly, the residuals between the adjoint state method and the finite difference gradients must be white noise following a zero-centered Gaussian distribution with a standard deviation several orders of magnitude smaller than the gradient values. Mesh refinement has no effect on the gradient accuracy. The main conclusion is that the discretize-then-differentiate approach is constrained on the discretized space contrary to the differentiate-then-discretize as the former integrates the discretization of the forward problem. The discretize-then-differentiate approach makes the derivation more explicit, particularly with respect to boundary conditions, and it is therefore advised regardless of the problem at hand.

Adjoint state method , Continuous , Crank–Nicolson , Discrete , Finite volume , Inverse problem , Semi-implicit

Text of the article Перейти на текст статьи

Orano, 135 avenue de Paris, Châtillon, 92320, France
PSL University/Mines Paris, Centre de Géosciences, 35 rue Saint-Honoré, Fontainebleau Cedex, 77305, France
KATCO JV LLP, Esil district, 48 Sauran Street, Congress Office BC, Nur-Sultan, Kazakhstan

Orano
PSL University/Mines Paris
KATCO JV LLP

10 лет помогаем публиковать статьи Международный издатель

Книга Публикация научной статьи Волощук 2026 Book Publication of a scientific article 2026