CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   openfoam installed but refuse to start. (https://www.cfd-online.com/Forums/openfoam-installation/119782-openfoam-installed-but-refuse-start.html)

izna June 25, 2013 03:53

openfoam installed but refuse to start.
 
Hello..
i am a user of openfoam for quite some time.
recently due to my PC crashed i had to install openfoam again.

i install it correctly using this:
http://www.openfoam.org/download/ubuntu.php

but when i add the
Quote:

At the bottom of that file, add the following line (see Note 1) and save the file source /opt/openfoam220/etc/bashrc


i get the following errors:
Quote:

bash: /home/user/OpenFOAM/openfoam220/bin/foamEtcFile: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamCleanPath: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamCleanPath: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamCleanPath: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/etc/config/settings.sh: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/etc/config/aliases.sh: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamEtcFile: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamEtcFile: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamEtcFile: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamCleanPath: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamCleanPath: No such file or directory
bash: /home/user/OpenFOAM/openfoam220/bin/foamCleanPath: No such file or directory

then when i run icoFoam i get the error
Quote:

user@user-MS-7592:~$ icoFoam -help
icoFoam: command not found
user@user-MS-7592:~$
can anyone guide me please

wyldckat June 25, 2013 17:20

Quick answer - Please check if the following thread: http://www.cfd-online.com/Forums/ope...ses-start.html

zaynah04 July 4, 2013 05:11

hello
My problem is strange one
i have installed successfully openfoam//

but when i do icoFoam -help
i get the following error..
Quote:

icoFoam: command not found

when i check in Opt i see my openfoam and all folders etc..

so why the command is not seen?

izna July 6, 2013 02:15

my mistake was in adding the line to the bash file..

after successfully adding this line it all turns out fine..

Thanks

wyldckat July 7, 2013 05:19

Greetings to all!

@zaynah04:
Quote:

Originally Posted by zaynah04 (Post 437734)
when i check in Opt i see my openfoam and all folders etc..

so why the command is not seen?

Please read the following blog post: Advanced tips for working with the OpenFOAM shell environment

Best regards,
Bruno


All times are GMT -4. The time now is 16:45.