CFD Online Logo CFD Online URL
www.cfd-online.com
Home > Forums > OpenFOAM Programming and Development

Python bindings and OpenFOAM-1.5-dev

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 4, 2009, 10:35
Default Python bindings and OpenFOAM-1.5-dev
  #1
Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 63
Rep Power: 2
francois is on a distinguished road
Hi all,

Any news on the python bindings for the library (to the level of physics solvers) on the OpenFOAM-1.5-dev branch ?

It could be an awesome feature/enhancement for users and for teaching purpose regarding the readability and easiness of python.

Thanks
Have a nice day.
francois is offline   Reply With Quote

Old   February 5, 2010, 16:24
Default
  #2
Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 63
Rep Power: 2
francois is on a distinguished road
up ...
Thanks
francois is offline   Reply With Quote

Old   February 5, 2010, 17:09
Default
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 322
Rep Power: 3
bastil is on a distinguished road
Quote:
Originally Posted by francois View Post
up ...
Thanks
What does this mean? Is this feature available? I am also very interested in this. Thanks.

Regards
bastil is online now   Reply With Quote

Old   February 6, 2010, 07:40
Default
  #4
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: State College, Pennsylvania, USA
Posts: 129
Rep Power: 2
egp is on a distinguished road
Hrv Jasak has shown some examples/demonstrations where OpenFOAM libraries have been wrapped in SWIG. OF objects can then be loaded from a python shell or script. With ipython/scipy/numpy/OpenFOAMpy, you would have a very cool and powerful tool.

Since we haven't heard anything about it here no the forum, my guess is that it is still in the experimental stage.
egp is offline   Reply With Quote

Old   February 7, 2010, 05:40
Default
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,549
Rep Power: 10
hjasak is on a distinguished road
First, credit to Ivor who did a ton of work on this - much appreciated.

This is actually ready for release, but the delay is due to other related things that should go in. The biggest being, of course the Windows port, CMake and a set of new features.

I know the release of all the lovely new features is now disgracefully late (my fault), but (if it makes you feel better) this is now Priority #1 on my desk. I will keep you posted - python bindings are definitely ready.

If you wish to have a go, there is an experimental repository somewhere about...

Hrv
__________________
Hrvoje Jasak
hjasak is offline   Reply With Quote

Old   February 7, 2010, 06:42
Default
  #6
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 353
Rep Power: 3
philippose is on a distinguished road
Hello Hrv,

A Good Morning to you! Nice to see you active on the forum again :-)!

Your last post on this thread has made me very curious.... does this imply, that a native Windows port of OpenFOAM-1.xx-dev is basically almost ready for use?

This would be very exciting news for a lot of people including me :-)!

As usual.... if you would like someone to test-ride the port, I would be glad to offer my help!

Have a nice Sunday!

Philippose
philippose 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



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