|
|||||
|
|
|
#1 |
|
Member
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 65
Rep Power: 2 |
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. |
|
|
|
|
|
|
|
|
#2 |
|
Member
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 65
Rep Power: 2 |
up ...
Thanks |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
BastiL
Join Date: Mar 2009
Posts: 338
Rep Power: 3 |
||
|
|
|
|
|
|
|
#4 |
|
Senior Member
Eric Paterson
Join Date: Mar 2009
Location: State College, Pennsylvania, USA
Posts: 134
Rep Power: 2 |
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. |
|
|
|
|
|
|
|
|
#5 |
|
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,555
Rep Power: 10 |
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 |
|
|
|
|
|
|
|
|
#6 |
|
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 367
Rep Power: 3 |
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 |
|
|
|
|
|
|
|
|
#7 |
|
Member
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 65
Rep Power: 2 |
Thanks Hrv.
That's a excellent news. Congratulations to you and Ivor for your awesome works ! Francois |
|
|
|
|
|
|
|
|
#8 | |
|
New Member
Niklas Mohr
Join Date: Feb 2010
Posts: 2
Rep Power: 0 |
Quote:
I can't seem to find python bindings in any openfoam-extend branches (only pyfoam). Can somebody help to find them "somewhere"? Thanks Niklas |
||
|
|
|
||
|
|
|
#9 |
|
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,555
Rep Power: 10 |
Python. The Windows work is still restricted.
__________________
Hrvoje Jasak |
|
|
|
|
|
|
|
|
#10 |
|
New Member
Niklas Mohr
Join Date: Feb 2010
Posts: 2
Rep Power: 0 |
I understand. The python work is so amazing that their download location is kept secret.
Maybe www.fenics.org is the better choice. Greetingz Niklas |
|
|
|
|
|
|
|
|
#11 |
|
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,555
Rep Power: 10 |
Cocky boy... but mis-directed.
Yes, I think the python work is amazing and it will have an impact to my work similar to a rutting rhinoceros Now, to problems: there is at least 4 people who need to claim credit for this work (including myself). Some of them work for companies which invest heavily into their FOAM capability and it is necessary to encourage them in the best possible way to release the results of their effort (in their own time and their own way). At the end of the day, these people are being paid real money to do this work. Furthermore, this needs to be done Right: if the release is half-baked or not easy to use, people will just say "garbage" and never look at it again. I wouldn't want that to happen - it would be unfair to us all. So, while I understand your eagerness and enthusiasm, please allow some leeway for the release to be agreed upon and the details to be worked out properly. In the meantime, you can always try to do your own... Good weekend, Hrv
__________________
Hrvoje Jasak Last edited by hjasak; February 13, 2010 at 17:06. Reason: Poor english |
|
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|