Talk:Main FAQ

From OpenFOAMWiki
Revision as of 21:21, 21 September 2013 by Wyldckat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Discussion on Windows-Port

This was moved from Why isn't there a Windows port to this talks page:

However, there are only 32 files (out of around 11 thousand) in the OpenFOAM source tree whose names differ only in case. It would be fairly easy to rename these files to allow compilation on a case insensitive file-system.

This is more an attempt at starting a discussion and thus better suited for the Message-Board. BTW: it isn't as easy as renaming some files. The files scalar.H/Scalar.H are included by almost all other files and a number of files has to be modified. Whoever does this must redo these changes every time a new release comes out so the best thing would be if it was fixed upstream so you might want to file a bug report with OpenCFD requesting that (best of luck).

Side note: until now all known attempts at porting to Windows were done by Linux-people. After the proof of concept these usually were not followed up due to a lack of motivation (only exception is [1]. So maybe if the Windows-affecinados get together you might have something there (it is not that hard again, just tedious) but don't rely on Linuxers (they are as motivated to do a Windows-port as Windows-people would be to do a Linux-port)

  • This was indeed asked some time ago here: bug report #842
    Either way, the problem is that with each release, the files need to be renamed all over again. FreeFOAM has already done this task, but further development seems to have stopped (last update made on 2012-07-23).
    There was also the (unofficial) project and completely abandoned project OpenFOAM for MS windows binary release, in which all indicates that it was a proof of concept done for someone's thesis, which was not continued.
    And as mentioned above, blueCAPE does provide a port of OpenFOAM for Windows, which provides the source code fully adapted to be used on Windows, allowing the user to completely build this port of OpenFOAM directly on Windows; But it was necessary to create dedicated scripts for renaming the files and folders; said scripts that automate the renaming procedure are currently (September 2013) not available to the general public.
    Wyldckat (talk) 23:21, 21 September 2013 (CEST)