OpenFOAM Foundation repository for OpenFOAM version 8 C 64 48 ThirdParty-8. OpenFOAM-8 third-party library compilation scripts C 8 9 2 contributions in the last year Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr Sun Mon Tue Wed Thu Fri Sat. Learn how we count contributions.

What is OpenFOAM?

OpenFOAM (Open source Field Operation And Manipulation) is a C++ toolbox for the development of customized numerical solvers, and pre-/post-processing utilities for the solution of continuum mechanics problems, including computational fluid dynamics (CFD). The code is released as free and open source software under the GNU General Public License. It is maintained by The OpenFOAM Foundation,[1]which is sponsored by the ESI Group, the owner of the trademark to the name OpenFOAM.

OpenFOAM is a suite of computational fluid dynamics applications.It contains myriad solvers, both compressible and incompressible, as well as many utilities and libraries. Availability and Restrictions. Click to see our best Video content. Take A Sneak Peak At The Movies Coming Out This Week (8/12) Everything we know about ‘Shang-Chi and the Legend of the Ten Rings’.

-- excerpt from

Versions of OpenFOAM Installed at PACE
  1. 1.6-ext
  2. 2.0.1
  3. 2.1.0
  4. 2.2.0 (this version is experimental as of 2013-07-1)
How to use OpenFOAM

Version 2.1.0

Version 2.1.0 has a single requirement that must be met.

Initial Setup

  • The directory ~/scratch/OpenFOAM/2.1.0 must exist. This directory can be created with the command 'mkdir -p ~/scratch/OpenFOAM/2.2.0'

Loading the modules

To use this version of OpenFOAM, simply load the openfoam/2.1.0 module like so:module load openfoam/2.1.0.
This version of OpenFOAM has its own MPI installed, so all compiler and MPI modules must be unloaded before OpenFOAM will work.

Example job script

Version 2.2.0 (experimental)

Initial Setup

Version 2.2.0 has a few strict requirements that must be met before it can be used.

  1. The directory ~/scratch/OpenFOAM/2.2.0 must exist. This directory can be created with the command 'mkdir -p ~/scratch/OpenFOAM/2.2.0'
  2. The directory ~/.OpenFOAM/2.2.0 must exist. This directory can be created with the command 'mkdir -p ~/.OpenFOAM/2.2.0'
  3. The file ~/.OpenFOAM/2.2.0/controlDict must exist. This file can be created with the command 'cp /usr/local/packages/openfoam/2.2.0/gcc-4.7.2/etc/controlDict ~/.OpenFOAM/2.2.0/'
    • Note: You can modify your 'controlDict' file at anytime.
    • Note: This file is needed in the ~/.OpenFOAM/2.2.0 directory the the 'foamEtcFile' command. If that file doesn't exist, OpenFOAM will crash with strange errors.

Loading the Modules

To use OpenFOAM, we must load modules in a specific order.


When these commands are executed, this will be displayed to the screen:

Since this version of OpenFOAM is experimental, this warning is OK. Note: The 'module load openfoam/2.2.0' must be executed AFTER gcc/4.7.2 and openmpi/1.6.2 are already loaded. If the module load commands are joined like this: 'module load gcc/4.7.2 openmpi/1.6.2 openfoam/2.2.0', the openfoam module will not be correctly loaded, and the OpenFOAM applications will not work.

Verifying that OpenFOAM works

To verify that OpenFOAM is correctly loaded and working, we need to run a basic test:

The last command 'Allrun' should display several things that indicate a successful execution:

Open the 'log.laplacianFoam' file to see if OpenFOAM was able to run successfully. If the 'Allrun' command worked, you are now ready to use OpenFOAM.

Example OpenFOAM job script

Final Notes about OpenFOAM/2.2.0


There are three different installations of OpenFOAM 2.2.0 - gcc-4.7.2, intel-12.1.4, and intel-13.2.146. Currently (as of 2013-07-11), only the gcc-4.7.2 version works. The intel versions are currently not working and are undergoing testing to see if we can fix it.

