RCAIDE.Framework.External_Interfaces.OpenVSP.vsp_rotor

vsp_rotor#

Functions

make_airfoil_text(vsp_bem, rotor)

This function writes the airfoil geometry into the vsp file Assumptions: None

make_header_text(vsp_bem, rotor)

This function writes the header of the OpenVSP .bem file Assumptions: None

make_section_text(vsp_bem, rotor)

This function writes the sectional information of the rotor Assumptions: None

read_vsp_rotor(prop_id[, units_type, ...])

This reads an OpenVSP rotor geometry and writes it into a RCAIDE rotor format.

write_vsp_rotor_bem(vsp_bem_filename, rotor)

This functions writes a .bem file for OpenVSP Assumptions: None

read_vsp_rotor(prop_id, units_type='SI', write_airfoil_file=True)[source]#

This reads an OpenVSP rotor geometry and writes it into a RCAIDE rotor format.

Assumptions: 1. Written for OpenVSP 3.24.0

Source: N/A

Inputs: 1. VSP 10-digit geom ID for rotor. 2. units_type set to ‘SI’ (default) or ‘Imperial’. 3. write_airfoil_file set to True (default) or False 4. number_of_radial_stations is the radial discretization used to extract the rotor design from OpenVSP

Outputs: Writes RCAIDE rotor object, with these geometries, from VSP:

rotor.

origin [m] in all three dimensions orientation [deg] in all three dimensions number_of_blades [-] tip_radius [m] hub_radius [m] twist_distribution [deg] chord_distribution [m] radius_distribution [m] sweep_distribution [deg] mid_chord_alignment [m] max_thickness_distribution [m] thickness_to_chord [-] blade_solidity [-] rotation [-] thickness_to_chord [-] beta34 [radians] pre_cone [radians] rake [radians] skew [radians] axial [radians] tangential [radians] dihedral [radians] symmetric <boolean> tag <string> 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

write_vsp_rotor_bem(vsp_bem_filename, rotor)[source]#

This functions writes a .bem file for OpenVSP Assumptions:

None

Source:

None

Inputs:

OpenVSP .bem filename RCAIDE Propeller Data Structure

Outputs:

OpenVSP .bem file

Properties Used:

N/A

make_header_text(vsp_bem, rotor)[source]#

This function writes the header of the OpenVSP .bem file Assumptions:

None

Source:

None

Inputs:

vsp_bem - OpenVSP .bem file rotor - RCAIDE rotor data structure

Outputs:

NA

Properties Used:

N/A

make_section_text(vsp_bem, rotor)[source]#

This function writes the sectional information of the rotor Assumptions:

None

Source:

None

Inputs:

vsp_bem - OpenVSP .bem file rotor - RCAIDE rotor data structure

Outputs:

NA

Properties Used:

N/A

make_airfoil_text(vsp_bem, rotor)[source]#

This function writes the airfoil geometry into the vsp file Assumptions:

None

Source:

None

Inputs:

vsp_bem - OpenVSP .bem file rotor - RCAIDE rotor data structure

Outputs:

NA

Properties Used:

N/A