blockMesh 'command not found' on Ubuntu 16.04
1 Attachment(s)
Dear all,
I am freshly new with OpenFOAM and I am going to use it for my PhD work. I recently installed it on Ubuntu 16.04 following the instructions from openfoamwiki website and just tried to run blockMesh. I faced the 'command not found' issue, so I checked online what could be the problem but I couldn't find a solution myself. I checked the log.make file but I can't find an error in it, maybe you will? The end of my bashrc is as following: Code:
alias of301='source $HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc WM_LABEL_SIZE=64' On the other hand, paraview is running fine from the bash. Many thanks for your help. Frederick |
Have you executed the command
Code:
of301 Code:
export PATH="$PATH:~$HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc" |
Currently, I am also encountering the same problem- blockMesh 'command not found'.
Previous to it was giving error "error while loading shared files." Then I added "source /home/magar/OpenFOAM/OpenFOAM-4.0/etc/" to ~/.bashrc. However it made the problem worse. |
Hi,
Quote:
When you mean it made the problem worse, what were the error messages? Cheers, Antimony |
Thank you Antimony for your quick reply...
Also I figured out I need to source the bashrc file " source ~/.bashrc " . I didnt do this step so I was getting error as "blockMesh: 'command not found'" Thanks again. |
For future reference, this kind of issue is documented here: http://openfoamwiki.net/index.php/In...with_the_Shell ;)
|
All times are GMT -4. The time now is 18:46. |