ParaView Installation
Download and unpack ParaView 5.6.0 Download ParaView 5.6.0
sudo apt get paraview
OpenFOAM 1812 - Compilation
Before compiling OpenFOAM we need to make sure, that all the needed libraries are installed.
Prerequisites
On Ubuntu 20.10 some packages need to be installed prior to compilation. On Ubuntu 20.10 the below list should work. To install them go to console and:
sudo apt install gcc
sudo apt install libopenmpi-dev
sudo apt install zlib1g-dev
sudo apt install flex
Then, make sure you have access to MPI library (both command should print version information):
mpicc --version
mpirun --version
OpenFOAM Compilation
Change directory to place where you want to store OpenFOAM (you need to provide your own path):
cd /home/<user name>/<..custom path>/
Download archives with OpenFOAM code by using “wget” command:
Extract archives, e.g:
tar -xzf OpenFOAM-v1812.tgz
tar -xzf ThirdParty-v1812.tgz
Load OpenFOAM configurations:
source OpenFOAM-v1812/etc/bashrc
Check if OpenFOAM has access to all necessary libraries
foamSystemCheck
(optional) Set number of processors to use during compilation
export WM_NCOMPPROCS=10
Change directory to OpenFOAM root
cd OpenFOAM-v1812
Run compilation script
./Allwmake
SimFlow OpenFOAM and ParaView Configuration
- Specify the path to OpenFOAM folder with application’s executable files inside. In selected path, two folders should be located: bin and lib which contain the OpenFOAM application and the required libraries.
Example path: /opt/OpenFOAM/OpenFOAM-v1812/platforms/Linux64GccDPint32Opt Specify the path to the installation directory of ParaView.
Example path: /opt/OpenFOAM/ThidrParty-4.0/platforms/Linux64Gcc/ParaView-5.6.0
or you might try to find it by typing in console:which paraview
