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

[OpenFOAM.org] Native compilation of OpenFOAM-6 on MacOS-10.15

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

Like Tree3Likes
  • 3 Post By tonnykz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2020, 23:07
Default Native compilation of OpenFOAM-6 on MacOS-10.15
  #1
Member
 
Join Date: Oct 2016
Posts: 31
Rep Power: 9
tonnykz is on a distinguished road
Hello everyone and Happy New Year!

I have recently switched from Ubuntu 18.04 to MacOS 10.15 and successfully installed OpenFOAM through Docker using guide on openfoam.org.


But I didn't like to work with it, as it is not clear where user applications, libraries are located making development of solver cumbersome.


So, I tried to perform native compilation of OpenFOAM v6 on my machine using this guide - https://github.com/mrklein/openfoam-...ase-&-Homebrew


But at step: source etc/bashrc


I get an error message: /Users/currentuser/OpenFOAM/OpenFOAM-6/etc/config.sh/mac/paraview:1: no matches found: /Applications/[Pp][Aa][Rr][Aa][Vv][Ii][Ee][Ww]*.app

Does anyone encountered same error? If so, would you be able to provide help?


Thanks,
Tonnykz
tonnykz is offline   Reply With Quote

Old   January 5, 2020, 20:07
Default
  #2
Member
 
Join Date: Oct 2016
Posts: 31
Rep Power: 9
tonnykz is on a distinguished road
There is an update to situation.


I installed paraview 5.7 on Mac.

Now on running source etc/bashrc I get following output in my terminal
paraview () {
local _paraviews=(/Applications/[Pp][Aa][Rr][Aa][Vv][Ii][Ee][Ww]*.app)
$_paraviews/Contents/MacOS/paraview "$@"
}
tonnykz is offline   Reply With Quote

Old   January 5, 2020, 20:11
Default
  #3
Member
 
Join Date: Oct 2016
Posts: 31
Rep Power: 9
tonnykz is on a distinguished road
I included log message of running ./Allwmake > log.Allwmake 2>&1.
Hope that will help to debug compilation.
Attached Files
File Type: txt log.txt (19.9 KB, 3 views)
tonnykz is offline   Reply With Quote

Old   January 7, 2020, 10:06
Default
  #4
Member
 
Join Date: Oct 2016
Posts: 31
Rep Power: 9
tonnykz is on a distinguished road
Finally, I was able to compile native OpenFOAM-6 on MacOS 10.15 using github version and instructions posted here: https://github.com/mrklein/openfoam-os-x

But, every time i start laptop I have to mount OpenFOAM.sparsebundle to OpenFOAM folder by using command:
hdiutil attach -mountpoint $HOME/OpenFOAM OpenFOAM.sparsebundle

Then: source $HOME/OpenFOAM/OpenFOAM-6/etc/bashrc

Apart from that I was able to configure paraview to work by using following:
paraFoam Error on Mac 10.8.2 (mountain lion)
http://openfoamwiki.net/index.php/Ho...using_ParaView


Hope, that information provided will help someone struggling with
same problems.


Best regards,
Tonnykz
nishant.kumar, shiyu and jenas like this.

Last edited by tonnykz; January 7, 2020 at 10:30. Reason: Update of state of matters
tonnykz is offline   Reply With Quote

Reply

Tags
compilation error, mac os, openfoam-6

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
[OpenFOAM.org] OpenFOAM 5.0: sudden new compilation error on on the Titan supercomputer (Cray) wildfire230 OpenFOAM Installation 1 July 15, 2018 10:06
[Commercial meshers] Native OpenFOAM interface in Pointwise cnsidero OpenFOAM Meshing & Mesh Conversion 41 May 20, 2012 18:30
Native OpenFOAM interface in Pointwise Chris Sideroff Main CFD Forum 0 January 16, 2009 12:37
OpenFOAM native format data visualization and workflow zeliboba OpenFOAM Post-Processing 0 September 12, 2008 08:44


All times are GMT -4. The time now is 13:40.