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

Owls an OpenFOAM post-processing library

Register Blogs Community New Posts Updated Threads Search

Like Tree13Likes
  • 11 Post By gregor
  • 2 Post By gregor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2015, 08:39
Default Owls an OpenFOAM post-processing library
  #1
Member
 
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 89
Rep Power: 17
gregor is on a distinguished road
Dear fellow Foamers,

I uploaded Owls a python library for rapid exploration of OpenFOAM data to https://github.com/greole/owls.git.

You can download and install it by:

Code:
git clone https://github.com/greole/owls.git
cd owls
python setup.py install --user
and look at simple some examples by

Code:
cd examples
ipython notebook
PS: Cloning takes a while since I ship a tutorial case
PPS: Make sure you have the ipython notebook available
gregor is offline   Reply With Quote

Old   March 9, 2015, 12:40
Default
  #2
Member
 
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 89
Rep Power: 17
gregor is on a distinguished road
Let me add some more comments:

First, installing Owls can be tricky since it needs numpy, bokeh and ideally matplotlib installed. I would like Owls to be installable without any root permissions, but for that at least python-dev has to be installed already. Then all non-python dependencies are compiled during Owls installation. When running
Code:
python setup.py install --user
If you have root permission on your box you can install numpy, matplotlib and ipython (-notebook) from your distros repository. This also spares you some compile time, but you probably don't get the most recent versions.

The motivation for Owls is to make post processing of OpenFOAM as convenient as possible and move post processing to the ipython notebook (http://ipython.org/notebook.html), which is a great tool in my opinion. The goal is to import OpenFOAM data like sets, fields or lagrangian data into a suitable data structure and to build post processing scripts on top of that. Owls is build on top of pandas (http://pandas.pydata.org/) so many pandas functions also working with Owls with some additional convenience methods.

That leaves me with wishing you fun and don't hesitate to ask if you any questions or ideas. Also tell me if something doesn't work as expected so that it can be fixed.

francois and elvis like this.
gregor is offline   Reply With Quote

Old   March 9, 2015, 13:29
Default
  #3
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13
ssss is on a distinguished road
Thank you for this awesome tool, will have a look at it during this week, it will help me a lot with my postproccessing needs, it will let me get rid of paraview.

Thank you
ssss is offline   Reply With Quote

Old   March 9, 2015, 13:35
Default
  #4
Member
 
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 89
Rep Power: 17
gregor is on a distinguished road
Well it rather complements paraview then replace it. The scope is to generate line and scatter plots from foam data in a simple way. Probably you could visualise slices like in paraview, but it would be slow and hacky.
gregor is offline   Reply With Quote

Old   March 13, 2015, 16:49
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
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
Greetings to all!

@Gregor: Many thanks for sharing!
By the way, another forum member started a new thread with a few questions about your library: http://www.cfd-online.com/Forums/ope...-notebook.html - if possible, it would be nice for that thread to be dedicated to support and this current thread be dedicated to announcements

In addition, any chance you can add a wiki page at openfoamwiki.net, so it would be referenced here: http://openfoamwiki.net/index.php/Main_ContribOther
For example, create as a new wiki page in this link: http://openfoamwiki.net/index.php/Contrib/Owls

Best regards,
Bruno
wyldckat 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
Automated post processing using CFD Post shreyasr ANSYS 0 January 28, 2013 07:21
including third party GPU library in OpenFOAM spelai OpenFOAM Programming & Development 3 November 2, 2012 06:06
Post processing from OpenFoam to Tecplot danielec87 Tecplot 2 August 14, 2012 15:19
[OpenFOAM] is parallel processing available in parafoam for post processing? sachinlb ParaView 1 August 14, 2012 10:52
post processing in CFD MANISH BHARGAVA Main CFD Forum 0 October 17, 1998 21:51


All times are GMT -4. The time now is 21:35.