OpenFOAM v12 for Linux, Windows and macOS
Install the latest version of OpenFOAM
Ubuntu Linux
Packaged installation for Ubuntu Linux. A simple installation option for OpenFOAM.
Install on Ubuntu
Other Linux
Compile the OpenFOAM source code to run on other Linux distributions.
Install on Other Linux
Windows
Run on Windows using WSL. A convenient installation using the Ubuntu package.
Install on Windows
macOS
Run on macOS using Multipass. A convenient installation using the Ubuntu package.
Install on macOS
OpenFOAM Development Line
Get cutting-edge technology with the development line OpenFOAM-dev
Ubuntu Linux
Packaged installation for Ubuntu Linux, updated monthly. A simple installation option for OpenFOAM.
Install on Ubuntu
Other Linux
Compile the OpenFOAM source code to run on other Linux distributions.
Install on Other Linux
Windows
Run on Windows using WSL. A convenient installation using the Ubuntu package.
Install on Windows
macOS
Run on macOS using Multipass. A convenient installation using the Ubuntu package.
Install on macOS
OpenFOAM in the Cloud
Need to run OpenFOAM quickly, reduce system administration, or access CFD resources on demand?
CFD Direct From the Cloud
Compile from Source Code
Users can compile OpenFOAM from Source Code
Development Sources
Compile the source code for OpenFOAM, including all the lastest developments. Requires Linux system administration.
Compile OpenFOAM-dev
Bug Fix Sources
Source code for compilation on Linux distributions, including all the lastest bug fixes. Requires Linux system administration.
Compile OpenFOAM 12 (patched)
Version Release Sources
Source code for compilation on Linux distributions, from version 12, released on 9th July 2024.
Compile OpenFOAM 12
OpenFOAM History
Release announcements from version 1.0 in 2004, to the present day
Read More
Archives
Old Versions of OpenFOAM
Read More
Back to top
Download
The current release, OpenFOAM-v2412, was released on 24/12/2024. For more details, see here.
Installation
Instructions for installing OpenFOAM can be found below:
Linux
To make OpenFOAM readily available to a larger range of users, OpenCFD works actively with the community surrounding respective Linux distributions to provide precompiled binary installations as system packages. The distributions currently include the following:
- Debian/Ubuntu
- openSUSE
- CentOS/RedHat/Fedora
- Docker
Read more on https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/
Mac (using Docker)
OpenCFD Ltd. uses Docker Hub to distribute pre-compiled versions of OpenFOAM for Linux, Mac OS X and Windows, including a complete development environment. Read more …
Windows
- Docker
- MinGW
- Windows 10 native (WSL)
Source
Read more about installation from source
Release history
Information relating to previous releases can be found here.
OPENFOAM FOR WINDOWS
Free, natively compiled package for running OpenFOAM® in Windows
OpenFOAM® for Windows is a comprehensive CFD software package allowing to run OpenFOAM® (originally designed for Linux) in Microsoft Windows. OpenFOAM® for Windows is free of charge.
At CFD Support we understand the challenges of modern companies workflow. Our long term goal is building bridges between top-class development and real practice. In the past we have received many requirements on providing and supporting OpenFOAM® software under Microsoft Windows. As a result, we have delivered to the market OpenFOAM® for Windows.
OpenFOAM® for Windows goes well together with CFD Support’s other products and services: Turbomachinery CFD created to enable a quick and efficient design optimization of turbomachinery components. Turbo Blade Post created to enable an efficient visual postprocessing of turbomachinery.
We also recommend our OpenFOAM® Training which may help you to upgrade your OpenFOAM® skills to proper level.
OpenFOAM® for Windows is fully supported, see General OpenFOAM® Support. OpenFOAM® for Windows is maintained regularly updated together with latest OpenFOAM® versions.
OpenFOAM® for Windows was primarily tested in Wndows 10 and also quite well tested in Wndows 7 and Wndows 8.1. Installation instructions can be found here.
Technical Specifications & Software Features
-
Free for All -
No Cross-Compilation Linux->Windows -
Native Windows Compilation -
Windows 64-bit
-
Full Functionality -
Regularly Updated with latest OpenFOAM® -
Support Available -
Already Compiled, just download and go
OpenFOAM® for Windows includes:
-
Complete set of instructions — how to run OpenFOAM® under Microsoft Windows -
Compiled OpenFOAM® — all the project executables *.exe and dynamic libraries *.dll -
Source Code — all the OpenFOAM® source code allowing further developing and understanding the functionalities -
Other software — supporting OpenFOAM® workflow under Windows -
Long-term Support Available — highly recommended, also includes regular software updates and maintenance -
Training Available — both on-site and off-site trainings
Install OpenFOAM® for Windows
When running OpenFOAM® in Windows we recommend to use Cygwin software to keep the workflow consistent with Linux as much as possible. There are many other ways of using OpenFOAM® for Windows, depending on your previous experiences, preferred applications and other circumstances. This page describes just one of those ways.
After downloaded OpenFOAM® for Windows installation file, simply run it. We recommend to follow the installation default options.
Example 1 : first case run
- run OpenFOAM for Windows
-
$ mc
mc command runs midnight commander, which is truly powerful tool when working in terminal, note you can always switch by ctrl+o to command line to run commands and again ctrl+o back to manage files
-
$ run
run alias jumps to your working directory
-
$ cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity ./
copy the cavity tutorial case here
-
$ cd cavity
change directory to cavity
-
$ blockMesh.exe
create the computational mesh
-
$ icoFoam.exe
run the solver
-
$ paraFoam
view results in ParaView
Example 2 : run OpenFOAM for Windows in parallel
- run OpenFOAM for Windows
-
$ mc
-
$ run
-
$ cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily ./
-
$ cd pitzDaily
-
$ cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/motorBike/system/decomposeParDict ./system/
-
$ blockMesh.exe
-
$ decomposePar.exe
-
$ mpiexec -n 6 simpleFoam -parallel
-
$ reconstructPar.exe
-
$ paraFoam
Example 3 : create new solver (compilation)
- run OpenFOAM for Windows
-
$ mc
-
$ run
-
$ mkdir myFirstWindowsOpenFOAMSolver
-
$ cd myFirstWindowsOpenFOAMSolver
-
$ cp -r $FOAM_SOLVERS/incompressible/icoFoam/* ./
-
$ sed -i "s/\/icoFoam/\/myFirstWindowsOpenFOAMSolver/g" Make/files
-
$ wmake
-
$ run
-
$ cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity ./
-
$ cd cavity/
-
$ blockMesh.exe
-
$ myFirstWindowsOpenFOAMSolver.exe
-
$ paraFoam
Example 4 : motorBike
- run OpenFOAM for Windows
-
$ mc
-
$ run
-
$ cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/motorBike ./
-
$ cd motorBike
-
$ find ./ -type f | xargs sed -i "s/WM_PROJECT_DIR/OPENFOAM_INSTALL_PATH/g"
-
$ ./Allrun
-
$ paraFoam
Download OpenFOAM for Windows
This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks.
From OpenFOAMWiki
Jump to:navigation, search
Contents
- 1 Introduction
- 2 External building/installation instructions
- 2.1 List of known building instructions
- 2.2 List of known binaries for Windows
- 3 List of benchmarks on Windows
- 4 Tutorials known to work on Windows
- 5 Forums for more information
- 6 Miscellaneous information
- 6.1 Differences between mingw32 and mingw-w32 versions
- 7 How to add new pages
1 Introduction
This page is an entry point to the several instructions made available for installing OpenFOAM on Windows.
Here is the list of pages that fall into this category:
2 External building/installation instructions
2.1 List of known building instructions
This is a list of links of build instructions of cross-compiled and natively compiled versions of OpenFOAM, using mingw and/or mingw-w64:
- Symscape’s cross-compilations:
- OpenFOAM 1.4.1 mingw32 version [1]
- OpenFOAM 1.5.x mingw32 version [2]
- OpenFOAM 1.6.x mingw32 (no MPI) version [3] and OpenFOAM 1.6.x mingw-64 (with MS-MPI) version [4]
- OpenFOAM 1.7.x mingw-64 (with MS-MPI) version [5]
- OpenFOAM 2.0.x mingw-64 (with MS-MPI) version [6]
- OpenFOAM 2.1.x mingw-64 (with MS-MPI) version [7]
- OpenFOAM 2.2.x mingw-64 (with MS-MPI) version [8]
- Julian’s OpenFOAM 1.5 files for native build in Windows [9] with mingw32 and CodeBlocks (instructions included inside files)
- blueCAPE’s cross-compilations:
- OpenFOAM 1.5.x mingw32 version with MPICH1 [10] and MPICH2 [11]
- OpenFOAM 1.6 mingw32, mingw-w32 and mingw-w64 (all with MPICH2): Installation/Windows/Outdated/Cross_Compiling_OpenFOAM_1.6_in_Linux_For_Windows_with_MinGW
- OpenFOAM 1.7.0 mingw32, mingw-w32 and mingw-w64 (all with MPICH2): Installation/Windows/Outdated/Cross_Compiling_OpenFOAM_1.7_in_Linux_For_Windows_with_MinGW
- OpenFOAM 2.0.x and 2.1.x mingw32, mingw-w32 and mingw-w64 with Open-MPI, MPICH2 and MS-MPI: [12]
- Yuu Kasuga’s blog (in Japanese). It use to have a few entries about cross-compiling and using OpenFOAM in Windows. Only recover link so far is for OpenFOAM 1.7.x using Symscape’s patches: [13]
- Kojani’s blog (available in Korean only). Provides instructions and source code for compiling OpenFOAM 1.7.1 directly on Windows while using MSys: [14]
2.2 List of known binaries for Windows
Note: Keep in mind that the following list of builds are not officially supported by the OpenFOAM Foundation
For a more up-to-date list, check the wiki page Windows.
Distributable binaries:
- Free: Julian’s OpenFOAM for MS windows binary release — OpenFOAM 1.5 built natively in Windows [15] using mingw32 and CodeBlocks (note: development seems to have been dropped)
- Free: On Yuu Kasuga’s blog (in Japanese) is a short tutorial on how to install and use the unofficial openfoam16wi32 project at SourceForge, which provides OpenFOAM 1.6 32bit binaries for Windows.
- Free: Nishit Joseph’s builds:
- OpenFOAM 1.7.0 for Windows 32 bit, based on this wiki page. Support thread for this build available here: OpenFOAM-1.7.0 for Win32
- OpenFOAM-2.1.x for Win64, based on Symscape’s instructions but built with Open-MPI. Support thread for this build available here: Windows (x64) Binaries for OpenFOAM-2.1.x using OpenMPI
- Free: blueCAPE’s:
- blueCFD-SingleCore: OpenFOAM 2.0.x and 2.1.x for Windows XP, Vista and 7, both 32 and 64bit [16]
- blueCFD-Core: port of OpenFOAM 2.3.x for Windows 7, 8 and 8.1, all 64bit [17]
- blueCFD-Core 2016 and newer: port of OpenFOAM 4.x for Windows 7, 8 and 8.1, all 64bit [18]
- Free: ODS Engineering also provides 64bit binaries of OpenFOAM 2.1.1, but it’s unknown which precision [19] — Note: it requires registration.
- Free: simFlow Engine: A commercial GUI which provides separate free binaries of OpenFOAM for Windows (32bit & 64 bit)
- Paid: Symscape’s OpenFOAM for Windows is part of their Caedium packages.
3 List of benchmarks on Windows
Benchmarks and run-times running OpenFOAM cross-compiled with mingw:
4 Tutorials known to work on Windows
Tutorials known to work with cross-compiled versions of OpenFOAM:
5 Forums for more information
Threads at CFD-Online Forum for OpenFOAM, for discussing and questions about these pages:
- Announcement of this page [27]
- Announcement of the patches for the 1.7 version [28]
- Support for this page is available here.
6 Miscellaneous information
6.1 Differences between mingw32 and mingw-w32 versions
MinGW is the true name of mingw32. As for mingw-w32 (32bit version of mingw-w64), as cited from here (dead link):
Mingw-w64 began as a spin-off from the mingw.org project, with the original intent of building for 64-bit targets.
Nonetheless, mingw-w64 has retro-compatibility with the 32bit MinGW version, thus enabling a 2-in-1 build package for 32 and 64bit Windows systems.
The main difference between mingw32 and mingw-w32, is that MinGW is a stable and proven build tool and run-time for Windows, while the mingw-w64 project is still under fierce development and only in October 29th of 2010 they released their first stable version. Therefore, it is only estimated that the mingw32 version could provide less headaches than mingw-w32.
7 How to add new pages
Check the source code of one or more of the children pages listed in the Introduction to get a better idea of the structure, but the common structure is as follows:
- All children pages must start with Installation/Windows
- Next indicate the kind of instructions and the OpenFOAM version/variant/fork it refers to and so on. Some examples:
- Cross-Compiling OpenFOAM 2.1.1 on Linux for Windows using MinGW
- Compiling OpenFOAM 2.2.x on Windows using MinGW
- Compiling OpenFOAM x.y.z on Windows using MSVC
- And in those pages, must refer have at the bottom of the page this code:
[[Category:Installing OpenFOAM on Windows]]
Categories:
- OpenFOAM Version 1.4.1
- OpenFOAM Version 1.6
- OpenFOAM Version 1.7
- OpenFOAM Version 2.0
- OpenFOAM Version 2.1
- OpenFOAM Version 2.3
- Installing OpenFOAM
- Installing OpenFOAM on Windows
Это приложение для Windows под названием OpenFOAM-1.7.0 для Win32, последний выпуск которого можно загрузить как OpenFOAM-1.7.0.7z. Его можно запустить онлайн в бесплатном хостинг-провайдере OnWorks для рабочих станций.
Загрузите и запустите онлайн это приложение под названием OpenFOAM-1.7.0 для Win32 с OnWorks бесплатно.
Следуйте этим инструкциям, чтобы запустить это приложение:
— 1. Загрузил это приложение на свой компьютер.
— 2. Введите в нашем файловом менеджере https://www.onworks.net/myfiles.php?username=XXXXX с желаемым именем пользователя.
— 3. Загрузите это приложение в такой файловый менеджер.
— 4. Запустите любой онлайн-эмулятор OS OnWorks с этого сайта, но лучше онлайн-эмулятор Windows.
— 5. В только что запущенной ОС Windows OnWorks перейдите в наш файловый менеджер https://www.onworks.net/myfiles.php?username=XXXXX с желаемым именем пользователя.
— 6. Скачайте приложение и установите его.
— 7. Загрузите Wine из репозиториев программного обеспечения вашего дистрибутива Linux. После установки вы можете дважды щелкнуть приложение, чтобы запустить его с помощью Wine. Вы также можете попробовать PlayOnLinux, необычный интерфейс поверх Wine, который поможет вам установить популярные программы и игры для Windows.
Wine — это способ запустить программное обеспечение Windows в Linux, но без Windows. Wine — это уровень совместимости с Windows с открытым исходным кодом, который может запускать программы Windows непосредственно на любом рабочем столе Linux. По сути, Wine пытается заново реализовать Windows с нуля, чтобы можно было запускать все эти Windows-приложения, фактически не нуждаясь в Windows.
OpenFOAM-1.7.0 для Win32
ОПИСАНИЕ
Подумал, будет хорошей идеей поделиться этим с вами. Обратите внимание, что этот пост относительно новый, и я надеюсь, что в будущем он станет более доступным, если людям будет интересно.
Это приложение также можно загрузить с https://sourceforge.net/projects/openfoam-170/. Он размещен в OnWorks, чтобы его можно было легко запускать в сети с помощью одной из наших бесплатных операционных систем.
Скачать приложения для Windows и Linux
- Приложения для Linux
- Приложения для Windows
-
1
- Библиотека JasperReports
- Библиотека JasperReports — это
самый популярный в мире открытый исходный код
бизнес-аналитика и отчетность
двигатель. Он полностью написан на Java
и это умеет … - Скачать библиотеку JasperReports
-
2
- Книги Frappe
- Frappe Books — это бесплатная книга с открытым исходным кодом.
программное обеспечение для настольного бухгалтерского учета, которое
простой и хорошо продуманный для использования
малый бизнес и фрилансеры. Это’… - Скачать книги фраппе
-
3
- Числовой Python
- НОВОСТИ: NumPy 1.11.2 — последний релиз
это будет сделано на sourceforge. Колеса
для Windows, Mac и Linux, а также
заархивированные исходные дистрибутивы могут быть четыре… - Скачать числовой Python
-
4
- КМУ Сфинкс
- CMUSphinx — это независимый от говорящих большой
словарный запас распознавателя слитной речи
выпущен под лицензией в стиле BSD. это
также набор инструментов с открытым исходным кодом … - Скачать КМУ Сфинкс
-
5
- ПиСкриптер
- PyScripter — это Python с открытым исходным кодом.
Интегрированная среда разработки (IDE)
создан с амбициями стать
конкурентоспособны по функциональности с
коммерческий я … - Скачать Пискриптер
-
6
- Хранилища старых ОС Feren
- Это был официальный репозиторий для
Ферен О.С. Чтобы добавить последний, запустите
эта команда: (на основе 16.04) echo
«деб … - Скачать старые репозитории Feren OS
- Больше »
Команды Linux
-
1
- aarch64-linux-gnu-полоса
- полоса — удалить символы из объекта
файлы. … - Запустите aarch64-linux-gnu-strip.
-
2
- аасавефонт
- аафайр, ааинфо, аасавефонт, атест —
aalib примеры программ… - Запустить aasavefont
-
3
- cps-аутентификация
- cps-auth — выполнить OAuth2
аутентификация для Cloudprint-сервиса… - Запустите cps-аутентификацию
-
4
- процессор
- процессор, BurnBX, BurnK6, BurnK7,
burnMMX, burnP5, burnP6 — коллекция
программ, сильно нагружающих процессор… - Запустить процессор
-
5
- гбклатекс
- bg5latex — использовать LaTeX непосредственно на Big5
файл encodedtex bg5pdflatex — Использование
pdfLaTeX непосредственно на закодированном тексте Big5
file bg5+latex — использовать LaTeX непосредственно на
Большой5+… - Запустить gbklatex
-
6
- gbkpdfлатекс
- bg5latex — использовать LaTeX непосредственно на Big5
файл encodedtex bg5pdflatex — Использование
pdfLaTeX непосредственно на закодированном тексте Big5
file bg5+latex — использовать LaTeX непосредственно на
Большой5+… - Запустите gbkpdflatex
- Больше »