Development continues on the fork in the UG4 Repositories!
>> https://github.com/UG4/unsat_flow <<
UG4-App implementing an unsaturated density driven flow equation system
The Model consists of two coupled PDEs:
The first equation models groundwater flow in a porous medium, the second equation models advection and diffusion of a contaminant.
Saturation and hydraulic conductivity are calculated using the van Genuchten Model.
Please refer to the offical documentation of ughub
on how to setup and compile UG4 correctly.
This app depends on UG4's ConvectionDiffusion and Richards Plugins. Please compile them with UG4.
Once compiled just place this repository in the apps directory of your UG4 directory.
The app is split into a driver and an util script. Problems are described using configuration scripts. Multiple examples are given in the configs folder. To start a simulation the driver needs to be executed using the ugshell:
ugshell -ex unsat_flow_app/unsat_flow_driver.lua --problem-id "example"
Several additional arguments can be set:
- --problem-id: path to the problems config file
- --numPreRefs: number of refinements before distribution
- --numRefs: number of refinements after distribution
- --dt: minimal timestep size
- --newton: solves the problem using a newton solver if set
[1] Bear, J., and Cheng, A. H.-D. Modeling Groundwater Flow and Contaminant Transport. Theory and Applications of Transport in Porous Media. Springer Science+Business Media B.V, 2010.
[2] Van Genuchten, M. A Closed-form Equation for Predicting the Hydraulic Conductivity of Unsaturated Soils. Soil Science Society of America Journal 44 (09 1980).
[3] Richards, L. A. Capillary conduction of liquids through porous mediums. Physics 1, 5 (1931), 318–333.