OpenFOAM v12 | Patch Releases
For Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS, Windows and macOS
Read More The OpenFOAM Foundation
Get a Maintenance Plan to fund OpenFOAM Sustainability and meet funders, core team and contributors at the OpenFOAM Hub.
Principles of CFD¹ | Essential CFD² | Applied CFD² | Programming CFD²
¹Classroom Training, Cologne Germany and Chicago USA
OpenFOAM is free, open source software for CFD from the OpenFOAM Foundation.
OpenFOAM is the leading free, open source software for computational fluid dynamics (CFD), owned by the OpenFOAM Foundation and distributed exclusively under the General Public Licence (GPL). The GPL gives users the freedom to modify and redistribute the software and a guarantee of continued free use, within the terms of the licence.
OpenFOAM was created by Henry Weller in 1989 under the name “FOAM” and was released open source as “OpenFOAM” by Henry Weller, Chris Greenshields and Mattijs Janssens in December 2004. Since then, OpenFOAM has continued to be managed and developed with new versions being released to the public each year. The current version is 12. In 2014, the development line of OpenFOAM, known as “OpenFOAM-dev” was released publicly on GitHub.
The OpenFOAM Foundation is the organisaton which holds the copyright of the OpenFOAM software and documentation, whose purpose is to manage and distribute OpenFOAM as free, open source software for the benefit of its users. It is a registered company, limited by guarantee based in England. As such, it has no share capital or shareholders, but has individual members committed to free, open source software, who run the organisation on a voluntary basis. It has no employees and any annual profit is retained within the organisation and cannot be distributed to members. OpenFOAM® is a registered trademark of OpenCFD Ltd, licensed to the OpenFOAM Foundation in 2011 so that it could distribute its software under under that name.
OpenFOAM is packaged for simple installation on Ubuntu Linux. Two versions are available for installation:
The packages for Ubuntu can be installed directly on MS Windows using the Windows Subsystem for Linux. They can also be installed on macOS using Canonical Multipass.
OpenFOAM is developed and maintained by individuals who contribute their work to the project, with the support and consent of the companies that employ them. The project operates through a network of trust between the individuals, where greater authority is given to contributors who consistently produce high quality work and demonstrate long term commitment.
Contributions are made under the OpenFOAM Contributor Agreement (to facilitate enforcement of the free, open source licence), signed either by the individual, or by the organisation that employs them. The principal contributors to OpenFOAM are: Henry Weller (OpenFOAM’s creator), Chris Greenshields (OpenFOAM co-founder) and Will Bainbridge from CFD Direct Ltd. There is a growing list of contributors, who test and improve various aspects of OpenFOAM.
OpenFOAM is kept reliable and robust by timely resolution of issues reported by users to the OpenFOAM Issue Tracking System. Everyone who reports an issue, where the behaviour of OpenFOAM does not meet reasonable expectations, is making a useful contribution.
OpenFOAM includes 1.5 million lines of C++ code which require maintenance. While there is a common perception that a large community of volunteers maintains open source software, the reality is very different. Maintenance of software of OpenFOAM’s maturity requires commitment from individuals employed full-time to do the job. Part-time contributions never account for maintenance; any contributed code inevitably requires significant reworking by core maintainers.
CFD Direct employs the software engineers, led by Henry Weller, that maintain OpenFOAM. Companies fund new functionality in OpenFOAM through contracted development and support with CFD Direct. At the same time, they must also fund fund maintenance to cover the work needed on the broader codebase, resources and infrastructure
The OpenFOAM Foundation is run by individuals whose priority is to make CFD accessible and inclusive. It ensures that OpenFOAM will always be free and open source (only) and maintains OpenFOAM beyond the control of any large organisation who might put commercial interest ahead of the interests of the users. It ensures that OpenFOAM is developed and maintained to meet broad needs of all users, rather than to limited needs of one or two large corporations.
The OpenFOAM Foundation takes responsibility for enforcing the licence of OpenFOAM, to protect the rights of contributors who make a conscious decision to release their work free and open source. Users should welcome and encourage licence enforcement, because without it, the contributors — who are the lifeblood of OpenFOAM — would inevitably withdraw their support.
OpenFOAM is packaged for simple installation on Ubuntu Linux, which can be directly installed on Windows and macOS.
Using OpenFOAM for critical applications? Ensure ongoing maintenance of OpenFOAM, prioritised to your needs.
Access documentation, and enrol for training, from the OpenFOAM experts.
General information about running OpenFOAM, compilation, solvers, models, mesh generation and post-processing.
CFD Training based on features to simplify use, and accelerate learning, from the main developers at CFD Direct.
The C++ Source Guide, generated by Doxygen has links to source code, inheritance and collaboration diagrams, and more.
OpenFOAM is free and open source, distributed only under the
GNU General Public Licence v3
OpenFOAM is developed by contributors led by Henry Weller, creator of OpenFOAM and Director of CFD Direct & The OpenFOAM Foundation
Discover the people behind OpenFOAM and how they contribute to the project.
Help identify, report and fix bugs through the OpenFOAM issue tracking system
Requirements for making effective, sustainable and meaningful contributions to OpenFOAM
… so that users waste less time on routine tasks and more time on important issues.
Supporting organisations currently provide €250k for maintenance of OpenFOAM, i.e. of the order of 0.1% of the revenue of big commercial CFD. This current total is inadequate. Funding needs to rise to €500k this year, and continue to rise similarly over the next 3-4 years. Organisations with commercial dependence on OpenFOAM should contribute to the cost of sustaining it.
The OpenFOAM Foundation provides Maintenance Plans for organisations to support sustainability. There are three levels of Plan: Platinum (€ 100k per year); Gold (€ 25k); and, Silver (€ 5k). The funding supports a full-time team of core developers with combined skills in software design, programming, numerics, science and engineering, at CFD Direct (including OpenFOAM’s creator, Henry Weller).