RCAIDE.Framework.External_Interfaces.OpenVSP.vsp_nacelle.read_vsp_nacelle#
- read_vsp_nacelle(nacelle_id, vsp_nacelle_type, units_type='SI')[source]#
This reads an OpenVSP stack geometry or body of revolution and writes it to a RCAIDE nacelle format. If an airfoil is defined in body-of-revolution, its coordinates are not read in due to absence of API functions in VSP.
Assumptions:
Source: N/A
Inputs: 0. Pre-loaded VSP vehicle in memory, via import_vsp_vehicle. 1. VSP 10-digit geom ID for nacelle. 2. Units_type set to ‘SI’ (default) or ‘Imperial’.
Outputs: Writes RCAIDE nacelle, with these geometries: (all defaults are SI, but user may specify Imperial)
- Nacelles.Nacelle.
origin [m] in all three dimensions width [m] lengths [m] heights [m] tag <string> segment[]. (segments are in ordered container and callable by number)
percent_x_location [unitless] percent_z_location [unitless] height [m] width [m]
Properties Used: N/A