Create the DegenGeom.csv without using the GUI (command line)

212 views
Skip to first unread message

Matheus Monjon

unread,
Jul 20, 2022, 7:11:25 PM7/20/22
to OpenVSP
Hello, 

I'm not new to using OpenVSP/VSPAERO, but new to trying to do all from the command line without the GUI.

I managed to run my test case from the CMD. However, I'm struggling to understand how I would "create" the DegenGeom.csv file manually. Could you please provide any clarification on this process? 

Just to check my understanding, to properly run from the CMD, I would just need the DegenGeom.csv and DegenGeom.vspaero as inputs, right?

My end goal is to automate the process of generating/updating the files for several geometries and run them collecting the outputs. I'm planning to use Python to create the geometry files and run the cases from the CMD. Is there anything that I need to consider to do this?

Any help would be much appreciated. 

Regards,
Matheus Monjon 

Brandon Litherland

unread,
Jul 22, 2022, 5:34:43 AM7/22/22
to OpenVSP
This is a situation where running a VSPSCRIPT would go a long way.  In fact, I think it's the only way aside from the other APIs to do this.  VSPAERO will not produce the Degen Geom or TRI for VLM or Panel mode on its own.
If you check the files in the /scripts/ directory, you'll find several that interact with VSPAERO.  Specifically, there is a TestAnalysisVSPAERO.vspscript file that creates and solves with both VLM and Panel mode.  The part that has to do with making the DegenGeom is TestVSPAeroComputeGeom().  So you can specify the filename within the script as in the example or you can pass the script a model like "vspscript.exe -script my_script.vspscript my_model.vsp3" and it will run the commands after first reading your my_model.vsp3.
Reply all
Reply to author
Forward
0 new messages