CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation on Windows, Mac and other Unsupported Platforms

PyFoam for Windows?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 23, 2012, 01:45
Default PyFoam for Windows?
  #1
New Member
 
Alex Roumanidakis
Join Date: Dec 2012
Posts: 1
Rep Power: 0
Vitterfolk is on a distinguished road
Hey guys, I'm new here so sorry if this has been asked before, but is it possible to install the PyFoam libraries on windows? I'm running the windows compatible version 1.5. I'm rather inexperienced with anything beyond the syntax and logic of programming (Haven't played much with command prompt or programming beyond matlab or lessons on code academy). I'm willing to do the research on installing libraries and stuff on my own, but I just wanted to know if linux was required prior to dumping a bunch of time on it. Thanks!
Vitterfolk is offline   Reply With Quote

Old   December 24, 2012, 10:24
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,201
Blog Entries: 32
Rep Power: 71
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Alex and welcome to the forum!

PyFoam has been developed and tested to work on Linux and Mac OS X.

AFAIK, PyFoam on Windows is currently only available in blueCFD (http://www.bluecape.com.pt/blueCFD/ - I'm the guy responsible for blueCFD) and it is still very limited, in the sense that most of the functionalities will not work. We haven't made much more progress, due to the current workload we've had since its release nearly a year ago. Public release of the changes we've made so far is still pending internal review and approval at blueCAPE (which is where I work).

Anyway, the main problem is that there are several functions in Python that PyFoam uses that will only work out-of-the-box in POSIX systems, such as Linux and Mac.
For making it work on Windows, it's necessary to search for the Python libraries that can help replace the missing functions that the Python version for Windows doesn't have by default. And some of those missing functions might still have to be coded, in case the external libraries that have been found don't have them...

Best regards,
Bruno

PS: I've moved this thread to the sub-forum dedicated to Installation on Windows, Mac and other Unsupported Platforms
wyldckat is offline   Reply With Quote

Old   January 11, 2013, 13:23
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,201
Blog Entries: 32
Rep Power: 71
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings!

FYI, we've finally released the patches here: http://sourceforge.net/p/openfoam-ex...etspyfoam/166/

Best regards,
Bruno

Last edited by wyldckat; July 14, 2014 at 08:06. Reason: updated link to the new bug tracker
wyldckat is offline   Reply With Quote

Old   July 15, 2014, 06:50
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,201
Blog Entries: 32
Rep Power: 71
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings to all!

I have some interesting updates on this topic. We at blueCAPE Lda (where I work) have created a new PyFoam repository at Github, dedicated to continuing the porting development of PyFoam to fully work on Windows: https://github.com/blueCFD/PyFoam

We made our first attempts to porting PyFoam to Windows back in 2011; later provided our modifications to the official PyFoam version in January 2013, which were introduced into PyFoam 0.6.0: www.cfd-online.com/Forums/openfoam-news-announcements-other/87114-new-release-pyfoam.html#post414040 - post #3

Unfortunately, the porting process was very incomplete back then and we haven't managed to pull any more efforts into porting PyFoam to Windows.
Therefore, we've started the project at Github yesterday, in hopes that this work can be continued by either ourselves or others.

The objective of this new repository at Github is to create a development environment for continuing the work that has been done so far: The very first release "PyFoam-Windows-0.6.3.tar.gz" is already available on the Releases page. For installing PyFoam 0.6.3 for Windows in blueCFD-Core, simply follow the instructions provided in the file "README.Windows".


A bug was already fixed today, but 3 are still open. Everyone is welcome to contribute!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
openfoam, pyfoam, windows

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pyFoam and paraview eelcovv OpenFOAM Paraview & paraFoam 20 July 10, 2014 15:50
Problems with PyFoam Christoph_84 OpenFOAM 30 May 8, 2014 04:35
pyFoam, pyFlu, extend: How does they relate? Horus OpenFOAM 9 May 21, 2011 12:49
pyFoam batch set up for OF 1.7 eelcovv OpenFOAM Running, Solving & CFD 3 January 19, 2011 08:38
pyFoam setting is not correct? or not compatible with 1.6? seasoul OpenFOAM 2 March 23, 2010 12:42


All times are GMT -4. The time now is 00:27.