In this document, we present a mass conservative solution to Richardson-Richards’ equation. Richardson-Richards’ equation is known to be quite difficult to solve. Our aim is to use a derivation that is relatively simple, stable and fast, and that can be used as a backbone in our SciML implementation. The reason why we are not using existing implementations like SWAP or Hydrus-1D is the lack of modularity/granularity of these software tools. The aim is to replace part of this equation by machine learning models. We will start simple by replacing the top boundary condition (evapotranspiration based on Penman Monteith) by a simple artificial neural network (see here). But other variants seem also promising. For instance by replacing (parts of) Richardson-Richard’s equation by faster artificial neural networks.
\(q\): flux density, i.e., the volume of water passing through a plane, during a specific time interval (m3 m-2 s-1 = m s -1);
\(S\): sink term (e.g., water uptake by roots m3 m-3 s-1 )
\(s\): spatial coordinate in vertical direction (m, origin at the soil surface and positive upwards, following Koorevaar, Menelik, and Dirksen (1983)).
3 Darcy’s law
One dimensional vertical flow \(q\) in a porous medium is given by Darcy’s law:
This expression is also known as ‘Richards’ equation’. Its mixed form is given above as opposed to the \(h\)-based and \(\theta\)-based forms (Celia, Bouloutas, and Zarba 1990).
where superscripts \(n\) and \(m\) indicate the time step and the iteration step respectively. Note that these superscripts are indices and not exponents!
A first order Taylor series1 approximation of \(\theta^{n+1,m+1}\) gives:
Substituting the differential (or specific) moisture capacity \(C = \frac{d\theta}{d h}\) into this approximation gives:
\[
\theta^{n+1,m+1} \approx \theta^{n+1,m} + \delta^m C^{n+1,m}
\] where \(\delta^m = h^{n+1,m+1} - h^{n+1,m}\) is the iteration increment for timestep \(n+1\) between iterations \(m\) and \(m+1\). Hence,
\[
\frac{\partial \theta}{\partial t} \approx
\frac{\theta^{n+1,m+1} - \theta^n}{\Delta_t} \approx
\frac{C^{n+1,m}}{\Delta_t} \delta^m + \frac{\theta^{n+1,m} - \theta^n}{\Delta_t}
\] Replacing the time-derivative of Equation 5 by this approximation gives:
Upon convergence, iteration increments \(\delta^m\) approach zero, and so is the residual associated with the Picard iteration \(R_i^{n+1,m}\).
This solution to Richardson-Richards’ equation is more complicated than the one presented in Feddes, Kowalik, and Zaradny (1978), but is more stable as global mass conservation is guaranteed (Celia, Bouloutas, and Zarba 1990).
Initial boundary conditions are given as red dots along the vertical axis in Figure 1. It is recommended to use a burn-in period to eliminate the effect of the initial boundary condition on the final results. As long as the burn-in period is sufficiently long, we may select a constant pressure head or a moisture profile that is in equilibrium with the groundwater table depth.
6.2.2 Top and bottom boundary conditions
Since we are solving for iteration increments it follows that \(\delta_0^m = \delta_{n_i + 1}^m = 0\). Indeed we don’t want to iteratively modify these (known) boundary condition. We only need to specify \(h_0^{n+1, m}\) and \(h_{n_i + 1}^{n+1, m}\) in vector \(\vb{r}\).
7 References
Braun, M. 1993. Differential Equations and Their Applications. An Introduction to Applied Mathematics. Springer.
Celia, M. A., E. T. Bouloutas, and R. L. Zarba. 1990. “A General Mass-Conservative Numerical Solution for the Unsaturated Flow Equation.”Water Resources Research 26 (7): 1483–96. https://doi.org/https://doi.org/10.1029/WR026i007p01483.
Feddes, R. A., P. J. Kowalik, and H. Zaradny. 1978. Simulation of Field Water Use and Crop Yield. Simulation Monographs. Pudoc.
Koorevaar, P., G. Menelik, and C. Dirksen. 1983. Elements of Soil Physics. Elsevier Science Publishers.
Richards, L. A. 1931. “Capillary Conduction of Liquids Through Porous Mediums.”Physics 1 (5): 318–33. https://doi.org/10.1063/1.1745010.
Richardson, L. F. 1922. Weather Prediction by Numerical Process. Cambridge, The University press.
Footnotes
A first order Tailor series approximation of a function \(f(x)\) with respect to \(a\) is given by \(f(x) \approx f(a) + \frac{f'(a)}{1!}(x - a)\) or expressed as a time derivative \(y(t_k + h) \approx y(t_k) + h \frac{dy(t_k)}{dt}\)(Braun 1993). The backward or implicit Euler method is based on this approximation and is given by \(y(t_{k + 1}) = y(t_k) + hf(t_{k+1}, y_{k+1})\) where \(f(t, y)=\frac{dy}{dt}\) or \(\frac{y(t_{k + 1}) - y(t_k)}{h} = f(t_{k+1}, y_{k+1})\)↩︎