9.2. How to run GASFLOW on Windows?
Step 1: Enable WSL on Windows
1.1. Open PowerShell as Administrator:
Press Win + X
and select Windows Terminal (Admin) or PowerShell (Admin).
1.2. Install WSL:
Run the following command to enable WSL and install the default Ubuntu distribution:
wsl --install
This command automatically installs WSL 2 and Ubuntu.
If Ubuntu isn’t installed automatically, manually install it:
wsl --install -d Ubuntu
1.3. Set WSL 2 as Default:
wsl --set-default-version 2
1.4. Restart your computer to apply changes.
Step 2: Launch and Configure Ubuntu
2.1. Open Ubuntu
from the Start Menu.

On first launch, set a username and password (independent of your Windows account).
2.2. Update the system:
sudo apt update && sudo apt upgrade -y
Step 3: Install CFD Dependencies
Install essential tools and libraries for GASFLOW-MPI:
sudo apt install -y build-essential gfortran openmpi-bin libopenmpi-dev
build-essential
: Compilers (GCC, G++).openmpi-bin
: MPI runtime for parallel computing.libopenmpi-dev
: MPI development headers.
Previous9.1. How to set up models for the flashing of pressurized water?Next9.3. How to log into remote WSL from Windows using Terminal and FTP on GASVIEW?
Last updated
Was this helpful?