|
[Sponsors] |
February 21, 2014, 00:15 |
setup file from "zero"
|
#1 |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
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 ! |
|
March 2, 2014, 15:07 |
|
#2 |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
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 ! |
|
March 12, 2014, 17:00 |
|
#3 | |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
Quote:
Anyone knows if this is the proper way ??? |
||
March 12, 2014, 17:46 |
|
#4 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
Quote:
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. |
||
March 13, 2014, 19:08 |
|
#5 |
New Member
Brendan Tracey
Join Date: Jun 2013
Posts: 18
Rep Power: 13 |
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?
|
|
March 16, 2014, 21:51 |
|
#6 |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
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 ! |
|
March 16, 2014, 21:53 |
|
#7 | |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
Quote:
|
||
March 16, 2014, 21:58 |
|
#8 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
||
March 16, 2014, 22:02 |
|
#9 |
Member
Join Date: Apr 2012
Posts: 71
Rep Power: 14 |
sorry its portuguese with some text formating problems.
the last line is: importerror: Dll load failed: 1% its not one valid win32 app |
|
March 17, 2014, 15:31 |
|
#10 |
New Member
Brendan Tracey
Join Date: Jun 2013
Posts: 18
Rep Power: 13 |
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?
|
|
|
|
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 |