|
[Sponsors] |
July 28, 2016, 11:40 |
Creating an OpenFOAM GUI using PyQt
|
#1 |
New Member
Mathew
Join Date: Jul 2016
Posts: 2
Rep Power: 0 |
Hi,
I am supposed to create a simple GUI for OpenFoam using python(PyQt) in a little more than 4 months. However, being a student of mechanical engineering, i only have basic-intermediate knowledge of python. How do you suggest i go about it? Any alternate suggestions are also welcome like using PyFoam instead of OpenFoam. Also how do I use python to call OpenFoam functions and solvers like icoFOAM and snappyHexmesh and so on? And finally, do you think that its possible to make an extremely basic simple GUI without post processing capabilities in the given time frame and current knowledge? Thanks in advance. |
|
August 2, 2016, 07:55 |
|
#2 |
New Member
Join Date: Jun 2016
Location: Malaga, Spain
Posts: 15
Rep Power: 10 |
Hello,
I did my own GUI with python, it is very simple gui, and in 4 month you can programm something like it. I used: -Gtk and Glade for gui building. - For running solvers you can use the comand "system" for linux. An example: "system('mpirun -np '+str(nproces)+' simpleFoam -parallel > log.simpleFoam')" Good luck. |
|
August 30, 2016, 10:06 |
|
#3 | |
New Member
Thien Xuan Dinh
Join Date: Jul 2014
Location: Japan
Posts: 8
Rep Power: 12 |
Dear danielbanos10
It sounds great. Could you upload your simple code here? Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Helyx-OS Open Source GUI for OpenFOAM | eugene | OpenFOAM Announcements from Other Sources | 31 | March 9, 2020 17:55 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
[swak4Foam] Installing swak4Foam to OpenFOAM in mac | Kaquesang | OpenFOAM Community Contributions | 22 | January 21, 2013 12:51 |
OpenFOAM GUI | Virtual-iCFD | OpenFOAM Pre-Processing | 4 | January 8, 2011 16:56 |