OpenFOAM relies on third-party software packages for some important tasks: Scotch, PT-Scotch and Zoltan for domain decomposition and redistribution for parallel running. This is essential for non-trivial geometries for which simpler bisection-based methods produce inefficient decompositions. ParaView visualization application. This is essential for interactive pre- and post-processing, but may not be required on a remote […]
Read MoreAs the root user (e.g. typing sudo -i), programming tools can be installed by executing the following commands in a terminal: yum groupinstall ‘Development Tools’ yum install openmpi openmpi-devel yum install epel-release yum install –nogpgcheck qtwebkit qtwebkit-devel yum install –nogpgcheck CGAL CGAL-devel The Boost C++ library is installed automatically for GCAL under the name libboost_thread-mt.so, […]
Read MoreOpenFOAM is distributed by the OpenFOAM Foundation and is freely available and open source, licensed under the GNU General Public Licence. There are two main elements to the GPL, designed to prevent open source software being exploited by their inclusion within non-free, closed sourced software products: Software that includes source code licensed under the GPL […]
Read MoreSoftware that is included in the OpenFOAM source code base must conform to quality standards. Software quality can be split into two areas: Functional quality: how well it performs to a given design, based on requirements, i.e. its fitness for purpose. Structural quality: how well it meets requirements to be able to deliver functional quality, […]
Read MoreOpenFOAM is a large piece of software (of the order of 1.5 million lines of code) in a complex area of scientific application. Since its open source release in 2004, it has become the CFD software of choice for many thousands of people from industry, government laboratories, academic institutions, etc., who download OpenFOAM and use […]
Read MoreOpenFOAM is developed by a team of individuals who contribute their work to the project, with the support and consent of the companies that employ them. 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. […]
Read MoreTable of Contents 1. Code 1.1. General 1.2. The .H Header Files 1.3. The .C Source Files 1.4. Coding Practice 1.5. Conditional Statements 1.6. for and while Loops 1.7. forAll, forAllIter, forAllConstIter, etc. loops 1.8. Splitting Over Multiple Lines 1.8.1. Splitting return type and function name 1.8.2. Splitting long lines at an “=” 1.9. Maths […]
Read MoreDownload Archive This is an archive of download instructions for releases of OpenFOAM since version 1.7.0. The instructions were written at the time of release for the operating systems of that time. We strongly recommend today’s users install the latest release, for latest versions of operating systems. Software packs relating to this archive are stored at the OpenFOAM Download […]
Read MoreRelease History Announcements of OpenFOAM Releases since version 1.0 in 2004 OpenFOAM 13 Released 8th July 2025 Read More OpenFOAM 12 Released 9th July 2024 Read More OpenFOAM 11 Released 11th July 2023 Read More OpenFOAM 10 Released 12th July 2022 Read More OpenFOAM 9 Released 20th July 2021 Read More OpenFOAM 8 Released 22nd […]
Read MoreFunction Objects OpenFOAM can carry out post-processing automatically while the simulation is running using function objects. In v2.3.0, a distinction is made between when a function object evaluates, and when it writes to file. The respective behaviour is controlled using the new evaluateControl and existing outputControl keyword settings. The specification for each entry is identical, […]
Read More