blockMesh: command not found - on Mac OS X
Hi
I have installed OpenFOAM version 2.0.x on Mac OS X as shown by the instructions given at the following link: http://www.optimulation.com/category.../installation/ I tried to run the cavity tutorial case but I have run into the error: -bash: blockMesh: command not found Does anybody have a clue how to fix this problem? I am new to open foam and Mac OS so I am pretty clueless as to how to fix this issue. Thanks |
Are any of the other commands like 'simpleFoam' available?
If not, the bashrc-file is probably not loaded. Make sure to add Code:
source OpenFOAM/OpenFOAM-2.2.0/etc/bashrc and to reboot (or re-login) afterwards. Cheers, L |
Quote:
Have you solved your problem already I got the same problem too |
Hi everybody,
Has anybody solved this problem yet? Cheers, Kate Edit: @Lieven: Unfortunately that didn't work. |
Kate
Which version of OF are you using? In which folder is it installed? Could you perhaps post the output of Code:
locate bashrc L |
Quote:
I want to use 2.3.1 on OS X Yosemite. Haven't been successful so far. I tried to install it in the main user folder following the steps described in this guide: http://openfoamwiki.net/index.php/In...es_and_patches The output of Code:
locate bashrc Code:
WARNING: The locate database (/var/db/locate.database) does not exist. Should I run the proposed command? |
Hi,
You would like to run 2.3.1 and yet use guide for 2.2.2. So please post more details about your way of installation. To check if you have set up environment variables correctly, run in terminal: Code:
$ export | grep -E '(FOAM_|WM_)' Quote:
|
Quote:
I'd love to use a guide for 2.3.1 if I could find one. Since gschaider recommended to use the 2.2.2 guide in his post (http://www.cfd-online.com/Forums/ope...s-x-patch.html), I thought it would be fine. When I ran Code:
$ export | grep -E '(FOAM_|WM_)' Code:
-bash: $: command not found When I execute step 4.3.9 of the guide, I get the following answer: Code:
-bash: mpicc: command not found In my opinion it would be the best to clear my harddrive and start all over again. |
Hi,
Quote:
Quote:
Code:
export | grep -E '(FOAM_|WM_)' Quote:
Quote:
|
Quote:
Thanks again, Kate |
Could you give the following script a go and let me know if it helps you:
https://github.com/ajmas/scripts-et-...sx-macports.sh It should do much of the work for you, including creating the disk image, checking out the necessary 'Mac Ports', checking out the patched source for MacOS X and building the project. It is still a work in progress, but hopefully it should remove some of the guess work. Please let me know this helps. |
All times are GMT -4. The time now is 12:16. |