SKIP TO PAGE CONTENT

Delivering science and technology to protect our nation and promote world stability

FEHM Finite Element Heat and Mass Transfer Code

The numerical background of the FEHM computer code can be traced to the early 1970s when it was used to simulate geothermal and hot dry rock reservoirs. The primary use over a number of years was to assist in the understanding of flow fields and mass transport in the saturated and unsaturated zones below the potential Yucca Mountain repository. Today FEHM is used to simulate groundwater and contaminant flow and transport in deep and shallow, fractured and un-fractured porous media throughout the US DOE complex. FEHM has proved to be a valuable asset on a variety of projects of national interest including Environmental Remediation of the Nevada Test Site, the LANL Groundwater Protection Program, geologic CO2 sequestration, Enhanced Geothermal Energy (EGS) programs, Oil and Gas production, Nuclear Waste Isolation, and Arctic Permafrost.

Subsurface physics has ranged from single fluid/single phase fluid flow when simulating basin scale groundwater aquifers to complex multi-fluid/multi-phase fluid flow that includes phase change with boiling and condensing in applications such as unsaturated zone surrounding nuclear waste storage facility or leakage of CO2/brine through faults or wellbores. The numerical method used in FEHM is the control volume method (CV) for fluid flow and heat transfer equations which allows FEHM to exactly enforce energy/mass conservation; while an option is available to use the finite element (FE) method for displacement equations to obtain more accurate stress calculations. In addition to these standard methods, an option to use FE for flow is available, as well as a simple Finite Difference scheme.

Capabilities

• 3-dimensional complex geometries with unstructured grids
• saturated and unsaturated media
• simulation of production from gas hydrate reservoirs
• simulation of geothermal reservoirs
• non-isothermal, multi-phase flow of gas, water, oil
• non-isothermal, multi-phase flow of air, water
• non-isothermal, multi-phase flow of CO2, water
• multiple chemically reactive and sorbing tracers
• preconditioned conjugate gradient solution of coupled linear equations
• fully implicit, fully coupled Newton Raphson solution of nonlinear equations
• double porosity and double porosity/double permeability capabilities
• control volume (CV) and finite element method (FE) methods
• coupled geomechanics (THM) problems (fluid flow and heat transfer coupled with stress/deformation) including non-linear elastic and plastic deformation, nonlinear functional dependence of rock properties (e.g. permeability, porosity, Young's modulus) on pressure, temperature and damage/stress


FEHM Distribution and Documentation


Register as a FEHM user here.

      http://fehm.lanl.gov/reg/
     (The username and password is:   fehm   registration )

FEHM Code and Docmentation is now Open Source and available on github. Releases and executables (Linux, Mac, and WIN) and the VV Test Suite are available on github under the releases tab.

     https://github.com/lanl/FEHM

The following pdf documents are included here for viewing and download:

  "User Manual for FEHM Application V3 and Supplemental Appendices "   The FEHM User Manual details how to use the FEHM application.

  "Models and Methods Summary for the FEHM Application"   Models and Methods provides numerical details for the FEHM code.

  "V&V Test Suite for the FEHM Application"   The Validation & Verification (V&V) document describes tests distributed in the FEHM VV Test Suite.

  "FEHM_LAUR-07-3359.pdf"   "FEHM: A control volume finite element code for simulating subsurface multi-phase multi-fluid heat and mass transfer" 2007 LA-UR-3359, George A. Zyvoloski

   "FEHM_references_list.pdf"   List of Peer Reviewed FEHM Publications


FEHM Code Development Team

For help or suggestions you may contact a team member directly, or use our
General Help email: fehm-help@lanl.gov

• George A. Zyvoloski, FEHM Team Leader (Retired), gaz@lanl.gov
• Shaoping Chu, Configuration control, verification, and installation, spchu@lanl.gov
• Terry Miller, Software Distribution, tamiller@lanl.gov
• Philip H. Stauffer, Multiphase flow and transport, Salt, stauffer@lanl.gov    Stauffer CV
• Rajesh J. Pawar, CO2 and Methane Hydrate, rajesh@lanl.gov
• Sharad Kelkar, Particle Tracking, kelkar@lanl.gov
• Bruce A. Robinson, Transport and particle tracking, robinson@lanl.gov
• Hari S. Viswanathan, Transport, viswana@lanl.gov
• Elizabeth H. Keating, Fluid flow and solute transport (Retired), ekeating@lanl.gov
Andrew V. Wolfsberg, Fluid flow and solute transport, awolf@lanl.gov



Auxiliary FEHM Programs

Fehmpytests: Fehmpytests is a new test suite for FEHM developers to easily test new code and add new tests for existing or future functionality. Fehmpytests uses the Python unittest module and a general test method that can be called for each new test case. Future plans are to integrate Fehmpytests into the FEHM build and version control process.

PyFEHM: is an open-source (LGPL 2.1) Python library that provides classes and methods to support a scripting environment for the subsurface heat and mass transfer, and geomechanics code FEHM. It is inspired by a similar library, PyTOUGH, available for use with the TOUGH2 family of codes.

FEHM.jl: is a Julia interface for FEHM and is part of ZEM, an integrated open-source high-performance computational (HPC) framework for environmental management in Julia.

WALKABOUT: performs random walk particle tracking simulations of solute transport based on groundwater flow solutions from FEHM. A typical workflow for Walkabout within the FEHM system would use LaGriT to generate unstructured grids. FEHM then provides a discretized representation of the steady-state flow field to Walkabout. Given this discrete solution, Walkabout then reconstructs a groundwater flow field, and performs the random walk particle tracking calculation.

PlumeCalc: implements the Convolution-Based Particle Tracking (CBPT) method and requires auxiliary input information related to the flow and transport model as provided by FEHM.

SOILVISION SVOFFICE 5/WR: integrates user friendly front-end numerical analysis and visualization software with the FEHM Control Volume Finite Element solution engine. Hydrogeologists can perform groundwater flow analysis of large-scale, thin layer regional models and leverage capabilities such as double porosity / double permeability and non-isothermal multiphase modeling of water / vapor.



Auxiliary Mesh-Generating Software


LaGriT Grid Generation ToolBox is LANL authored Mesh generation software for geological applications. LaGriT writes mesh and model setup files appropriate for use by FEHM. LaGriT Meshing for geologic applications can be found on the project pages, https://meshing.lanl.gov .

GRIDDER: is rectangular grid generator that creates structured grids in a format used by FEHM.


Mesh and Simulation Visualization Software


Software used with FEHM input and output files include ParaView, VISiT, Tecplot, AVS, and GMV (General Mesh Viewer).



FEHM Copyright Information

This software is open source software available under the BSD-3 license.

Code: LA-CC-2012-083, No. C13022
Documentation: LA-UR-12-24493


Copyright 2018. Los Alamos National Security, LLC. for FEHM LA-CC-2012-083:   This software was produced under U.S. Government contract DE-AC52-06NA25396 for Los Alamos National Laboratory (LANL), which is operated by Los Alamos National Security, LLC for the U.S. Department of Energy. The U.S. Government has rights to use, reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR LOS ALAMOS NATIONAL SECURITY, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is modified to produce derivative works, such modified software should be clearly marked, so as not to confuse it with the version available from LANL.

Additionally, redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of Los Alamos National Security, LLC, Los Alamos National Laboratory, LANL, the U.S. Government, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY LOS ALAMOS NATIONAL SECURITY, LLC AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LOS ALAMOS NATIONAL SECURITY, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Web Contact