Software Tools 203
Subsequently, we introduce the application of the UG software toolbox.
For the application of the software toolbox UG in a software package, as
e.g. r
3
t, we distinguish between two modules when structuring the emerging
software package.
ug: This module is the part of the software package which is independent of
the application. It contains software tools as the interpreter of commands, the
event management, the graphics, the numerics, the local grid hierarchy, the
description of areas, the device connection, as well as the storage management.
The lowest level contains the parallelization of the program using a graph-
based parallelization concept. These tools can be applied for the further part
of the application-oriented area.
r3t: In this module the model problem with the related equation is prepared
for the application. For the implementation, the problem class library and
the application were developed. The module depends on the application in
contrast to the ug module that is independent of the application.
The following classification was constituted: Discretizations depending on the
problem as well as the according error indicators, the sources and sinks, and
the analytical solutions, that were developed especially for these systems of
differential equations, are implemented in the program class library.
For the discretization, the finite volume method of higher order was used,
see Appendix B.3. As error indicators for the convection-diffusion-dispersion
equation, the a posteriori error indicators were used, see [163].
The applications contain the initial and boundary conditions as well as the
coefficient functions for the equation. Further implemented are the flexible
input of equation parameters and several time-independent source terms. In
addition, script files are included in the application. These are loaded by the
UG command interpreter and control the sequence of calculations. Especially
the scanner and parser module were programmed and implemented into the
application. At a cue by the program are set: the number of equations, the
phases with transport and reaction parameters, the used sources, the bound-
ary conditions, the area parameter, as well as the hydrogeological parameters.
All files used for the input of velocity and geometry data as well as the output
of solution and grid data can be found in the application.
A.1.3 UG Concept
Essentially two concepts of the UG software toolbox were also used for
the software package r
3
t. One concept is the unstructured grid concept that
allows us to manage relatively complex geometries with adaptive operations
to make the hierarchical methods applicable.
A further concept is the concept of sparse matrices. It allows the block
by block savings of wide-ranging systems of partial differential equations to
achieve an effective storage and velocity concept.
These two concepts are for determining the efficiency of the r
3
t software
package and are described subsequently.
© 2009 by Taylor & Francis Group, LLC