Installation OpenFOAM-7
Installation OpenFOAM-7
on
on
Ubuntu 18.04 or later
Ubuntu 18.04 or later
sudo apt-get install build-essential flex bison git-core cmake zlib1g-dev libboost-system-dev libboost-thread-dev libopenmpi-dev openmpi-bin gnuplot libreadline-dev libncurses-dev libxt-devsudo apt-get install libqt5x11extras5-dev libxt-dev qt5-default qttools5-dev curl libcgal-dev libglu1-mesa-devgit clone git://github.com/OpenFOAM/OpenFOAM-7.gitgit clone git://github.com/OpenFOAM/ThirdParty-7.gitgit clone https://github.com/OpenFOAM/OpenFOAM-7.gitgit clone https://github.com/OpenFOAM/ThirdParty-7.gitsudo gedit ~/.bashrc (where folder located)/OpenFOAM-7/etc/bashrc FOAMY_HEX_MESH=yessource ~/.bashrcecho $WM_PROJECT_DIRecho $WM_THIRD_PARTY_DIRecho $ParaView_VERSION cd $WM_THIRD_PARTY_DIR./Allwmake./makeParaViewsudo apt-get install paraview paraFoam -buitlin for post-processing./makeCGALsource ~/.bashrcwmRefresh cd $WM_PROJECT_DIR./Allwmake./Allwmake -jcp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily .cd pitzDailyblockMeshsimpleFoamparaFoam$FOAM_TUTORIALSecho $FOAM_TUTORIALS