Problem in installing OpenFOAM 2.3.0 !!!
Hello everybody,
I'm trying to install openfoam 2.3.0 but I get this error: " sudo apt-get install openfoam230 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openfoam230 " I should mention that I already have installed openfoam 3.0.1 and openfoam 2.4 but now whenever I try to install openfoam 2.3.0 (that is needed for installing flameletfoam...) I get this type of error! Please help me to solve this problem. |
|
Yes you're right I have ubuntu 14.04 LTS..
Thanks but I don't know how to install openfoam 2.3 using these links! Could you please explain it? |
You install OpenFOAM-2.3.1 on Ubuntu 14.04 LTS.
Code:
sudo apt-get install openfoam231 |
Thanks for your help.
I have followed the instructions in this link http://openfoam.org/download/2-3-0-source/ I have unpacked the sources in opt directory and I have set environment variables in .bashrc like this: alias of30='. /opt/openfoam30/etc/bashrc' alias of240='. /opt/openfoam240/etc/bashrc' alias of230='. /opt/OpenFOAM-2.3.0/etc/bashrc' now when I run ./Allwmake I get this error: linux@linux-K550ZE:~$ sudo su - [sudo] password for linux: root@linux-K550ZE:~# cd /opt/OpenFOAM-2.3.0 root@linux-K550ZE:/opt/OpenFOAM-2.3.0# ./Allwmake ./Allwmake: 4: ./Allwmake: wmakeCheckPwd: not found Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. |
You need to change the location of OpenFOAM installation in ``OpenFOAM-2.3.0/etc/bashrc`` or simple install it in ``$HOME/OpenFOAM/OpenFOAM-2.3.0``
|
Thanks it solved my problem :)
|
All times are GMT -4. The time now is 02:40. |