CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation on Windows, Mac and other Unsupported Platforms

Pre-compiled disk images of version 2.1 for Mac?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 17, 2012, 15:49
Default Pre-compiled disk images of version 2.1 for Mac?
  #1
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 5
einatlev is on a distinguished road
Hello
Thank you for all your work on OpenFOAM!
I recently installed the latest 2.1.x version of OpenFOAM on my Linux machine, using the source code from the git repository. I have also installed version 2.0 on my Mac laptop, using the pre-compiled disk images. Both work well. Now I'd like to run the new solver "optentialFreeSurfaceFoam", which was added in v.2.1.x, on my Mac, but I'd like to avoid having to build from scratch source code on the Mac, if possible. Are there any precompiled version 2.1 files out there?
Thanks!
Einat
einatlev is offline   Reply With Quote

Old   August 31, 2012, 06:50
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
This comes a bit late, but for your information:
Quote:
Originally Posted by qzt View Post
Hello,

I just uploaded the disk image (dmg file) of OpenFOAM-2.1.0 compiled on my macbookpro running lion (os 10.7).
Maybe someone having difficulty to compile or want to save some time can just use it.

http://bit.ly/QzxHFG

I think after mounting the disk image, one can try to source the bashrc and run the foamInstallationTest to see if it works on your mac.
wyldckat is offline   Reply With Quote

Old   September 8, 2012, 17:03
Default
  #3
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 5
einatlev is on a distinguished road
Thanks much.
einatlev is offline   Reply With Quote

Old   September 8, 2012, 17:47
Default
  #4
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 5
einatlev is on a distinguished road
I'm running into problems installing the DMG file:
Anything I try to do, I get an error saying that this is a "read-only file system". I tried changing the disk-image name to .sparseimage instead of .dmg, and also to make the disk image writable to all users, but nothing helped. I tried using sudo, no help.
Any ideas??
Thanks!!
Einat
einatlev is offline   Reply With Quote

Old   September 9, 2012, 03:52
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Einat,

Why do you want to change that image to be read-write? You only need it for getting a working OpenFOAM installation!
Anything else can be written in your personal folders!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 9, 2012, 10:27
Default
  #6
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 5
einatlev is on a distinguished road
I didn't necessarily want to, but I get an error even when I try to create the "$USER-2.1.0" folder that the installation instructions call for. And I tried cleaning and re-building, b/c the instructions said it was a good idea, and I kept getting errors that it was read-only system...
einatlev is offline   Reply With Quote

Old   September 9, 2012, 11:50
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
It's simple (assuming nothing is mounted):
  1. Mount the read-only image at "/Volumes/OpenFOAM-v2.1" with case-sensitivity turned on (if that's a choice).
  2. Run these commands:
    Code:
    cd ~
    mkdir OpenFOAM
    cd OpenFOAM
    ln -s /Volumes/OpenFOAM-v2.1/OpenFOAM-2.1.0 OpenFOAM-2.1.0
    ln -s /Volumes/OpenFOAM-v2.1/ThirdParty-2.1.0 ThirdParty-2.1.0
    It will create symbolic links to the mounted image, only linking the relevant folders.
  3. Source OpenFOAM's "bashrc":
    Code:
    source ~/OpenFOAM-2.1.0/etc/bashrc
  4. Try running icoFoam:
    Code:
    icoFoam -help
    If it works, you're ready to go!
wyldckat is offline   Reply With Quote

Old   September 9, 2012, 12:02
Default
  #8
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 5
einatlev is on a distinguished road
Got it. So to run a tutorial, I first need to copy it into a read-write folder of my own, and then run it? I tried that with icoFoam's cavity example and it seemed to work.
einatlev is offline   Reply With Quote

Old   September 9, 2012, 12:34
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Yes, that's the idea. Actually, following the steps I outlined, you should be able to run the commands listed shown in the section Getting Started from http://www.openfoam.org/download/source.php

The same goes for solvers and libraries you may want to modify. For creating a modified solver, here is a good tutorial for it: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam
wyldckat is offline   Reply With Quote

Old   September 9, 2012, 19:23
Default
  #10
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 5
einatlev is on a distinguished road
Awesome! thanks so much!
einatlev is offline   Reply With Quote

Old   October 12, 2012, 09:02
Default Problems with parafoam starting
  #11
New Member
 
Malachy O'Rourke
Join Date: Apr 2009
Posts: 6
Rep Power: 8
morourke is on a distinguished road
Hi,

I followed the instructions and everything went fine until I went to run paraFoam. I got the following message. Any help appreciated.

dhcp-892b949a:~ malachyorourke$ paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake

dhcp-892b949a:~ malachyorourke$ cd cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
-bash: cd: cd: No such file or directory
dhcp-892b949a:~ malachyorourke$ paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake

dhcp-892b949a:~ malachyorourke$ cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
dhcp-892b949a:PV3Readers malachyorourke$ ./Allwclean
+ wclean libso vtkPV3Readers
wclean vtkPV3Readers
+ PV3blockMeshReader/Allwclean
+ rm -f '/Users/malachyorourke/OpenFOAM/OpenFOAM-2.1.0/platforms/darwinIntel64Gcc46DPOpt/lib/libPV3blockMeshReader*'
+ rm -rf PV3blockMeshReader/Make
+ wclean libso vtkPV3blockMesh
wclean vtkPV3blockMesh
+ PV3FoamReader/Allwclean
+ rm -f '/Users/malachyorourke/OpenFOAM/OpenFOAM-2.1.0/platforms/darwinIntel64Gcc46DPOpt/lib/libPV3FoamReader*'
+ rm -rf PV3FoamReader/Make
+ wclean libso vtkPV3Foam
wclean vtkPV3Foam
dhcp-892b949a:PV3Readers malachyorourke$ ./Allwmake
+ '[' -d /Users/malachyorourke/OpenFOAM/ThirdParty-2.1.0/platforms/darwinIntel64Gcc46/paraview-3.12.0 -a -r /Users/malachyorourke/OpenFOAM/ThirdParty-2.1.0/platforms/darwinIntel64Gcc46/paraview-3.12.0 ']'
dhcp-892b949a:PV3Readers malachyorourke$

Malachy
morourke is offline   Reply With Quote

Old   October 12, 2012, 15:48
Default
  #12
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Malachy,

Read this:
http://openfoamwiki.net/index.php/Ho...using_ParaView - section "3 Installing and using ParaView"

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 8 July 3, 2014 10:54
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
OpenFOAM-1.6 install cookbook MadsR OpenFOAM Installation 372 November 20, 2010 12:57
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Troubles with compiled version of paraviewparafoam tgazz OpenFOAM Bugs 1 April 17, 2008 10:42


All times are GMT -4. The time now is 22:43.