CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   FoamX error (

lawrencelkl May 22, 2008 10:05

Hi People, I am a newb to
Hi People,

I am a newb to linux/openfoam and hope can get some help here. I just installed puppy 4 as the linux and installed OpenFOAM 1.4.1 according to the online guideline. However, when i typed FoamX, it says error "nsd"command not found with the FoamXHB(?) file at line 130, when i go to open and read the file, it s basically a line started with "nsd" command. is there any suggestion to fix this?

also, i tried to follow the online step by step guide to run the dailyPitz but when it comes to blockMesh.cavity, it says command not found/no such command.

I understand that it might be better to use command rather than FoamX but I would really like to start with FoamX and at least go through the tutorials.

any help/suggestion is welcomed.

dmoroian May 22, 2008 11:00

Hi Lawrence, and welcome. Fir
Hi Lawrence, and welcome.
First try to run icoFoam, and type:

If it prints "command not found" than it means you did not configure the environment. Do you have in your ~/.bashrc a line saying:
. ~/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc



lawrencelkl May 22, 2008 11:28

Hi Dragos, thanks for your q
Hi Dragos,
thanks for your quick reply. Sorry as i am really a newbie here, do u mean i first go into
# cd ~/OpenFoam/OpenFoam-1.4.1/tutorials
then type
# icoFoam
if so, it says command not found and as you said, i did not configure the environment.( can u provide some help on how to configure then?)

for the second part, do u mean i should just
and see what it says?nothing come out for the above command at the moment

please bear with mi with great patience, truly appreciated.


lawrencelkl May 22, 2008 13:01

hi, this is what i did, # c
hi, this is what i did,

# chmod -v 555 foamSystemCheck


#["export PATH=$PATH:~/OpenFOAM/OpenFOAM-1.4.1/bin/"]

it returned

bash:[export PATH=/bin:/usr/bin:/sbin:/usr...usr/local/bin:/usr/X11R7/bin:/root/my-applicatio ns/bin:/opt/samba/bin:~/OpenFOAM/OpenFOAM-1.4.1/bin/]: No such file or directory

i suspect the path is wrong? but how should i correct/change it? help pls..



madad2005 May 22, 2008 13:22

Lawrence, could you do pwd in
Lawrence, could you do pwd in the directory where foamSystemCheck is located? Are you running 32 or 64 bit linux?

dmoroian May 23, 2008 01:29

Hi Lawrence, It seems that yo
Hi Lawrence,
It seems that you need more help, so if you want drop me an e-mail and I will try to provide you with the information.


All times are GMT -4. The time now is 01:12.