CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [foam-extend.org] foam-extend-3.2 on ubuntu 16.04 lts (https://www.cfd-online.com/Forums/openfoam-installation/187691-foam-extend-3-2-ubuntu-16-04-lts.html)

FlyBob91 May 12, 2017 16:10

foam-extend-3.2 on ubuntu 16.04 lts
 
Hello to all
I've just failed trying to install foam-extend-3.2 on ubutnu 16.04 lts

Here the commands i used according to https://openfoamwiki.net/index.php/I...oam-extend-3.2 and https://openfoamwiki.net/index.php/I...end-3.2/Ubuntu

Code:

cd ~
mkdir foam
cd foam
git clone git://git.code.sf.net/p/foam-extend/foam-extend-3.2 foam-extend-3.2

cd ~/foam/foam-extend-3.2
echo export WM_THIRD_PARTY_USE_BISON_27=1  >> etc/prefs.sh
 
source etc/bashrc
echo "alias fe32='source \$HOME/foam/foam-extend-3.2/etc/bashrc'" >> $HOME/.bashrc

./Allwmake.firstInstall

After the installation i tried to use command like "checkMesh" or "simpleFoam" but it does not recognize it.
I jumped some commands because i've already installed OpenFoam 2.3.0 so like the command about configuring Paraview.
Did i jump some foundamental command? Or is it a problem about ubuntu 16.04?


Thanks for help

wyldckat May 27, 2017 07:26

Quick answer:
  1. Edit the file "$HOME/.bashrc" (or "~/.bashrc", it's the same file) and make sure that all OpenFOAM/foam-extend sourcing lines are using aliases, as explained here: https://openfoamwiki.net/index.php/I...nFOAM_versions
  2. Then start a new terminal window and activate only the environment for foam-extend 3.2, by running:
    Code:

    fe32
  3. Then run the following commands:
    Code:

    foam
    ./Allwmake > log.make 2>&1

  4. Finally, when it's complete, use the following command to zip the file "log.make":
    Code:

    gzip < log.make > log.make.gz
  5. Then attach the file "log.make.gz" to your next post. This will tell us all of the build errors that are happening.


All times are GMT -4. The time now is 20:00.