CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

New release of PyFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree15Likes
  • 3 Post By gschaider
  • 2 Post By gschaider
  • 1 Post By gschaider
  • 3 Post By gschaider
  • 6 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2011, 16:42
Default New release of PyFoam
  #1
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Forgot to announce it here, but last week a new release of PyFoam hit the servers (tarball on the Wiki, SVN from the of-extend).

A list of the most important changes can be found at
http://openfoamwiki.net/index.php/Co...PyFoam#History

Apart from a number of minor enhancements the there are two main themes to the added features:
- extracting data for plotting etc (a lot of utilities now support export to CSV, the utilities that generate Gnuplot-commands were enhanced)
- the possibility to put cases under version control has been added and some utilities act different if a case is under version control

Should PyFoam not work the way you'd expect it to feel free to report a bug (for details see http://openfoamwiki.net/index.php/Co...#Bug_reporting)
rmorgans, aerothermal and JR22 like this.
gschaider is offline   Reply With Quote

Old   April 18, 2012, 17:42
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Friday the 13th saw the new release 0.5.7 of PyFoam (releasing the release notes took a bit longer. That's why this announcement is late).

As usual a list of the most important changes can be found at http://openfoamwiki.net/index.php/Co...PyFoam#History

The most important changes are
- updates to the parser
- improvement to the utilities for quantitative analysis (pyFoamSamplePlot.py etc)
- a class for supporting automated testing of validation cases (more about that later)
- a infrastructure that allows pyFoam-utilities to pass data via pipes in a flexible form
gschaider is offline   Reply With Quote

Old   March 14, 2013, 12:07
Default Release 0.6.0
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
To celebrate todays date (Pi day http://en.wikipedia.org/wiki/Pi_Day) I drop a new release of PyFoam on the unsuspecting world.

The change from 0.5.x to 0.6.x should indicate that the release is looking into the future, but might break compatibilities too: 95% of this new release run on Python3 (which has been the python of the futures for a couple of years and is scheduled for world domination in 2.47 years) as well as Python 2 (which most current machines run on). This is possible thanks to the awesome six-library https://bitbucket.org/gutworth/sixthat creates an interface to hide differences between 2 and 3. The downside is that python 2.4 and older (which is still used on clusters with very conservative distributions) will not work (and there may be issues with python 2.5 in some cases). If you have to use such an ancient python I recommend sticking with the previous release.

Another thing that adds an incompatibility for a smaller portion of the users is the inclusion of a new templating library http://www.simple-is-better.org/template/pyratemp.html This allows utilities like pyFoamFromTemplate.py to have loops, conditions and other nice stuff in templates. If you have been relying on this utility then there is a number of command-line switches to make it behave like the old version.

Two significant additions from external contributors are:
- Bruno Santos (aka The Wyldckat) supplied patches that allow running pyFoam on Windows
- Marc Immer extended pyFoamDisplayBlockMesh.py so that for the creation of blocks and patches the vertices can be selected in the GUI

Other notable changes are:
- hooks that are executed before and after a solver is run. Concrete examples are a hook that records runs in a database and a hook that connects to a webservice (concrete use case is a service like https://pushover.net where a finished case triggers a notification on your phone)
- The Runner class records more info about the run (amongst them warning and error messages) and stores them in a pickle file
- pyFoamVersion.py has been enhanced and should work even if the pyFoam-Version is not yet working. Please use it to report problems
- pyFoamDisplayBlockMesh.py allows using templates (based on the templating mechanism described above)
- the parser is now able to parse binary files
- pyFoamListCases.py now reports estimated end-times (for runs started with pyFoam)

There is also a number of other changes and bug fixes.
An almost complete list of the changes can be found at: http://bit.ly/YdwDqr

As the sourceforge-SVN of openfoam-extend is currently not working there are currently two tars with the release to download: one that is more fit for users (with installer and source documentation) and one that "only" has the contents of the SVN (but includes for instance the unit-tests. BTW: all these work with python 2.5 to 3.3)

PyFoam does not support the additions to the dictionary syntax in OF 2.2 http://www.openfoam.org/version2.2.0/pre-processing.php but of course cooperates with 2.2 as long as the dictionaries do not use these features
VdG and aljazari like this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

Last edited by gschaider; March 14, 2013 at 12:27. Reason: Missing o
gschaider is offline   Reply With Quote

Old   June 11, 2013, 23:12
Default Release 0.6.1
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
A minor update release for PyFoam that was created for the USB-stick given away at the 8th OpenFOAM Workshop is now available through the usual channels. Changes include (check out the Release notes):

- Improvements to the pyFoamUpgradeDictionaries20.py-utility
- pyFoamDisplayBlockMesh.py now uses the same templating options as pyFoamFromTemplate.py (if you're using templates)
- Improvements to pyFoamVersion.py that allow tracking library problems
- pyFoamCloneCase.py now allows creating "symlinked" cases and there is a utility to deal with this
- Commonly used files (Allrun etc) are automatically picked up by pyFoamCloneCase.py
- other stuff
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   November 7, 2013, 07:40
Default Release 0.6.2
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Already announced it on Twitter (@swakPyFoam): a new release 0.6.2 of PyFoam is out. The main changes of this release have to do with the way data is passed to other Python-libraries and it is now possible to do all the things described in the presentation held at the OSCFD 13 https://www.opensourcecfd.com/confer...s/finish/1/150

For details on the release have a look at http://openfoamwiki.net/index.php/Co...2_-_2013-11-03

Some highlights are:
- use of pandas for exporting application data. This is especially interesting together with
- interactive shell (possibly ipython) that makes all the application data available after execution especially as
- the tools for numeric data analysis now export numpy or pandas-data
- geeks everywhere will appreciate the possibility to use the XKCD-option of matplotlib
- more flexibility in pyFoamSampleData.py (allowing it to plot distributions)
- specify options to gnuplot in customRegexp
- new utility that allows to compress field files in a case that was written with uncompressed

And a number of other enhancements and bugfixes (its all in the release notes)
wyldckat likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 1, 2014, 17:49
Default 0.6.3
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
New Release of PyFoam is out. Download it as usual from http://openfoamwiki.net/index.php/Co...Foam#Downloads

A detailed list of changes is found at http://sourceforge.net/p/openfoam-ex...tes.md#sec-1-1

As usual there is a number of bug-fixes and enhancements. There are two new utilities: pyFoamPrepareCase.py helps setting up a case from template-files and pyFoamIPythonNotebook.py sets up IPython-Notebooks that fetch data. Both are described in this presentation: http://openfoamwiki.net/staticPages/....slides.html#/
philippose, wyldckat and Tobi like this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   December 1, 2014, 18:53
Default 0.6.4
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Those following @swakPyFoam on Twitter already know: the new version of PyFoam has been out for a week and can be downloaded from http://openfoamwiki.net/index.php/Co...Foam#Downloads

Detailed release notes are found at http://sourceforge.net/p/openfoam-ex...Notes.md#sec-1 (it starts with requirements and problems. The interesting stuff is further down)

Major changes are:
- Multi-line regular expressions in customRegexp
- Enhancement of pyFoamPrepare.py
- Enhancements of the CSV-utilities
- Environment variable PYFOAM_SITE_DIR for a place to install user-extensions
- Bugfixes
- Three new utilities: pyFoamRunParameterVariation.py, pyFoamBinarySize.py and pyFoamBlockMeshRewrite.py
- a number of enhancements to existing functionality

This release (as have been the previous ones) work with Python 2 and Python 3
chegdan, wyldckat, Tobi and 3 others like this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply


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
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 Community Contributions 3 January 19, 2011 08:38
OpenCFD release OpenFOAMŪ version 1.7.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 August 26, 2010 11:40
Diesel combustion simulation ( Heat release rate) venkatesh Siemens 2 April 29, 2009 07:38
Public Release of the Wiki Jonas Larsson CFD-Wiki 3 November 7, 2005 04:13


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