You are on page 1of 4

Software Spotlight/ Chunmiao Zheng, Software Editor

FEFLOW: A Finite-Element Ground Water Flow and


Transport Modeling Tool
reviewed by Mike G. Trefry1 and Chris Muffels2

Introduction FEFLOW amounted to 450 MB of disk space, including


Ground water modeling requires a wide range of demo and help folders. FEFLOW requires a license key
models for different types of problems and applications. and is capable of running in licensed stand-alone mode or
FEFLOW is an advanced Finite-Element subsurface by connection to a remote license server. FEFLOWs
FLOW and transport modeling system with an extensive graphics are X-Windows based, so the installation pro-
list of functionalities, including variably saturated flow, vided the user with an X server (Hummingbird Exceed).
variable fluid density mass and heat transport, and multi- Other important tools installed were FEFLOW Explorer
species reactive transport. It is a proprietary code and not 2.0, an OpenGL-based data explorer, and WGEO 5.0, an
freely available; it supports an impressive array of fea- image georeferencing tool. FEFLOW can be modified
tures of interest in subsurface flow and transport and is and removed using a standard Windows installation man-
well documented, in terms of both peer-reviewed papers ager interface. Stability of the Windows computers was
in the scientific literature and a comprehensive set of not affected by the presence of FEFLOW. Execution can
manuals and white papers. The program has been under lead to significant resource demands on the computer
development since 1979 by the Institute for Water Re- host and concomitant slowdowns of other applications,
sources Planning and Systems Research Inc. (WASY but terminations are uncommon even during execution
GmbH) of Berlin, Germany, which has recently become a times of 8 to 12 h or more.
part of DHI Group. For more information, see http://
www.wasy.de/english/products/feflow/index.html.
What We Found

How We Tested Software Performance


The software performance was good. It was able to
FEFLOW v 5.3 (patch 1) was reviewed and tested by solve a range of classical benchmark problems readily.
two reviewers. One reviewer used two Windows XP com- Both triangular and rectangular finite elements are sup-
puters (a desktop P4 3.2 GHz and a laptop Dual Core ported, with a range of direct and indirect solver options,
2.33 GHz) each with 2 GB RAM; the other reviewer used including algebraic multigrid techniques (Stuben 2001).
a laptop P4 3.0 GHz with 1.5 GB RAM. One of the re- FEFLOW autodetects the number of available processors
viewers has also had experience executing FEFLOW on and invokes a multithreaded parallel mode accordingly,
Linux platforms. but the user can specify the number of threads to use if
FEFLOW was downloaded and installed directly desired. Numerical stability is usually good, but complex
from the WASY Web site in Germanya process that problems involving strong density coupling and un-
took approximately 10 to 30 min depending on Internet saturated flow can present convergence problems. The
connection speed. A handsomely packaged box is also graphical user interface (GUI) contains many features of
available as the delivery method. After installing the full use to the modeler, including mouse-driven mesh con-
package, the contents of the WASY folder containing struction, boundary condition specification, and property
editing. It is literally possible to build a georeferenced
flow and transport simulation from existing spatial data
1CSIRO Land and Water, Private Bag 5, Wembley 6913, sets without having to use a text editor.
Australia; mike.trefry@csiro.au One reviewer, who is an experienced ground water
2S.S. Papadupulos & Associates Inc., 7944 Wisconsin Avenue,
modeler but new to FEFLOW, tested a portion of
Bethesda, MD 21771; cmuffels@sspa.com
Copyright 2007 The Author(s)
FEFLOWs functionality related to ground water flow and
Journal compilation 2007 National Ground Water Association. contaminant transport. Throughout the testing, the pro-
doi: 10.1111/j.1745-6584.2007.00358.x gram performed as advertised. While the reviewer found
GROUND WATER2007 525
the GUI not particularly intuitive, the software appeared FEFLOW files to be generated and/or modified pro-
stable (the program did not crash once)with warning grammatically by external applications.
messages appearing anytime the reviewer did something FEFLOW has three graphical output tools: an internal
that might otherwise crash the program. While running viewer, FFPLOT, and FEFLOW Explorer. The internal
FEFLOW to set up and review simulations and results, viewer is functional and performs a range of two-
there were no apparent hiccups in any other programs dimensional (2D) contouring and particle tracking func-
running concurrently. It took the reviewer about 2 d to tions, plus data export as points, ESRI shapefiles and
complete the demonstration exercise, after which, the time series, and Golden Softwares GRD files. The inter-
reviewer felt confident that he could dive in and set up nal viewer also supports a 3D mode, but the quality and
his own ground water flow and contaminant transport flexibility of the graphics in this mode are not high.
models. FEPLOT is a routine tool for constructing annotated
map-style graphics from FEFLOW runsbut an ad-
Input and Output vanced user may prefer to use GIS and drafting tools for
FEFLOW supports an array of data import and ex- this task instead. The graphics tool that really impressed
port filters. It has its own internal formats for mesh and the reviewers is FEFLOW Explorerit is here that the
Finite Element Problem data, but it can also read and user can really see into the simulation results. Explorer
reconstruct simulation files from SWS (Surface Water allows the user to construct complex 3D animations, fly-
Modeling System) and GMS (Groundwater Modeling throughs, and renderings of the FEFLOW grid and
System) produced by Environmental Modeling Systems solution data together with superimposed GIS data and
Inc. For spatial meshing and gridding, FEFLOW can im- georeferenced bitmapsthe output is presentation quality
port a range of formats including AutoCAD DXF, ESRI (Figure 2).
shapefiles plus a variety of simple ASCII formats, and
many bitmap formats for gridding and georeferencing Software Documentation and On-Line Help
operations. This makes it easy to construct complex grids FEFLOW comes with a variety of documents avail-
aligned and shaped with geographic data sets (Figure 1); able on-line and as part of the installation package. As
the combination of FEFLOW and a GIS package (e.g., well, there is a Web forum to discuss FEFLOW modeling
ArcMap) forms a powerful tool for spatial analysis of topics with other users. A demonstration exercise and as-
ground water problems. Extracting data can be tricky sociated tutorial are provided to familiarize new users
sometimes, especially when trying to export nodal values with the most commonly used features of FEFLOW. The
of material properties or fluid velocities in formats that demonstration exercise guides the user through a typical
can be read into other packages. However, one reviewer simulation problem: from importing base maps, mesh
succeeded in extracting a vertical slice through a con- generation, and boundary condition assignment to solvers
ductivity distribution from a three-dimensional (3D) and processing of results. The documentation is easy to
FEFLOW model and inserting this into a MODFLOW follow with plenty of screenshots to keep users on the right
model without too much effort. The native FEFLOW file track. Help is readily accessible throughout a simulation
format for problem definitions supports both ASCII and exercise with convenient Help buttons available on most
binary forms; the ASCII format is larger but allows GUI forms (F1 can be pressed at anytime as well).

