CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Pre-compiled disk images of version 2.1 for Mac?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2012, 16:49
Default Pre-compiled disk images of version 2.1 for Mac?
  #1
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14
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, 07:50
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 18:03
Default
  #3
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14
einatlev is on a distinguished road
Thanks much.
einatlev is offline   Reply With Quote

Old   September 8, 2012, 18:47
Default
  #4
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14
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, 04:52
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 11:27
Default
  #6
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14
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, 12:50
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 13:02
Default
  #8
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14
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, 13:34
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 20:23
Default
  #10
Member
 
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14
einatlev is on a distinguished road
Awesome! thanks so much!
einatlev is offline   Reply With Quote

Old   October 12, 2012, 10:02
Default Problems with parafoam starting
  #11
New Member
 
Malachy O'Rourke
Join Date: Apr 2009
Posts: 6
Rep Power: 17
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, 16:48
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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 Off
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 10 September 14, 2018 12:12
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 11:42


All times are GMT -4. The time now is 09:45.