Download

Choose a location for the OpenFOAM build using $BUILD_DIR, then download and unpack the OpenFOAM and ThirdParty source.

BUILD_DIR=$HOME/OpenFOAM

wget https://sourceforge.net/projects/openfoamplus/files/v1812/OpenFOAM-v1812.tgz
wget https://sourceforge.net/projects/openfoamplus/files/v1812/ThirdParty-v1812.tgz

mkdir $BUILD_DIR
tar -xzf OpenFOAM-v1812.tgz -C $BUILD_DIR
tar -xzf ThirdParty-v1812.tgz -C $BUILD_DIR
Previous Next