Figure 1. A screen capture of a program window for FEFLOW showing grid refinement around four wells on a base map.

526 M.G. Trefry, C. Muffels GROUND WATER


Figure 2. Advanced visualization with FEFLOW Explorer 2.0 showing contours of a simulated 3D head distribution.

Software Support out having to switch to another one to do other tasks.


The support staff are friendly and expert. WASY Well-documented file formats are important because in
maintains a public bug list and issues documented the event that the users cannot do something they would
patches frequently. These are available for download and like in FEFLOW or FEFLOW Explorer or with the inter-
installation directly. One reviewer corresponded with an face manager, they can still write their own utilities for
experienced FEFLOW user who commented that sup- pre- and postprocessing. One reviewer particularly liked
port from WASY is very good. The manual and the on- that he could tackle his own flow and transport simula-
line help are great, but they do not answer all questions tion using FEFLOW after only a few days of use. The
or replace the knowledge of their staff. program is stable and gives users the ability to play
with the program and push buttons to learn about it with-
out fear of crashing the program. The error handling in
What We Liked the program is excellent and is so often lacking in other
The reviewers were most impressed by FEFLOWs programs.
capability to handle saturated/unsaturated flow, and trans-
port and reaction simultaneously in the one mouse-driven
GUI package. The fully-3D finite-element nature of What We Did Not Like
FEFLOW is a significant advantage for complex ground There are several things that could be better in
water modeling applications. This is all backed up by FEFLOW. First, the GUI, while perfectly functional, is
credible peer-reviewed journal papers on the various starting to show its age. The reviewer who is new to
methods and solvers, so that users can have confidence in FEFLOW does not like the look of the GUI because it
density-coupled simulations, dispersion modeling, unsa- has an outdated blocky feel and does not follow the
turated flows, and in reaction and sorption kinetics. standard Windows look. This does not affect the ability
FEFLOW handles multiple free surfaces, discrete fractures of FEFLOW to carry out the users wishes, but it can
and has convenient tools for mapping material properties make some things more obscure or laborious than need
and boundary condition constraints based on spatial be. The definition of local grid coordinates, coordinate
domains. FEFLOW contains the excellent triangulation origin, and problem measure is confusing. Interruption of
algorithm by Shewchuk (2002) for fast and optimal simulation time-stepping can be difficult, especially for
gridding, plus has PEST (Doherty 2002) support built-in, large complex problems where the mouse status is not
and includes fluid age and thermal conduction calcu- polled for long periods during matrix inversions. Color
lations. There is also a full developer application pro- representation in the solver window sometimes collapses
gramming interface that allows users to add custom code to a dithered mode, unnecessarily. By default, FEFLOW
modules directly into the FEFLOW simulator. renders contour maps over the whole domain for each
Being able to work on other tasks while FEFLOW time step. On some platforms, this can slow down time-
was solving a CPU-intensive transport simulation was stepping performance. It is possible to run FEFLOW in
helpful as the users could run FEFLOW on one PC with- batch mode, thereby avoiding repetitive renderings, but
M.G. Trefry, C. Muffels GROUND WATER 527
it is not clear how to start batch mode on some platforms. feature would be helpful for the help documentation, the
Importing/exporting data for 3D models can be laborious program is stable enough that users can click around and
since these operations need to be done for each layer at a work with the GUI until they find what they need. All
time. in all, FEFLOW is a well-documented and powerful
Second, while the FEFLOW multispecies reaction GUI-based tool for professional subsurface hydrology
model is more than useful, it would be nice to have a simulations.
greater range of example applications to choose from so
that users could see how to relate the example problem
settings to the complicated reaction formalism discussed Rankings
in the FEFLOW white papers. Without this, the reaction The reviewers ranked the softwares capability, reli-
model will likely be underused. ability, ease of use, and technical support on a scale of 1
Third, FEFLOW incorporates an adaptive layering (worst) to 5 (best). The following rankings are the aver-
technique that allows slices between layers in a 3D model age of three sets of scores from both reviewers and the
to move up and down to minimize solution error. While editor:
the user is able to fix slices at will (e.g., to stratigraphic Capability: 4.7
interfaces), it is often useful to include extra moveable Reliability: 4
slices for improved vertical resolution for head gradients, Ease of use: 4
tracer fronts, and so on. The difficulty is that knowledge Technical support: 5
of the vertical location of a moveable slice as a function
of time and space throughout the simulation is not easily
accessible. This can complicate the process of model cal- How to Obtain the Software
ibration and solution interpretation. For software download and pricing information, visit
Finally, a comprehensive search option is not avail- the Web site of WASY GmbH in Berlin, Germany: http://
able in the help documentation but would be useful as the www.wasy.de/english/produkte/FEFLOW/download.html.
help buttons did not always connect the user with the in-
formation sought. The help documentation is structured
or layered in the same manner as the GUI, which may Our Mission
cause some difficulty for novice users who are still get-
The goal of Software Spotlight is to help readers
ting used to the GUI. For example, while working on the
identify well-written, intuitive, and useful software. Inde-
demonstration exercise, one reviewer added too many
pendent reviewers from government, industry, and aca-
constant-head boundary condition cells along one edge.
demia try out full working versions of software packages
The documentation did not instruct him on what to do in
and provide readers with a concise summary of their ex-
this eventuality, nor did the help associated with the form
periences and opinions regarding the capability, stability,
tell him how to delete a boundary node. Deleting such a
and ease of use of these packages.
node is trivial in the end, and it took only a little time to
Chunmiao Zheng can be reached at the University of
figure out through trial and error, but the lack of help was
Alabama, Department of Geological Sciences, Box
a little frustrating.
870338, Tuscaloosa, AL 35487; czheng@ua.edu.

Overall References
Our impression of FEFLOW is that it is a stable and Doherty, J. 2002. PEST: Model-Independent Parameter Estima-
credible ground water simulation code well suited for so- tion, 4th ed. Corinda, Australia: Watermark Numerical
phisticated users. The support is excellent and conscien- Computing.
Shewchuk, J.R. May 2002. Delaunay refinement algorithms for
tious. The demonstration exercise and tutorials are clear triangular mesh generation. Computational Geometry:
and easy to follow with plenty of screenshots, making it Theory and Applications 22, no. 13: 2174.
easy to learn the basics of the interface in a short time. Stuben, K. 2001. Algebraic multigrid: An introduction for pos-
itive definite problems with applications. In Multigrid
FEFLOW could provide better 2D charting and plotting Methods, ed. U. Trottenberg, C. Oosterlee, and A. Schuller,
support, but the 3D Explorer is first class. While a search 413532. Academic Press.

528 M.G. Trefry, C. Muffels GROUND WATER

You might also like