RCAIDE.Framework.External_Interfaces.OpenVSP.vsp_boom.read_vsp_boom#

read_vsp_boom(b_id, fux_idx, sym_flag, units_type='SI', fineness=True, use_scaling=True)[source]#

This reads an OpenVSP boom geometry and writes it to a RCAIDE boom format.

Assumptions: 1. OpenVSP boom is “conventionally shaped” (generally narrow at nose and tail, wider in center). 2. Boom is designed in VSP as it appears in real life. That is, the VSP model does not rely on

superficial elements such as canopies, stacks, or additional booms to cover up internal lofting oddities.

  1. This program will NOT account for multiple geometries comprising the boom. For example: a wingbox mounted beneath is a separate geometry and will NOT be processed.

  2. Boom origin is located at nose. VSP file origin can be located anywhere, preferably at the forward tip of the vehicle or in front (to make all X-coordinates of vehicle positive).

  3. Written for OpenVSP 3.21.1

Source: N/A

Inputs: 0. Pre-loaded VSP vehicle in memory, via import_vsp_vehicle. 1. VSP 10-digit geom ID for boom. 2. Units_type set to ‘SI’ (default) or ‘Imperial’. 3. Boolean for whether or not to compute boom finenesses (default = True). 4. Boolean for whether or not to use the scaling from OpenVSP (default = True).

Outputs:

Writes RCAIDE boom, with these geometries: (all defaults are SI, but user may specify Imperial)

Booms.Boom.

origin [m] in all three dimensions width [m] lengths.

total [m] nose [m] tail [m]

heights.

maximum [m] at_quarter_length [m] at_three_quarters_length [m]

effective_diameter [m] fineness.nose [-] ratio of nose section length to boom effective diameter fineness.tail [-] ratio of tail section length to boom effective diameter areas.wetted [m^2] tag <string> segment[]. (segments are in ordered container and callable by number)

vsp.shape [point,circle,round_rect,general_fuse,fuse_file] vsp.xsec_id <10 digit string> percent_x_location percent_z_location height width length effective_diameter tag

vsp.xsec_num <integer of boom segment quantity> vsp.xsec_surf_id <10 digit string>

Properties Used: N/A