Jump to:navigation, search
810 pages have been created
  • Latest OpenFOAM version: 8 (22th of July 2020)
  • Latest Foam-Extend version: 4.1 (14th of October 2019)
  • Latest OpenFOAM+ version: v2006 (30th June 2020)
  • OpenFOAM Release Notes: 8 7 6 5.0 4.1 4.0 3.0.1 3.0.0 2.4.0 2.3.1 2.3.0 2.2.2 2.2.1 2.2.0 2.1.1 2.1.0 2.0.1 2.0.0 1.7.1 1.7.0 1.6 1.5 1.4.1 1.4 1.3 1.2 1.1 1.0
  • Foam-extend Release Notes: 4.1 4.0 3.2 3.1 3.0
  • OpenFOAM+ Release Notes: v2006 v1912 v1906 v1812 v1806 v1712 v1706 v1612+ v1606+ v3.0+

This Wiki collects information about the OpenSource CFD toolbox OpenFOAM and provides a platform for collaborations

Future events in the OpenFOAM-World (drag timeline - for a complete timeline go to AllEventsTimeline):

  • User Guide Additional notes
  • Programmer's Guide Community extensions
1.1 Other

Papers FoamCFD theses Solvers Utilities Tutorials Examples Handy links Courses

If you want to add an event go to this form

There is a number of different flavours of OpenFOAM that are all based on the original FOAM-code. They are listed here in the order they were added to this page.

3.1 OpenFOAM (Foundation)

OpenFOAM by the OpenFOAM foundation

3.2 OpenFOAM+

OpenFOAM+ by the ESI-OpenCFD

3.3 Foam-extend

Foam-extend has a number of additional community-contributed features. A collection of fork-specific documentation is here on the Wiki

3.4 Other
4.1 Training
  • Foundation and Advanced courses provided by OpenCFD and SGI.
  • Essential and Applied courses provided by CFD Direct.
  • Introductory and Advanced courses provided by Wikki and Gompute.
  • User and Programming courses provided by Icon.
  • Beginner, Advanced, Special Trainings on Turbomachinery, Thermosimulation, Programming and Optimization provided by FOAMacademy (move-csc and silentdynamics).
  • OpenFOAM Quickstart Training (once a month and free of charge) by FOAMacademy
  • University courses for Industry at Chalmers Professional Education.
  • Beginner, Advanced online training [1] provided by CadCae.
  • Summary of Training Material for and around OpenFOAM (including list of meshing tools, Paraview hints, etc., see category '3_EulerianModels') provided by the NanoSim consortium.
  • Screencasts and training material provided by TU Graz.
  • OpenFOAM course for beginners by Jibran Haider.
4.2 Tutorials
  • Video tutorials on YouTube by József Nagy
  • YouTube video tutorials by Divyesh Variya(DD Fluids)
  • Wiki Moving frame example more
  • Other OS-CFD course
  • OpenFOAM A Little User Manual by Gerhard Holzinger (links to OSCCAR-doc, an effort driven by PFM in Linz, Austria)
  • OpenFOAM Basic Training by Institute of Chemical Engineering, TU Wien
  • In case you want to record tutorials (i.e., screencasts), you can use the recordmydesktop software.
  • [2] Unofficial tutorial for OpenFOAM programming basics with applications.
  • OpenFOAM tutorials by spoken-Tutorial Old series & New series.
4.3 Unofficial User Guides
  • Interface Guide Reference guide for all terms in the OpenFOAM text files.
  • Main OFSolvers Overview and description of each solver.

Add your page here

  • Wikipedia article more
  • Download Download foam-extend On Windows
  • FAQ (long version) Known bugs
5.1 Tips and Tricks
5.2 Other Tools
  • Pre Salome Netgen
  • Post Paraview OpenDX
  • GUIs GPGPU more
5.3 Tools on this Wiki
6.1 General
  • Coding style and conventions
6.2 OpenFoam-extend
  • The Sourceforge OpenFOAM-extend project provides
    • Sources for foam-extend a community driven distribution with additional features
6.3 Howto...
6.4 Forge

This page was selected randomly from 17 selected articles:

7.1Sig Turbomachinery

Special interest group for turbomachineryView other articles

If you think an article is worth featuring see this article

  • Users: Persons and Institutions that use OpenFOAM
8.1 Special interest groups
8.2 Local user groups

Add your page here

9.1 Wiki links

User pages Local user groups Special Interest Groups Discuss this wiki more

9.2 Active sites

OFWikiJa (Japanese) Notes on CFD (Portuguese) Holzmann-cfd (English/German) CFD-FOSSEE (English)

9.3 Commercial Companies

Add your links here

  • The contents on this site is published under GNU FDL
  • 'OpenFOAM' is a registered trademark of OpenCFD
  • This site is not affiliated with OpenCFD Ltd

