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

OpenFoam Under Windows is a Poor Solution

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

Like Tree24Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2019, 05:42
Default
  #21
Member
 
Brenda EM
Join Date: Jan 2012
Posts: 38
Rep Power: 12
BrendaEM is on a distinguished road
It's been my observation that blueCFD-Core appears not to have the whitespace issues that the official OpenFoam Docker based solution does. This is relevant because most Windows users have a space in their user folder name, which may not seem like an issue, but renaming a Windows user folder is beyond most Windows users' technical experience and skill.

While the user name itself can be renamed through the graphical user interface, renaming the user folder itself requires the creation of a temporary Administrator-raised user--as well as a registry hack.

I implore OpenFoam to move past the current Docker-based solution, toward a native cross-platform solution that would best show off their programming abilities.
BrendaEM is offline   Reply With Quote

Old   March 7, 2019, 17:16
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,965
Blog Entries: 45
Rep Power: 126
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
Quick notes:
Quote:
Originally Posted by BrendaEM View Post
It's been my observation that blueCFD-Core appears not to have the whitespace issues that the official OpenFoam Docker based solution does.
Yes, blueCFD-Core was designed to work with spaces in files and folder names on Windows, but it's not yet bulletproof on that front. And to give credit where it's due, a good part of it was inherited from Richard Smith's (Symscape) work on porting OpenFOAM to Windows.

OpenFOAM.com v1812 does provide a bit better support for spaces in folder/file names, as reported here: https://www.openfoam.com/releases/op...ty-portability - section "Improvements in portability" - although it still requires that symbolic links should be created to solve some situations... which might not be very practical in many situations.
wyldckat is offline   Reply With Quote

Old   March 8, 2019, 12:09
Default
  #23
Member
 
Brenda EM
Join Date: Jan 2012
Posts: 38
Rep Power: 12
BrendaEM is on a distinguished road
Wyldckat, I cannot ask you in an open forum what politics and rational were involved OpenFoam's decision not to do what needs to be done to make OpenFoam Windows-compatable, given that the information, the gatchas, and maybe even the source code is out there.

It is a baffling decision to use Docker on the Windows version.

[As a former Microware OS9 enthusiast, I have no love for Microsoft, Apple, or Linux, so I feel I can call 'em like I see them.

As far as I remember, at one time Silicon Graphics was a competitor to Microsoft, making high-end workstations like the Indigo. The indigo ran on a form of Unix. Perhaps it is unpalatable for SGI/Openfoam to support the platform that contributed to their...dormancy, though some of that credit goes to 3dfx for popularizing the ironically OpenGL-compatable video cards that launched the entire inverted pyramid of Windows-compatable workstations, gaming computers, and GPU supercomputers we see today.

https://www.youtube.com/watch?v=ooLO2xeyJZA

]
wyldckat likes this.
BrendaEM is offline   Reply With Quote

Old   May 8, 2019, 06:14
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,965
Blog Entries: 45
Rep Power: 126
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
Quick note: OpenCFD is currently ongoing development for making OpenFOAM to cross-compile on Linux to run on Windows: https://develop.openfoam.com/Develop...us/issues/1238


edit: What this means is that it will be built on Linux, but then runs without any virtualization-type things on Windows.

Last edited by wyldckat; May 8, 2019 at 06:15. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   May 8, 2019, 13:48
Default
  #25
Member
 
Brenda EM
Join Date: Jan 2012
Posts: 38
Rep Power: 12
BrendaEM is on a distinguished road
Thank you for the news. I think that in the long run OpenFoam may gain more programmers for it.

I imagine that what BlueCFD-Core did could help.

For years I have been badgering them about this. It looks like I will have to find something else to do. Perhaps I will have more time for CFD studies.
BrendaEM is offline   Reply With Quote

Old   October 2, 2019, 05:21
Default Docker in Financial Trouble
  #26
Member
 
Brenda EM
Join Date: Jan 2012
Posts: 38
Rep Power: 12
BrendaEM is on a distinguished road
Docker, as a company appears to be in financial trouble.

https://www.cnbc.com/2019/09/27/dock...b-bearden.html
BrendaEM is offline   Reply With Quote

Old   November 17, 2021, 14:52
Default Building a Native Code
  #27
New Member
 
amir
Join Date: May 2012
Posts: 5
Rep Power: 11
amir5200fx is on a distinguished road
Hi guys!


to whom it may be interesting to build a native code on a Microsoft's Windows machine, I'm currently working on a version of OpenFOAM-7 which can be run on Microsoft's Visual Studio 2017.



The code has been changed in a way that you can use it as a lib in your projects.


You can find it here:
https://github.com/amir5200fx/OpenFoam7


At the moment, almost all the files of the src directory has been ported while some of applications are still in progress.
amir5200fx is offline   Reply With Quote

Old   December 3, 2021, 08:31
Default
  #28
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,445
Rep Power: 35
olesen will become famous soon enougholesen will become famous soon enough
Quote:
Originally Posted by amir5200fx View Post
Hi guys!

to whom it may be interesting to build a native code on a Microsoft's Windows machine, I'm currently working on a version of OpenFOAM-7 which can be run on Microsoft's Visual Studio 2017.
What benefits does this bring compared to the mingw cross-compiled version?
It also seems that your code has stripped out a fair chunk of copyrights and GPL notices - this is not GPL conformant!!
olesen is offline   Reply With Quote

Old   December 22, 2021, 01:09
Default
  #29
New Member
 
amir
Join Date: May 2012
Posts: 5
Rep Power: 11
amir5200fx is on a distinguished road
I'm not a CFD guy, and I want to use OpenFOAM on Visual Studio because I write software on the Visual Studio platform! There are so many reasons that I always wonder why there is no Visual Studio version of it. For example, the Intellisense, providing "sample template arguments" are some key features of a Visual Studio platform that make it much easier to understand and develop the code in the future.

I'm not sure what you exactly mean I've violated the GPL notices. OpenFOAM is free software, and I made some changes and shared it with others under the terms of the GPL! Please, explain it to me.

Last edited by amir5200fx; December 22, 2021 at 03:04.
amir5200fx is offline   Reply With Quote

Reply

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
How to run OpenFoam commands with windows command line maksjood OpenFOAM Running, Solving & CFD 1 June 4, 2018 11:19
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
Caelus: fork of OpenFOAM cnsidero OpenFOAM Announcements from Other Sources 7 November 11, 2014 22:55
Parallel run of OpenFOAM in linux and windows side by side m2montazari OpenFOAM Running, Solving & CFD 5 June 24, 2011 03:26
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56


All times are GMT -4. The time now is 08:28.