> I have looked at the link, but they are coding Open VSP in Python if I
> understand well. I don't think I have to go that far.. What I was thinking
> after looking at the API, is writing a file "wing.vspscript" in python and a
> file "DegenGeom.vspaero" in python too. Then launch the analysis with those
> two files. Do you think it may work ?
You seem to be a bit wrapped around the axle.
Yes, accessing the VSP API by writing your own *.vspscript file is
probably the easiest way to go. Usually, such a script would be
written manually and then executed in a batch mode.
That script could tell OpenVSP to write out the DegenGeom *.csv file
containing the aircraft geometry.
You would probably then manually write a *.vspaero file containing the
run conditions for VSPAERO.
Depending on what you want to change/automate, you might modify some
of those steps. So far, none of this requires Python.
You mentioned Python (I don't really know why), but if you wanted to
use Python to automate the above, you could use the Python API instead
of the *.vspscript file -- they're largely interchangeable.
> Unfortunately we are all students with no programming background so it is
> quite complicated as you can imagine.
In my experience, student's minds are able to pick up some programming
concepts very quickly. I wouldn't sell yourself short.
Without any programming at all, I don't know how you'll accomplish
what you're trying to do -- of course, I still don't know what that
is...
> (Another question, linked to the writing of the "wing.vspscript" : do you
> know how to select an airfoil coming from a database?)
You can read in any airfoil file from the UIUC database through your
script. Something like this...
ChangeXSecShape( xsec_surf, 1, XS_FILE_AIRFOIL );
xsec = GetXSec( xsec_surf, 1 );
ReadFileAirfoil( xsec, "N0012_VSP.af" );
Rob