Tweets from Organizations and Companies that have to do with OpenFOAM If you think you should be on that list: send a DM to @ofwiki. One of the criteria for acceptance is that your tweets are mostly on-topic

12.11st preCICE Workshop

Date: 2020/02/17 Location: Technical University of Munich, Germany

Join the 1st international preCICE Workshop at the Technical University of Munich, Germany on February 17-18, 2020 to learn how to couple OpenFOAM with other solvers and frameworks (including CalculiX, FEniCS, deal.II, and more) and discuss about partitioned Fluid-Structure Interaction, Conjugate Heat Transfer, and more coupled problems with the international preCICE community.

Start of Event 2020/02/17
End of Event 2020/02/18
Location Technical University of Munich, Germany

12.2Events/15th International OpenFOAM Workshop

Date: 2020/06/22 Location: George Mason University, Virginia, USA

The Workshop Committee would like to invite you to the 15th International OpenFOAM® Workshopto be held at Arlington, Virginia, USA from June 22 - 25, 2020

Start of Event 2020/06/22
End of Event 2020/06/25
Location George Mason University, Virginia, USA

12.3PFAU 19 Austrian User Meeting

26 November, 2019 in Leoben, Austria

The OpenFOAM User Meeting v. 19 in Leoben is scheduled for Tuesday, November 26, 2019 (9.30 a.m. - 15.00 p.m.)

It will take place at this address:

See full article for a map with directions

12.4News/PFAU18 graz: July 3rd 2019 (Austrian User Meeting)

Openfoam Gui

PFAU18 graz: July 3rd 2019 (Austrian User Meeting)

The OpenFOAM Austrian User Meeting 'PFAU18_graz' is scheduled for Wednesday, July 3, 2019 (10 a.m. - 4 p.m.)

Date: 2019/07/03Location: Institute of Process and Particle EngineeringGraz University of TechnologyInffeldgasse 13/HS i8

Abstract submission and registration is now closed. For the program, please follow this link:
12.5News/FEATool Multiphysics 1.8 with OpenFOAM MATLAB CFD GUI

The FEATool Multiphysics MATLAB and Octave FEM Simulation Toolbox version 1.8 is now available. In addition to being a fully integrated FEA multiphysics toolbox, and interfacing with the FEniCS FEM solver and external mesh generators such as DistMesh, GiD, Gmsh, and Triangle, the highlight of the new version is introducing a fully integrated and cross-platform OpenFOAM CFD GUI interface for MATLAB and GNU Octave.

The new OpenFOAM MATLAB CFD Toolbox interface allows one to conveniently setup both laminar and fully turbulent incompressible Navier-Stokes CFD problems all within an easy to use graphical user interface (GUI). Featuring built-in CAD tools and (STL) CAD file import, automatic mesh generation (with automatic 2D to 3D mesh conversion and extrusion for 2D problems), FEATool to OpenFOAM case file conversion, solver selection and control, as well as solution import with postprocessing and visualization. As with all the FEATool MATLAB GUI functionality, models can also be saved and exported as m-file CLI functions where custom scripting and support for all MATLAB and Octave functions and toolboxes is supported. With the added support for the popular OpenFOAM CFD solver and FEniCS, high-performance multiphysics, multi-simulation, and CFD modeling can now be all be conveniently done within a single software interface.

Please visit the FEATool Multiphysics MATLAB FEM Toolbox website for more information.

Date: 2018/05/17Location: Hong Kong

FEATool Multiphysics is developed by Precise Simulation Ltd. which was established in 2013 and is dedicated to providing accurate, efficient, and easy to use software solutions to a wide range of mathematical modeling, multiphysics, and computer simulation needs. In close collaboration with academic high-performance computing (HPC) partners with significant knowledge and over a decade of experience in many physics based Computer Aided Engineering (CAE) fields such as Computational Fluid Dynamics (CFD), Computational Structural Mechanics (CSM), chemical engineering, and heat transfer simulations Precise Simulation is able to offer a wide range of customized solutions.

The goal of the FEATool Multiphysics software suite is to be able to make physics based computer simulation easier and more enjoyable to learn for students in engineering, physics, and mathematics, and also simpler and more convenient to work with for both academic teachers, researchers, and corporate engineers.View older news

If you want to add a news item go to this form

Channel with news about the Wiki itself

Openfoam Github

Retrieved from ''