|
[Sponsors] |
March 7, 2015, 06:53 |
Running OpenFOAM
|
#1 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Hi guys,
Finally I managed to install OpenFOAM 2.3.0 following this guide: http://matveichev.blogspot.fr/2014/0...m-on-os-x.html However there are still a few questions left: 1) When I have started ParaView via typing "paraFoam" in the terminal, the cursor jumps to the next line, but the Code:
usersmbp:~ mbp$ 2) How do I start OpenFOAM after rebooting my MacBook Pro? Somehow the OpenFOAM folder is empty after rebooting. When I double-click on OpenFOAM.sparsebundle, a OpenFOAM ?disk image? appears on the desktop. It contains the folders which are normally in the OpenFOAM folder. But the cavity example still doesn't work. 3) How do I upgrade from OpenFOAM 2.3.0 to 2.3.1 for example? Thanks a lot for your help, Kate |
|
March 7, 2015, 08:14 |
|
#2 |
Senior Member
|
Hi,
1. You can not use terminal if paraview is running in foreground (well, terminal will echo everything you type but will not execute the commands). If you would like to use terminal after you started paraFoam use "paraFoam &" command. Ampersand will send paraview in background so you can continue to use terminal. 2. You have to use this command to mount disk image: Code:
hdiutil attach -mountpoint $HOME/OpenFOAM OpenFOAM.sparsebundle Code:
source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc 3. You do not upgrade 2.3.0 to 2.3.1. Either you install 2.3.1 along with 2.3.0, or you remove 2.3.0 and install 2.3.1. Patch for 2.3.1 can be found in this repository. In the wiki you will find updated guide for installation. |
|
March 10, 2015, 14:42 |
|
#3 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Thanks a lot for your help!
Quote:
Code:
alias of2NM='hdiutil attach -quiet -mountpoint $HOME/OpenFOAM OpenFOAM.sparsebundle; sleep 1; source $HOME/OpenFOAM/OpenFOAM-2.N.M/etc/bashrc' |
||
March 10, 2015, 14:56 |
|
#4 | |
Senior Member
|
Quote:
The way I set up the environment is described in https://github.com/mrklein/openfoam-...two-approaches. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 5.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 11 | June 6, 2018 00:48 |
[Other] Basic questions about OpenFOAM cluster running and installing | Fauster | OpenFOAM Installation | 0 | May 25, 2018 16:00 |
OpenFOAM parallel on VM? pimpleDyMFoam propeller tutorial has been running for hours. | MBttR | OpenFOAM Running, Solving & CFD | 0 | June 13, 2016 11:58 |
Difficulty running an inviscid compressible nozzle flow using OpenFOAM | rbozinoski | OpenFOAM Running, Solving & CFD | 11 | December 29, 2015 08:19 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |