#OpenFOAM #ParaView #CFD
We will install OpenFOAM in two parts. In the first part, we will see how to install WSL in windows, and in the 2nd part, we will see how to install OpenFOAM.
Part 1 Link: • Install OpenFOAM: Part 1 [WSL in WINDOWS 10]
1. Extract and install
cp -ar /mnt/c/Users/USER/Downloads/OpenFOAM-v2012-windows10.tgz .
sudo tar -xvzf OpenFOAM-v2012-windows10.tgz -C /opt/
sudo chown -R $USER /opt/OpenFOAM
2. Compile
notepad.exe ~/.zshrc
. /opt/OpenFOAM/OpenFOAM-v2012/etc/bashrc
source $HOME/.zshrc
3. Additional installations
sudo apt install bison flex m4
mkdir -p $FOAM_RUN
Download presentation and materials from the Telegram channel.
Join Telegram channel: https://t.me/DDFluids
Join YouTube channel: DD Fluids
Join me on Linkedin: / divyeshvariya
Join me on Twitter: / divyeshvariya