RCAIDE.Framework.External_Interfaces.OpenVSP.vsp_wing.read_vsp_wing#
- read_vsp_wing(wing_id, main_wing_tag=None, units_type='SI', write_airfoil_file=True, use_scaling=True)[source]#
This reads an OpenVSP wing vehicle geometry and writes it into a RCAIDE wing format.
Assumptions: 1. OpenVSP wing is divided into segments (“XSecs” in VSP). 2. Written for OpenVSP 3.21.1
Source: N/A
Inputs: 1. VSP 10-digit geom ID for wing. 2. units_type set to ‘SI’ (default) or ‘Imperial’. 3. Boolean for whether or not to write an airfoil file(default = True). 4. Boolean for whether or not to use the scaling from OpenVSP (default = True).
Outputs: Writes RCAIDE wing object, with these geometries, from VSP:
- Wings.Wing. (* is all keys)
origin [m] in all three dimensions spans.projected [m] chords.root [m] chords.tip [m] aspect_ratio [-] sweeps.quarter_chord [radians] twists.root [radians] twists.tip [radians] thickness_to_chord [-] dihedral [radians] symmetric <boolean> tag <string> areas.reference [m^2] areas.wetted [m^2] Segments.
tag <string> twist [radians] percent_span_location [-] .1 is 10% root_chord_percent [-] .1 is 10% dihedral_outboard [radians] sweeps.quarter_chord [radians] thickness_to_chord [-] airfoil <NACA 4-series, 6 series, or airfoil file>
Properties Used: N/A