|
[Sponsors] |
[Other] blockMesh: command not found - on Mac OS X |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2013, 10:51 |
blockMesh: command not found - on Mac OS X
|
#1 |
New Member
Clive
Join Date: Mar 2013
Posts: 1
Rep Power: 0 |
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 |
|
April 6, 2013, 17:08 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
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 |
|
December 28, 2013, 13:19 |
|
#3 | |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
Quote:
Have you solved your problem already I got the same problem too |
||
March 3, 2015, 05:53 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Hi everybody,
Has anybody solved this problem yet? Cheers, Kate Edit: @Lieven: Unfortunately that didn't work. |
|
March 3, 2015, 06:17 |
|
#5 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
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 |
|
March 3, 2015, 07:00 |
|
#6 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
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. To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Please be aware that the database can take some time to generate; once the database has been created, this message will no longer appear. Should I run the proposed command? |
||
March 3, 2015, 07:09 |
|
#7 | |
Senior Member
|
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:
|
||
March 3, 2015, 12:10 |
|
#8 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
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 Using paraview in directory /Applications/paraview.app In my opinion it would be the best to clear my harddrive and start all over again. |
||
March 3, 2015, 12:37 |
|
#9 | ||||
Senior Member
|
Hi,
Quote:
Quote:
Code:
export | grep -E '(FOAM_|WM_)' Quote:
Quote:
|
|||||
March 5, 2015, 09:02 |
|
#10 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Quote:
Thanks again, Kate |
||
March 15, 2015, 17:54 |
|
#11 |
New Member
Andre Mas
Join Date: Jan 2015
Location: Montreal, Canada
Posts: 18
Rep Power: 11 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[RapidCFD] Discussion thread on how to install and use RapidCFD | newoscar | OpenFOAM Community Contributions | 84 | September 2, 2022 01:04 |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
[Gmsh] Insatlling gmsh from the source code-issue? | CFD-Lover | OpenFOAM Meshing & Mesh Conversion | 20 | June 12, 2018 06:39 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 01:30 |
version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found | ovie | Main CFD Forum | 1 | April 19, 2010 14:00 |