|
[Sponsors] |
[Other] Installation of OpenFOAM: Docker or not Docker? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 7, 2016, 13:23 |
Installation of OpenFOAM: Docker or not Docker?
|
#1 |
New Member
Nathan Baker
Join Date: Dec 2016
Posts: 1
Rep Power: 0 |
Hi everyone,
I’m about to install OpenFOAM (on Mac and on Linux) for the first time and I’m getting a bit confused with all the different ways existing for the installation. I know that there are a lot of posts detailing the steps to follow for each of them, but I have seen no post answering the two following questions: 1. how to decide for an installation using the Docker system (on Mac and Linux) / an installation using home-brew (on Mac) / an installation from source (on Linux) / another one. Would there be any difference in the use of OpenFOAM, depending on the installation choice? Knowing that I will probably work on my laptop (Mac) as well as on my desktop (Linux), would it be a better idea to use the Docker to provide a same environment if I want to share files? 2. what is the difference between the numbering of the OpenFOAM version used by the OpenFOAM foundation (http://openfoam.org/download/) and the one used by http://openfoam.com/ ? For example one uses Version 4.1 and the other one is talking about a v1606+. Is it only another way to number the version or is there another difference? Sorry if the question seems a bit stupid but I would like to be sure that I understand things correctly before choosing a version! Thank you for your help! Nathan |
|
December 15, 2016, 12:11 |
|
#2 |
New Member
Ovid
Join Date: Oct 2016
Location: Spain
Posts: 28
Rep Power: 9 |
Regarding question 1, from my experience I can tell you the following:
I use a desktop machine with Windows 8.1. Firstly I installed OpenFOAMv1606+ with Docker. When executing OpenFOAM this way, it appears as a Windows command prompt but the text input is that of Ubuntu. The main problem is that there is no graphic interface to interact with the container. I think it would be fine for browsing for OpenFOAM files (looking for tutorials, source code, etc.) or for editing files (on Windows is harder than with Gedit). Another issue is that sometimes the solvers try to create symbolic links. It happens when your case uses dynamic code (for example, coded function objects). If you run Docker with administrative rights those cases run but with some warnings when compiling. I eventually created an Ubuntu virtual machine and installed OpenFOAM from source. However when doing a lot of I/O and using file sharing with SAMBA some files are lost in Windows. However there are some utilities that can help to work with OpenFOAM (file browsing, code editors, etc.) Regarding question 2, this thread is the one you need. Cheers. |
|
December 22, 2016, 10:38 |
|
#3 | ||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
To add to Ovid's answer: Quote:
Using Docker on Linux adds a layer of complexity which depends on what exactly you're planning on doing. If you've already mastered using Docker, it may make sense that you use a single installation instruction for any of your machines. On Mac OS X, it really depends on the level of use you are planning on doing. Using Docker is a somewhat simple way to get OpenFOAM or OpenFOAM+ on Mac OS X, but building from source code will make it easier to access and manage the simulation cases. Either way, you should probably install ParaView on Mac with the official installation packages for Mac. If you build from source code on Mac, make sure to use the case sensitive file-system option, for both building and running OpenFOAM cases, because there are a few simulation cases that can have conflicting file names, e.g. "K" and "k". Quote:
In the http://openfoam.com page you will find the following description: Quote:
Quote:
Nonetheless, OpenFOAM+ v1612+ is meant to be released this month and it should include the features that 4.0 has got, along with other features that are in OpenFOAM-dev: http://openfoam.org/version/dev/ Best regards, Bruno
__________________
|
|||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 21, 2016 11:50 |
[Discussion] Restructuring the Installation page at openfoamwiki.net | wyldckat | OpenFOAM Installation | 16 | November 2, 2013 11:43 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 | superfxfund | OpenFOAM Installation | 3 | November 11, 2010 02:15 |