Ubuntu and OpenFOAM Installation Procedure
Ubuntu and OpenFOAM Installation Procedure
https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/how-to-install-ubuntu-18-
04-alongside-with-windows-10-or-8-in-dual-boot.html
https://www.tecmint.com/install-ubuntu-alongside-with-windows/
OpenFOAM Installation Procedure on Ubuntu 18.04 LTS - standard procedure
gedit ~/.bashrc
5- At the end of the bashrc file, paste the line below, save and close the window
source /opt/openfoam7/etc/bashrc
A “Usage” message should appear. Your installation and user configuration is complete
10f - paraFoam
OpenFOAM Installation Procedure on Ubuntu 18.04 LTS - by source code
mv ThirdParty-7-version-7 ThirdParty-7
7- Open the .bashrc file in the user’s home directory in an editor, e.g. by typing in a
terminal window
gedit ~/.bashrc
8- At the bottom of that file, add the following line and save the file
source $HOME/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc
cd $WM_THIRD_PARTY_DIR
./makeCmake
wmSET
10f - paraFoam
Installing Third-Party Software
- Scotch/PT-Scotch
- ParaView
http://dl.openfoam.org/ubuntu/dists/bionic/main/binary-amd64/