Flow123d  DF_mechanic_bench-4ba6315
Flow123d Documentation

Flow123d

Purpose

Flow123d is a simulator of underground water flow and transport processes. It is aimed in particular for large scale simulations and includes models for water flow in fully saturated porous medium, transport of several chemical substances, sorption of chemical substances into the rock matrix, and chemical reactions.

Features

Complex domains The main feature that distinguish it from other similar software is its capability to represent tiny dislocations in large scale domains as 2D and 1D objects and allows interaction of solution on domains of various dimensions.

Mixed-hybrid discretization of Darcy flow. The water flow is driven by Darcy flow, this is basically steady state elliptic problem, but optionally one can consider compressibility of the water and surrounding rock. In the later case we solve a time dependent parabolic problem. For discretization of the elliptic or parabolic problem we use mixed-hybrid scheme of zero order using lowest order Raviart-Thomas base functions for discretization of the velocity field and piecewise constant base functions for the pressure and its traces on the interior mesh edges. Main advantage of the MH scheme is good approximation of the velocity field which is later used in the transport model. For the parabolic case we have implemented a lumping technique in order to prevent possible oscillations due to violation of the discrete maximum principle.

Advection is modeled only by convection (diffusion/dispersion is in developement). We use simple Finite volume scheme with upwind and backward Euler for time discretization. Unfortunately for highly heterogeneous velocity field which is natural for preferential fracture flow, we have to satisfy CFL condition which bounds the time step to very small values. Advection module can also compute sorption and dual porosity model (substance exchange between mobile and immobile pores.

Reactions. There is fast chemical module but can cope only with linear reactions. It allows to compute with different types of reactions: Radioactive decay, Sorption, First order reaction and Dual porosity.

Paralellism. Both the water flow solver and transport solver can run in parallel on distributed memory systems. We use essentially PETSc and MPI libraries.

Assembly Process All equations use effective assembly process. Detail description of individual steps and used classes.

Main program modules

Input module defines possible formats and structures of input files and their readers.

Mesh Mesh module contains discretization of a multidimensional computational domain and geometrical coincidence of mesh elements.

Darcy flow module with mixed-hybrid solver of linear flow equation.

Transport module with model of chemical substances transport.

Reactions module.

List of Contributors

$LastChangedDate$