RCAIDE.Framework.External_Interfaces.OpenVSP.vsp_wing.write_vsp_wing#
- write_vsp_wing(vehicle, wing, area_tags, fuel_tank_set_ind, OML_set_ind)[source]#
This write a given wing into OpenVSP format
Assumptions: If wing segments are defined, they must cover the full span. (may work in some other cases, but functionality will not be maintained)
Source: N/A
Inputs: vehicle [-] vehicle data structure wing.
origin [m] in all three dimensions spans.projected [m] chords.root [m] chords.tip [m] sweeps.quarter_chord [radians] twists.root [radians] twists.tip [radians] thickness_to_chord [-] dihedral [radians] tag <string> Segments.*. (optional)
twist [radians] percent_span_location [-] .1 is 10% root_chord_percent [-] .1 is 10% dihedral_outboard [radians] sweeps.quarter_chord [radians] thickness_to_chord [-]
area_tags <dict> used to keep track of all tags needed in wetted area computation fuel_tank_set_index <int> OpenVSP object set containing the fuel tanks
Outputs: area_tags <dict> used to keep track of all tags needed in wetted area computation wing_id <str> OpenVSP ID for given wing
Properties Used: N/A