CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   A basic GUI to create config files. (https://www.cfd-online.com/Forums/su2/196737-basic-gui-create-config-files.html)

akoodlyr December 14, 2017 06:57

A basic GUI to create config files.
 
Hello everyone,

I made very basic GUI to create config files using python. The tkinter package is needed which is present by default in windows or mac installations of python.

You can find it here:
https://github.com/koodlyakshay/Python-GUI

To run the GUI, you need to run multi_option_gui.py and specify the name of the config file along with it. For ex,

python multi_option_gui.py config_new.cfg

It doesn't work for adjoint or FEA or aeroelastic problems. Also, at the moment cannot specify periodic boundaries. Useful mainly for setting the cfg file for incompressible/compressible flows. I tried to follow the config_tempalate.cfg in git. Let me know if I have missed any options.

Also, the code is probably very inefficient, so let me know how I can make it better.

Cheers.

hlk April 29, 2018 22:16

Hello
Thank you for this contribution.
If you would like this to be included in the SU2 repository on github at some point in the future, perhaps after addressing the small issues you mention, please submit a pull request on github.
To do so, please see the developer docs at:
https://su2code.github.io/docs/home/

To have it included, it will be helpful to provide a brief tutorial as well.

Quote:

Originally Posted by akoodlyr (Post 675077)
Hello everyone,

I made very basic GUI to create config files using python. The tkinter package is needed which is present by default in windows or mac installations of python.

You can find it here:
https://github.com/koodlyakshay/Python-GUI

To run the GUI, you need to run multi_option_gui.py and specify the name of the config file along with it. For ex,

python multi_option_gui.py config_new.cfg

It doesn't work for adjoint or FEA or aeroelastic problems. Also, at the moment cannot specify periodic boundaries. Useful mainly for setting the cfg file for incompressible/compressible flows. I tried to follow the config_tempalate.cfg in git. Let me know if I have missed any options.

Also, the code is probably very inefficient, so let me know how I can make it better.

Cheers.



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