Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aeuf_v2_0.tar.gz(3274 Kbytes)
Manuscript Title: RichardsFoam2: a new version of RichardsFoam devoted to the modelling of the vadose zone
Authors: Laurent Orgogozo
Program title: RichardsFoam2
Catalogue identifier: AEUF_v2_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 196(2015)619
Programming language: C++.
Computer: Any x86, tested only on 64-bit machines.
Operating system: Generic Linux.
Has the code been vectorised or parallelized?: The given test cases are run serially, however, it is designed to allow the use of parallel computation with several thousands of cores.
RAM: For the given test cases, around 20 megabytes. But it can vary considerably along the considered problems.
Keywords: Richards equation, OpenFOAM®, heterogeneous soils, rain, evapotranspiration.
Classification: 13.

External routines: OpenFOAM ® (version 2.0.1 or later) with swak4foam (openfoamwiki.net/index.php/Contrib/swak4Foam)

Does the new version supersede the previous version?: Yes

Nature of problem:
This software solves the non-linear three-dimensional transient Richards equation, which is a very popular model for water transfer in variably saturated porous media (e.g.: soils). It is designed to take advantage of the massively parallel computing performance of OpenFOAM®. The goal is to be able to model natural hydrosystems on large temporal and spatial scales.

Solution method:
A mixed implicit (FVM in the object oriented OpenFOAM® framework) and explicit (FVC in the object oriented OpenFOAM® framework) discretization of the equation with a backward time scheme is coupled with a linearization method (Picard algorithm). Due to the linearization loop the final solution of each time step tends towards a fully implicit solution. The implementation has been carried out with a concern for robustness and parallel efficiency.

Reasons for new version:
New features were implemented.

Summary of revisions:
This new version integrates a sink term in Richards equation in order to take into account evapotranspiration, and so allows rain infiltration and heterogeneous soils to be dealt with easily.

Restrictions:
The choice of the maximum and initial time steps must be made carefully in order to avoid stability problems. A careful convergence study of mesh cell size, linear solver precision and linearization method precision must be undertaken for each considered problem, depending on the precision required for the expected results, the spatial and temporal scales at stake, and so on. Finally, the solver in its current version only handles meshes with a constant cell volume (a crash will not necessarily occur with an irregular mesh but some problems may arise with the convergence criterion of the linearization method).

Running time:
Highly variable, depending on the mesh size and the number and nature of cores involved. The test run provided requires less than 2 seconds on a 64 bit machine with Intel®CoreTMi7-2760QM CPU @ 2.40GHz x8 and 3.8 Gigabytes of RAM.