User Tools

Site Tools


files

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
files [2018/04/01 14:41]
127.0.0.1 external edit
files [2020/04/15 13:00] (current)
jgravett Adds STEP and IGES
Line 104: Line 104:
 Vorlax case file describing the flight condition and solver parameters to be used for analysis. Vorlax case file describing the flight condition and solver parameters to be used for analysis.
 ==== csv ==== ==== csv ====
 +
 +== CompGeom.csv ==
  
 When CompGeom is executed, it can produce a wetted area/volume report file in a comma-delimited spreadsheet ready file as CompGeom.csv. ​ This file contains the same information as CompGeom.txt. ​ An example of this file for a simple model is included below. ​ The theoretical areas and volumes are the untrimmed values for each component. ​ The Wetted areas and volumes are the trimmed values for each component. When CompGeom is executed, it can produce a wetted area/volume report file in a comma-delimited spreadsheet ready file as CompGeom.csv. ​ This file contains the same information as CompGeom.txt. ​ An example of this file for a simple model is included below. ​ The theoretical areas and volumes are the untrimmed values for each component. ​ The Wetted areas and volumes are the trimmed values for each component.
Line 114: Line 116:
 Totals,​83.000565,​68.289142,​14.270749,​12.743678 Totals,​83.000565,​68.289142,​14.270749,​12.743678
 </​file>​ </​file>​
 +
 +== DegenGeom.csv ==
 +
 +When DegenGeom is executed, it can produce a coordinate definitions file of degenerate geometries like the surface, plate, stick and point models as detailed [[http://​www.openvsp.org/​wiki/​lib/​exe/​fetch.php?​media=degen_geom.pdf|here]]. Panel and wing camber surface coordinates,​ panel areas, and similar information are available. This ASCII file can be opened using Excel or editors like Notepad++ and may also be parsed for discretization of geometries in several different physical applications such as Euler-Bernoulli beam theory and vortex lattice solvers. This file contains the same information as DegenGeom.m.
  
 ==== dxf ==== ==== dxf ====
Line 217: Line 223:
    ​7.66666 ​   -4.00000 ​    ​0.00000 ​      ​7.66666 ​   -4.00000 ​    ​0.00000 ​  
 </​file>​ </​file>​
 +
 +==== IGES ====
 +OpenVSP relies on the [[http://​cbernardo.github.io/​libIGES/​|libIGES]] library for exporting IGES files in accordance with the IGES v5.3 standard. The IGES format is compatible with most CAD packages. The STEP format, which functions as a predecessor to IGES, is also available. IGES exports may be of untrimmed components, trimmed components, untrimmed structural models, or trimmed structural models. ​
 +
 +  - Untrimmed components: File->​Export->​Untrimmed IGES (.igs)
 +  - Untrimmed structural models: File->​Export->​Untrimmed IGES Struct (.igs)
 +  - Trimmed components: Analysis->​Surface Intersection->​Output->​.igs
 +  - Trimmed structural models: Analysis->​FEA Mesh->​Output->​.igs
 +
 ==== inp ==== ==== inp ====
  
Line 228: Line 243:
  
 Background images can also be displayed when editing a fuselage cross section. ​ Finally, JPEG images can be used as textures applied to the surface of the model. Background images can also be displayed when editing a fuselage cross section. ​ Finally, JPEG images can be used as textures applied to the surface of the model.
 +
 +==== m ====
 +
 +== DegenGeom.m ==
 +
 +When DegenGeom is executed, it can produce a coordinate definitions file of degenerate geometries like the surface, plate, stick and point models as detailed [[http://​www.openvsp.org/​wiki/​lib/​exe/​fetch.php?​media=degen_geom.pdf|here]]. This file can be opened using [[https://​www.mathworks.com/​products/​matlab.html|Matlab]] or [[https://​www.gnu.org/​software/​octave/​|GNU Octave]] and may be used for discretization of geometries in several different physical applications such as Euler-Bernoulli beam theory and vortex lattice solvers. Panel and wing camber surface coordinates,​ panel areas, and similar information are available in a structure array data type named ''​degenGeom''​. This file contains the same information as DegenGeom.csv. ​
 +
 +An example of Unnamed_DegenGeom.m file executed in Octave is included below.
 +
 +<​file>​
 +octave:​1>​ Unnamed_DegenGeom
 +octave:​2>​ degenGeom
 +degenGeom =
 +
 +  1x2 struct array containing the fields:
 +
 +    type
 +    name
 +    geom_id
 +    surf_index
 +    main_surf_index
 +    sym_copy_index
 +    flip_normal
 +    transmat
 +    surf
 +    plate
 +    stick
 +    point
 +
 +octave:​3>​ size(degenGeom(1).surf.x) ​  % Size of array containing x-coordinates of surfaces in Component 1
 +ans =
 +
 +    6   33
 +</​file>​
  
 ==== msh ==== ==== msh ====
Line 257: Line 306:
  
 STL files contain a large amount of redundant information. ​ Consequently,​ they can be very large for a given model -- as much as six times the size of other ASCII formats. STL files contain a large amount of redundant information. ​ Consequently,​ they can be very large for a given model -- as much as six times the size of other ASCII formats.
 +
 +==== STEP ====
 +OpenVSP uses the [[http://​stepcode.github.io/​|STEPcode]] library to export Part 21 exchange files for interfacing with CAD programs. Alternatively,​ the IGES is also available for exporting to CAD. OpenVSP supports STEP export of untrimmed components, trimmed components, untrimmed structural models, and trimmed structural models. ​
 +
 +  - Untrimmed components: File->​Export->​Untrimmed STEP (.stp)
 +  - Untrimmed structural models: File->​Export->​Untrimmed STEP Struct (.stp)
 +  - Trimmed components: Analysis->​Surface Intersection->​Output->​.stp
 +  - Trimmed structural models: Analysis->​FEA Mesh->​Output->​.stp
  
 ==== svg ==== ==== svg ====
files.1522618860.txt.gz ยท Last modified: 2019/09/05 21:57 (external edit)