RCAIDE.Library.Methods.Aerodynamics.Vortex_Lattice_Method.compute_RHS_matrix

compute_RHS_matrix#

compute_RHS_matrix(delta, phi, conditions, settings, geometry, propeller_wake_model)[source]#

This computes the right hand side matrix for the VLM. In this function, induced velocites from propeller wake are also included when relevent and where specified

Source: 1. Low-Speed Aerodynamics, Second Edition by Joseph Katz, Allen Plotkin Pgs. 331-338

  1. VORLAX Source Code

Inputs: geometry

networks [Unitless] vehicle vortex distribution [Unitless]

conditions.aerodynamics.angles.alpha [radians] conditions.aerodynamics.angles.beta [radians] conditions.freestream.velocity [m/s] conditions.static_stability.pitch_rate [radians/s] conditions.static_stability.roll_rate [radians/s] conditions.static_stability.yaw_rate [radians/s]

sur_flag - use_surrogate flag [Unitless] slipstream - propeller_wake_model flag [Unitless] delta, phi - flow tangency angles [radians]

Outputs: rhs.

RHS ONSET Vx_ind_total Vz_ind_total V_distribution dt YGIRO ZGIRO VX SCNTL CCNTL COD SID

Properties Used: N/A

build_RHS(VD, conditions, settings, aoa_distribution, delta, phi, PSI_distribution, Vx_ind_total, Vy_ind_total, Vz_ind_total, V_distribution, dt)[source]#

This uses freestream conditions, induced wake velocities, and rotation rates (pitch, roll, yaw) to find the boundary conditions (RHS) needed to compute gamma. The function defaults to a classical boundary condition equation, RHS = V dot N, where V is the unit velocity vector only the panel and N is the panel unit normal. However, the user may also define settings.use_VORLAX_matrix_calculation to use the boundary condition equation from VORLAX, the code on which this VLM is based. This is useful for future developers who need to compare numbers 1:1 with VORLAX.

Note if using VORLAX boundary conditions: VORLAX does not take induced wake velocity into account. Additionally, VORLAX uses the camber, twist, and dihedral values of a strip’s leading edge panel for every panel in that strip when calculating panel normals.

Source: 1. Low-Speed Aerodynamics, Second Edition by Joseph Katz, Allen Plotkin Pgs. 331-338

  1. VORLAX Source Code

Inputs: settings.use_VORLAX_matrix_calculation - RHS equation switch [boolean] conditions.static_stability.pitch_rate - [radians/s] conditions.static_stability.roll_rate - [radians/s] conditions.static_stability.yaw_rate - [radians/s] aoa_distribution - angle of attack [radians] PSI_distribution - sideslip angle [radians] V[]_ind_total - component induced wake velocities [m/s] V_distribution - freestream velocity magnitude [m/s] delta, phi - flow tangency angles [radians]

Outputs: rhs - a Data object used to hold several values including RHS

Properties Used: N/A