If you are a Windows user, and new to Linux and OpenFOAM, and if you do not want to go thru the hustle and bustle of partitioning your hard drive, backing-up your data, and installing Linux and OpenFOAM, we highly recommend use Windows Subsystem for Linux (WSL).
The Windows Subsystem for Linux (WSL) is a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools and GUI apps, directly on Windows, alongside your traditional Windows desktop and apps.
WSL requires fewer resources (CPU, memory, and storage) than a full virtual machine. WSL also allows you to run Linux command-line tools and apps alongside your Windows command-line, desktop and store apps, and to access your Windows files from within Linux. This enables you to use Windows apps and Linux command-line tools on the same set of files if you wish.
This WSL distribution is based on OpenSUSE 15.4 and comes with OpenFOAM 9, OpenFOAM 10, OpenFOAM v2206, paraview, and DAKOTA pre-installed. It also comes with all the compilers and libraries necessary to compile most of the applications.
At the following links, you can download the latest distribution. To download the distribution in .tar format.
To download the distribution in .vhdx format (compressed in .zip format). This is the recommended format but it only works using the latest version of WSL in Windows 11.
If you are using Windows 10, the maximum size of the virtual Linux distribution is 250GB. If you are using Windows 11 and the latest version of WSL (Windows Subsystem for Linux Preview), the maximum size of the virtual Linux distribution is 1TB. Have in mind that the size of the virtual hard drive can be expanded to any dimension, just follow these instructions.
To load OpenFOAM, type in the terminal: of9, of10 or of2112
Type alias in the terminal window to know all the predefined aliases, or open the .bashrc file using your favorite text editor.
At this link, you can find the WSL documentation.
At this link, you can find a Youtube video with general instructions on how to import this virtual Linux distribution.
This virtual Linux distribution is maintained by Wolf Dynamics, you can find more information at this link.