How to install OpenFOAM V8 (2020) on Windows

Written by cfd.ninja
OpenFOAM is built for Linux, and that single fact shapes every installation route. On Ubuntu or Debian the packaged version installs from the official repository in a few commands and is the path with fewest surprises.
On Windows the usual route is WSL, the Windows Subsystem for Linux, which runs a real Ubuntu alongside Windows without a virtual machine and gives you the same commands as a native install. A virtual machine or a dual boot remain valid alternatives if you prefer full separation.
Whatever the route, the installation is not finished until the environment is loaded. OpenFOAM needs its variables sourced in each session, which is why the install instructions end by adding a line to your shell profile. Skipping it is the reason most first time users find that the commands are not recognised.


Convert Photography to Mesh using Gmsh
Learn how to generate a CFD mesh from any photograph using the Gmsh mesher.

Ansys CFX Tutorial | Flow through Porous Media
In this tutorial you will learn how to simulate a Flow through Porous Media using Ansys CFX.
Related Articles
OpenFOAM Tutorial | Multiphase Simulation
In this tutorial you will learn how to simulate a multiphase simulation through lockExchange tutorial that comes by default with OpenFOAM.
OpenFOAM Tutorial | motorBike (simpleFoam)
In this video you will learn how to simulate motorBike tutorial using OpenFOAM with simpleFoam solver.
OpenFOAM Tutorial | How to create an Animation
In this tutorial you will learn how to create an animation using OpenFOAM through Paraview (paraFoam Command).
OpenFOAM Tutorial | pitzDaily | LES Turbulence Model
In this tutorial you will learn how to simulate the LES turbulence model using pitzDaily tutorial on OpenFOAM.
OpenFOAM Tutorial | Airfoil 2D
In this tutorial, you will learn how to simulate an Airfoil 2D using OpenFOAM. In this case, we will use the folder that comes by default.
OpenFOAM Tutorial | Allclean & Allrun Sripts
In this tutorial you will learn to use Allclean and Allrun scripts on OpenFOAM. These scripts come by default in several OpenFOAM folders.





