CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

A basic GUI to create config files.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2017, 06:57
Default A basic GUI to create config files.
  #1
Member
 
Akshay Koodly
Join Date: Aug 2017
Location: The Netherlands
Posts: 43
Rep Power: 9
akoodlyr is on a distinguished road
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.

Last edited by akoodlyr; December 18, 2017 at 12:24.
akoodlyr is offline   Reply With Quote

Old   April 29, 2018, 22:16
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
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 View Post
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 is offline   Reply With Quote

Reply

Tags
config files, gui, python


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
Meshing a Sphere Ajay FLUENT 10 September 3, 2016 15:18
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
Postprocessing - Create JPEG's without GUI. Frank D. FLOW-3D 1 January 9, 2009 01:06
Gzip files - how to create them? Cyril FLUENT 2 April 23, 2006 07:24
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


All times are GMT -4. The time now is 11:15.