User Tools

Site Tools


vspaerotutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
vspaerotutorial [2018/03/12 13:11]
jgravett Adds Control Grouping Section
vspaerotutorial [2018/03/12 15:36]
jgravett Adds Info for VSPAERO Panel Method (Cart3D)
Line 16: Line 16:
  
 ===== Getting Started ===== ===== Getting Started =====
-Once you have an appropriately defined model that you would like to analyze (see [[vspaeromodeling|Modeling for VSPAERO]]), you will need to generate a degenerate geometry filegenerate a setup fileand define any additional parameters to be considered.  The process begins with DegenGeom.\\ +Once you have an appropriately defined model that you would like to analyze (see [[vspaeromodeling|Modeling for VSPAERO]]), you will need to generate a degenerate geometry file if running the vortex lattice method or a Cart3D ​ surface triangulation file if running the panel method. You will then need to generate a setup file and define any additional parameters to be considered. \\ 
  
 ==== DegenGeom File ==== ==== DegenGeom File ====
-Degenerate geometry files are representations of three dimensional models in progressively simple frames. ​ For example, a three dimensional model is represented in its entirety, followed by a flat-plate representation,​ followed by a stick representation. ​ More detail on degenerate geometry can be found [[http://​www.openvsp.org/​wiki/​lib/​exe/​fetch.php?​media=degen_geom.pdf|here]] in the 2013 OpenVSP workshop presentation by Rob McDonald of CalPoly. ​ These files can be used in several different physical applications such as Euler-Bernoulli beam theory and vortex lattice solvers.\\ ​+The degenerate geometry file is required if running VSPAERO'​s vortex lattice solver. ​Degenerate geometry files are representations of three dimensional models in progressively simple frames. ​ For example, a three dimensional model is represented in its entirety, followed by a flat-plate representation,​ followed by a stick representation. ​ More detail on degenerate geometry can be found [[http://​www.openvsp.org/​wiki/​lib/​exe/​fetch.php?​media=degen_geom.pdf|here]] in the 2013 OpenVSP workshop presentation by Rob McDonald of CalPoly. ​ These files can be used in several different physical applications such as Euler-Bernoulli beam theory and vortex lattice solvers.\\ ​
  
 It is important to note that DegenGeom will write ALL of the components in a model unless you specify a geometry set!  The degenerate geometry files for your selected set of components are written from OpenVSP either by choosing ''​**DegenGeom**''​ under the ''​**Analysis**''​ menu or by opening the ''​**VSPAERO**''​ GUI and clicking ''​**Launch Solver**''​. ​ This will write a comma separated value (.CSV) file and a MATLAB (.M) file.  VSPAERO is primarily concerned with the CSV file.  If you choose, you can open these files in a code viewer (in the case of the CSV you may use Excel or similar) and see all of the points that describe a component. ​ A free, open-source code editor that is commonly used is [[https://​notepad-plus-plus.org/​ |Notepad ++]]. In addition, the ''​**Preview VLM Geometry**''​ button on the Overview tab of the GUI is available. \\  It is important to note that DegenGeom will write ALL of the components in a model unless you specify a geometry set!  The degenerate geometry files for your selected set of components are written from OpenVSP either by choosing ''​**DegenGeom**''​ under the ''​**Analysis**''​ menu or by opening the ''​**VSPAERO**''​ GUI and clicking ''​**Launch Solver**''​. ​ This will write a comma separated value (.CSV) file and a MATLAB (.M) file.  VSPAERO is primarily concerned with the CSV file.  If you choose, you can open these files in a code viewer (in the case of the CSV you may use Excel or similar) and see all of the points that describe a component. ​ A free, open-source code editor that is commonly used is [[https://​notepad-plus-plus.org/​ |Notepad ++]]. In addition, the ''​**Preview VLM Geometry**''​ button on the Overview tab of the GUI is available. \\ 
 +
 +==== Cart3D File ====
 +In order to execute VSPAERO'​s panel method solver, the geometry set must be described in the Cart3D *.tri surface triangulation format. In the VSPAERO GUI, this is done automatically if the ''​**Panel Method**''​ toggle is selected under "Case Setup" on the Overview tab. On the Advanced tab, the file name and directory of the *.tri will be listed next to the ''​**Panel**''​ label under "​Advanced Case Setup"​. Clicking ''​**Launch Solver**''​ will generate a Cart3D mesh of the geometry set. However, if a MeshGeom has already been created through the OpenVSP GUI, it will be deleted before a new one is generated.
 +
 +If running VSPAERO'​s panel solver through the command line, additional methods are available to generate a *.tri file. An intersected Cart3D mesh can also be output from the CFD Mesh GUI. Generating the *.tri file through the CFD Mesh GUI allows for more advanced mesh control, for which more information can be found on the [[cfdmesh|OpenVSP CFD Meshing Guide]]. An unintersected Cart3D mesh can be generated by opening the Export GUI from the ''​**File**''​ drop-down, indicating the desired export set, and clicking ''​**Cart3D (.tri)**''​. For a more in-depth guide to Cart3D file generation in OpenVSP, see [[meshoverview|VSP Mesh Generation for Cart3D Guide]].
  
 ==== Setup File ==== ==== Setup File ====
-**//You MUST have a DegenGeom file written to perform this step in OpenVSP!//​**\\ ​+**//You MUST have a DegenGeom ​or Cart3D ​file written to perform this step in OpenVSP!//​**\\ ​
  
-Now that your model has an associated DegenGeom file, you can begin writing your setup file.  VSPAERO recognizes this file by the name ''​modelname_DegenGeom.vspaero''​. ​ This can be done several ways, some of which are faster and more accurate than others. ​ The Setup file must be in the same directory as the DegenGeom file for VSPAERO to successfully launch. ​ Note that the following descriptions use the VSP coordinate system.\\ ​+Now that your model has an associated DegenGeom/​Cart3D ​file, you can begin writing your setup file.  VSPAERO recognizes this file by the name ''​modelname_DegenGeom.vspaero'' ​if running the vortex lattice method and ''​modelname.vspaero''​ if running the panel method.  This can be done several ways, some of which are faster and more accurate than others. ​ The Setup file must be in the same directory as the DegenGeom/​Cart3D ​file for VSPAERO to successfully launch. ​ Note that the following descriptions use the VSP coordinate system.\\ ​
  
 If you are using VSPAERO from the Command Prompt window, you are able to write some of the setup information into a file associated with your model. ​ This process is covered in the [[vspaerotutorial#​VSPAERO from Command Prompt Window|VSPAERO from Command Prompt Window]] section.\\ ​ If you are using VSPAERO from the Command Prompt window, you are able to write some of the setup information into a file associated with your model. ​ This process is covered in the [[vspaerotutorial#​VSPAERO from Command Prompt Window|VSPAERO from Command Prompt Window]] section.\\ ​
vspaerotutorial.txt ยท Last modified: 2018/04/01 14:41 (external edit)