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

pyFoam, pyFlu, extend: How does they relate?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 12, 2011, 07:08
Default pyFoam, pyFlu, extend: How does they relate?
  #1
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 7
Horus is on a distinguished road
Hello,

I've just began working with pyFoam (which seems pretty well designed so far...). But I'm a bit confused about the projekt structure:

There is http://sourceforge.net/projects/pyfoam/ which says that the project has moved to pyFlu... the homepage of pyFlu though makes not mention of that (beside one sentence). The current released package contains no sign of pyFoam and on the projekt page I found no reference to a VCS (subersion, git, ...).

http://openfoamwiki.net/index.php/Contrib_PyFoam however links to http://sourceforge.net/projects/openfoam-extend/ which contains an SVN with the source code of pyfoam.

My questions are:

- Are pyFoam and pyFlu are going to merge?
- What is the current source code repository for pyFoam?
- How do these projects relate...?

Thanks!
Horus is offline   Reply With Quote

Old   May 12, 2011, 09:19
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Hi,

PyFoam (swak4foam http://openfoamwiki.net/index.php/Contrib/swak4Foam and many other tools like groovyBC and funkySetFields ) are based on the work made by Bernhard Gschaider.
pyFlu is the successor of "valushaka (with another pyfoam)" and is based on the work of Alexey Petrov and his collegues read http://pythonflu.wikidot.com/ or Can someone tell me more about vulashaka
Bernhard Gschaider made some comments in that thread as well
elvis is offline   Reply With Quote

Old   May 12, 2011, 09:56
Default
  #3
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 7
Horus is on a distinguished road
Ok, thanks for the (non) clarification. ;-)

The openFoam community seems to be pretty scattered and suffering some not-invented-here syndrome.

I think I'll stick the pyFoam project mentioned here http://openfoamwiki.net/index.php/Contrib_PyFoam.
Horus is offline   Reply With Quote

Old   May 17, 2011, 15:08
Default
  #4
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 7
Horus is on a distinguished road
Just another follow up...

Any one knows whats the source repository in which development happs of pyfoam is? If I understand the wiki doc correctly it's not https://openfoam-extend.svn.sourcefo...ipting/PyFoam/

(e.g. for contributing back fixes)
Horus is offline   Reply With Quote

Old   May 18, 2011, 03:32
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Horus View Post
Just another follow up...

Any one knows whats the source repository in which development happs of pyfoam is? If I understand the wiki doc correctly it's not https://openfoam-extend.svn.sourcefo...ipting/PyFoam/

(e.g. for contributing back fixes)
Currently development happens in a private SVN. From time to time I mirror that to the SVN above and call it a release.

Changes done to the Sourceforge-SVN will be transplanted to my development version

Bernhard
gschaider is offline   Reply With Quote

Old   May 18, 2011, 05:04
Default
  #6
Member
 
alexey2petrov's Avatar
 
Alexey
Join Date: Feb 2010
Posts: 33
Blog Entries: 1
Rep Power: 8
alexey2petrov is on a distinguished road
Hi Horus,
Quote:
Originally Posted by Horus View Post
The openFoam community seems to be suffering some not-invented-here syndrome
Here is some explanation on this point :
Quote:
Originally Posted by alexey2petrov View Post
pyFoam and pythonFlu suggest completely different approaches (one controls OpenFOAM solver execution from outside, another aims to define OpenFOAM solver from inside) and do not overlap their goals with each other
Actually, this was an accidental name collision, not "me-not-invented-yet" syndrome. To resolve this issue VulaSHAKA's pyFoam project was recently renamed to pythonFlu. So, if you are interested into enhancing your CFD calculation environment with some kind of automation and interactivity, OpenFOAM community will be happy to supply you with two different approaches, at least - what ever you prefer .

Best regards,
Alexey
alexey2petrov is offline   Reply With Quote

Old   May 19, 2011, 05:01
Default
  #7
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 7
Horus is on a distinguished road
Ah, ok. The name collision confused me.

Bernhard: If I had any patched for pyFoam should I send a diff to yours? Have you ever thought about switching to a more open development model?
Horus is offline   Reply With Quote

Old   May 19, 2011, 09:44
Default
  #8
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Horus View Post
Bernhard: If I had any patched for pyFoam should I send a diff to yours? Have you ever thought about switching to a more open development model?
Yep. If that becomes a habit I'd prefer to set you up access to the SVN because that way contributions can be attributed to whoever did them
gschaider is offline   Reply With Quote

Old   May 19, 2011, 11:37
Default
  #9
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 7
Horus is on a distinguished road
Let's see what comes...

I dare to post my first question here. I try to use CaseBuilder to prepare a case. My understanding is:

- CaseBuilder take the files listed in parameterfiles from the template dir and copies them over. (+ modifications)

- If <meshpreparation mode="utility"> is given it runs the specified utility on the new case.

- It creates the boundary condition based on <boundaries> and <bc>.

I have an Case.template directory which just contains 0/.., constant/.., system/... No polyMesh anywhere.

pyFoamCaseBuilder.py case.pfcb case.test DrivFliess110209.msh

gives (case.test does not exist):

Problem reading the boundary file: [Errno 2] No such file or directory: '[...]/sandbox/case.test/constant/polyMesh/boundary.gz'

which is perfectly correct. But why is fluentMeshToFoam no being run before, which should create the polyMesh.

My case.pfcb: http://pastebin.com/aKUiu9zh

Thanks!
Horus is offline   Reply With Quote

Old   May 21, 2011, 12:49
Default
  #10
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 7
Horus is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Yep. If that becomes a habit I'd prefer to set you up access to the SVN because that way contributions can be attributed to whoever did them
Somehow I'm to stupid to figure out how to send a private message to you...

I've made a bugfix to CaseReport.py. What's the best way to contribute it back to you?
Horus is offline   Reply With Quote

Reply

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 27 February 3, 2015 17:38
Extend Project Release 1.6-ext hjasak OpenFOAM Announcements from Other Sources 33 July 14, 2011 18:54
pyFoam batch set up for OF 1.7 eelcovv OpenFOAM Running, Solving & CFD 3 January 19, 2011 09:38
pyFoam setting is not correct? or not compatible with 1.6? seasoul OpenFOAM 2 March 23, 2010 12:42
How can I extend the domain in Fluent? gabrielg FLUENT 1 November 12, 2008 01:44


All times are GMT -4. The time now is 03:26.