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

setup file from "zero"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2014, 00:15
Default setup file from "zero"
  #1
Member
 
Join Date: Apr 2012
Posts: 71
Rep Power: 14
leo_NM is on a distinguished road
good night

I was doing the tutorials of SU2 and reading the setup files. From the way they are organized, I think they are generated by a script where we choose the options and it gives us the file.

I don't know if this really exists but if there isn't any script, how do you generate your setup file like the template given by SU2 documentation ?

thanks !
leo_NM is offline   Reply With Quote

Old   March 2, 2014, 15:07
Default
  #2
Member
 
Join Date: Apr 2012
Posts: 71
Rep Power: 14
leo_NM is on a distinguished road
I saw in the site that the python script config_gui.py does the configuration files for us.

I tried to click over it, run it in IDLE but its not working as I expected.

How can I use this ? Making the config files by hand is very hard !

http://adl.stanford.edu/docs/display...ARED/SU2+Tools

thanks !
leo_NM is offline   Reply With Quote

Old   March 12, 2014, 17:00
Default
  #3
Member
 
Join Date: Apr 2012
Posts: 71
Rep Power: 14
leo_NM is on a distinguished road
Quote:
Originally Posted by leo_NM View Post
I saw in the site that the python script config_gui.py does the configuration files for us.

I tried to click over it, run it in IDLE but its not working as I expected.

How can I use this ? Making the config files by hand is very hard !

http://adl.stanford.edu/docs/display...ARED/SU2+Tools

thanks !
I tried to open it by prompt but I'm getting an error message.

Anyone knows if this is the proper way ???
Attached Images
File Type: jpg prolema_su2.jpg (56.6 KB, 7 views)
leo_NM is offline   Reply With Quote

Old   March 12, 2014, 17:46
Default
  #4
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Quote:
Originally Posted by leo_NM View Post
I tried to open it by prompt but I'm getting an error message.

Anyone knows if this is the proper way ???
Hi Leo

You should open that python script file and read the code in it.

I don't think using this script can generate the configuration file automatically, since that there is no related class or method in this file. Maybe you could ask the author Aniket Aranake

PS: in python environment, you could use the command execfile(config_gui.py) to execute the script file instead of only typing the script's name.
Tommy Chen is offline   Reply With Quote

Old   March 13, 2014, 19:08
Default
  #5
New Member
 
Brendan Tracey
Join Date: Jun 2013
Posts: 18
Rep Power: 13
btracey is on a distinguished road
It is possible to construct a config file by hand, though typically it's easiest to start with an existing config file and modify it for your particular problem. Is there a particular reason to build from scratch?
btracey is offline   Reply With Quote

Old   March 16, 2014, 21:51
Default
  #6
Member
 
Join Date: Apr 2012
Posts: 71
Rep Power: 14
leo_NM is on a distinguished road
I tried to construct it by hand but there are too many options to put in the file and doing it by hand is very inneficient (costs a lot of time).

It would be nice to have an efficient way to use such a powerfull code. I know the gui exists but I'm having hard times trying to make it work.

http://su2.stanford.edu/documents/SU2_AIAA_ASM2013.pdf (search for config_gui)

I'm fighting as much as I can before bother the developers.

thanks you guys for the replies. Any help will be welcome !

good night !
leo_NM is offline   Reply With Quote

Old   March 16, 2014, 21:53
Default
  #7
Member
 
Join Date: Apr 2012
Posts: 71
Rep Power: 14
leo_NM is on a distinguished road
Quote:
Originally Posted by leo_NM View Post
I tried to construct it by hand but there are too many options to put in the file and doing it by hand is very inneficient (costs a lot of time).

It would be nice to have an efficient way to use such a powerfull code. I know the gui exists but I'm having hard times trying to make it work.

http://su2.stanford.edu/documents/SU2_AIAA_ASM2013.pdf (search for config_gui)

I'm fighting as much as I can before bother the developers.

thanks you guys for the replies. Any help will be welcome !

good night !
I'm stuck with this error. (image)
Attached Images
File Type: jpg prob.3.jpg (67.0 KB, 11 views)
leo_NM is offline   Reply With Quote

Old   March 16, 2014, 21:58
Default
  #8
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Quote:
Originally Posted by leo_NM View Post
I'm stuck with this error. (image)
The error information is neither English nor Chinese !
You should try linux.........
Tommy Chen is offline   Reply With Quote

Old   March 16, 2014, 22:02
Default
  #9
Member
 
Join Date: Apr 2012
Posts: 71
Rep Power: 14
leo_NM is on a distinguished road
sorry its portuguese with some text formating problems.

the last line is:

importerror: Dll load failed: 1% its not one valid win32 app
leo_NM is offline   Reply With Quote

Old   March 17, 2014, 15:31
Default
  #10
New Member
 
Brendan Tracey
Join Date: Jun 2013
Posts: 18
Rep Power: 13
btracey is on a distinguished road
Most of the config options have sensible defaults, and for most problems only a small set need to be specified. One should not have to construct the whole thing by hand. Is your problem different enough from the existing templates that you can't modify an existing one?
btracey is offline   Reply With Quote

Reply


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
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 11:03
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
which tutorial can find that include Riemann boundary condition? immortality OpenFOAM Running, Solving & CFD 12 May 3, 2013 19:21
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44


All times are GMT -4. The time now is 14:23.