Writing and reading back from OpenVSP (General Aviation tutorial)

36 views
Skip to first unread message

Myles Russell

unread,
Feb 5, 2025, 8:44:49 AMFeb 5
to SUAVE FORUM
Good afternoon SUAVE Team and fellow users,

TL;DR Would I expect SUAVE to produce the exact same results for the exact same aircraft but read in from OpenVSP (previously written by SUAVE) rather than defined in the SUAVE environment?

I'm new to SUAVE and slowly getting my head around the software. I've managed to get SUAVE to write a file to open VSP, and then in a seperate script, read that file back. I am doing this as practice before starting a project where I will be adjusting geometries of a different aircraft in OpenVSP and running analysis in SUAVE, so want to make sure I have it set up properly first.

However, when I run the C172 Tutorial, and compare the results to running the same analysis but setting up the vehicle by reading it in from Open VSP, some results are slightly different (PFA). Would thi sbe expected? It's a minor difference and I'm assuming it arrises from the way OpenVSP is defining it's geometries.

For further context, I am defining the SUAVE vehicle in my read script by defining the network as specified in the C172 tutorial, reading in the previosuly written open VSP file, then defining top level parameters such as mass, ultimate loads, and passengers. The vehicle reference area is also set to be that of the area of the main wing as read from openVSP (PFA). 

I have tried updating wetted areas as shown in the tutorial, however it makes minimal difference and so is commented out (I assume this is no longer a requirement?) It should also be noted the geometry I am reading in has had the prop manually removed to prevent doubling up on the enrgy network. Although, I suspect if there are issues it is coming from my network definition.

Aplogies for the lengthy post. Thanks in advance!

Screenshot 2025-02-05 133007.png
     net.propellers.append(prop) #Missed this line in my screenshot
Screenshot 2025-02-05 133022.png

Some Graphs from Tutorial File
SUAVE Defined.png

Some Graphs produced when reading in from OpenVSP
OpenVSP Read.png
Reply all
Reply to author
Forward
0 new messages