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 --installThis 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 21.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 -yStep 3: Install CFD Dependencies
Install essential tools and libraries for GASFLOW-MPI:
sudo apt install -y build-essential gfortran openmpi-bin libopenmpi-devbuild-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 export/import WSL distribution?
Last updated
Was this helpful?
