Fleming release Dev release

OF-v1706

  1. In Ubuntu 20.04 LTS (22.04 LTS isn’t supported yet), downgrade gcc and g++ to version 7
     sudo apt-get install g++-7 gcc-7
     sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7
     sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 7
     sudo update-alternatives --config gcc
     sudo update-alternatives --config g++
    

  2. Download the source .tgz files for Ubuntu (30/06/2017: OpenFOAM v1706) for both OpenFOAM and the ThirdParty

  3. Untar them

  4. Install the system requirements
     sudo apt-get update
     sudo apt-get install build-essential flex bison cmake zlib1g-dev libboost-system-dev libboost-thread-dev libopenmpi-dev openmpi-bin gnuplot libreadline-dev libncurses-dev libxt-dev
     sudo apt-get install qt4-dev-tools libqt4-dev libqt4-opengl-dev freeglut3-dev libqtwebkit-dev
     sudo apt-get install libscotch-dev libcgal-dev
    

  5. Install OpenFOAM
     cd $WM_PROJECT_DIR
     ./Allwmake
    

  6. Change working directory and clone the hyStrath Github repository
     cd $WM_PROJECT_USER_DIR
     git clone https://github.com/hystrath/hyStrath.git --branch master --single-branch && cd hyStrath/
    

  7. Decide which module(s) you wish to install (NUMPROCS is the number of processors to be used)
     ./install.sh NUMPROCS 2>/dev/null